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 computationWed, 18 Nov 2009 12:29:37 -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/18/t1258572728kqe26cw54eb3r2f.htm/, Retrieved Sun, 05 May 2024 15:20:15 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=57601, Retrieved Sun, 05 May 2024 15:20:15 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact133
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]
-   PD      [Multiple Regression] [] [2009-11-18 19:29:37] [7dd0431c761b876151627bfbf92230c8] [Current]
Feedback Forum

Post a new message
Dataseries X:
87032	537000	88219	90390	90269	90398
87175	543000	87032	88219	90390	90269
92603	594000	87175	87032	88219	90390
93571	611000	92603	87175	87032	88219
94118	613000	93571	92603	87175	87032
92159	611000	94118	93571	92603	87175
89528	594000	92159	94118	93571	92603
89955	595000	89528	92159	94118	93571
89587	591000	89955	89528	92159	94118
89488	589000	89587	89955	89528	92159
88521	584000	89488	89587	89955	89528
86587	573000	88521	89488	89587	89955
85159	567000	86587	88521	89488	89587
84915	569000	85159	86587	88521	89488
91378	621000	84915	85159	86587	88521
92729	629000	91378	84915	85159	86587
92194	628000	92729	91378	84915	85159
89664	612000	92194	92729	91378	84915
86285	595000	89664	92194	92729	91378
86858	597000	86285	89664	92194	92729
87184	593000	86858	86285	89664	92194
86629	590000	87184	86858	86285	89664
85220	580000	86629	87184	86858	86285
84816	574000	85220	86629	87184	86858
84831	573000	84816	85220	86629	87184
84957	573000	84831	84816	85220	86629
90951	620000	84957	84831	84816	85220
92134	626000	90951	84957	84831	84816
91790	620000	92134	90951	84957	84831
86625	588000	91790	92134	90951	84957
83324	566000	86625	91790	92134	90951
82719	557000	83324	86625	91790	92134
83614	561000	82719	83324	86625	91790
81640	549000	83614	82719	83324	86625
78665	532000	81640	83614	82719	83324
77828	526000	78665	81640	83614	82719
75728	511000	77828	78665	81640	83614
72187	499000	75728	77828	78665	81640
79357	555000	72187	75728	77828	78665
81329	565000	79357	72187	75728	77828
77304	542000	81329	79357	72187	75728
75576	527000	77304	81329	79357	72187
72932	510000	75576	77304	81329	79357
74291	514000	72932	75576	77304	81329
74988	517000	74291	72932	75576	77304
73302	508000	74988	74291	72932	75576
70483	493000	73302	74988	74291	72932
69848	490000	70483	73302	74988	74291
66466	469000	69848	70483	73302	74988
67610	478000	66466	69848	70483	73302
75091	528000	67610	66466	69848	70483
76207	534000	75091	67610	66466	69848
73454	518000	76207	75091	67610	66466
72008	506000	73454	76207	75091	67610
71362	502000	72008	73454	76207	75091
74250	516000	71362	72008	73454	76207




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=57601&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=57601&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57601&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] = + 16659.6044287766 + 0.109701069904378X[t] + 0.198692700537699Y1[t] -0.120313363550685Y2[t] -0.0163588651375638Y3[t] + 0.0456233389362317Y4[t] -154.353123603834t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  16659.6044287766 +  0.109701069904378X[t] +  0.198692700537699Y1[t] -0.120313363550685Y2[t] -0.0163588651375638Y3[t] +  0.0456233389362317Y4[t] -154.353123603834t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57601&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  16659.6044287766 +  0.109701069904378X[t] +  0.198692700537699Y1[t] -0.120313363550685Y2[t] -0.0163588651375638Y3[t] +  0.0456233389362317Y4[t] -154.353123603834t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57601&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57601&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] = + 16659.6044287766 + 0.109701069904378X[t] + 0.198692700537699Y1[t] -0.120313363550685Y2[t] -0.0163588651375638Y3[t] + 0.0456233389362317Y4[t] -154.353123603834t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)16659.60442877664581.5941473.63620.0006630.000332
X0.1097010699043780.00752814.572400
Y10.1986927005376990.0850592.33590.023630.011815
Y2-0.1203133635506850.09357-1.28580.204550.102275
Y3-0.01635886513756380.090113-0.18150.8566950.428348
Y40.04562333893623170.0606290.75250.4553520.227676
t-154.35312360383421.001902-7.349500

\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) & 16659.6044287766 & 4581.594147 & 3.6362 & 0.000663 & 0.000332 \tabularnewline
X & 0.109701069904378 & 0.007528 & 14.5724 & 0 & 0 \tabularnewline
Y1 & 0.198692700537699 & 0.085059 & 2.3359 & 0.02363 & 0.011815 \tabularnewline
Y2 & -0.120313363550685 & 0.09357 & -1.2858 & 0.20455 & 0.102275 \tabularnewline
Y3 & -0.0163588651375638 & 0.090113 & -0.1815 & 0.856695 & 0.428348 \tabularnewline
Y4 & 0.0456233389362317 & 0.060629 & 0.7525 & 0.455352 & 0.227676 \tabularnewline
t & -154.353123603834 & 21.001902 & -7.3495 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57601&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]16659.6044287766[/C][C]4581.594147[/C][C]3.6362[/C][C]0.000663[/C][C]0.000332[/C][/ROW]
[ROW][C]X[/C][C]0.109701069904378[/C][C]0.007528[/C][C]14.5724[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Y1[/C][C]0.198692700537699[/C][C]0.085059[/C][C]2.3359[/C][C]0.02363[/C][C]0.011815[/C][/ROW]
[ROW][C]Y2[/C][C]-0.120313363550685[/C][C]0.09357[/C][C]-1.2858[/C][C]0.20455[/C][C]0.102275[/C][/ROW]
[ROW][C]Y3[/C][C]-0.0163588651375638[/C][C]0.090113[/C][C]-0.1815[/C][C]0.856695[/C][C]0.428348[/C][/ROW]
[ROW][C]Y4[/C][C]0.0456233389362317[/C][C]0.060629[/C][C]0.7525[/C][C]0.455352[/C][C]0.227676[/C][/ROW]
[ROW][C]t[/C][C]-154.353123603834[/C][C]21.001902[/C][C]-7.3495[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57601&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57601&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)16659.60442877664581.5941473.63620.0006630.000332
X0.1097010699043780.00752814.572400
Y10.1986927005376990.0850592.33590.023630.011815
Y2-0.1203133635506850.09357-1.28580.204550.102275
Y3-0.01635886513756380.090113-0.18150.8566950.428348
Y40.04562333893623170.0606290.75250.4553520.227676
t-154.35312360383421.001902-7.349500







Multiple Linear Regression - Regression Statistics
Multiple R0.992008816501426
R-squared0.98408149201656
Adjusted R-squared0.982132286957363
F-TEST (value)504.862988823807
F-TEST (DF numerator)6
F-TEST (DF denominator)49
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1034.89789742293
Sum Squared Residuals52479669.24643

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.992008816501426 \tabularnewline
R-squared & 0.98408149201656 \tabularnewline
Adjusted R-squared & 0.982132286957363 \tabularnewline
F-TEST (value) & 504.862988823807 \tabularnewline
F-TEST (DF numerator) & 6 \tabularnewline
F-TEST (DF denominator) & 49 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 1034.89789742293 \tabularnewline
Sum Squared Residuals & 52479669.24643 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57601&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.992008816501426[/C][/ROW]
[ROW][C]R-squared[/C][C]0.98408149201656[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.982132286957363[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]504.862988823807[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]6[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]49[/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]1034.89789742293[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]52479669.24643[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57601&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57601&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.992008816501426
R-squared0.98408149201656
Adjusted R-squared0.982132286957363
F-TEST (value)504.862988823807
F-TEST (DF numerator)6
F-TEST (DF denominator)49
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1034.89789742293
Sum Squared Residuals52479669.24643







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
18703284715.63245726712316.36754273289
28717585236.97299641561938.02700358438
39260390889.63497687151713.36502312846
49357193581.8689132607-10.8689132607466
59411893129.697305201988.302694798936
69215992665.8918305667-506.891830566718
78952890423.3782106656-895.378210665587
88995590126.8746339073-171.874633907262
98958789992.10645652-405.106456519972
108948889447.522526274240.4774737257816
118852188642.248553427-121.24855342695
128658787126.460070543-539.460070542917
138515986030.8020061465-871.802006146504
148491586056.106203124-1141.10620312395
159137891717.0554551917-339.055455191664
169272993688.9431970181-959.943197018137
179219492854.5790084009-660.579008400905
188966490559.3053772979-895.305377297865
198628588374.4719952029-2089.47199520286
208685888142.9203098256-1284.92030982558
218718488087.1321219173-903.132121917253
228662987539.3596094522-910.359609452194
238522085974.9642894993-754.964289499284
248481684970.0298313578-154.029831357810
258483184819.177694719811.8223052801574
268495784714.1402483678242.859751632230
279095189681.29368703861269.70631296139
289213491342.2743341693791.725665830674
299179090042.23308782921747.76691217077
308662586074.4582322913550.54176770872
318332482775.9353257014548.06467429861
328271981659.40635079141059.59364920862
338361482289.6019459021324.39805409798
348164080887.8116035885752.188396411487
357866578227.9349119507437.065088049301
367782877019.5198601155808.480139884543
377572875484.4024422887243.597557711334
387218773655.6912467192-1468.69124671918
397935779071.6481853978285.351814602189
408132981861.1289261253-532.12892612529
417730478674.9441132087-1370.94411320872
427557675559.233562243516.7664377564969
437293273975.7422101491-1043.74221014911
447429174098.5650147176192.434985282357
457498874706.081193825281.918806174936
467330273503.8171020331-201.817102033134
477048371142.2338164929-659.233816492898
486984870352.11107992-504.111079920071
496646668166.4095091927-1700.40950919273
506761068372.9809787408-762.980978740788
517509174219.6612822005871.33871779949
527620776098.6510445142108.348955485783
537345473337.744909518116.255090481973
547200871115.5206584077892.479341592256
557136270889.3280051523472.671994847651
567425072412.35910133331837.64089866671

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 87032 & 84715.6324572671 & 2316.36754273289 \tabularnewline
2 & 87175 & 85236.9729964156 & 1938.02700358438 \tabularnewline
3 & 92603 & 90889.6349768715 & 1713.36502312846 \tabularnewline
4 & 93571 & 93581.8689132607 & -10.8689132607466 \tabularnewline
5 & 94118 & 93129.697305201 & 988.302694798936 \tabularnewline
6 & 92159 & 92665.8918305667 & -506.891830566718 \tabularnewline
7 & 89528 & 90423.3782106656 & -895.378210665587 \tabularnewline
8 & 89955 & 90126.8746339073 & -171.874633907262 \tabularnewline
9 & 89587 & 89992.10645652 & -405.106456519972 \tabularnewline
10 & 89488 & 89447.5225262742 & 40.4774737257816 \tabularnewline
11 & 88521 & 88642.248553427 & -121.24855342695 \tabularnewline
12 & 86587 & 87126.460070543 & -539.460070542917 \tabularnewline
13 & 85159 & 86030.8020061465 & -871.802006146504 \tabularnewline
14 & 84915 & 86056.106203124 & -1141.10620312395 \tabularnewline
15 & 91378 & 91717.0554551917 & -339.055455191664 \tabularnewline
16 & 92729 & 93688.9431970181 & -959.943197018137 \tabularnewline
17 & 92194 & 92854.5790084009 & -660.579008400905 \tabularnewline
18 & 89664 & 90559.3053772979 & -895.305377297865 \tabularnewline
19 & 86285 & 88374.4719952029 & -2089.47199520286 \tabularnewline
20 & 86858 & 88142.9203098256 & -1284.92030982558 \tabularnewline
21 & 87184 & 88087.1321219173 & -903.132121917253 \tabularnewline
22 & 86629 & 87539.3596094522 & -910.359609452194 \tabularnewline
23 & 85220 & 85974.9642894993 & -754.964289499284 \tabularnewline
24 & 84816 & 84970.0298313578 & -154.029831357810 \tabularnewline
25 & 84831 & 84819.1776947198 & 11.8223052801574 \tabularnewline
26 & 84957 & 84714.1402483678 & 242.859751632230 \tabularnewline
27 & 90951 & 89681.2936870386 & 1269.70631296139 \tabularnewline
28 & 92134 & 91342.2743341693 & 791.725665830674 \tabularnewline
29 & 91790 & 90042.2330878292 & 1747.76691217077 \tabularnewline
30 & 86625 & 86074.4582322913 & 550.54176770872 \tabularnewline
31 & 83324 & 82775.9353257014 & 548.06467429861 \tabularnewline
32 & 82719 & 81659.4063507914 & 1059.59364920862 \tabularnewline
33 & 83614 & 82289.601945902 & 1324.39805409798 \tabularnewline
34 & 81640 & 80887.8116035885 & 752.188396411487 \tabularnewline
35 & 78665 & 78227.9349119507 & 437.065088049301 \tabularnewline
36 & 77828 & 77019.5198601155 & 808.480139884543 \tabularnewline
37 & 75728 & 75484.4024422887 & 243.597557711334 \tabularnewline
38 & 72187 & 73655.6912467192 & -1468.69124671918 \tabularnewline
39 & 79357 & 79071.6481853978 & 285.351814602189 \tabularnewline
40 & 81329 & 81861.1289261253 & -532.12892612529 \tabularnewline
41 & 77304 & 78674.9441132087 & -1370.94411320872 \tabularnewline
42 & 75576 & 75559.2335622435 & 16.7664377564969 \tabularnewline
43 & 72932 & 73975.7422101491 & -1043.74221014911 \tabularnewline
44 & 74291 & 74098.5650147176 & 192.434985282357 \tabularnewline
45 & 74988 & 74706.081193825 & 281.918806174936 \tabularnewline
46 & 73302 & 73503.8171020331 & -201.817102033134 \tabularnewline
47 & 70483 & 71142.2338164929 & -659.233816492898 \tabularnewline
48 & 69848 & 70352.11107992 & -504.111079920071 \tabularnewline
49 & 66466 & 68166.4095091927 & -1700.40950919273 \tabularnewline
50 & 67610 & 68372.9809787408 & -762.980978740788 \tabularnewline
51 & 75091 & 74219.6612822005 & 871.33871779949 \tabularnewline
52 & 76207 & 76098.6510445142 & 108.348955485783 \tabularnewline
53 & 73454 & 73337.744909518 & 116.255090481973 \tabularnewline
54 & 72008 & 71115.5206584077 & 892.479341592256 \tabularnewline
55 & 71362 & 70889.3280051523 & 472.671994847651 \tabularnewline
56 & 74250 & 72412.3591013333 & 1837.64089866671 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57601&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]87032[/C][C]84715.6324572671[/C][C]2316.36754273289[/C][/ROW]
[ROW][C]2[/C][C]87175[/C][C]85236.9729964156[/C][C]1938.02700358438[/C][/ROW]
[ROW][C]3[/C][C]92603[/C][C]90889.6349768715[/C][C]1713.36502312846[/C][/ROW]
[ROW][C]4[/C][C]93571[/C][C]93581.8689132607[/C][C]-10.8689132607466[/C][/ROW]
[ROW][C]5[/C][C]94118[/C][C]93129.697305201[/C][C]988.302694798936[/C][/ROW]
[ROW][C]6[/C][C]92159[/C][C]92665.8918305667[/C][C]-506.891830566718[/C][/ROW]
[ROW][C]7[/C][C]89528[/C][C]90423.3782106656[/C][C]-895.378210665587[/C][/ROW]
[ROW][C]8[/C][C]89955[/C][C]90126.8746339073[/C][C]-171.874633907262[/C][/ROW]
[ROW][C]9[/C][C]89587[/C][C]89992.10645652[/C][C]-405.106456519972[/C][/ROW]
[ROW][C]10[/C][C]89488[/C][C]89447.5225262742[/C][C]40.4774737257816[/C][/ROW]
[ROW][C]11[/C][C]88521[/C][C]88642.248553427[/C][C]-121.24855342695[/C][/ROW]
[ROW][C]12[/C][C]86587[/C][C]87126.460070543[/C][C]-539.460070542917[/C][/ROW]
[ROW][C]13[/C][C]85159[/C][C]86030.8020061465[/C][C]-871.802006146504[/C][/ROW]
[ROW][C]14[/C][C]84915[/C][C]86056.106203124[/C][C]-1141.10620312395[/C][/ROW]
[ROW][C]15[/C][C]91378[/C][C]91717.0554551917[/C][C]-339.055455191664[/C][/ROW]
[ROW][C]16[/C][C]92729[/C][C]93688.9431970181[/C][C]-959.943197018137[/C][/ROW]
[ROW][C]17[/C][C]92194[/C][C]92854.5790084009[/C][C]-660.579008400905[/C][/ROW]
[ROW][C]18[/C][C]89664[/C][C]90559.3053772979[/C][C]-895.305377297865[/C][/ROW]
[ROW][C]19[/C][C]86285[/C][C]88374.4719952029[/C][C]-2089.47199520286[/C][/ROW]
[ROW][C]20[/C][C]86858[/C][C]88142.9203098256[/C][C]-1284.92030982558[/C][/ROW]
[ROW][C]21[/C][C]87184[/C][C]88087.1321219173[/C][C]-903.132121917253[/C][/ROW]
[ROW][C]22[/C][C]86629[/C][C]87539.3596094522[/C][C]-910.359609452194[/C][/ROW]
[ROW][C]23[/C][C]85220[/C][C]85974.9642894993[/C][C]-754.964289499284[/C][/ROW]
[ROW][C]24[/C][C]84816[/C][C]84970.0298313578[/C][C]-154.029831357810[/C][/ROW]
[ROW][C]25[/C][C]84831[/C][C]84819.1776947198[/C][C]11.8223052801574[/C][/ROW]
[ROW][C]26[/C][C]84957[/C][C]84714.1402483678[/C][C]242.859751632230[/C][/ROW]
[ROW][C]27[/C][C]90951[/C][C]89681.2936870386[/C][C]1269.70631296139[/C][/ROW]
[ROW][C]28[/C][C]92134[/C][C]91342.2743341693[/C][C]791.725665830674[/C][/ROW]
[ROW][C]29[/C][C]91790[/C][C]90042.2330878292[/C][C]1747.76691217077[/C][/ROW]
[ROW][C]30[/C][C]86625[/C][C]86074.4582322913[/C][C]550.54176770872[/C][/ROW]
[ROW][C]31[/C][C]83324[/C][C]82775.9353257014[/C][C]548.06467429861[/C][/ROW]
[ROW][C]32[/C][C]82719[/C][C]81659.4063507914[/C][C]1059.59364920862[/C][/ROW]
[ROW][C]33[/C][C]83614[/C][C]82289.601945902[/C][C]1324.39805409798[/C][/ROW]
[ROW][C]34[/C][C]81640[/C][C]80887.8116035885[/C][C]752.188396411487[/C][/ROW]
[ROW][C]35[/C][C]78665[/C][C]78227.9349119507[/C][C]437.065088049301[/C][/ROW]
[ROW][C]36[/C][C]77828[/C][C]77019.5198601155[/C][C]808.480139884543[/C][/ROW]
[ROW][C]37[/C][C]75728[/C][C]75484.4024422887[/C][C]243.597557711334[/C][/ROW]
[ROW][C]38[/C][C]72187[/C][C]73655.6912467192[/C][C]-1468.69124671918[/C][/ROW]
[ROW][C]39[/C][C]79357[/C][C]79071.6481853978[/C][C]285.351814602189[/C][/ROW]
[ROW][C]40[/C][C]81329[/C][C]81861.1289261253[/C][C]-532.12892612529[/C][/ROW]
[ROW][C]41[/C][C]77304[/C][C]78674.9441132087[/C][C]-1370.94411320872[/C][/ROW]
[ROW][C]42[/C][C]75576[/C][C]75559.2335622435[/C][C]16.7664377564969[/C][/ROW]
[ROW][C]43[/C][C]72932[/C][C]73975.7422101491[/C][C]-1043.74221014911[/C][/ROW]
[ROW][C]44[/C][C]74291[/C][C]74098.5650147176[/C][C]192.434985282357[/C][/ROW]
[ROW][C]45[/C][C]74988[/C][C]74706.081193825[/C][C]281.918806174936[/C][/ROW]
[ROW][C]46[/C][C]73302[/C][C]73503.8171020331[/C][C]-201.817102033134[/C][/ROW]
[ROW][C]47[/C][C]70483[/C][C]71142.2338164929[/C][C]-659.233816492898[/C][/ROW]
[ROW][C]48[/C][C]69848[/C][C]70352.11107992[/C][C]-504.111079920071[/C][/ROW]
[ROW][C]49[/C][C]66466[/C][C]68166.4095091927[/C][C]-1700.40950919273[/C][/ROW]
[ROW][C]50[/C][C]67610[/C][C]68372.9809787408[/C][C]-762.980978740788[/C][/ROW]
[ROW][C]51[/C][C]75091[/C][C]74219.6612822005[/C][C]871.33871779949[/C][/ROW]
[ROW][C]52[/C][C]76207[/C][C]76098.6510445142[/C][C]108.348955485783[/C][/ROW]
[ROW][C]53[/C][C]73454[/C][C]73337.744909518[/C][C]116.255090481973[/C][/ROW]
[ROW][C]54[/C][C]72008[/C][C]71115.5206584077[/C][C]892.479341592256[/C][/ROW]
[ROW][C]55[/C][C]71362[/C][C]70889.3280051523[/C][C]472.671994847651[/C][/ROW]
[ROW][C]56[/C][C]74250[/C][C]72412.3591013333[/C][C]1837.64089866671[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57601&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57601&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
18703284715.63245726712316.36754273289
28717585236.97299641561938.02700358438
39260390889.63497687151713.36502312846
49357193581.8689132607-10.8689132607466
59411893129.697305201988.302694798936
69215992665.8918305667-506.891830566718
78952890423.3782106656-895.378210665587
88995590126.8746339073-171.874633907262
98958789992.10645652-405.106456519972
108948889447.522526274240.4774737257816
118852188642.248553427-121.24855342695
128658787126.460070543-539.460070542917
138515986030.8020061465-871.802006146504
148491586056.106203124-1141.10620312395
159137891717.0554551917-339.055455191664
169272993688.9431970181-959.943197018137
179219492854.5790084009-660.579008400905
188966490559.3053772979-895.305377297865
198628588374.4719952029-2089.47199520286
208685888142.9203098256-1284.92030982558
218718488087.1321219173-903.132121917253
228662987539.3596094522-910.359609452194
238522085974.9642894993-754.964289499284
248481684970.0298313578-154.029831357810
258483184819.177694719811.8223052801574
268495784714.1402483678242.859751632230
279095189681.29368703861269.70631296139
289213491342.2743341693791.725665830674
299179090042.23308782921747.76691217077
308662586074.4582322913550.54176770872
318332482775.9353257014548.06467429861
328271981659.40635079141059.59364920862
338361482289.6019459021324.39805409798
348164080887.8116035885752.188396411487
357866578227.9349119507437.065088049301
367782877019.5198601155808.480139884543
377572875484.4024422887243.597557711334
387218773655.6912467192-1468.69124671918
397935779071.6481853978285.351814602189
408132981861.1289261253-532.12892612529
417730478674.9441132087-1370.94411320872
427557675559.233562243516.7664377564969
437293273975.7422101491-1043.74221014911
447429174098.5650147176192.434985282357
457498874706.081193825281.918806174936
467330273503.8171020331-201.817102033134
477048371142.2338164929-659.233816492898
486984870352.11107992-504.111079920071
496646668166.4095091927-1700.40950919273
506761068372.9809787408-762.980978740788
517509174219.6612822005871.33871779949
527620776098.6510445142108.348955485783
537345473337.744909518116.255090481973
547200871115.5206584077892.479341592256
557136270889.3280051523472.671994847651
567425072412.35910133331837.64089866671







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
100.1068820464861680.2137640929723360.893117953513832
110.05668407523757340.1133681504751470.943315924762427
120.0781600912343580.1563201824687160.921839908765642
130.1293651206618370.2587302413236740.870634879338163
140.1339535444896350.267907088979270.866046455510365
150.1056940998200500.2113881996401000.89430590017995
160.1705688016993730.3411376033987470.829431198300627
170.1289066049114880.2578132098229760.871093395088512
180.2338745556402550.467749111280510.766125444359745
190.2960612517809740.5921225035619480.703938748219026
200.4490875177171650.898175035434330.550912482282836
210.6150591183045020.7698817633909950.384940881695498
220.6093105743869850.781378851226030.390689425613015
230.5637135083597880.8725729832804240.436286491640212
240.5726467481935490.8547065036129030.427353251806451
250.5848641135588720.8302717728822560.415135886441128
260.588491607293120.823016785413760.41150839270688
270.8246813364556120.3506373270887770.175318663544388
280.9215058579767870.1569882840464260.0784941420232128
290.9720859903464320.05582801930713570.0279140096535678
300.9697634270401380.06047314591972380.0302365729598619
310.980761908315160.03847618336967920.0192380916848396
320.9837143038979250.03257139220415040.0162856961020752
330.9751266829542470.04974663409150630.0248733170457532
340.9643083186093770.07138336278124510.0356916813906225
350.9609221238113190.07815575237736280.0390778761886814
360.9742701112532830.05145977749343350.0257298887467168
370.9972616613575320.005476677284934970.00273833864246748
380.997665342388880.004669315222238230.00233465761111912
390.995959383985670.00808123202865930.00404061601432965
400.9918576308226860.01628473835462790.00814236917731396
410.997358810599990.00528237880001810.00264118940000905
420.9924371884335560.01512562313288830.00756281156644413
430.9976703748042270.004659250391546550.00232962519577328
440.9977988582286520.004402283542696530.00220114177134827
450.9907948463895630.01841030722087300.00920515361043648
460.9645076231860550.0709847536278890.0354923768139445

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
10 & 0.106882046486168 & 0.213764092972336 & 0.893117953513832 \tabularnewline
11 & 0.0566840752375734 & 0.113368150475147 & 0.943315924762427 \tabularnewline
12 & 0.078160091234358 & 0.156320182468716 & 0.921839908765642 \tabularnewline
13 & 0.129365120661837 & 0.258730241323674 & 0.870634879338163 \tabularnewline
14 & 0.133953544489635 & 0.26790708897927 & 0.866046455510365 \tabularnewline
15 & 0.105694099820050 & 0.211388199640100 & 0.89430590017995 \tabularnewline
16 & 0.170568801699373 & 0.341137603398747 & 0.829431198300627 \tabularnewline
17 & 0.128906604911488 & 0.257813209822976 & 0.871093395088512 \tabularnewline
18 & 0.233874555640255 & 0.46774911128051 & 0.766125444359745 \tabularnewline
19 & 0.296061251780974 & 0.592122503561948 & 0.703938748219026 \tabularnewline
20 & 0.449087517717165 & 0.89817503543433 & 0.550912482282836 \tabularnewline
21 & 0.615059118304502 & 0.769881763390995 & 0.384940881695498 \tabularnewline
22 & 0.609310574386985 & 0.78137885122603 & 0.390689425613015 \tabularnewline
23 & 0.563713508359788 & 0.872572983280424 & 0.436286491640212 \tabularnewline
24 & 0.572646748193549 & 0.854706503612903 & 0.427353251806451 \tabularnewline
25 & 0.584864113558872 & 0.830271772882256 & 0.415135886441128 \tabularnewline
26 & 0.58849160729312 & 0.82301678541376 & 0.41150839270688 \tabularnewline
27 & 0.824681336455612 & 0.350637327088777 & 0.175318663544388 \tabularnewline
28 & 0.921505857976787 & 0.156988284046426 & 0.0784941420232128 \tabularnewline
29 & 0.972085990346432 & 0.0558280193071357 & 0.0279140096535678 \tabularnewline
30 & 0.969763427040138 & 0.0604731459197238 & 0.0302365729598619 \tabularnewline
31 & 0.98076190831516 & 0.0384761833696792 & 0.0192380916848396 \tabularnewline
32 & 0.983714303897925 & 0.0325713922041504 & 0.0162856961020752 \tabularnewline
33 & 0.975126682954247 & 0.0497466340915063 & 0.0248733170457532 \tabularnewline
34 & 0.964308318609377 & 0.0713833627812451 & 0.0356916813906225 \tabularnewline
35 & 0.960922123811319 & 0.0781557523773628 & 0.0390778761886814 \tabularnewline
36 & 0.974270111253283 & 0.0514597774934335 & 0.0257298887467168 \tabularnewline
37 & 0.997261661357532 & 0.00547667728493497 & 0.00273833864246748 \tabularnewline
38 & 0.99766534238888 & 0.00466931522223823 & 0.00233465761111912 \tabularnewline
39 & 0.99595938398567 & 0.0080812320286593 & 0.00404061601432965 \tabularnewline
40 & 0.991857630822686 & 0.0162847383546279 & 0.00814236917731396 \tabularnewline
41 & 0.99735881059999 & 0.0052823788000181 & 0.00264118940000905 \tabularnewline
42 & 0.992437188433556 & 0.0151256231328883 & 0.00756281156644413 \tabularnewline
43 & 0.997670374804227 & 0.00465925039154655 & 0.00232962519577328 \tabularnewline
44 & 0.997798858228652 & 0.00440228354269653 & 0.00220114177134827 \tabularnewline
45 & 0.990794846389563 & 0.0184103072208730 & 0.00920515361043648 \tabularnewline
46 & 0.964507623186055 & 0.070984753627889 & 0.0354923768139445 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57601&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]10[/C][C]0.106882046486168[/C][C]0.213764092972336[/C][C]0.893117953513832[/C][/ROW]
[ROW][C]11[/C][C]0.0566840752375734[/C][C]0.113368150475147[/C][C]0.943315924762427[/C][/ROW]
[ROW][C]12[/C][C]0.078160091234358[/C][C]0.156320182468716[/C][C]0.921839908765642[/C][/ROW]
[ROW][C]13[/C][C]0.129365120661837[/C][C]0.258730241323674[/C][C]0.870634879338163[/C][/ROW]
[ROW][C]14[/C][C]0.133953544489635[/C][C]0.26790708897927[/C][C]0.866046455510365[/C][/ROW]
[ROW][C]15[/C][C]0.105694099820050[/C][C]0.211388199640100[/C][C]0.89430590017995[/C][/ROW]
[ROW][C]16[/C][C]0.170568801699373[/C][C]0.341137603398747[/C][C]0.829431198300627[/C][/ROW]
[ROW][C]17[/C][C]0.128906604911488[/C][C]0.257813209822976[/C][C]0.871093395088512[/C][/ROW]
[ROW][C]18[/C][C]0.233874555640255[/C][C]0.46774911128051[/C][C]0.766125444359745[/C][/ROW]
[ROW][C]19[/C][C]0.296061251780974[/C][C]0.592122503561948[/C][C]0.703938748219026[/C][/ROW]
[ROW][C]20[/C][C]0.449087517717165[/C][C]0.89817503543433[/C][C]0.550912482282836[/C][/ROW]
[ROW][C]21[/C][C]0.615059118304502[/C][C]0.769881763390995[/C][C]0.384940881695498[/C][/ROW]
[ROW][C]22[/C][C]0.609310574386985[/C][C]0.78137885122603[/C][C]0.390689425613015[/C][/ROW]
[ROW][C]23[/C][C]0.563713508359788[/C][C]0.872572983280424[/C][C]0.436286491640212[/C][/ROW]
[ROW][C]24[/C][C]0.572646748193549[/C][C]0.854706503612903[/C][C]0.427353251806451[/C][/ROW]
[ROW][C]25[/C][C]0.584864113558872[/C][C]0.830271772882256[/C][C]0.415135886441128[/C][/ROW]
[ROW][C]26[/C][C]0.58849160729312[/C][C]0.82301678541376[/C][C]0.41150839270688[/C][/ROW]
[ROW][C]27[/C][C]0.824681336455612[/C][C]0.350637327088777[/C][C]0.175318663544388[/C][/ROW]
[ROW][C]28[/C][C]0.921505857976787[/C][C]0.156988284046426[/C][C]0.0784941420232128[/C][/ROW]
[ROW][C]29[/C][C]0.972085990346432[/C][C]0.0558280193071357[/C][C]0.0279140096535678[/C][/ROW]
[ROW][C]30[/C][C]0.969763427040138[/C][C]0.0604731459197238[/C][C]0.0302365729598619[/C][/ROW]
[ROW][C]31[/C][C]0.98076190831516[/C][C]0.0384761833696792[/C][C]0.0192380916848396[/C][/ROW]
[ROW][C]32[/C][C]0.983714303897925[/C][C]0.0325713922041504[/C][C]0.0162856961020752[/C][/ROW]
[ROW][C]33[/C][C]0.975126682954247[/C][C]0.0497466340915063[/C][C]0.0248733170457532[/C][/ROW]
[ROW][C]34[/C][C]0.964308318609377[/C][C]0.0713833627812451[/C][C]0.0356916813906225[/C][/ROW]
[ROW][C]35[/C][C]0.960922123811319[/C][C]0.0781557523773628[/C][C]0.0390778761886814[/C][/ROW]
[ROW][C]36[/C][C]0.974270111253283[/C][C]0.0514597774934335[/C][C]0.0257298887467168[/C][/ROW]
[ROW][C]37[/C][C]0.997261661357532[/C][C]0.00547667728493497[/C][C]0.00273833864246748[/C][/ROW]
[ROW][C]38[/C][C]0.99766534238888[/C][C]0.00466931522223823[/C][C]0.00233465761111912[/C][/ROW]
[ROW][C]39[/C][C]0.99595938398567[/C][C]0.0080812320286593[/C][C]0.00404061601432965[/C][/ROW]
[ROW][C]40[/C][C]0.991857630822686[/C][C]0.0162847383546279[/C][C]0.00814236917731396[/C][/ROW]
[ROW][C]41[/C][C]0.99735881059999[/C][C]0.0052823788000181[/C][C]0.00264118940000905[/C][/ROW]
[ROW][C]42[/C][C]0.992437188433556[/C][C]0.0151256231328883[/C][C]0.00756281156644413[/C][/ROW]
[ROW][C]43[/C][C]0.997670374804227[/C][C]0.00465925039154655[/C][C]0.00232962519577328[/C][/ROW]
[ROW][C]44[/C][C]0.997798858228652[/C][C]0.00440228354269653[/C][C]0.00220114177134827[/C][/ROW]
[ROW][C]45[/C][C]0.990794846389563[/C][C]0.0184103072208730[/C][C]0.00920515361043648[/C][/ROW]
[ROW][C]46[/C][C]0.964507623186055[/C][C]0.070984753627889[/C][C]0.0354923768139445[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57601&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57601&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
100.1068820464861680.2137640929723360.893117953513832
110.05668407523757340.1133681504751470.943315924762427
120.0781600912343580.1563201824687160.921839908765642
130.1293651206618370.2587302413236740.870634879338163
140.1339535444896350.267907088979270.866046455510365
150.1056940998200500.2113881996401000.89430590017995
160.1705688016993730.3411376033987470.829431198300627
170.1289066049114880.2578132098229760.871093395088512
180.2338745556402550.467749111280510.766125444359745
190.2960612517809740.5921225035619480.703938748219026
200.4490875177171650.898175035434330.550912482282836
210.6150591183045020.7698817633909950.384940881695498
220.6093105743869850.781378851226030.390689425613015
230.5637135083597880.8725729832804240.436286491640212
240.5726467481935490.8547065036129030.427353251806451
250.5848641135588720.8302717728822560.415135886441128
260.588491607293120.823016785413760.41150839270688
270.8246813364556120.3506373270887770.175318663544388
280.9215058579767870.1569882840464260.0784941420232128
290.9720859903464320.05582801930713570.0279140096535678
300.9697634270401380.06047314591972380.0302365729598619
310.980761908315160.03847618336967920.0192380916848396
320.9837143038979250.03257139220415040.0162856961020752
330.9751266829542470.04974663409150630.0248733170457532
340.9643083186093770.07138336278124510.0356916813906225
350.9609221238113190.07815575237736280.0390778761886814
360.9742701112532830.05145977749343350.0257298887467168
370.9972616613575320.005476677284934970.00273833864246748
380.997665342388880.004669315222238230.00233465761111912
390.995959383985670.00808123202865930.00404061601432965
400.9918576308226860.01628473835462790.00814236917731396
410.997358810599990.00528237880001810.00264118940000905
420.9924371884335560.01512562313288830.00756281156644413
430.9976703748042270.004659250391546550.00232962519577328
440.9977988582286520.004402283542696530.00220114177134827
450.9907948463895630.01841030722087300.00920515361043648
460.9645076231860550.0709847536278890.0354923768139445







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level60.162162162162162NOK
5% type I error level120.324324324324324NOK
10% type I error level180.486486486486487NOK

\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 & 6 & 0.162162162162162 & NOK \tabularnewline
5% type I error level & 12 & 0.324324324324324 & NOK \tabularnewline
10% type I error level & 18 & 0.486486486486487 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57601&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]6[/C][C]0.162162162162162[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]12[/C][C]0.324324324324324[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]18[/C][C]0.486486486486487[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57601&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57601&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 level60.162162162162162NOK
5% type I error level120.324324324324324NOK
10% type I error level180.486486486486487NOK



Parameters (Session):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Do not include Seasonal 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')
}