Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationWed, 18 Nov 2009 11:48:31 -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/t1258570162z86d0i2j7nz8l90.htm/, Retrieved Sat, 04 May 2024 16:25:50 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=57589, Retrieved Sat, 04 May 2024 16:25:50 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact154
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]
- RMPD  [Multiple Regression] [Seatbelt] [2009-11-12 14:03:14] [b98453cac15ba1066b407e146608df68]
-    D      [Multiple Regression] [] [2009-11-18 18:48:31] [f90b018c65398c2fee7b197f24b65ddd] [Current]
Feedback Forum

Post a new message
Dataseries X:
902.2	0
891.9	0
874	0
930.9	0
944.2	0
935.9	0
937.1	0
885.1	0
892.4	0
987.3	0
946.3	0
799.6	0
875.4	0
846.2	0
880.6	0
885.7	0
868.9	0
882.5	0
789.6	0
773.3	0
804.3	0
817.8	0
836.7	0
721.8	0
760.8	0
841.4	0
1045.6	0
949.2	1
850.1	1
957.4	0
851.8	0
913.9	0
888	0
973.8	0
927.6	1
833	1
879.5	1
797.3	1
834.5	1
735.1	1
835	1
892.8	1
697.2	1
821.1	1
732.7	1
797.6	1
866.3	1
826.3	1
778.6	1
779.2	1
951	1
692.3	1
841.4	1
857.3	1
760.7	1
841.2	0
810.3	0
1007.4	1
931.3	0
931.2	0




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57589&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] = + 843.872352941176 -53.7308823529411X[t] + 16.9199999999996M1[t] + 8.82000000000004M2[t] + 94.76M3[t] + 27.0061764705882M4[t] + 56.2861764705882M5[t] + 82.8M6[t] -15.1000000000000M7[t] + 13.7938235294118M8[t] -7.58617647058824M9[t] + 94.4M10[t] + 79.26M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  843.872352941176 -53.7308823529411X[t] +  16.9199999999996M1[t] +  8.82000000000004M2[t] +  94.76M3[t] +  27.0061764705882M4[t] +  56.2861764705882M5[t] +  82.8M6[t] -15.1000000000000M7[t] +  13.7938235294118M8[t] -7.58617647058824M9[t] +  94.4M10[t] +  79.26M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57589&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  843.872352941176 -53.7308823529411X[t] +  16.9199999999996M1[t] +  8.82000000000004M2[t] +  94.76M3[t] +  27.0061764705882M4[t] +  56.2861764705882M5[t] +  82.8M6[t] -15.1000000000000M7[t] +  13.7938235294118M8[t] -7.58617647058824M9[t] +  94.4M10[t] +  79.26M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57589&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57589&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] = + 843.872352941176 -53.7308823529411X[t] + 16.9199999999996M1[t] + 8.82000000000004M2[t] + 94.76M3[t] + 27.0061764705882M4[t] + 56.2861764705882M5[t] + 82.8M6[t] -15.1000000000000M7[t] + 13.7938235294118M8[t] -7.58617647058824M9[t] + 94.4M10[t] + 79.26M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)843.87235294117631.33118526.933900
X-53.730882352941118.462078-2.91030.0055020.002751
M116.919999999999643.0605960.39290.6961440.348072
M28.8200000000000443.0605960.20480.8385910.419296
M394.7643.0605962.20060.0327120.016356
M427.006176470588243.2186170.62490.5350760.267538
M556.286176470588243.2186171.30240.199140.09957
M682.843.0605961.92290.0605670.030284
M7-15.100000000000043.060596-0.35070.7274040.363702
M813.793823529411843.2186170.31920.7510160.375508
M9-7.5861764705882443.218617-0.17550.8614170.430709
M1094.443.0605962.19230.0333480.016674
M1179.2643.0605961.84070.0719890.035995

\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) & 843.872352941176 & 31.331185 & 26.9339 & 0 & 0 \tabularnewline
X & -53.7308823529411 & 18.462078 & -2.9103 & 0.005502 & 0.002751 \tabularnewline
M1 & 16.9199999999996 & 43.060596 & 0.3929 & 0.696144 & 0.348072 \tabularnewline
M2 & 8.82000000000004 & 43.060596 & 0.2048 & 0.838591 & 0.419296 \tabularnewline
M3 & 94.76 & 43.060596 & 2.2006 & 0.032712 & 0.016356 \tabularnewline
M4 & 27.0061764705882 & 43.218617 & 0.6249 & 0.535076 & 0.267538 \tabularnewline
M5 & 56.2861764705882 & 43.218617 & 1.3024 & 0.19914 & 0.09957 \tabularnewline
M6 & 82.8 & 43.060596 & 1.9229 & 0.060567 & 0.030284 \tabularnewline
M7 & -15.1000000000000 & 43.060596 & -0.3507 & 0.727404 & 0.363702 \tabularnewline
M8 & 13.7938235294118 & 43.218617 & 0.3192 & 0.751016 & 0.375508 \tabularnewline
M9 & -7.58617647058824 & 43.218617 & -0.1755 & 0.861417 & 0.430709 \tabularnewline
M10 & 94.4 & 43.060596 & 2.1923 & 0.033348 & 0.016674 \tabularnewline
M11 & 79.26 & 43.060596 & 1.8407 & 0.071989 & 0.035995 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57589&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]843.872352941176[/C][C]31.331185[/C][C]26.9339[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]X[/C][C]-53.7308823529411[/C][C]18.462078[/C][C]-2.9103[/C][C]0.005502[/C][C]0.002751[/C][/ROW]
[ROW][C]M1[/C][C]16.9199999999996[/C][C]43.060596[/C][C]0.3929[/C][C]0.696144[/C][C]0.348072[/C][/ROW]
[ROW][C]M2[/C][C]8.82000000000004[/C][C]43.060596[/C][C]0.2048[/C][C]0.838591[/C][C]0.419296[/C][/ROW]
[ROW][C]M3[/C][C]94.76[/C][C]43.060596[/C][C]2.2006[/C][C]0.032712[/C][C]0.016356[/C][/ROW]
[ROW][C]M4[/C][C]27.0061764705882[/C][C]43.218617[/C][C]0.6249[/C][C]0.535076[/C][C]0.267538[/C][/ROW]
[ROW][C]M5[/C][C]56.2861764705882[/C][C]43.218617[/C][C]1.3024[/C][C]0.19914[/C][C]0.09957[/C][/ROW]
[ROW][C]M6[/C][C]82.8[/C][C]43.060596[/C][C]1.9229[/C][C]0.060567[/C][C]0.030284[/C][/ROW]
[ROW][C]M7[/C][C]-15.1000000000000[/C][C]43.060596[/C][C]-0.3507[/C][C]0.727404[/C][C]0.363702[/C][/ROW]
[ROW][C]M8[/C][C]13.7938235294118[/C][C]43.218617[/C][C]0.3192[/C][C]0.751016[/C][C]0.375508[/C][/ROW]
[ROW][C]M9[/C][C]-7.58617647058824[/C][C]43.218617[/C][C]-0.1755[/C][C]0.861417[/C][C]0.430709[/C][/ROW]
[ROW][C]M10[/C][C]94.4[/C][C]43.060596[/C][C]2.1923[/C][C]0.033348[/C][C]0.016674[/C][/ROW]
[ROW][C]M11[/C][C]79.26[/C][C]43.060596[/C][C]1.8407[/C][C]0.071989[/C][C]0.035995[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57589&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57589&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)843.87235294117631.33118526.933900
X-53.730882352941118.462078-2.91030.0055020.002751
M116.919999999999643.0605960.39290.6961440.348072
M28.8200000000000443.0605960.20480.8385910.419296
M394.7643.0605962.20060.0327120.016356
M427.006176470588243.2186170.62490.5350760.267538
M556.286176470588243.2186171.30240.199140.09957
M682.843.0605961.92290.0605670.030284
M7-15.100000000000043.060596-0.35070.7274040.363702
M813.793823529411843.2186170.31920.7510160.375508
M9-7.5861764705882443.218617-0.17550.8614170.430709
M1094.443.0605962.19230.0333480.016674
M1179.2643.0605961.84070.0719890.035995







Multiple Linear Regression - Regression Statistics
Multiple R0.607193134151411
R-squared0.368683502160613
Adjusted R-squared0.207496311222897
F-TEST (value)2.28730025019839
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0.021804366792741
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation68.0847799140522
Sum Squared Residuals217870.251029412

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.607193134151411 \tabularnewline
R-squared & 0.368683502160613 \tabularnewline
Adjusted R-squared & 0.207496311222897 \tabularnewline
F-TEST (value) & 2.28730025019839 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 0.021804366792741 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 68.0847799140522 \tabularnewline
Sum Squared Residuals & 217870.251029412 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57589&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.607193134151411[/C][/ROW]
[ROW][C]R-squared[/C][C]0.368683502160613[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.207496311222897[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]2.28730025019839[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]47[/C][/ROW]
[ROW][C]p-value[/C][C]0.021804366792741[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]68.0847799140522[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]217870.251029412[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57589&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57589&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.607193134151411
R-squared0.368683502160613
Adjusted R-squared0.207496311222897
F-TEST (value)2.28730025019839
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0.021804366792741
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation68.0847799140522
Sum Squared Residuals217870.251029412







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1902.2860.79235294117841.4076470588216
2891.9852.69235294117639.2076470588236
3874938.632352941176-64.6323529411764
4930.9870.87852941176560.0214705882352
5944.2900.15852941176544.0414705882353
6935.9926.6723529411769.22764705882366
7937.1828.772352941176108.327647058824
8885.1857.66617647058827.4338235294118
9892.4836.28617647058856.1138235294118
10987.3938.27235294117649.0276470588235
11946.3923.13235294117623.1676470588236
12799.6843.872352941176-44.2723529411764
13875.4860.79235294117614.607647058824
14846.2852.692352941176-6.49235294117639
15880.6938.632352941176-58.0323529411764
16885.7870.87852941176514.8214705882354
17868.9900.158529411765-31.2585294117646
18882.5926.672352941176-44.1723529411764
19789.6828.772352941176-39.1723529411764
20773.3857.666176470588-84.3661764705883
21804.3836.286176470588-31.9861764705883
22817.8938.272352941176-120.472352941176
23836.7923.132352941176-86.4323529411764
24721.8843.872352941176-122.072352941176
25760.8860.792352941176-99.992352941176
26841.4852.692352941176-11.2923529411765
271045.6938.632352941176106.967647058823
28949.2817.147647058824132.052352941176
29850.1846.4276470588233.6723529411765
30957.4926.67235294117630.7276470588235
31851.8828.77235294117623.0276470588235
32913.9857.66617647058856.2338235294118
33888836.28617647058851.7138235294118
34973.8938.27235294117635.5276470588236
35927.6869.40147058823558.1985294117647
36833790.14147058823542.8585294117647
37879.5807.06147058823572.4385294117651
38797.3798.961470588235-1.66147058823541
39834.5884.901470588235-50.4014705882353
40735.1817.147647058824-82.0476470588236
41835846.427647058823-11.4276470588235
42892.8872.94147058823519.8585294117646
43697.2775.041470588235-77.8414705882353
44821.1803.93529411764717.1647058823529
45732.7782.555294117647-49.8552941176471
46797.6884.541470588235-86.9414705882353
47866.3869.401470588235-3.10147058823541
48826.3790.14147058823536.1585294117646
49778.6807.061470588235-28.4614705882348
50779.2798.961470588235-19.7614705882353
51951884.90147058823566.0985294117646
52692.3817.147647058824-124.847647058824
53841.4846.427647058823-5.02764705882355
54857.3872.941470588235-15.6414705882354
55760.7775.041470588235-14.3414705882353
56841.2857.666176470588-16.4661764705882
57810.3836.286176470588-25.9861764705883
581007.4884.541470588235122.858529411765
59931.3923.1323529411768.16764705882352
60931.2843.87235294117687.3276470588236

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 902.2 & 860.792352941178 & 41.4076470588216 \tabularnewline
2 & 891.9 & 852.692352941176 & 39.2076470588236 \tabularnewline
3 & 874 & 938.632352941176 & -64.6323529411764 \tabularnewline
4 & 930.9 & 870.878529411765 & 60.0214705882352 \tabularnewline
5 & 944.2 & 900.158529411765 & 44.0414705882353 \tabularnewline
6 & 935.9 & 926.672352941176 & 9.22764705882366 \tabularnewline
7 & 937.1 & 828.772352941176 & 108.327647058824 \tabularnewline
8 & 885.1 & 857.666176470588 & 27.4338235294118 \tabularnewline
9 & 892.4 & 836.286176470588 & 56.1138235294118 \tabularnewline
10 & 987.3 & 938.272352941176 & 49.0276470588235 \tabularnewline
11 & 946.3 & 923.132352941176 & 23.1676470588236 \tabularnewline
12 & 799.6 & 843.872352941176 & -44.2723529411764 \tabularnewline
13 & 875.4 & 860.792352941176 & 14.607647058824 \tabularnewline
14 & 846.2 & 852.692352941176 & -6.49235294117639 \tabularnewline
15 & 880.6 & 938.632352941176 & -58.0323529411764 \tabularnewline
16 & 885.7 & 870.878529411765 & 14.8214705882354 \tabularnewline
17 & 868.9 & 900.158529411765 & -31.2585294117646 \tabularnewline
18 & 882.5 & 926.672352941176 & -44.1723529411764 \tabularnewline
19 & 789.6 & 828.772352941176 & -39.1723529411764 \tabularnewline
20 & 773.3 & 857.666176470588 & -84.3661764705883 \tabularnewline
21 & 804.3 & 836.286176470588 & -31.9861764705883 \tabularnewline
22 & 817.8 & 938.272352941176 & -120.472352941176 \tabularnewline
23 & 836.7 & 923.132352941176 & -86.4323529411764 \tabularnewline
24 & 721.8 & 843.872352941176 & -122.072352941176 \tabularnewline
25 & 760.8 & 860.792352941176 & -99.992352941176 \tabularnewline
26 & 841.4 & 852.692352941176 & -11.2923529411765 \tabularnewline
27 & 1045.6 & 938.632352941176 & 106.967647058823 \tabularnewline
28 & 949.2 & 817.147647058824 & 132.052352941176 \tabularnewline
29 & 850.1 & 846.427647058823 & 3.6723529411765 \tabularnewline
30 & 957.4 & 926.672352941176 & 30.7276470588235 \tabularnewline
31 & 851.8 & 828.772352941176 & 23.0276470588235 \tabularnewline
32 & 913.9 & 857.666176470588 & 56.2338235294118 \tabularnewline
33 & 888 & 836.286176470588 & 51.7138235294118 \tabularnewline
34 & 973.8 & 938.272352941176 & 35.5276470588236 \tabularnewline
35 & 927.6 & 869.401470588235 & 58.1985294117647 \tabularnewline
36 & 833 & 790.141470588235 & 42.8585294117647 \tabularnewline
37 & 879.5 & 807.061470588235 & 72.4385294117651 \tabularnewline
38 & 797.3 & 798.961470588235 & -1.66147058823541 \tabularnewline
39 & 834.5 & 884.901470588235 & -50.4014705882353 \tabularnewline
40 & 735.1 & 817.147647058824 & -82.0476470588236 \tabularnewline
41 & 835 & 846.427647058823 & -11.4276470588235 \tabularnewline
42 & 892.8 & 872.941470588235 & 19.8585294117646 \tabularnewline
43 & 697.2 & 775.041470588235 & -77.8414705882353 \tabularnewline
44 & 821.1 & 803.935294117647 & 17.1647058823529 \tabularnewline
45 & 732.7 & 782.555294117647 & -49.8552941176471 \tabularnewline
46 & 797.6 & 884.541470588235 & -86.9414705882353 \tabularnewline
47 & 866.3 & 869.401470588235 & -3.10147058823541 \tabularnewline
48 & 826.3 & 790.141470588235 & 36.1585294117646 \tabularnewline
49 & 778.6 & 807.061470588235 & -28.4614705882348 \tabularnewline
50 & 779.2 & 798.961470588235 & -19.7614705882353 \tabularnewline
51 & 951 & 884.901470588235 & 66.0985294117646 \tabularnewline
52 & 692.3 & 817.147647058824 & -124.847647058824 \tabularnewline
53 & 841.4 & 846.427647058823 & -5.02764705882355 \tabularnewline
54 & 857.3 & 872.941470588235 & -15.6414705882354 \tabularnewline
55 & 760.7 & 775.041470588235 & -14.3414705882353 \tabularnewline
56 & 841.2 & 857.666176470588 & -16.4661764705882 \tabularnewline
57 & 810.3 & 836.286176470588 & -25.9861764705883 \tabularnewline
58 & 1007.4 & 884.541470588235 & 122.858529411765 \tabularnewline
59 & 931.3 & 923.132352941176 & 8.16764705882352 \tabularnewline
60 & 931.2 & 843.872352941176 & 87.3276470588236 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57589&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]902.2[/C][C]860.792352941178[/C][C]41.4076470588216[/C][/ROW]
[ROW][C]2[/C][C]891.9[/C][C]852.692352941176[/C][C]39.2076470588236[/C][/ROW]
[ROW][C]3[/C][C]874[/C][C]938.632352941176[/C][C]-64.6323529411764[/C][/ROW]
[ROW][C]4[/C][C]930.9[/C][C]870.878529411765[/C][C]60.0214705882352[/C][/ROW]
[ROW][C]5[/C][C]944.2[/C][C]900.158529411765[/C][C]44.0414705882353[/C][/ROW]
[ROW][C]6[/C][C]935.9[/C][C]926.672352941176[/C][C]9.22764705882366[/C][/ROW]
[ROW][C]7[/C][C]937.1[/C][C]828.772352941176[/C][C]108.327647058824[/C][/ROW]
[ROW][C]8[/C][C]885.1[/C][C]857.666176470588[/C][C]27.4338235294118[/C][/ROW]
[ROW][C]9[/C][C]892.4[/C][C]836.286176470588[/C][C]56.1138235294118[/C][/ROW]
[ROW][C]10[/C][C]987.3[/C][C]938.272352941176[/C][C]49.0276470588235[/C][/ROW]
[ROW][C]11[/C][C]946.3[/C][C]923.132352941176[/C][C]23.1676470588236[/C][/ROW]
[ROW][C]12[/C][C]799.6[/C][C]843.872352941176[/C][C]-44.2723529411764[/C][/ROW]
[ROW][C]13[/C][C]875.4[/C][C]860.792352941176[/C][C]14.607647058824[/C][/ROW]
[ROW][C]14[/C][C]846.2[/C][C]852.692352941176[/C][C]-6.49235294117639[/C][/ROW]
[ROW][C]15[/C][C]880.6[/C][C]938.632352941176[/C][C]-58.0323529411764[/C][/ROW]
[ROW][C]16[/C][C]885.7[/C][C]870.878529411765[/C][C]14.8214705882354[/C][/ROW]
[ROW][C]17[/C][C]868.9[/C][C]900.158529411765[/C][C]-31.2585294117646[/C][/ROW]
[ROW][C]18[/C][C]882.5[/C][C]926.672352941176[/C][C]-44.1723529411764[/C][/ROW]
[ROW][C]19[/C][C]789.6[/C][C]828.772352941176[/C][C]-39.1723529411764[/C][/ROW]
[ROW][C]20[/C][C]773.3[/C][C]857.666176470588[/C][C]-84.3661764705883[/C][/ROW]
[ROW][C]21[/C][C]804.3[/C][C]836.286176470588[/C][C]-31.9861764705883[/C][/ROW]
[ROW][C]22[/C][C]817.8[/C][C]938.272352941176[/C][C]-120.472352941176[/C][/ROW]
[ROW][C]23[/C][C]836.7[/C][C]923.132352941176[/C][C]-86.4323529411764[/C][/ROW]
[ROW][C]24[/C][C]721.8[/C][C]843.872352941176[/C][C]-122.072352941176[/C][/ROW]
[ROW][C]25[/C][C]760.8[/C][C]860.792352941176[/C][C]-99.992352941176[/C][/ROW]
[ROW][C]26[/C][C]841.4[/C][C]852.692352941176[/C][C]-11.2923529411765[/C][/ROW]
[ROW][C]27[/C][C]1045.6[/C][C]938.632352941176[/C][C]106.967647058823[/C][/ROW]
[ROW][C]28[/C][C]949.2[/C][C]817.147647058824[/C][C]132.052352941176[/C][/ROW]
[ROW][C]29[/C][C]850.1[/C][C]846.427647058823[/C][C]3.6723529411765[/C][/ROW]
[ROW][C]30[/C][C]957.4[/C][C]926.672352941176[/C][C]30.7276470588235[/C][/ROW]
[ROW][C]31[/C][C]851.8[/C][C]828.772352941176[/C][C]23.0276470588235[/C][/ROW]
[ROW][C]32[/C][C]913.9[/C][C]857.666176470588[/C][C]56.2338235294118[/C][/ROW]
[ROW][C]33[/C][C]888[/C][C]836.286176470588[/C][C]51.7138235294118[/C][/ROW]
[ROW][C]34[/C][C]973.8[/C][C]938.272352941176[/C][C]35.5276470588236[/C][/ROW]
[ROW][C]35[/C][C]927.6[/C][C]869.401470588235[/C][C]58.1985294117647[/C][/ROW]
[ROW][C]36[/C][C]833[/C][C]790.141470588235[/C][C]42.8585294117647[/C][/ROW]
[ROW][C]37[/C][C]879.5[/C][C]807.061470588235[/C][C]72.4385294117651[/C][/ROW]
[ROW][C]38[/C][C]797.3[/C][C]798.961470588235[/C][C]-1.66147058823541[/C][/ROW]
[ROW][C]39[/C][C]834.5[/C][C]884.901470588235[/C][C]-50.4014705882353[/C][/ROW]
[ROW][C]40[/C][C]735.1[/C][C]817.147647058824[/C][C]-82.0476470588236[/C][/ROW]
[ROW][C]41[/C][C]835[/C][C]846.427647058823[/C][C]-11.4276470588235[/C][/ROW]
[ROW][C]42[/C][C]892.8[/C][C]872.941470588235[/C][C]19.8585294117646[/C][/ROW]
[ROW][C]43[/C][C]697.2[/C][C]775.041470588235[/C][C]-77.8414705882353[/C][/ROW]
[ROW][C]44[/C][C]821.1[/C][C]803.935294117647[/C][C]17.1647058823529[/C][/ROW]
[ROW][C]45[/C][C]732.7[/C][C]782.555294117647[/C][C]-49.8552941176471[/C][/ROW]
[ROW][C]46[/C][C]797.6[/C][C]884.541470588235[/C][C]-86.9414705882353[/C][/ROW]
[ROW][C]47[/C][C]866.3[/C][C]869.401470588235[/C][C]-3.10147058823541[/C][/ROW]
[ROW][C]48[/C][C]826.3[/C][C]790.141470588235[/C][C]36.1585294117646[/C][/ROW]
[ROW][C]49[/C][C]778.6[/C][C]807.061470588235[/C][C]-28.4614705882348[/C][/ROW]
[ROW][C]50[/C][C]779.2[/C][C]798.961470588235[/C][C]-19.7614705882353[/C][/ROW]
[ROW][C]51[/C][C]951[/C][C]884.901470588235[/C][C]66.0985294117646[/C][/ROW]
[ROW][C]52[/C][C]692.3[/C][C]817.147647058824[/C][C]-124.847647058824[/C][/ROW]
[ROW][C]53[/C][C]841.4[/C][C]846.427647058823[/C][C]-5.02764705882355[/C][/ROW]
[ROW][C]54[/C][C]857.3[/C][C]872.941470588235[/C][C]-15.6414705882354[/C][/ROW]
[ROW][C]55[/C][C]760.7[/C][C]775.041470588235[/C][C]-14.3414705882353[/C][/ROW]
[ROW][C]56[/C][C]841.2[/C][C]857.666176470588[/C][C]-16.4661764705882[/C][/ROW]
[ROW][C]57[/C][C]810.3[/C][C]836.286176470588[/C][C]-25.9861764705883[/C][/ROW]
[ROW][C]58[/C][C]1007.4[/C][C]884.541470588235[/C][C]122.858529411765[/C][/ROW]
[ROW][C]59[/C][C]931.3[/C][C]923.132352941176[/C][C]8.16764705882352[/C][/ROW]
[ROW][C]60[/C][C]931.2[/C][C]843.872352941176[/C][C]87.3276470588236[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57589&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57589&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
1902.2860.79235294117841.4076470588216
2891.9852.69235294117639.2076470588236
3874938.632352941176-64.6323529411764
4930.9870.87852941176560.0214705882352
5944.2900.15852941176544.0414705882353
6935.9926.6723529411769.22764705882366
7937.1828.772352941176108.327647058824
8885.1857.66617647058827.4338235294118
9892.4836.28617647058856.1138235294118
10987.3938.27235294117649.0276470588235
11946.3923.13235294117623.1676470588236
12799.6843.872352941176-44.2723529411764
13875.4860.79235294117614.607647058824
14846.2852.692352941176-6.49235294117639
15880.6938.632352941176-58.0323529411764
16885.7870.87852941176514.8214705882354
17868.9900.158529411765-31.2585294117646
18882.5926.672352941176-44.1723529411764
19789.6828.772352941176-39.1723529411764
20773.3857.666176470588-84.3661764705883
21804.3836.286176470588-31.9861764705883
22817.8938.272352941176-120.472352941176
23836.7923.132352941176-86.4323529411764
24721.8843.872352941176-122.072352941176
25760.8860.792352941176-99.992352941176
26841.4852.692352941176-11.2923529411765
271045.6938.632352941176106.967647058823
28949.2817.147647058824132.052352941176
29850.1846.4276470588233.6723529411765
30957.4926.67235294117630.7276470588235
31851.8828.77235294117623.0276470588235
32913.9857.66617647058856.2338235294118
33888836.28617647058851.7138235294118
34973.8938.27235294117635.5276470588236
35927.6869.40147058823558.1985294117647
36833790.14147058823542.8585294117647
37879.5807.06147058823572.4385294117651
38797.3798.961470588235-1.66147058823541
39834.5884.901470588235-50.4014705882353
40735.1817.147647058824-82.0476470588236
41835846.427647058823-11.4276470588235
42892.8872.94147058823519.8585294117646
43697.2775.041470588235-77.8414705882353
44821.1803.93529411764717.1647058823529
45732.7782.555294117647-49.8552941176471
46797.6884.541470588235-86.9414705882353
47866.3869.401470588235-3.10147058823541
48826.3790.14147058823536.1585294117646
49778.6807.061470588235-28.4614705882348
50779.2798.961470588235-19.7614705882353
51951884.90147058823566.0985294117646
52692.3817.147647058824-124.847647058824
53841.4846.427647058823-5.02764705882355
54857.3872.941470588235-15.6414705882354
55760.7775.041470588235-14.3414705882353
56841.2857.666176470588-16.4661764705882
57810.3836.286176470588-25.9861764705883
581007.4884.541470588235122.858529411765
59931.3923.1323529411768.16764705882352
60931.2843.87235294117687.3276470588236







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.07436579324287610.1487315864857520.925634206757124
170.08838379297471120.1767675859494220.911616207025289
180.05897000387706080.1179400077541220.94102999612294
190.2030682580938430.4061365161876870.796931741906157
200.246631224361060.493262448722120.75336877563894
210.2192518296589150.4385036593178290.780748170341085
220.4118674172653580.8237348345307160.588132582734642
230.4396102876549280.8792205753098550.560389712345072
240.5395616116294060.9208767767411880.460438388370594
250.6936072328476250.612785534304750.306392767152375
260.6125058665429820.7749882669140360.387494133457018
270.7347341532224310.5305316935551380.265265846777569
280.9340697855304270.1318604289391460.0659302144695728
290.9094581754753350.1810836490493290.0905418245246647
300.8694706749590290.2610586500819430.130529325040971
310.8225153638089010.3549692723821970.177484636191099
320.7988890601639670.4022218796720660.201110939836033
330.7900340755705350.419931848858930.209965924429465
340.7325432208678450.534913558264310.267456779132155
350.6878341204257710.6243317591484570.312165879574229
360.6056208456447240.7887583087105530.394379154355276
370.5978286360852390.8043427278295220.402171363914761
380.5232885494256290.9534229011487420.476711450574371
390.6031998254009940.7936003491980120.396800174599006
400.6219123801263920.7561752397472160.378087619873608
410.4974060926264990.9948121852529990.502593907373501
420.3754040254214190.7508080508428370.624595974578581
430.3239554270743110.6479108541486220.676044572925689
440.2152307760508550.4304615521017090.784769223949145

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.0743657932428761 & 0.148731586485752 & 0.925634206757124 \tabularnewline
17 & 0.0883837929747112 & 0.176767585949422 & 0.911616207025289 \tabularnewline
18 & 0.0589700038770608 & 0.117940007754122 & 0.94102999612294 \tabularnewline
19 & 0.203068258093843 & 0.406136516187687 & 0.796931741906157 \tabularnewline
20 & 0.24663122436106 & 0.49326244872212 & 0.75336877563894 \tabularnewline
21 & 0.219251829658915 & 0.438503659317829 & 0.780748170341085 \tabularnewline
22 & 0.411867417265358 & 0.823734834530716 & 0.588132582734642 \tabularnewline
23 & 0.439610287654928 & 0.879220575309855 & 0.560389712345072 \tabularnewline
24 & 0.539561611629406 & 0.920876776741188 & 0.460438388370594 \tabularnewline
25 & 0.693607232847625 & 0.61278553430475 & 0.306392767152375 \tabularnewline
26 & 0.612505866542982 & 0.774988266914036 & 0.387494133457018 \tabularnewline
27 & 0.734734153222431 & 0.530531693555138 & 0.265265846777569 \tabularnewline
28 & 0.934069785530427 & 0.131860428939146 & 0.0659302144695728 \tabularnewline
29 & 0.909458175475335 & 0.181083649049329 & 0.0905418245246647 \tabularnewline
30 & 0.869470674959029 & 0.261058650081943 & 0.130529325040971 \tabularnewline
31 & 0.822515363808901 & 0.354969272382197 & 0.177484636191099 \tabularnewline
32 & 0.798889060163967 & 0.402221879672066 & 0.201110939836033 \tabularnewline
33 & 0.790034075570535 & 0.41993184885893 & 0.209965924429465 \tabularnewline
34 & 0.732543220867845 & 0.53491355826431 & 0.267456779132155 \tabularnewline
35 & 0.687834120425771 & 0.624331759148457 & 0.312165879574229 \tabularnewline
36 & 0.605620845644724 & 0.788758308710553 & 0.394379154355276 \tabularnewline
37 & 0.597828636085239 & 0.804342727829522 & 0.402171363914761 \tabularnewline
38 & 0.523288549425629 & 0.953422901148742 & 0.476711450574371 \tabularnewline
39 & 0.603199825400994 & 0.793600349198012 & 0.396800174599006 \tabularnewline
40 & 0.621912380126392 & 0.756175239747216 & 0.378087619873608 \tabularnewline
41 & 0.497406092626499 & 0.994812185252999 & 0.502593907373501 \tabularnewline
42 & 0.375404025421419 & 0.750808050842837 & 0.624595974578581 \tabularnewline
43 & 0.323955427074311 & 0.647910854148622 & 0.676044572925689 \tabularnewline
44 & 0.215230776050855 & 0.430461552101709 & 0.784769223949145 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57589&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]16[/C][C]0.0743657932428761[/C][C]0.148731586485752[/C][C]0.925634206757124[/C][/ROW]
[ROW][C]17[/C][C]0.0883837929747112[/C][C]0.176767585949422[/C][C]0.911616207025289[/C][/ROW]
[ROW][C]18[/C][C]0.0589700038770608[/C][C]0.117940007754122[/C][C]0.94102999612294[/C][/ROW]
[ROW][C]19[/C][C]0.203068258093843[/C][C]0.406136516187687[/C][C]0.796931741906157[/C][/ROW]
[ROW][C]20[/C][C]0.24663122436106[/C][C]0.49326244872212[/C][C]0.75336877563894[/C][/ROW]
[ROW][C]21[/C][C]0.219251829658915[/C][C]0.438503659317829[/C][C]0.780748170341085[/C][/ROW]
[ROW][C]22[/C][C]0.411867417265358[/C][C]0.823734834530716[/C][C]0.588132582734642[/C][/ROW]
[ROW][C]23[/C][C]0.439610287654928[/C][C]0.879220575309855[/C][C]0.560389712345072[/C][/ROW]
[ROW][C]24[/C][C]0.539561611629406[/C][C]0.920876776741188[/C][C]0.460438388370594[/C][/ROW]
[ROW][C]25[/C][C]0.693607232847625[/C][C]0.61278553430475[/C][C]0.306392767152375[/C][/ROW]
[ROW][C]26[/C][C]0.612505866542982[/C][C]0.774988266914036[/C][C]0.387494133457018[/C][/ROW]
[ROW][C]27[/C][C]0.734734153222431[/C][C]0.530531693555138[/C][C]0.265265846777569[/C][/ROW]
[ROW][C]28[/C][C]0.934069785530427[/C][C]0.131860428939146[/C][C]0.0659302144695728[/C][/ROW]
[ROW][C]29[/C][C]0.909458175475335[/C][C]0.181083649049329[/C][C]0.0905418245246647[/C][/ROW]
[ROW][C]30[/C][C]0.869470674959029[/C][C]0.261058650081943[/C][C]0.130529325040971[/C][/ROW]
[ROW][C]31[/C][C]0.822515363808901[/C][C]0.354969272382197[/C][C]0.177484636191099[/C][/ROW]
[ROW][C]32[/C][C]0.798889060163967[/C][C]0.402221879672066[/C][C]0.201110939836033[/C][/ROW]
[ROW][C]33[/C][C]0.790034075570535[/C][C]0.41993184885893[/C][C]0.209965924429465[/C][/ROW]
[ROW][C]34[/C][C]0.732543220867845[/C][C]0.53491355826431[/C][C]0.267456779132155[/C][/ROW]
[ROW][C]35[/C][C]0.687834120425771[/C][C]0.624331759148457[/C][C]0.312165879574229[/C][/ROW]
[ROW][C]36[/C][C]0.605620845644724[/C][C]0.788758308710553[/C][C]0.394379154355276[/C][/ROW]
[ROW][C]37[/C][C]0.597828636085239[/C][C]0.804342727829522[/C][C]0.402171363914761[/C][/ROW]
[ROW][C]38[/C][C]0.523288549425629[/C][C]0.953422901148742[/C][C]0.476711450574371[/C][/ROW]
[ROW][C]39[/C][C]0.603199825400994[/C][C]0.793600349198012[/C][C]0.396800174599006[/C][/ROW]
[ROW][C]40[/C][C]0.621912380126392[/C][C]0.756175239747216[/C][C]0.378087619873608[/C][/ROW]
[ROW][C]41[/C][C]0.497406092626499[/C][C]0.994812185252999[/C][C]0.502593907373501[/C][/ROW]
[ROW][C]42[/C][C]0.375404025421419[/C][C]0.750808050842837[/C][C]0.624595974578581[/C][/ROW]
[ROW][C]43[/C][C]0.323955427074311[/C][C]0.647910854148622[/C][C]0.676044572925689[/C][/ROW]
[ROW][C]44[/C][C]0.215230776050855[/C][C]0.430461552101709[/C][C]0.784769223949145[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57589&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57589&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
160.07436579324287610.1487315864857520.925634206757124
170.08838379297471120.1767675859494220.911616207025289
180.05897000387706080.1179400077541220.94102999612294
190.2030682580938430.4061365161876870.796931741906157
200.246631224361060.493262448722120.75336877563894
210.2192518296589150.4385036593178290.780748170341085
220.4118674172653580.8237348345307160.588132582734642
230.4396102876549280.8792205753098550.560389712345072
240.5395616116294060.9208767767411880.460438388370594
250.6936072328476250.612785534304750.306392767152375
260.6125058665429820.7749882669140360.387494133457018
270.7347341532224310.5305316935551380.265265846777569
280.9340697855304270.1318604289391460.0659302144695728
290.9094581754753350.1810836490493290.0905418245246647
300.8694706749590290.2610586500819430.130529325040971
310.8225153638089010.3549692723821970.177484636191099
320.7988890601639670.4022218796720660.201110939836033
330.7900340755705350.419931848858930.209965924429465
340.7325432208678450.534913558264310.267456779132155
350.6878341204257710.6243317591484570.312165879574229
360.6056208456447240.7887583087105530.394379154355276
370.5978286360852390.8043427278295220.402171363914761
380.5232885494256290.9534229011487420.476711450574371
390.6031998254009940.7936003491980120.396800174599006
400.6219123801263920.7561752397472160.378087619873608
410.4974060926264990.9948121852529990.502593907373501
420.3754040254214190.7508080508428370.624595974578581
430.3239554270743110.6479108541486220.676044572925689
440.2152307760508550.4304615521017090.784769223949145







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=57589&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=57589&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57589&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 = No Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = No 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')
}