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 computationTue, 16 Dec 2008 13:36:46 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2008/Dec/16/t12294599562n9pkvm86gnc3f7.htm/, Retrieved Wed, 15 May 2024 09:46:42 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=34185, Retrieved Wed, 15 May 2024 09:46:42 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordspaper: multiple regression: jobtonic
Estimated Impact193
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Mean Plot] [paper: mean plot:...] [2008-12-16 15:14:50] [47f64d63202c1921bd27f3073f07a153]
- RMPD  [Multiple Regression] [paper: regression...] [2008-12-16 15:25:05] [47f64d63202c1921bd27f3073f07a153]
-    D      [Multiple Regression] [paper: multiple r...] [2008-12-16 20:36:46] [74c7506a1ea162af3aa8be25bcd05d28] [Current]
Feedback Forum

Post a new message
Dataseries X:
25	0
23.6	0
22.3	0
21.8	0
20.8	0
19.7	0
18.3	0
17.4	0
17	0
18.1	0
23.9	0
25.6	0
25.3	0
23.6	0
21.9	0
21.4	0
20.6	0
20.5	0
20.2	0
20.6	0
19.7	0
19.3	0
22.8	0
23.5	0
23.8	0
22.6	0
22	0
21.7	0
20.7	0
20.2	0
19.1	0
19.5	0
18.7	0
18.6	0
22.2	0
23.2	0
23.5	0
21.3	0
20	0
18.7	0
18.9	0
18.3	0
18.4	0
19.9	0
19.2	0
18.5	0
20.9	1
20.5	1
19.4	1
18.1	1
17	1
17	1
17.3	1
16.7	1
15.5	1
15.3	1
13.7	1
14.1	1
17.3	1
18.1	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time7 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001

\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 & 7 seconds \tabularnewline
R Server & 'Herman Ole Andreas Wold' @ 193.190.124.10:1001 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34185&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]7 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Herman Ole Andreas Wold' @ 193.190.124.10:1001[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34185&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34185&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 time7 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001







Multiple Linear Regression - Estimated Regression Equation
Werklozen[t] = + 24.6129370629371 -3.19825174825175Jobtonic[t] + 0.227849650349645M1[t] -1.30010489510489M2[t] -2.46805944055944M3[t] -2.95601398601399M4[t] -3.38396853146853M5[t] -3.93192307692308M6[t] -4.67987762237762M7[t] -4.40783216783217M8[t] -5.25578671328671M9[t] -5.16374125874126M10[t] -0.792045454545456M11[t] -0.0320454545454545t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Werklozen[t] =  +  24.6129370629371 -3.19825174825175Jobtonic[t] +  0.227849650349645M1[t] -1.30010489510489M2[t] -2.46805944055944M3[t] -2.95601398601399M4[t] -3.38396853146853M5[t] -3.93192307692308M6[t] -4.67987762237762M7[t] -4.40783216783217M8[t] -5.25578671328671M9[t] -5.16374125874126M10[t] -0.792045454545456M11[t] -0.0320454545454545t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34185&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Werklozen[t] =  +  24.6129370629371 -3.19825174825175Jobtonic[t] +  0.227849650349645M1[t] -1.30010489510489M2[t] -2.46805944055944M3[t] -2.95601398601399M4[t] -3.38396853146853M5[t] -3.93192307692308M6[t] -4.67987762237762M7[t] -4.40783216783217M8[t] -5.25578671328671M9[t] -5.16374125874126M10[t] -0.792045454545456M11[t] -0.0320454545454545t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34185&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34185&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
Werklozen[t] = + 24.6129370629371 -3.19825174825175Jobtonic[t] + 0.227849650349645M1[t] -1.30010489510489M2[t] -2.46805944055944M3[t] -2.95601398601399M4[t] -3.38396853146853M5[t] -3.93192307692308M6[t] -4.67987762237762M7[t] -4.40783216783217M8[t] -5.25578671328671M9[t] -5.16374125874126M10[t] -0.792045454545456M11[t] -0.0320454545454545t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)24.61293706293710.52996146.442900
Jobtonic-3.198251748251750.452226-7.072200
M10.2278496503496450.6298860.36170.7192090.359604
M2-1.300104895104890.629006-2.06690.0443960.022198
M3-2.468059440559440.628321-3.9280.0002850.000143
M4-2.956013986013990.627831-4.70832.3e-051.2e-05
M5-3.383968531468530.627536-5.39252e-061e-06
M6-3.931923076923080.627438-6.266600
M7-4.679877622377620.627536-7.457500
M8-4.407832167832170.627831-7.020700
M9-5.255786713286710.628321-8.364800
M10-5.163741258741260.629006-8.209400
M11-0.7920454545454560.624542-1.26820.2111070.105553
t-0.03204545454545450.011094-2.88850.0058840.002942

\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) & 24.6129370629371 & 0.529961 & 46.4429 & 0 & 0 \tabularnewline
Jobtonic & -3.19825174825175 & 0.452226 & -7.0722 & 0 & 0 \tabularnewline
M1 & 0.227849650349645 & 0.629886 & 0.3617 & 0.719209 & 0.359604 \tabularnewline
M2 & -1.30010489510489 & 0.629006 & -2.0669 & 0.044396 & 0.022198 \tabularnewline
M3 & -2.46805944055944 & 0.628321 & -3.928 & 0.000285 & 0.000143 \tabularnewline
M4 & -2.95601398601399 & 0.627831 & -4.7083 & 2.3e-05 & 1.2e-05 \tabularnewline
M5 & -3.38396853146853 & 0.627536 & -5.3925 & 2e-06 & 1e-06 \tabularnewline
M6 & -3.93192307692308 & 0.627438 & -6.2666 & 0 & 0 \tabularnewline
M7 & -4.67987762237762 & 0.627536 & -7.4575 & 0 & 0 \tabularnewline
M8 & -4.40783216783217 & 0.627831 & -7.0207 & 0 & 0 \tabularnewline
M9 & -5.25578671328671 & 0.628321 & -8.3648 & 0 & 0 \tabularnewline
M10 & -5.16374125874126 & 0.629006 & -8.2094 & 0 & 0 \tabularnewline
M11 & -0.792045454545456 & 0.624542 & -1.2682 & 0.211107 & 0.105553 \tabularnewline
t & -0.0320454545454545 & 0.011094 & -2.8885 & 0.005884 & 0.002942 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34185&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]24.6129370629371[/C][C]0.529961[/C][C]46.4429[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Jobtonic[/C][C]-3.19825174825175[/C][C]0.452226[/C][C]-7.0722[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]0.227849650349645[/C][C]0.629886[/C][C]0.3617[/C][C]0.719209[/C][C]0.359604[/C][/ROW]
[ROW][C]M2[/C][C]-1.30010489510489[/C][C]0.629006[/C][C]-2.0669[/C][C]0.044396[/C][C]0.022198[/C][/ROW]
[ROW][C]M3[/C][C]-2.46805944055944[/C][C]0.628321[/C][C]-3.928[/C][C]0.000285[/C][C]0.000143[/C][/ROW]
[ROW][C]M4[/C][C]-2.95601398601399[/C][C]0.627831[/C][C]-4.7083[/C][C]2.3e-05[/C][C]1.2e-05[/C][/ROW]
[ROW][C]M5[/C][C]-3.38396853146853[/C][C]0.627536[/C][C]-5.3925[/C][C]2e-06[/C][C]1e-06[/C][/ROW]
[ROW][C]M6[/C][C]-3.93192307692308[/C][C]0.627438[/C][C]-6.2666[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M7[/C][C]-4.67987762237762[/C][C]0.627536[/C][C]-7.4575[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M8[/C][C]-4.40783216783217[/C][C]0.627831[/C][C]-7.0207[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M9[/C][C]-5.25578671328671[/C][C]0.628321[/C][C]-8.3648[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M10[/C][C]-5.16374125874126[/C][C]0.629006[/C][C]-8.2094[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M11[/C][C]-0.792045454545456[/C][C]0.624542[/C][C]-1.2682[/C][C]0.211107[/C][C]0.105553[/C][/ROW]
[ROW][C]t[/C][C]-0.0320454545454545[/C][C]0.011094[/C][C]-2.8885[/C][C]0.005884[/C][C]0.002942[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34185&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34185&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)24.61293706293710.52996146.442900
Jobtonic-3.198251748251750.452226-7.072200
M10.2278496503496450.6298860.36170.7192090.359604
M2-1.300104895104890.629006-2.06690.0443960.022198
M3-2.468059440559440.628321-3.9280.0002850.000143
M4-2.956013986013990.627831-4.70832.3e-051.2e-05
M5-3.383968531468530.627536-5.39252e-061e-06
M6-3.931923076923080.627438-6.266600
M7-4.679877622377620.627536-7.457500
M8-4.407832167832170.627831-7.020700
M9-5.255786713286710.628321-8.364800
M10-5.163741258741260.629006-8.209400
M11-0.7920454545454560.624542-1.26820.2111070.105553
t-0.03204545454545450.011094-2.88850.0058840.002942







Multiple Linear Regression - Regression Statistics
Multiple R0.946005853644991
R-squared0.894927075130589
Adjusted R-squared0.865232552884885
F-TEST (value)30.1377832492350
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.987331736879781
Sum Squared Residuals44.8419020979021

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.946005853644991 \tabularnewline
R-squared & 0.894927075130589 \tabularnewline
Adjusted R-squared & 0.865232552884885 \tabularnewline
F-TEST (value) & 30.1377832492350 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 46 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.987331736879781 \tabularnewline
Sum Squared Residuals & 44.8419020979021 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34185&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.946005853644991[/C][/ROW]
[ROW][C]R-squared[/C][C]0.894927075130589[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.865232552884885[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]30.1377832492350[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]46[/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]0.987331736879781[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]44.8419020979021[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34185&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34185&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.946005853644991
R-squared0.894927075130589
Adjusted R-squared0.865232552884885
F-TEST (value)30.1377832492350
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.987331736879781
Sum Squared Residuals44.8419020979021







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
12524.80874125874130.191258741258724
223.623.24874125874130.351258741258743
322.322.04874125874130.251258741258743
421.821.52874125874130.271258741258744
520.821.0687412587413-0.268741258741257
619.720.4887412587413-0.78874125874126
718.319.7087412587413-1.40874125874126
817.419.9487412587413-2.54874125874126
91719.0687412587413-2.06874125874126
1018.119.1287412587413-1.02874125874126
1123.923.46839160839160.431608391608392
1225.624.22839160839161.37160839160840
1325.324.42419580419580.875804195804202
1423.622.86419580419580.735804195804197
1521.921.66419580419580.235804195804194
1621.421.14419580419580.255804195804194
1720.620.6841958041958-0.0841958041958031
1820.520.10419580419580.395804195804196
1920.219.32419580419580.875804195804195
2020.619.56419580419581.03580419580420
2119.718.68419580419581.01580419580420
2219.318.74419580419580.555804195804196
2322.823.0838461538462-0.283846153846153
2423.523.8438461538462-0.343846153846155
2523.824.0396503496503-0.239650349650345
2622.622.47965034965040.120349650349649
272221.27965034965030.72034965034965
2821.720.75965034965040.94034965034965
2920.720.29965034965030.400349650349649
3020.219.71965034965040.48034965034965
3119.118.93965034965030.160349650349651
3219.519.17965034965030.32034965034965
3318.718.29965034965030.400349650349651
3418.618.35965034965040.240349650349651
3522.222.6993006993007-0.499300699300699
3623.223.4593006993007-0.259300699300701
3723.523.6551048951049-0.155104895104891
3821.322.0951048951049-0.795104895104896
392020.8951048951049-0.895104895104895
4018.720.3751048951049-1.67510489510490
4118.919.9151048951049-1.01510489510490
4218.319.3351048951049-1.03510489510489
4318.418.5551048951049-0.155104895104897
4419.918.79510489510491.10489510489510
4519.217.91510489510491.28489510489510
4618.517.97510489510490.524895104895104
4720.919.11650349650351.7834965034965
4820.519.87650349650350.623496503496502
4919.420.0723076923077-0.67230769230769
5018.118.5123076923077-0.412307692307693
511717.3123076923077-0.312307692307692
521716.79230769230770.207692307692308
5317.316.33230769230770.967692307692308
5416.715.75230769230770.947692307692307
5515.514.97230769230770.527692307692308
5615.315.21230769230770.0876923076923092
5713.714.3323076923077-0.632307692307692
5814.114.3923076923077-0.292307692307694
5917.318.7319580419580-1.43195804195804
6018.119.4919580419580-1.39195804195804

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 25 & 24.8087412587413 & 0.191258741258724 \tabularnewline
2 & 23.6 & 23.2487412587413 & 0.351258741258743 \tabularnewline
3 & 22.3 & 22.0487412587413 & 0.251258741258743 \tabularnewline
4 & 21.8 & 21.5287412587413 & 0.271258741258744 \tabularnewline
5 & 20.8 & 21.0687412587413 & -0.268741258741257 \tabularnewline
6 & 19.7 & 20.4887412587413 & -0.78874125874126 \tabularnewline
7 & 18.3 & 19.7087412587413 & -1.40874125874126 \tabularnewline
8 & 17.4 & 19.9487412587413 & -2.54874125874126 \tabularnewline
9 & 17 & 19.0687412587413 & -2.06874125874126 \tabularnewline
10 & 18.1 & 19.1287412587413 & -1.02874125874126 \tabularnewline
11 & 23.9 & 23.4683916083916 & 0.431608391608392 \tabularnewline
12 & 25.6 & 24.2283916083916 & 1.37160839160840 \tabularnewline
13 & 25.3 & 24.4241958041958 & 0.875804195804202 \tabularnewline
14 & 23.6 & 22.8641958041958 & 0.735804195804197 \tabularnewline
15 & 21.9 & 21.6641958041958 & 0.235804195804194 \tabularnewline
16 & 21.4 & 21.1441958041958 & 0.255804195804194 \tabularnewline
17 & 20.6 & 20.6841958041958 & -0.0841958041958031 \tabularnewline
18 & 20.5 & 20.1041958041958 & 0.395804195804196 \tabularnewline
19 & 20.2 & 19.3241958041958 & 0.875804195804195 \tabularnewline
20 & 20.6 & 19.5641958041958 & 1.03580419580420 \tabularnewline
21 & 19.7 & 18.6841958041958 & 1.01580419580420 \tabularnewline
22 & 19.3 & 18.7441958041958 & 0.555804195804196 \tabularnewline
23 & 22.8 & 23.0838461538462 & -0.283846153846153 \tabularnewline
24 & 23.5 & 23.8438461538462 & -0.343846153846155 \tabularnewline
25 & 23.8 & 24.0396503496503 & -0.239650349650345 \tabularnewline
26 & 22.6 & 22.4796503496504 & 0.120349650349649 \tabularnewline
27 & 22 & 21.2796503496503 & 0.72034965034965 \tabularnewline
28 & 21.7 & 20.7596503496504 & 0.94034965034965 \tabularnewline
29 & 20.7 & 20.2996503496503 & 0.400349650349649 \tabularnewline
30 & 20.2 & 19.7196503496504 & 0.48034965034965 \tabularnewline
31 & 19.1 & 18.9396503496503 & 0.160349650349651 \tabularnewline
32 & 19.5 & 19.1796503496503 & 0.32034965034965 \tabularnewline
33 & 18.7 & 18.2996503496503 & 0.400349650349651 \tabularnewline
34 & 18.6 & 18.3596503496504 & 0.240349650349651 \tabularnewline
35 & 22.2 & 22.6993006993007 & -0.499300699300699 \tabularnewline
36 & 23.2 & 23.4593006993007 & -0.259300699300701 \tabularnewline
37 & 23.5 & 23.6551048951049 & -0.155104895104891 \tabularnewline
38 & 21.3 & 22.0951048951049 & -0.795104895104896 \tabularnewline
39 & 20 & 20.8951048951049 & -0.895104895104895 \tabularnewline
40 & 18.7 & 20.3751048951049 & -1.67510489510490 \tabularnewline
41 & 18.9 & 19.9151048951049 & -1.01510489510490 \tabularnewline
42 & 18.3 & 19.3351048951049 & -1.03510489510489 \tabularnewline
43 & 18.4 & 18.5551048951049 & -0.155104895104897 \tabularnewline
44 & 19.9 & 18.7951048951049 & 1.10489510489510 \tabularnewline
45 & 19.2 & 17.9151048951049 & 1.28489510489510 \tabularnewline
46 & 18.5 & 17.9751048951049 & 0.524895104895104 \tabularnewline
47 & 20.9 & 19.1165034965035 & 1.7834965034965 \tabularnewline
48 & 20.5 & 19.8765034965035 & 0.623496503496502 \tabularnewline
49 & 19.4 & 20.0723076923077 & -0.67230769230769 \tabularnewline
50 & 18.1 & 18.5123076923077 & -0.412307692307693 \tabularnewline
51 & 17 & 17.3123076923077 & -0.312307692307692 \tabularnewline
52 & 17 & 16.7923076923077 & 0.207692307692308 \tabularnewline
53 & 17.3 & 16.3323076923077 & 0.967692307692308 \tabularnewline
54 & 16.7 & 15.7523076923077 & 0.947692307692307 \tabularnewline
55 & 15.5 & 14.9723076923077 & 0.527692307692308 \tabularnewline
56 & 15.3 & 15.2123076923077 & 0.0876923076923092 \tabularnewline
57 & 13.7 & 14.3323076923077 & -0.632307692307692 \tabularnewline
58 & 14.1 & 14.3923076923077 & -0.292307692307694 \tabularnewline
59 & 17.3 & 18.7319580419580 & -1.43195804195804 \tabularnewline
60 & 18.1 & 19.4919580419580 & -1.39195804195804 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34185&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]25[/C][C]24.8087412587413[/C][C]0.191258741258724[/C][/ROW]
[ROW][C]2[/C][C]23.6[/C][C]23.2487412587413[/C][C]0.351258741258743[/C][/ROW]
[ROW][C]3[/C][C]22.3[/C][C]22.0487412587413[/C][C]0.251258741258743[/C][/ROW]
[ROW][C]4[/C][C]21.8[/C][C]21.5287412587413[/C][C]0.271258741258744[/C][/ROW]
[ROW][C]5[/C][C]20.8[/C][C]21.0687412587413[/C][C]-0.268741258741257[/C][/ROW]
[ROW][C]6[/C][C]19.7[/C][C]20.4887412587413[/C][C]-0.78874125874126[/C][/ROW]
[ROW][C]7[/C][C]18.3[/C][C]19.7087412587413[/C][C]-1.40874125874126[/C][/ROW]
[ROW][C]8[/C][C]17.4[/C][C]19.9487412587413[/C][C]-2.54874125874126[/C][/ROW]
[ROW][C]9[/C][C]17[/C][C]19.0687412587413[/C][C]-2.06874125874126[/C][/ROW]
[ROW][C]10[/C][C]18.1[/C][C]19.1287412587413[/C][C]-1.02874125874126[/C][/ROW]
[ROW][C]11[/C][C]23.9[/C][C]23.4683916083916[/C][C]0.431608391608392[/C][/ROW]
[ROW][C]12[/C][C]25.6[/C][C]24.2283916083916[/C][C]1.37160839160840[/C][/ROW]
[ROW][C]13[/C][C]25.3[/C][C]24.4241958041958[/C][C]0.875804195804202[/C][/ROW]
[ROW][C]14[/C][C]23.6[/C][C]22.8641958041958[/C][C]0.735804195804197[/C][/ROW]
[ROW][C]15[/C][C]21.9[/C][C]21.6641958041958[/C][C]0.235804195804194[/C][/ROW]
[ROW][C]16[/C][C]21.4[/C][C]21.1441958041958[/C][C]0.255804195804194[/C][/ROW]
[ROW][C]17[/C][C]20.6[/C][C]20.6841958041958[/C][C]-0.0841958041958031[/C][/ROW]
[ROW][C]18[/C][C]20.5[/C][C]20.1041958041958[/C][C]0.395804195804196[/C][/ROW]
[ROW][C]19[/C][C]20.2[/C][C]19.3241958041958[/C][C]0.875804195804195[/C][/ROW]
[ROW][C]20[/C][C]20.6[/C][C]19.5641958041958[/C][C]1.03580419580420[/C][/ROW]
[ROW][C]21[/C][C]19.7[/C][C]18.6841958041958[/C][C]1.01580419580420[/C][/ROW]
[ROW][C]22[/C][C]19.3[/C][C]18.7441958041958[/C][C]0.555804195804196[/C][/ROW]
[ROW][C]23[/C][C]22.8[/C][C]23.0838461538462[/C][C]-0.283846153846153[/C][/ROW]
[ROW][C]24[/C][C]23.5[/C][C]23.8438461538462[/C][C]-0.343846153846155[/C][/ROW]
[ROW][C]25[/C][C]23.8[/C][C]24.0396503496503[/C][C]-0.239650349650345[/C][/ROW]
[ROW][C]26[/C][C]22.6[/C][C]22.4796503496504[/C][C]0.120349650349649[/C][/ROW]
[ROW][C]27[/C][C]22[/C][C]21.2796503496503[/C][C]0.72034965034965[/C][/ROW]
[ROW][C]28[/C][C]21.7[/C][C]20.7596503496504[/C][C]0.94034965034965[/C][/ROW]
[ROW][C]29[/C][C]20.7[/C][C]20.2996503496503[/C][C]0.400349650349649[/C][/ROW]
[ROW][C]30[/C][C]20.2[/C][C]19.7196503496504[/C][C]0.48034965034965[/C][/ROW]
[ROW][C]31[/C][C]19.1[/C][C]18.9396503496503[/C][C]0.160349650349651[/C][/ROW]
[ROW][C]32[/C][C]19.5[/C][C]19.1796503496503[/C][C]0.32034965034965[/C][/ROW]
[ROW][C]33[/C][C]18.7[/C][C]18.2996503496503[/C][C]0.400349650349651[/C][/ROW]
[ROW][C]34[/C][C]18.6[/C][C]18.3596503496504[/C][C]0.240349650349651[/C][/ROW]
[ROW][C]35[/C][C]22.2[/C][C]22.6993006993007[/C][C]-0.499300699300699[/C][/ROW]
[ROW][C]36[/C][C]23.2[/C][C]23.4593006993007[/C][C]-0.259300699300701[/C][/ROW]
[ROW][C]37[/C][C]23.5[/C][C]23.6551048951049[/C][C]-0.155104895104891[/C][/ROW]
[ROW][C]38[/C][C]21.3[/C][C]22.0951048951049[/C][C]-0.795104895104896[/C][/ROW]
[ROW][C]39[/C][C]20[/C][C]20.8951048951049[/C][C]-0.895104895104895[/C][/ROW]
[ROW][C]40[/C][C]18.7[/C][C]20.3751048951049[/C][C]-1.67510489510490[/C][/ROW]
[ROW][C]41[/C][C]18.9[/C][C]19.9151048951049[/C][C]-1.01510489510490[/C][/ROW]
[ROW][C]42[/C][C]18.3[/C][C]19.3351048951049[/C][C]-1.03510489510489[/C][/ROW]
[ROW][C]43[/C][C]18.4[/C][C]18.5551048951049[/C][C]-0.155104895104897[/C][/ROW]
[ROW][C]44[/C][C]19.9[/C][C]18.7951048951049[/C][C]1.10489510489510[/C][/ROW]
[ROW][C]45[/C][C]19.2[/C][C]17.9151048951049[/C][C]1.28489510489510[/C][/ROW]
[ROW][C]46[/C][C]18.5[/C][C]17.9751048951049[/C][C]0.524895104895104[/C][/ROW]
[ROW][C]47[/C][C]20.9[/C][C]19.1165034965035[/C][C]1.7834965034965[/C][/ROW]
[ROW][C]48[/C][C]20.5[/C][C]19.8765034965035[/C][C]0.623496503496502[/C][/ROW]
[ROW][C]49[/C][C]19.4[/C][C]20.0723076923077[/C][C]-0.67230769230769[/C][/ROW]
[ROW][C]50[/C][C]18.1[/C][C]18.5123076923077[/C][C]-0.412307692307693[/C][/ROW]
[ROW][C]51[/C][C]17[/C][C]17.3123076923077[/C][C]-0.312307692307692[/C][/ROW]
[ROW][C]52[/C][C]17[/C][C]16.7923076923077[/C][C]0.207692307692308[/C][/ROW]
[ROW][C]53[/C][C]17.3[/C][C]16.3323076923077[/C][C]0.967692307692308[/C][/ROW]
[ROW][C]54[/C][C]16.7[/C][C]15.7523076923077[/C][C]0.947692307692307[/C][/ROW]
[ROW][C]55[/C][C]15.5[/C][C]14.9723076923077[/C][C]0.527692307692308[/C][/ROW]
[ROW][C]56[/C][C]15.3[/C][C]15.2123076923077[/C][C]0.0876923076923092[/C][/ROW]
[ROW][C]57[/C][C]13.7[/C][C]14.3323076923077[/C][C]-0.632307692307692[/C][/ROW]
[ROW][C]58[/C][C]14.1[/C][C]14.3923076923077[/C][C]-0.292307692307694[/C][/ROW]
[ROW][C]59[/C][C]17.3[/C][C]18.7319580419580[/C][C]-1.43195804195804[/C][/ROW]
[ROW][C]60[/C][C]18.1[/C][C]19.4919580419580[/C][C]-1.39195804195804[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34185&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34185&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
12524.80874125874130.191258741258724
223.623.24874125874130.351258741258743
322.322.04874125874130.251258741258743
421.821.52874125874130.271258741258744
520.821.0687412587413-0.268741258741257
619.720.4887412587413-0.78874125874126
718.319.7087412587413-1.40874125874126
817.419.9487412587413-2.54874125874126
91719.0687412587413-2.06874125874126
1018.119.1287412587413-1.02874125874126
1123.923.46839160839160.431608391608392
1225.624.22839160839161.37160839160840
1325.324.42419580419580.875804195804202
1423.622.86419580419580.735804195804197
1521.921.66419580419580.235804195804194
1621.421.14419580419580.255804195804194
1720.620.6841958041958-0.0841958041958031
1820.520.10419580419580.395804195804196
1920.219.32419580419580.875804195804195
2020.619.56419580419581.03580419580420
2119.718.68419580419581.01580419580420
2219.318.74419580419580.555804195804196
2322.823.0838461538462-0.283846153846153
2423.523.8438461538462-0.343846153846155
2523.824.0396503496503-0.239650349650345
2622.622.47965034965040.120349650349649
272221.27965034965030.72034965034965
2821.720.75965034965040.94034965034965
2920.720.29965034965030.400349650349649
3020.219.71965034965040.48034965034965
3119.118.93965034965030.160349650349651
3219.519.17965034965030.32034965034965
3318.718.29965034965030.400349650349651
3418.618.35965034965040.240349650349651
3522.222.6993006993007-0.499300699300699
3623.223.4593006993007-0.259300699300701
3723.523.6551048951049-0.155104895104891
3821.322.0951048951049-0.795104895104896
392020.8951048951049-0.895104895104895
4018.720.3751048951049-1.67510489510490
4118.919.9151048951049-1.01510489510490
4218.319.3351048951049-1.03510489510489
4318.418.5551048951049-0.155104895104897
4419.918.79510489510491.10489510489510
4519.217.91510489510491.28489510489510
4618.517.97510489510490.524895104895104
4720.919.11650349650351.7834965034965
4820.519.87650349650350.623496503496502
4919.420.0723076923077-0.67230769230769
5018.118.5123076923077-0.412307692307693
511717.3123076923077-0.312307692307692
521716.79230769230770.207692307692308
5317.316.33230769230770.967692307692308
5416.715.75230769230770.947692307692307
5515.514.97230769230770.527692307692308
5615.315.21230769230770.0876923076923092
5713.714.3323076923077-0.632307692307692
5814.114.3923076923077-0.292307692307694
5917.318.7319580419580-1.43195804195804
6018.119.4919580419580-1.39195804195804







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.04186408087066160.08372816174132310.958135919129338
180.08191334193077040.1638266838615410.91808665806923
190.357225398407520.714450796815040.64277460159248
200.7940999258456110.4118001483087770.205900074154389
210.8406128599366170.3187742801267660.159387140063383
220.7720369115435370.4559261769129250.227963088456463
230.8254911370580080.3490177258839850.174508862941992
240.9121944288568830.1756111422862330.0878055711431166
250.9237376792778160.1525246414443670.0762623207221835
260.9009740686882980.1980518626234050.0990259313117024
270.8562703112473470.2874593775053050.143729688752653
280.8185217657219640.3629564685560720.181478234278036
290.7438175009696740.5123649980606510.256182499030326
300.654983012667370.6900339746652590.345016987332629
310.5753236134250950.849352773149810.424676386574905
320.5284414391823310.9431171216353370.471558560817669
330.4718475997662290.9436951995324580.528152400233771
340.4576580256663570.9153160513327140.542341974333643
350.4818637927298680.9637275854597360.518136207270132
360.4501842083430460.9003684166860920.549815791656954
370.4017225033305450.803445006661090.598277496669455
380.358004203031720.716008406063440.64199579696828
390.3020993665224360.6041987330448730.697900633477564
400.375419308085230.750838616170460.62458069191477
410.4483825190361360.8967650380722720.551617480963864
420.7301089160834730.5397821678330540.269891083916527
430.8716410154821610.2567179690356780.128358984517839

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
17 & 0.0418640808706616 & 0.0837281617413231 & 0.958135919129338 \tabularnewline
18 & 0.0819133419307704 & 0.163826683861541 & 0.91808665806923 \tabularnewline
19 & 0.35722539840752 & 0.71445079681504 & 0.64277460159248 \tabularnewline
20 & 0.794099925845611 & 0.411800148308777 & 0.205900074154389 \tabularnewline
21 & 0.840612859936617 & 0.318774280126766 & 0.159387140063383 \tabularnewline
22 & 0.772036911543537 & 0.455926176912925 & 0.227963088456463 \tabularnewline
23 & 0.825491137058008 & 0.349017725883985 & 0.174508862941992 \tabularnewline
24 & 0.912194428856883 & 0.175611142286233 & 0.0878055711431166 \tabularnewline
25 & 0.923737679277816 & 0.152524641444367 & 0.0762623207221835 \tabularnewline
26 & 0.900974068688298 & 0.198051862623405 & 0.0990259313117024 \tabularnewline
27 & 0.856270311247347 & 0.287459377505305 & 0.143729688752653 \tabularnewline
28 & 0.818521765721964 & 0.362956468556072 & 0.181478234278036 \tabularnewline
29 & 0.743817500969674 & 0.512364998060651 & 0.256182499030326 \tabularnewline
30 & 0.65498301266737 & 0.690033974665259 & 0.345016987332629 \tabularnewline
31 & 0.575323613425095 & 0.84935277314981 & 0.424676386574905 \tabularnewline
32 & 0.528441439182331 & 0.943117121635337 & 0.471558560817669 \tabularnewline
33 & 0.471847599766229 & 0.943695199532458 & 0.528152400233771 \tabularnewline
34 & 0.457658025666357 & 0.915316051332714 & 0.542341974333643 \tabularnewline
35 & 0.481863792729868 & 0.963727585459736 & 0.518136207270132 \tabularnewline
36 & 0.450184208343046 & 0.900368416686092 & 0.549815791656954 \tabularnewline
37 & 0.401722503330545 & 0.80344500666109 & 0.598277496669455 \tabularnewline
38 & 0.35800420303172 & 0.71600840606344 & 0.64199579696828 \tabularnewline
39 & 0.302099366522436 & 0.604198733044873 & 0.697900633477564 \tabularnewline
40 & 0.37541930808523 & 0.75083861617046 & 0.62458069191477 \tabularnewline
41 & 0.448382519036136 & 0.896765038072272 & 0.551617480963864 \tabularnewline
42 & 0.730108916083473 & 0.539782167833054 & 0.269891083916527 \tabularnewline
43 & 0.871641015482161 & 0.256717969035678 & 0.128358984517839 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34185&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]17[/C][C]0.0418640808706616[/C][C]0.0837281617413231[/C][C]0.958135919129338[/C][/ROW]
[ROW][C]18[/C][C]0.0819133419307704[/C][C]0.163826683861541[/C][C]0.91808665806923[/C][/ROW]
[ROW][C]19[/C][C]0.35722539840752[/C][C]0.71445079681504[/C][C]0.64277460159248[/C][/ROW]
[ROW][C]20[/C][C]0.794099925845611[/C][C]0.411800148308777[/C][C]0.205900074154389[/C][/ROW]
[ROW][C]21[/C][C]0.840612859936617[/C][C]0.318774280126766[/C][C]0.159387140063383[/C][/ROW]
[ROW][C]22[/C][C]0.772036911543537[/C][C]0.455926176912925[/C][C]0.227963088456463[/C][/ROW]
[ROW][C]23[/C][C]0.825491137058008[/C][C]0.349017725883985[/C][C]0.174508862941992[/C][/ROW]
[ROW][C]24[/C][C]0.912194428856883[/C][C]0.175611142286233[/C][C]0.0878055711431166[/C][/ROW]
[ROW][C]25[/C][C]0.923737679277816[/C][C]0.152524641444367[/C][C]0.0762623207221835[/C][/ROW]
[ROW][C]26[/C][C]0.900974068688298[/C][C]0.198051862623405[/C][C]0.0990259313117024[/C][/ROW]
[ROW][C]27[/C][C]0.856270311247347[/C][C]0.287459377505305[/C][C]0.143729688752653[/C][/ROW]
[ROW][C]28[/C][C]0.818521765721964[/C][C]0.362956468556072[/C][C]0.181478234278036[/C][/ROW]
[ROW][C]29[/C][C]0.743817500969674[/C][C]0.512364998060651[/C][C]0.256182499030326[/C][/ROW]
[ROW][C]30[/C][C]0.65498301266737[/C][C]0.690033974665259[/C][C]0.345016987332629[/C][/ROW]
[ROW][C]31[/C][C]0.575323613425095[/C][C]0.84935277314981[/C][C]0.424676386574905[/C][/ROW]
[ROW][C]32[/C][C]0.528441439182331[/C][C]0.943117121635337[/C][C]0.471558560817669[/C][/ROW]
[ROW][C]33[/C][C]0.471847599766229[/C][C]0.943695199532458[/C][C]0.528152400233771[/C][/ROW]
[ROW][C]34[/C][C]0.457658025666357[/C][C]0.915316051332714[/C][C]0.542341974333643[/C][/ROW]
[ROW][C]35[/C][C]0.481863792729868[/C][C]0.963727585459736[/C][C]0.518136207270132[/C][/ROW]
[ROW][C]36[/C][C]0.450184208343046[/C][C]0.900368416686092[/C][C]0.549815791656954[/C][/ROW]
[ROW][C]37[/C][C]0.401722503330545[/C][C]0.80344500666109[/C][C]0.598277496669455[/C][/ROW]
[ROW][C]38[/C][C]0.35800420303172[/C][C]0.71600840606344[/C][C]0.64199579696828[/C][/ROW]
[ROW][C]39[/C][C]0.302099366522436[/C][C]0.604198733044873[/C][C]0.697900633477564[/C][/ROW]
[ROW][C]40[/C][C]0.37541930808523[/C][C]0.75083861617046[/C][C]0.62458069191477[/C][/ROW]
[ROW][C]41[/C][C]0.448382519036136[/C][C]0.896765038072272[/C][C]0.551617480963864[/C][/ROW]
[ROW][C]42[/C][C]0.730108916083473[/C][C]0.539782167833054[/C][C]0.269891083916527[/C][/ROW]
[ROW][C]43[/C][C]0.871641015482161[/C][C]0.256717969035678[/C][C]0.128358984517839[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34185&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34185&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
170.04186408087066160.08372816174132310.958135919129338
180.08191334193077040.1638266838615410.91808665806923
190.357225398407520.714450796815040.64277460159248
200.7940999258456110.4118001483087770.205900074154389
210.8406128599366170.3187742801267660.159387140063383
220.7720369115435370.4559261769129250.227963088456463
230.8254911370580080.3490177258839850.174508862941992
240.9121944288568830.1756111422862330.0878055711431166
250.9237376792778160.1525246414443670.0762623207221835
260.9009740686882980.1980518626234050.0990259313117024
270.8562703112473470.2874593775053050.143729688752653
280.8185217657219640.3629564685560720.181478234278036
290.7438175009696740.5123649980606510.256182499030326
300.654983012667370.6900339746652590.345016987332629
310.5753236134250950.849352773149810.424676386574905
320.5284414391823310.9431171216353370.471558560817669
330.4718475997662290.9436951995324580.528152400233771
340.4576580256663570.9153160513327140.542341974333643
350.4818637927298680.9637275854597360.518136207270132
360.4501842083430460.9003684166860920.549815791656954
370.4017225033305450.803445006661090.598277496669455
380.358004203031720.716008406063440.64199579696828
390.3020993665224360.6041987330448730.697900633477564
400.375419308085230.750838616170460.62458069191477
410.4483825190361360.8967650380722720.551617480963864
420.7301089160834730.5397821678330540.269891083916527
430.8716410154821610.2567179690356780.128358984517839







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 level10.037037037037037OK

\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 & 1 & 0.037037037037037 & OK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34185&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]1[/C][C]0.037037037037037[/C][C]OK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34185&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34185&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 level10.037037037037037OK



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