Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationThu, 26 Nov 2009 07:46:46 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Nov/26/t1259246856eyr3jio7t3eyp6l.htm/, Retrieved Mon, 29 Apr 2024 16:45:33 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=60049, Retrieved Mon, 29 Apr 2024 16:45:33 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact128
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Q1 The Seatbeltlaw] [2007-11-14 19:27:43] [8cd6641b921d30ebe00b648d1481bba0]
- RM D  [Multiple Regression] [Seatbelt] [2009-11-12 14:10:54] [b98453cac15ba1066b407e146608df68]
-    D    [Multiple Regression] [] [2009-11-20 15:22:02] [a8385d5389d662174e94261c16c32a10]
- R  D        [Multiple Regression] [Reproduce] [2009-11-26 14:46:46] [d5837f25ec8937f9733a894c487f865c] [Current]
Feedback Forum

Post a new message
Dataseries X:
13807	0	19169	22782	20366
29743	0	13807	19169	22782
25591	0	29743	13807	19169
29096	0	25591	29743	13807
26482	0	29096	25591	29743
22405	0	26482	29096	25591
27044	0	22405	26482	29096
17970	0	27044	22405	26482
18730	0	17970	27044	22405
19684	0	18730	17970	27044
19785	0	19684	18730	17970
18479	0	19785	19684	18730
10698	0	18479	19785	19684
31956	0	10698	18479	19785
29506	0	31956	10698	18479
34506	0	29506	31956	10698
27165	0	34506	29506	31956
26736	0	27165	34506	29506
23691	0	26736	27165	34506
18157	0	23691	26736	27165
17328	0	18157	23691	26736
18205	0	17328	18157	23691
20995	0	18205	17328	18157
17382	0	20995	18205	17328
9367	0	17382	20995	18205
31124	0	9367	17382	20995
26551	0	31124	9367	17382
30651	0	26551	31124	9367
25859	0	30651	26551	31124
25100	0	25859	30651	26551
25778	0	25100	25859	30651
20418	0	25778	25100	25859
18688	0	20418	25778	25100
20424	0	18688	20418	25778
24776	0	20424	18688	20418
19814	0	24776	20424	18688
12738	0	19814	24776	20424
31566	0	12738	19814	24776
30111	0	31566	12738	19814
30019	0	30111	31566	12738
31934	1	30019	30111	31566
25826	1	31934	30019	30111
26835	1	25826	31934	30019
20205	1	26835	25826	31934
17789	1	20205	26835	25826
20520	1	17789	20205	26835
22518	1	20520	17789	20205
15572	1	22518	20520	17789
11509	1	15572	22518	20520
25447	1	11509	15572	22518
24090	1	25447	11509	15572
27786	1	24090	25447	11509
26195	1	27786	24090	25447
20516	1	26195	27786	24090
22759	1	20516	26195	27786
19028	1	22759	20516	26195
16971	1	19028	22759	20516
20036	1	16971	19028	22759




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 4 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=60049&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]4 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=60049&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=60049&T=0

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135







Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 4746.19129722464 -866.780609791573X[t] + 0.156995128968414Y1[t] + 0.442321422199032Y2[t] + 0.0364744218977145Y3[t] -6690.66593526214M1[t] + 14375.1133278374M2[t] + 11689.2387306921M3[t] + 7477.25242961239M4[t] + 4810.45819860558M5[t] + 506.153729263371M6[t] + 3289.15893096822M7[t] -1351.27077153871M8[t] -2032.54263674398M9[t] + 2664.83981479995M10[t] + 5242.33673357328M11[t] + 14.8885796963493t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  4746.19129722464 -866.780609791573X[t] +  0.156995128968414Y1[t] +  0.442321422199032Y2[t] +  0.0364744218977145Y3[t] -6690.66593526214M1[t] +  14375.1133278374M2[t] +  11689.2387306921M3[t] +  7477.25242961239M4[t] +  4810.45819860558M5[t] +  506.153729263371M6[t] +  3289.15893096822M7[t] -1351.27077153871M8[t] -2032.54263674398M9[t] +  2664.83981479995M10[t] +  5242.33673357328M11[t] +  14.8885796963493t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=60049&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  4746.19129722464 -866.780609791573X[t] +  0.156995128968414Y1[t] +  0.442321422199032Y2[t] +  0.0364744218977145Y3[t] -6690.66593526214M1[t] +  14375.1133278374M2[t] +  11689.2387306921M3[t] +  7477.25242961239M4[t] +  4810.45819860558M5[t] +  506.153729263371M6[t] +  3289.15893096822M7[t] -1351.27077153871M8[t] -2032.54263674398M9[t] +  2664.83981479995M10[t] +  5242.33673357328M11[t] +  14.8885796963493t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=60049&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=60049&T=1

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 4746.19129722464 -866.780609791573X[t] + 0.156995128968414Y1[t] + 0.442321422199032Y2[t] + 0.0364744218977145Y3[t] -6690.66593526214M1[t] + 14375.1133278374M2[t] + 11689.2387306921M3[t] + 7477.25242961239M4[t] + 4810.45819860558M5[t] + 506.153729263371M6[t] + 3289.15893096822M7[t] -1351.27077153871M8[t] -2032.54263674398M9[t] + 2664.83981479995M10[t] + 5242.33673357328M11[t] + 14.8885796963493t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)4746.191297224643544.003551.33920.1878770.093939
X-866.780609791573879.708747-0.98530.3302540.165127
Y10.1569951289684140.1577870.9950.325580.16279
Y20.4423214221990320.1417143.12120.0032950.001648
Y30.03647442189771450.1555030.23460.8157190.40786
M1-6690.665935262141475.642246-4.53414.9e-052.5e-05
M214375.11332783742320.4607486.194900
M311689.23873069212214.9775425.27745e-062e-06
M47477.252429612392474.3493673.02190.0043150.002157
M54810.458198605582005.6817782.39840.02110.01055
M6506.1537292633711962.2680290.25790.7977410.398871
M73289.158930968222169.036561.51640.1370880.068544
M8-1351.270771538711727.284386-0.78230.4385280.219264
M9-2032.542636743981812.282349-1.12150.2685850.134292
M102664.839814799951925.0608041.38430.1737590.086879
M115242.336733573281345.0828263.89740.0003520.000176
t14.888579696349323.7812350.62610.5347430.267371

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Ordinary Least Squares \tabularnewline
Variable & Parameter & S.D. & T-STATH0: parameter = 0 & 2-tail p-value & 1-tail p-value \tabularnewline
(Intercept) & 4746.19129722464 & 3544.00355 & 1.3392 & 0.187877 & 0.093939 \tabularnewline
X & -866.780609791573 & 879.708747 & -0.9853 & 0.330254 & 0.165127 \tabularnewline
Y1 & 0.156995128968414 & 0.157787 & 0.995 & 0.32558 & 0.16279 \tabularnewline
Y2 & 0.442321422199032 & 0.141714 & 3.1212 & 0.003295 & 0.001648 \tabularnewline
Y3 & 0.0364744218977145 & 0.155503 & 0.2346 & 0.815719 & 0.40786 \tabularnewline
M1 & -6690.66593526214 & 1475.642246 & -4.5341 & 4.9e-05 & 2.5e-05 \tabularnewline
M2 & 14375.1133278374 & 2320.460748 & 6.1949 & 0 & 0 \tabularnewline
M3 & 11689.2387306921 & 2214.977542 & 5.2774 & 5e-06 & 2e-06 \tabularnewline
M4 & 7477.25242961239 & 2474.349367 & 3.0219 & 0.004315 & 0.002157 \tabularnewline
M5 & 4810.45819860558 & 2005.681778 & 2.3984 & 0.0211 & 0.01055 \tabularnewline
M6 & 506.153729263371 & 1962.268029 & 0.2579 & 0.797741 & 0.398871 \tabularnewline
M7 & 3289.15893096822 & 2169.03656 & 1.5164 & 0.137088 & 0.068544 \tabularnewline
M8 & -1351.27077153871 & 1727.284386 & -0.7823 & 0.438528 & 0.219264 \tabularnewline
M9 & -2032.54263674398 & 1812.282349 & -1.1215 & 0.268585 & 0.134292 \tabularnewline
M10 & 2664.83981479995 & 1925.060804 & 1.3843 & 0.173759 & 0.086879 \tabularnewline
M11 & 5242.33673357328 & 1345.082826 & 3.8974 & 0.000352 & 0.000176 \tabularnewline
t & 14.8885796963493 & 23.781235 & 0.6261 & 0.534743 & 0.267371 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=60049&T=2

[TABLE]
[ROW][C]Multiple Linear Regression - Ordinary Least Squares[/C][/ROW]
[ROW][C]Variable[/C][C]Parameter[/C][C]S.D.[/C][C]T-STATH0: parameter = 0[/C][C]2-tail p-value[/C][C]1-tail p-value[/C][/ROW]
[ROW][C](Intercept)[/C][C]4746.19129722464[/C][C]3544.00355[/C][C]1.3392[/C][C]0.187877[/C][C]0.093939[/C][/ROW]
[ROW][C]X[/C][C]-866.780609791573[/C][C]879.708747[/C][C]-0.9853[/C][C]0.330254[/C][C]0.165127[/C][/ROW]
[ROW][C]Y1[/C][C]0.156995128968414[/C][C]0.157787[/C][C]0.995[/C][C]0.32558[/C][C]0.16279[/C][/ROW]
[ROW][C]Y2[/C][C]0.442321422199032[/C][C]0.141714[/C][C]3.1212[/C][C]0.003295[/C][C]0.001648[/C][/ROW]
[ROW][C]Y3[/C][C]0.0364744218977145[/C][C]0.155503[/C][C]0.2346[/C][C]0.815719[/C][C]0.40786[/C][/ROW]
[ROW][C]M1[/C][C]-6690.66593526214[/C][C]1475.642246[/C][C]-4.5341[/C][C]4.9e-05[/C][C]2.5e-05[/C][/ROW]
[ROW][C]M2[/C][C]14375.1133278374[/C][C]2320.460748[/C][C]6.1949[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M3[/C][C]11689.2387306921[/C][C]2214.977542[/C][C]5.2774[/C][C]5e-06[/C][C]2e-06[/C][/ROW]
[ROW][C]M4[/C][C]7477.25242961239[/C][C]2474.349367[/C][C]3.0219[/C][C]0.004315[/C][C]0.002157[/C][/ROW]
[ROW][C]M5[/C][C]4810.45819860558[/C][C]2005.681778[/C][C]2.3984[/C][C]0.0211[/C][C]0.01055[/C][/ROW]
[ROW][C]M6[/C][C]506.153729263371[/C][C]1962.268029[/C][C]0.2579[/C][C]0.797741[/C][C]0.398871[/C][/ROW]
[ROW][C]M7[/C][C]3289.15893096822[/C][C]2169.03656[/C][C]1.5164[/C][C]0.137088[/C][C]0.068544[/C][/ROW]
[ROW][C]M8[/C][C]-1351.27077153871[/C][C]1727.284386[/C][C]-0.7823[/C][C]0.438528[/C][C]0.219264[/C][/ROW]
[ROW][C]M9[/C][C]-2032.54263674398[/C][C]1812.282349[/C][C]-1.1215[/C][C]0.268585[/C][C]0.134292[/C][/ROW]
[ROW][C]M10[/C][C]2664.83981479995[/C][C]1925.060804[/C][C]1.3843[/C][C]0.173759[/C][C]0.086879[/C][/ROW]
[ROW][C]M11[/C][C]5242.33673357328[/C][C]1345.082826[/C][C]3.8974[/C][C]0.000352[/C][C]0.000176[/C][/ROW]
[ROW][C]t[/C][C]14.8885796963493[/C][C]23.781235[/C][C]0.6261[/C][C]0.534743[/C][C]0.267371[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=60049&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=60049&T=2

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)4746.191297224643544.003551.33920.1878770.093939
X-866.780609791573879.708747-0.98530.3302540.165127
Y10.1569951289684140.1577870.9950.325580.16279
Y20.4423214221990320.1417143.12120.0032950.001648
Y30.03647442189771450.1555030.23460.8157190.40786
M1-6690.665935262141475.642246-4.53414.9e-052.5e-05
M214375.11332783742320.4607486.194900
M311689.23873069212214.9775425.27745e-062e-06
M47477.252429612392474.3493673.02190.0043150.002157
M54810.458198605582005.6817782.39840.02110.01055
M6506.1537292633711962.2680290.25790.7977410.398871
M73289.158930968222169.036561.51640.1370880.068544
M8-1351.270771538711727.284386-0.78230.4385280.219264
M9-2032.542636743981812.282349-1.12150.2685850.134292
M102664.839814799951925.0608041.38430.1737590.086879
M115242.336733573281345.0828263.89740.0003520.000176
t14.888579696349323.7812350.62610.5347430.267371







Multiple Linear Regression - Regression Statistics
Multiple R0.96643382677579
R-squared0.933994341536498
Adjusted R-squared0.908236035794644
F-TEST (value)36.2599291621446
F-TEST (DF numerator)16
F-TEST (DF denominator)41
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1769.04422157133
Sum Squared Residuals128310215.772871

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.96643382677579 \tabularnewline
R-squared & 0.933994341536498 \tabularnewline
Adjusted R-squared & 0.908236035794644 \tabularnewline
F-TEST (value) & 36.2599291621446 \tabularnewline
F-TEST (DF numerator) & 16 \tabularnewline
F-TEST (DF denominator) & 41 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 1769.04422157133 \tabularnewline
Sum Squared Residuals & 128310215.772871 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=60049&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.96643382677579[/C][/ROW]
[ROW][C]R-squared[/C][C]0.933994341536498[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.908236035794644[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]36.2599291621446[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]16[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]41[/C][/ROW]
[ROW][C]p-value[/C][C]0[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]1769.04422157133[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]128310215.772871[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=60049&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=60049&T=3

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Multiple Linear Regression - Regression Statistics
Multiple R0.96643382677579
R-squared0.933994341536498
Adjusted R-squared0.908236035794644
F-TEST (value)36.2599291621446
F-TEST (DF numerator)16
F-TEST (DF denominator)41
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1769.04422157133
Sum Squared Residuals128310215.772871







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
11380711899.65828576161907.34171423840
22974330628.5331519286-885.533151928608
32559127955.9119575727-2364.91195757268
42909629960.2287946607-864.228794660664
52648226603.3289127761-121.328912776103
62240523302.4225410951-897.422541095091
72704424431.86183281532612.13816718472
81797018635.9325361431-665.932536143107
91873018448.1983098791281.80169012088
101968419435.3658972849248.634102715128
111978522182.7201253618-2397.72012536183
121847917420.82367693081058.17632306917
131069810619.481745064878.5182549351743
143195629904.58262857722051.41737142279
152950627081.66048160982424.33951839024
163450631618.98601057472887.01398942533
172716529443.7417804203-2278.74178042027
182673626124.0694263630611.93057363697
192369125789.9028465623-2098.90284656226
201815720228.7969347683-2071.79693476835
211732817331.0863479581-3.08634795805432
221820519354.3370521555-1149.33705215553
232099521515.8733689456-520.873368945564
241738217084.1202164058297.879783594151
25936711107.1842958168-1740.18429581677
263112429433.19251862031690.80748137966
272655126500.961236895550.038763104476
283065130917.1694820137-266.169482013737
292585927679.7819929862-1820.78199298618
302510024284.7657450015815.234254998543
312577824993.4410981185784.558901881504
322041819963.8352835656454.164716434412
331868818728.1679448165-40.1679448165498
342042420822.7242380013-398.724238001302
352477622726.93431858412049.06568141592
361981418887.4982050322926.50179496784
371273813421.0134453497-683.013445349716
383156631354.7215427124211.278457287635
393011128328.78734854391782.21265145607
403001931973.1964423267-1954.19644232665
413193428483.22937555013450.77062444989
422582624400.69530317531425.30469682473
432683527083.3527135339-248.352713533948
442020519984.3689469949220.631053005066
451778918500.624502473-711.624502473013
462052019937.8069646408582.193035359192
472251821648.4721871085869.527812891474
481557217854.5579016312-2282.55790163116
491150911071.6622280071437.337771992913
502544728514.9701581615-3067.97015816147
512409025981.6789753781-1891.67897537811
522778627588.4192704243197.580729575718
532619525424.9179382673770.082061732657
542051622471.0469843652-1955.04698436515
552275923808.44150897-1049.44150897002
561902816965.06629852802062.93370147198
571697116497.9228948733473.077105126737
582003619318.7658479175717.23415208251

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 13807 & 11899.6582857616 & 1907.34171423840 \tabularnewline
2 & 29743 & 30628.5331519286 & -885.533151928608 \tabularnewline
3 & 25591 & 27955.9119575727 & -2364.91195757268 \tabularnewline
4 & 29096 & 29960.2287946607 & -864.228794660664 \tabularnewline
5 & 26482 & 26603.3289127761 & -121.328912776103 \tabularnewline
6 & 22405 & 23302.4225410951 & -897.422541095091 \tabularnewline
7 & 27044 & 24431.8618328153 & 2612.13816718472 \tabularnewline
8 & 17970 & 18635.9325361431 & -665.932536143107 \tabularnewline
9 & 18730 & 18448.1983098791 & 281.80169012088 \tabularnewline
10 & 19684 & 19435.3658972849 & 248.634102715128 \tabularnewline
11 & 19785 & 22182.7201253618 & -2397.72012536183 \tabularnewline
12 & 18479 & 17420.8236769308 & 1058.17632306917 \tabularnewline
13 & 10698 & 10619.4817450648 & 78.5182549351743 \tabularnewline
14 & 31956 & 29904.5826285772 & 2051.41737142279 \tabularnewline
15 & 29506 & 27081.6604816098 & 2424.33951839024 \tabularnewline
16 & 34506 & 31618.9860105747 & 2887.01398942533 \tabularnewline
17 & 27165 & 29443.7417804203 & -2278.74178042027 \tabularnewline
18 & 26736 & 26124.0694263630 & 611.93057363697 \tabularnewline
19 & 23691 & 25789.9028465623 & -2098.90284656226 \tabularnewline
20 & 18157 & 20228.7969347683 & -2071.79693476835 \tabularnewline
21 & 17328 & 17331.0863479581 & -3.08634795805432 \tabularnewline
22 & 18205 & 19354.3370521555 & -1149.33705215553 \tabularnewline
23 & 20995 & 21515.8733689456 & -520.873368945564 \tabularnewline
24 & 17382 & 17084.1202164058 & 297.879783594151 \tabularnewline
25 & 9367 & 11107.1842958168 & -1740.18429581677 \tabularnewline
26 & 31124 & 29433.1925186203 & 1690.80748137966 \tabularnewline
27 & 26551 & 26500.9612368955 & 50.038763104476 \tabularnewline
28 & 30651 & 30917.1694820137 & -266.169482013737 \tabularnewline
29 & 25859 & 27679.7819929862 & -1820.78199298618 \tabularnewline
30 & 25100 & 24284.7657450015 & 815.234254998543 \tabularnewline
31 & 25778 & 24993.4410981185 & 784.558901881504 \tabularnewline
32 & 20418 & 19963.8352835656 & 454.164716434412 \tabularnewline
33 & 18688 & 18728.1679448165 & -40.1679448165498 \tabularnewline
34 & 20424 & 20822.7242380013 & -398.724238001302 \tabularnewline
35 & 24776 & 22726.9343185841 & 2049.06568141592 \tabularnewline
36 & 19814 & 18887.4982050322 & 926.50179496784 \tabularnewline
37 & 12738 & 13421.0134453497 & -683.013445349716 \tabularnewline
38 & 31566 & 31354.7215427124 & 211.278457287635 \tabularnewline
39 & 30111 & 28328.7873485439 & 1782.21265145607 \tabularnewline
40 & 30019 & 31973.1964423267 & -1954.19644232665 \tabularnewline
41 & 31934 & 28483.2293755501 & 3450.77062444989 \tabularnewline
42 & 25826 & 24400.6953031753 & 1425.30469682473 \tabularnewline
43 & 26835 & 27083.3527135339 & -248.352713533948 \tabularnewline
44 & 20205 & 19984.3689469949 & 220.631053005066 \tabularnewline
45 & 17789 & 18500.624502473 & -711.624502473013 \tabularnewline
46 & 20520 & 19937.8069646408 & 582.193035359192 \tabularnewline
47 & 22518 & 21648.4721871085 & 869.527812891474 \tabularnewline
48 & 15572 & 17854.5579016312 & -2282.55790163116 \tabularnewline
49 & 11509 & 11071.6622280071 & 437.337771992913 \tabularnewline
50 & 25447 & 28514.9701581615 & -3067.97015816147 \tabularnewline
51 & 24090 & 25981.6789753781 & -1891.67897537811 \tabularnewline
52 & 27786 & 27588.4192704243 & 197.580729575718 \tabularnewline
53 & 26195 & 25424.9179382673 & 770.082061732657 \tabularnewline
54 & 20516 & 22471.0469843652 & -1955.04698436515 \tabularnewline
55 & 22759 & 23808.44150897 & -1049.44150897002 \tabularnewline
56 & 19028 & 16965.0662985280 & 2062.93370147198 \tabularnewline
57 & 16971 & 16497.9228948733 & 473.077105126737 \tabularnewline
58 & 20036 & 19318.7658479175 & 717.23415208251 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=60049&T=4

[TABLE]
[ROW][C]Multiple Linear Regression - Actuals, Interpolation, and Residuals[/C][/ROW]
[ROW][C]Time or Index[/C][C]Actuals[/C][C]InterpolationForecast[/C][C]ResidualsPrediction Error[/C][/ROW]
[ROW][C]1[/C][C]13807[/C][C]11899.6582857616[/C][C]1907.34171423840[/C][/ROW]
[ROW][C]2[/C][C]29743[/C][C]30628.5331519286[/C][C]-885.533151928608[/C][/ROW]
[ROW][C]3[/C][C]25591[/C][C]27955.9119575727[/C][C]-2364.91195757268[/C][/ROW]
[ROW][C]4[/C][C]29096[/C][C]29960.2287946607[/C][C]-864.228794660664[/C][/ROW]
[ROW][C]5[/C][C]26482[/C][C]26603.3289127761[/C][C]-121.328912776103[/C][/ROW]
[ROW][C]6[/C][C]22405[/C][C]23302.4225410951[/C][C]-897.422541095091[/C][/ROW]
[ROW][C]7[/C][C]27044[/C][C]24431.8618328153[/C][C]2612.13816718472[/C][/ROW]
[ROW][C]8[/C][C]17970[/C][C]18635.9325361431[/C][C]-665.932536143107[/C][/ROW]
[ROW][C]9[/C][C]18730[/C][C]18448.1983098791[/C][C]281.80169012088[/C][/ROW]
[ROW][C]10[/C][C]19684[/C][C]19435.3658972849[/C][C]248.634102715128[/C][/ROW]
[ROW][C]11[/C][C]19785[/C][C]22182.7201253618[/C][C]-2397.72012536183[/C][/ROW]
[ROW][C]12[/C][C]18479[/C][C]17420.8236769308[/C][C]1058.17632306917[/C][/ROW]
[ROW][C]13[/C][C]10698[/C][C]10619.4817450648[/C][C]78.5182549351743[/C][/ROW]
[ROW][C]14[/C][C]31956[/C][C]29904.5826285772[/C][C]2051.41737142279[/C][/ROW]
[ROW][C]15[/C][C]29506[/C][C]27081.6604816098[/C][C]2424.33951839024[/C][/ROW]
[ROW][C]16[/C][C]34506[/C][C]31618.9860105747[/C][C]2887.01398942533[/C][/ROW]
[ROW][C]17[/C][C]27165[/C][C]29443.7417804203[/C][C]-2278.74178042027[/C][/ROW]
[ROW][C]18[/C][C]26736[/C][C]26124.0694263630[/C][C]611.93057363697[/C][/ROW]
[ROW][C]19[/C][C]23691[/C][C]25789.9028465623[/C][C]-2098.90284656226[/C][/ROW]
[ROW][C]20[/C][C]18157[/C][C]20228.7969347683[/C][C]-2071.79693476835[/C][/ROW]
[ROW][C]21[/C][C]17328[/C][C]17331.0863479581[/C][C]-3.08634795805432[/C][/ROW]
[ROW][C]22[/C][C]18205[/C][C]19354.3370521555[/C][C]-1149.33705215553[/C][/ROW]
[ROW][C]23[/C][C]20995[/C][C]21515.8733689456[/C][C]-520.873368945564[/C][/ROW]
[ROW][C]24[/C][C]17382[/C][C]17084.1202164058[/C][C]297.879783594151[/C][/ROW]
[ROW][C]25[/C][C]9367[/C][C]11107.1842958168[/C][C]-1740.18429581677[/C][/ROW]
[ROW][C]26[/C][C]31124[/C][C]29433.1925186203[/C][C]1690.80748137966[/C][/ROW]
[ROW][C]27[/C][C]26551[/C][C]26500.9612368955[/C][C]50.038763104476[/C][/ROW]
[ROW][C]28[/C][C]30651[/C][C]30917.1694820137[/C][C]-266.169482013737[/C][/ROW]
[ROW][C]29[/C][C]25859[/C][C]27679.7819929862[/C][C]-1820.78199298618[/C][/ROW]
[ROW][C]30[/C][C]25100[/C][C]24284.7657450015[/C][C]815.234254998543[/C][/ROW]
[ROW][C]31[/C][C]25778[/C][C]24993.4410981185[/C][C]784.558901881504[/C][/ROW]
[ROW][C]32[/C][C]20418[/C][C]19963.8352835656[/C][C]454.164716434412[/C][/ROW]
[ROW][C]33[/C][C]18688[/C][C]18728.1679448165[/C][C]-40.1679448165498[/C][/ROW]
[ROW][C]34[/C][C]20424[/C][C]20822.7242380013[/C][C]-398.724238001302[/C][/ROW]
[ROW][C]35[/C][C]24776[/C][C]22726.9343185841[/C][C]2049.06568141592[/C][/ROW]
[ROW][C]36[/C][C]19814[/C][C]18887.4982050322[/C][C]926.50179496784[/C][/ROW]
[ROW][C]37[/C][C]12738[/C][C]13421.0134453497[/C][C]-683.013445349716[/C][/ROW]
[ROW][C]38[/C][C]31566[/C][C]31354.7215427124[/C][C]211.278457287635[/C][/ROW]
[ROW][C]39[/C][C]30111[/C][C]28328.7873485439[/C][C]1782.21265145607[/C][/ROW]
[ROW][C]40[/C][C]30019[/C][C]31973.1964423267[/C][C]-1954.19644232665[/C][/ROW]
[ROW][C]41[/C][C]31934[/C][C]28483.2293755501[/C][C]3450.77062444989[/C][/ROW]
[ROW][C]42[/C][C]25826[/C][C]24400.6953031753[/C][C]1425.30469682473[/C][/ROW]
[ROW][C]43[/C][C]26835[/C][C]27083.3527135339[/C][C]-248.352713533948[/C][/ROW]
[ROW][C]44[/C][C]20205[/C][C]19984.3689469949[/C][C]220.631053005066[/C][/ROW]
[ROW][C]45[/C][C]17789[/C][C]18500.624502473[/C][C]-711.624502473013[/C][/ROW]
[ROW][C]46[/C][C]20520[/C][C]19937.8069646408[/C][C]582.193035359192[/C][/ROW]
[ROW][C]47[/C][C]22518[/C][C]21648.4721871085[/C][C]869.527812891474[/C][/ROW]
[ROW][C]48[/C][C]15572[/C][C]17854.5579016312[/C][C]-2282.55790163116[/C][/ROW]
[ROW][C]49[/C][C]11509[/C][C]11071.6622280071[/C][C]437.337771992913[/C][/ROW]
[ROW][C]50[/C][C]25447[/C][C]28514.9701581615[/C][C]-3067.97015816147[/C][/ROW]
[ROW][C]51[/C][C]24090[/C][C]25981.6789753781[/C][C]-1891.67897537811[/C][/ROW]
[ROW][C]52[/C][C]27786[/C][C]27588.4192704243[/C][C]197.580729575718[/C][/ROW]
[ROW][C]53[/C][C]26195[/C][C]25424.9179382673[/C][C]770.082061732657[/C][/ROW]
[ROW][C]54[/C][C]20516[/C][C]22471.0469843652[/C][C]-1955.04698436515[/C][/ROW]
[ROW][C]55[/C][C]22759[/C][C]23808.44150897[/C][C]-1049.44150897002[/C][/ROW]
[ROW][C]56[/C][C]19028[/C][C]16965.0662985280[/C][C]2062.93370147198[/C][/ROW]
[ROW][C]57[/C][C]16971[/C][C]16497.9228948733[/C][C]473.077105126737[/C][/ROW]
[ROW][C]58[/C][C]20036[/C][C]19318.7658479175[/C][C]717.23415208251[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=60049&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=60049&T=4

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
11380711899.65828576161907.34171423840
22974330628.5331519286-885.533151928608
32559127955.9119575727-2364.91195757268
42909629960.2287946607-864.228794660664
52648226603.3289127761-121.328912776103
62240523302.4225410951-897.422541095091
72704424431.86183281532612.13816718472
81797018635.9325361431-665.932536143107
91873018448.1983098791281.80169012088
101968419435.3658972849248.634102715128
111978522182.7201253618-2397.72012536183
121847917420.82367693081058.17632306917
131069810619.481745064878.5182549351743
143195629904.58262857722051.41737142279
152950627081.66048160982424.33951839024
163450631618.98601057472887.01398942533
172716529443.7417804203-2278.74178042027
182673626124.0694263630611.93057363697
192369125789.9028465623-2098.90284656226
201815720228.7969347683-2071.79693476835
211732817331.0863479581-3.08634795805432
221820519354.3370521555-1149.33705215553
232099521515.8733689456-520.873368945564
241738217084.1202164058297.879783594151
25936711107.1842958168-1740.18429581677
263112429433.19251862031690.80748137966
272655126500.961236895550.038763104476
283065130917.1694820137-266.169482013737
292585927679.7819929862-1820.78199298618
302510024284.7657450015815.234254998543
312577824993.4410981185784.558901881504
322041819963.8352835656454.164716434412
331868818728.1679448165-40.1679448165498
342042420822.7242380013-398.724238001302
352477622726.93431858412049.06568141592
361981418887.4982050322926.50179496784
371273813421.0134453497-683.013445349716
383156631354.7215427124211.278457287635
393011128328.78734854391782.21265145607
403001931973.1964423267-1954.19644232665
413193428483.22937555013450.77062444989
422582624400.69530317531425.30469682473
432683527083.3527135339-248.352713533948
442020519984.3689469949220.631053005066
451778918500.624502473-711.624502473013
462052019937.8069646408582.193035359192
472251821648.4721871085869.527812891474
481557217854.5579016312-2282.55790163116
491150911071.6622280071437.337771992913
502544728514.9701581615-3067.97015816147
512409025981.6789753781-1891.67897537811
522778627588.4192704243197.580729575718
532619525424.9179382673770.082061732657
542051622471.0469843652-1955.04698436515
552275923808.44150897-1049.44150897002
561902816965.06629852802062.93370147198
571697116497.9228948733473.077105126737
582003619318.7658479175717.23415208251







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
200.9155762811549590.1688474376900830.0844237188450413
210.8688118962324150.2623762075351690.131188103767585
220.8839554855948380.2320890288103240.116044514405162
230.8393051961069450.3213896077861110.160694803893055
240.7796587203680480.4406825592639040.220341279631952
250.8071507695695820.3856984608608350.192849230430418
260.8012797444554460.3974405110891090.198720255544554
270.7112648609956480.5774702780087050.288735139004352
280.6730420099479730.6539159801040530.326957990052027
290.8528161153349310.2943677693301380.147183884665069
300.8058907889022680.3882184221954630.194109211097732
310.7144086063423310.5711827873153370.285591393657669
320.6920721417689380.6158557164621240.307927858231062
330.577478416055720.8450431678885590.422521583944279
340.5006154072306090.9987691855387820.499384592769391
350.4822598525861030.9645197051722060.517740147413897
360.3843269246122480.7686538492244960.615673075387752
370.2740267119496650.5480534238993300.725973288050335
380.3293345208586370.6586690417172750.670665479141363

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
20 & 0.915576281154959 & 0.168847437690083 & 0.0844237188450413 \tabularnewline
21 & 0.868811896232415 & 0.262376207535169 & 0.131188103767585 \tabularnewline
22 & 0.883955485594838 & 0.232089028810324 & 0.116044514405162 \tabularnewline
23 & 0.839305196106945 & 0.321389607786111 & 0.160694803893055 \tabularnewline
24 & 0.779658720368048 & 0.440682559263904 & 0.220341279631952 \tabularnewline
25 & 0.807150769569582 & 0.385698460860835 & 0.192849230430418 \tabularnewline
26 & 0.801279744455446 & 0.397440511089109 & 0.198720255544554 \tabularnewline
27 & 0.711264860995648 & 0.577470278008705 & 0.288735139004352 \tabularnewline
28 & 0.673042009947973 & 0.653915980104053 & 0.326957990052027 \tabularnewline
29 & 0.852816115334931 & 0.294367769330138 & 0.147183884665069 \tabularnewline
30 & 0.805890788902268 & 0.388218422195463 & 0.194109211097732 \tabularnewline
31 & 0.714408606342331 & 0.571182787315337 & 0.285591393657669 \tabularnewline
32 & 0.692072141768938 & 0.615855716462124 & 0.307927858231062 \tabularnewline
33 & 0.57747841605572 & 0.845043167888559 & 0.422521583944279 \tabularnewline
34 & 0.500615407230609 & 0.998769185538782 & 0.499384592769391 \tabularnewline
35 & 0.482259852586103 & 0.964519705172206 & 0.517740147413897 \tabularnewline
36 & 0.384326924612248 & 0.768653849224496 & 0.615673075387752 \tabularnewline
37 & 0.274026711949665 & 0.548053423899330 & 0.725973288050335 \tabularnewline
38 & 0.329334520858637 & 0.658669041717275 & 0.670665479141363 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=60049&T=5

[TABLE]
[ROW][C]Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]p-values[/C][C]Alternative Hypothesis[/C][/ROW]
[ROW][C]breakpoint index[/C][C]greater[/C][C]2-sided[/C][C]less[/C][/ROW]
[ROW][C]20[/C][C]0.915576281154959[/C][C]0.168847437690083[/C][C]0.0844237188450413[/C][/ROW]
[ROW][C]21[/C][C]0.868811896232415[/C][C]0.262376207535169[/C][C]0.131188103767585[/C][/ROW]
[ROW][C]22[/C][C]0.883955485594838[/C][C]0.232089028810324[/C][C]0.116044514405162[/C][/ROW]
[ROW][C]23[/C][C]0.839305196106945[/C][C]0.321389607786111[/C][C]0.160694803893055[/C][/ROW]
[ROW][C]24[/C][C]0.779658720368048[/C][C]0.440682559263904[/C][C]0.220341279631952[/C][/ROW]
[ROW][C]25[/C][C]0.807150769569582[/C][C]0.385698460860835[/C][C]0.192849230430418[/C][/ROW]
[ROW][C]26[/C][C]0.801279744455446[/C][C]0.397440511089109[/C][C]0.198720255544554[/C][/ROW]
[ROW][C]27[/C][C]0.711264860995648[/C][C]0.577470278008705[/C][C]0.288735139004352[/C][/ROW]
[ROW][C]28[/C][C]0.673042009947973[/C][C]0.653915980104053[/C][C]0.326957990052027[/C][/ROW]
[ROW][C]29[/C][C]0.852816115334931[/C][C]0.294367769330138[/C][C]0.147183884665069[/C][/ROW]
[ROW][C]30[/C][C]0.805890788902268[/C][C]0.388218422195463[/C][C]0.194109211097732[/C][/ROW]
[ROW][C]31[/C][C]0.714408606342331[/C][C]0.571182787315337[/C][C]0.285591393657669[/C][/ROW]
[ROW][C]32[/C][C]0.692072141768938[/C][C]0.615855716462124[/C][C]0.307927858231062[/C][/ROW]
[ROW][C]33[/C][C]0.57747841605572[/C][C]0.845043167888559[/C][C]0.422521583944279[/C][/ROW]
[ROW][C]34[/C][C]0.500615407230609[/C][C]0.998769185538782[/C][C]0.499384592769391[/C][/ROW]
[ROW][C]35[/C][C]0.482259852586103[/C][C]0.964519705172206[/C][C]0.517740147413897[/C][/ROW]
[ROW][C]36[/C][C]0.384326924612248[/C][C]0.768653849224496[/C][C]0.615673075387752[/C][/ROW]
[ROW][C]37[/C][C]0.274026711949665[/C][C]0.548053423899330[/C][C]0.725973288050335[/C][/ROW]
[ROW][C]38[/C][C]0.329334520858637[/C][C]0.658669041717275[/C][C]0.670665479141363[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=60049&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=60049&T=5

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
200.9155762811549590.1688474376900830.0844237188450413
210.8688118962324150.2623762075351690.131188103767585
220.8839554855948380.2320890288103240.116044514405162
230.8393051961069450.3213896077861110.160694803893055
240.7796587203680480.4406825592639040.220341279631952
250.8071507695695820.3856984608608350.192849230430418
260.8012797444554460.3974405110891090.198720255544554
270.7112648609956480.5774702780087050.288735139004352
280.6730420099479730.6539159801040530.326957990052027
290.8528161153349310.2943677693301380.147183884665069
300.8058907889022680.3882184221954630.194109211097732
310.7144086063423310.5711827873153370.285591393657669
320.6920721417689380.6158557164621240.307927858231062
330.577478416055720.8450431678885590.422521583944279
340.5006154072306090.9987691855387820.499384592769391
350.4822598525861030.9645197051722060.517740147413897
360.3843269246122480.7686538492244960.615673075387752
370.2740267119496650.5480534238993300.725973288050335
380.3293345208586370.6586690417172750.670665479141363







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level00OK
10% type I error level00OK

\begin{tabular}{lllllllll}
\hline
Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
Description & # significant tests & % significant tests & OK/NOK \tabularnewline
1% type I error level & 0 & 0 & OK \tabularnewline
5% type I error level & 0 & 0 & OK \tabularnewline
10% type I error level & 0 & 0 & OK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=60049&T=6

[TABLE]
[ROW][C]Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]Description[/C][C]# significant tests[/C][C]% significant tests[/C][C]OK/NOK[/C][/ROW]
[ROW][C]1% type I error level[/C][C]0[/C][C]0[/C][C]OK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]0[/C][C]0[/C][C]OK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]0[/C][C]0[/C][C]OK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=60049&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=60049&T=6

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level00OK
10% type I error level00OK



Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
R code (references can be found in the software module):
library(lattice)
library(lmtest)
n25 <- 25 #minimum number of obs. for Goldfeld-Quandt test
par1 <- as.numeric(par1)
x <- t(y)
k <- length(x[1,])
n <- length(x[,1])
x1 <- cbind(x[,par1], x[,1:k!=par1])
mycolnames <- c(colnames(x)[par1], colnames(x)[1:k!=par1])
colnames(x1) <- mycolnames #colnames(x)[par1]
x <- x1
if (par3 == 'First Differences'){
x2 <- array(0, dim=c(n-1,k), dimnames=list(1:(n-1), paste('(1-B)',colnames(x),sep='')))
for (i in 1:n-1) {
for (j in 1:k) {
x2[i,j] <- x[i+1,j] - x[i,j]
}
}
x <- x2
}
if (par2 == 'Include Monthly Dummies'){
x2 <- array(0, dim=c(n,11), dimnames=list(1:n, paste('M', seq(1:11), sep ='')))
for (i in 1:11){
x2[seq(i,n,12),i] <- 1
}
x <- cbind(x, x2)
}
if (par2 == 'Include Quarterly Dummies'){
x2 <- array(0, dim=c(n,3), dimnames=list(1:n, paste('Q', seq(1:3), sep ='')))
for (i in 1:3){
x2[seq(i,n,4),i] <- 1
}
x <- cbind(x, x2)
}
k <- length(x[1,])
if (par3 == 'Linear Trend'){
x <- cbind(x, c(1:n))
colnames(x)[k+1] <- 't'
}
x
k <- length(x[1,])
df <- as.data.frame(x)
(mylm <- lm(df))
(mysum <- summary(mylm))
if (n > n25) {
kp3 <- k + 3
nmkm3 <- n - k - 3
gqarr <- array(NA, dim=c(nmkm3-kp3+1,3))
numgqtests <- 0
numsignificant1 <- 0
numsignificant5 <- 0
numsignificant10 <- 0
for (mypoint in kp3:nmkm3) {
j <- 0
numgqtests <- numgqtests + 1
for (myalt in c('greater', 'two.sided', 'less')) {
j <- j + 1
gqarr[mypoint-kp3+1,j] <- gqtest(mylm, point=mypoint, alternative=myalt)$p.value
}
if (gqarr[mypoint-kp3+1,2] < 0.01) numsignificant1 <- numsignificant1 + 1
if (gqarr[mypoint-kp3+1,2] < 0.05) numsignificant5 <- numsignificant5 + 1
if (gqarr[mypoint-kp3+1,2] < 0.10) numsignificant10 <- numsignificant10 + 1
}
gqarr
}
bitmap(file='test0.png')
plot(x[,1], type='l', main='Actuals and Interpolation', ylab='value of Actuals and Interpolation (dots)', xlab='time or index')
points(x[,1]-mysum$resid)
grid()
dev.off()
bitmap(file='test1.png')
plot(mysum$resid, type='b', pch=19, main='Residuals', ylab='value of Residuals', xlab='time or index')
grid()
dev.off()
bitmap(file='test2.png')
hist(mysum$resid, main='Residual Histogram', xlab='values of Residuals')
grid()
dev.off()
bitmap(file='test3.png')
densityplot(~mysum$resid,col='black',main='Residual Density Plot', xlab='values of Residuals')
dev.off()
bitmap(file='test4.png')
qqnorm(mysum$resid, main='Residual Normal Q-Q Plot')
qqline(mysum$resid)
grid()
dev.off()
(myerror <- as.ts(mysum$resid))
bitmap(file='test5.png')
dum <- cbind(lag(myerror,k=1),myerror)
dum
dum1 <- dum[2:length(myerror),]
dum1
z <- as.data.frame(dum1)
z
plot(z,main=paste('Residual Lag plot, lowess, and regression line'), ylab='values of Residuals', xlab='lagged values of Residuals')
lines(lowess(z))
abline(lm(z))
grid()
dev.off()
bitmap(file='test6.png')
acf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Autocorrelation Function')
grid()
dev.off()
bitmap(file='test7.png')
pacf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Partial Autocorrelation Function')
grid()
dev.off()
bitmap(file='test8.png')
opar <- par(mfrow = c(2,2), oma = c(0, 0, 1.1, 0))
plot(mylm, las = 1, sub='Residual Diagnostics')
par(opar)
dev.off()
if (n > n25) {
bitmap(file='test9.png')
plot(kp3:nmkm3,gqarr[,2], main='Goldfeld-Quandt test',ylab='2-sided p-value',xlab='breakpoint')
grid()
dev.off()
}
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Estimated Regression Equation', 1, TRUE)
a<-table.row.end(a)
myeq <- colnames(x)[1]
myeq <- paste(myeq, '[t] = ', sep='')
for (i in 1:k){
if (mysum$coefficients[i,1] > 0) myeq <- paste(myeq, '+', '')
myeq <- paste(myeq, mysum$coefficients[i,1], sep=' ')
if (rownames(mysum$coefficients)[i] != '(Intercept)') {
myeq <- paste(myeq, rownames(mysum$coefficients)[i], sep='')
if (rownames(mysum$coefficients)[i] != 't') myeq <- paste(myeq, '[t]', sep='')
}
}
myeq <- paste(myeq, ' + e[t]')
a<-table.row.start(a)
a<-table.element(a, myeq)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable1.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,hyperlink('ols1.htm','Multiple Linear Regression - Ordinary Least Squares',''), 6, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Variable',header=TRUE)
a<-table.element(a,'Parameter',header=TRUE)
a<-table.element(a,'S.D.',header=TRUE)
a<-table.element(a,'T-STAT
H0: parameter = 0',header=TRUE)
a<-table.element(a,'2-tail p-value',header=TRUE)
a<-table.element(a,'1-tail p-value',header=TRUE)
a<-table.row.end(a)
for (i in 1:k){
a<-table.row.start(a)
a<-table.element(a,rownames(mysum$coefficients)[i],header=TRUE)
a<-table.element(a,mysum$coefficients[i,1])
a<-table.element(a, round(mysum$coefficients[i,2],6))
a<-table.element(a, round(mysum$coefficients[i,3],4))
a<-table.element(a, round(mysum$coefficients[i,4],6))
a<-table.element(a, round(mysum$coefficients[i,4]/2,6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable2.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Regression Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple R',1,TRUE)
a<-table.element(a, sqrt(mysum$r.squared))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'R-squared',1,TRUE)
a<-table.element(a, mysum$r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Adjusted R-squared',1,TRUE)
a<-table.element(a, mysum$adj.r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (value)',1,TRUE)
a<-table.element(a, mysum$fstatistic[1])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF numerator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[2])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF denominator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[3])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'p-value',1,TRUE)
a<-table.element(a, 1-pf(mysum$fstatistic[1],mysum$fstatistic[2],mysum$fstatistic[3]))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Residual Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Residual Standard Deviation',1,TRUE)
a<-table.element(a, mysum$sigma)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Sum Squared Residuals',1,TRUE)
a<-table.element(a, sum(myerror*myerror))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable3.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Actuals, Interpolation, and Residuals', 4, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Time or Index', 1, TRUE)
a<-table.element(a, 'Actuals', 1, TRUE)
a<-table.element(a, 'Interpolation
Forecast', 1, TRUE)
a<-table.element(a, 'Residuals
Prediction Error', 1, TRUE)
a<-table.row.end(a)
for (i in 1:n) {
a<-table.row.start(a)
a<-table.element(a,i, 1, TRUE)
a<-table.element(a,x[i])
a<-table.element(a,x[i]-mysum$resid[i])
a<-table.element(a,mysum$resid[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable4.tab')
if (n > n25) {
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'p-values',header=TRUE)
a<-table.element(a,'Alternative Hypothesis',3,header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'breakpoint index',header=TRUE)
a<-table.element(a,'greater',header=TRUE)
a<-table.element(a,'2-sided',header=TRUE)
a<-table.element(a,'less',header=TRUE)
a<-table.row.end(a)
for (mypoint in kp3:nmkm3) {
a<-table.row.start(a)
a<-table.element(a,mypoint,header=TRUE)
a<-table.element(a,gqarr[mypoint-kp3+1,1])
a<-table.element(a,gqarr[mypoint-kp3+1,2])
a<-table.element(a,gqarr[mypoint-kp3+1,3])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable5.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Description',header=TRUE)
a<-table.element(a,'# significant tests',header=TRUE)
a<-table.element(a,'% significant tests',header=TRUE)
a<-table.element(a,'OK/NOK',header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'1% type I error level',header=TRUE)
a<-table.element(a,numsignificant1)
a<-table.element(a,numsignificant1/numgqtests)
if (numsignificant1/numgqtests < 0.01) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'5% type I error level',header=TRUE)
a<-table.element(a,numsignificant5)
a<-table.element(a,numsignificant5/numgqtests)
if (numsignificant5/numgqtests < 0.05) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'10% type I error level',header=TRUE)
a<-table.element(a,numsignificant10)
a<-table.element(a,numsignificant10/numgqtests)
if (numsignificant10/numgqtests < 0.1) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable6.tab')
}