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 computationSun, 07 Dec 2008 15:26:39 -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/07/t1228689014nssn1c4df5yjr8r.htm/, Retrieved Wed, 22 May 2024 18:08:26 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=30331, Retrieved Wed, 22 May 2024 18:08:26 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact181
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Paper - Multiple ...] [2008-12-05 16:55:46] [fce9014b1ad8484790f3b34d6ba09f7b]
-   PD    [Multiple Regression] [Paper - Multiple ...] [2008-12-07 22:26:39] [7957bb37a64ed417bbed8444b0b0ea8a] [Current]
Feedback Forum

Post a new message
Dataseries X:
0	34	41	0
9	39	35	0
1	40	34	0
4	45	36	0
6	43	39	0
21	42	40	0
24	49	30	0
23	43	33	0
22	50	30	0
21	44	32	0
20	40	41	0
16	41	40	0
18	45	41	0
18	45	40	0
24	48	39	0
16	54	34	0
15	47	34	0
24	35	46	0
18	28	45	0
15	28	44	0
4	34	40	0
3	23	39	0
6	33	37	0
5	38	39	0
12	41	35	0
12	47	26	0
12	46	26	0
14	45	33	0
12	47	27	0
17	49	30	0
12	50	26	0
20	56	27	0
21	50	18	0
15	56	19	0
22	58	13	0
19	59	14	0
19	51	41	0
26	59	21	0
25	60	16	0
19	60	17	0
20	68	9	0
30	62	14	0
31	62	14	0
35	58	16	0
33	56	11	0
26	50	10	0
25	52	6	0
17	36	9	0
14	33	5	0
8	26	7	0
12	28	2	0
7	27	0	0
4	20	8	0
10	16	13	0
8	11	11	0
16	0	19	1
14	3	23	1
20	10	23	1
9	0	43	1
10	3	59	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=30331&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=30331&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=30331&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
Eco[t] = + 36.3120960039282 + 1.2533377170431Spa[t] -0.112704770277158Wer[t] -28.4495050600464Val[t] -1.80509600723871M1[t] -2.44516869039369M2[t] -1.53333249365160M3[t] + 4.07663116505126M4[t] + 3.79400612192671M5[t] -10.8669733372041M6[t] -9.56116647665295M7[t] -10.3559185676451M8[t] -5.14610644664224M9[t] -4.63456241309334M10[t] -3.26636837510925M11[t] -0.232995188815887t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Eco[t] =  +  36.3120960039282 +  1.2533377170431Spa[t] -0.112704770277158Wer[t] -28.4495050600464Val[t] -1.80509600723871M1[t] -2.44516869039369M2[t] -1.53333249365160M3[t] +  4.07663116505126M4[t] +  3.79400612192671M5[t] -10.8669733372041M6[t] -9.56116647665295M7[t] -10.3559185676451M8[t] -5.14610644664224M9[t] -4.63456241309334M10[t] -3.26636837510925M11[t] -0.232995188815887t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=30331&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Eco[t] =  +  36.3120960039282 +  1.2533377170431Spa[t] -0.112704770277158Wer[t] -28.4495050600464Val[t] -1.80509600723871M1[t] -2.44516869039369M2[t] -1.53333249365160M3[t] +  4.07663116505126M4[t] +  3.79400612192671M5[t] -10.8669733372041M6[t] -9.56116647665295M7[t] -10.3559185676451M8[t] -5.14610644664224M9[t] -4.63456241309334M10[t] -3.26636837510925M11[t] -0.232995188815887t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=30331&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=30331&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
Eco[t] = + 36.3120960039282 + 1.2533377170431Spa[t] -0.112704770277158Wer[t] -28.4495050600464Val[t] -1.80509600723871M1[t] -2.44516869039369M2[t] -1.53333249365160M3[t] + 4.07663116505126M4[t] + 3.79400612192671M5[t] -10.8669733372041M6[t] -9.56116647665295M7[t] -10.3559185676451M8[t] -5.14610644664224M9[t] -4.63456241309334M10[t] -3.26636837510925M11[t] -0.232995188815887t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)36.31209600392829.734213.73040.0005440.000272
Spa1.25333771704310.1638817.647900
Wer-0.1127047702771580.156012-0.72240.4738640.236932
Val-28.44950506004646.66714-4.26710.0001045.2e-05
M1-1.805096007238715.664241-0.31870.7514750.375737
M2-2.445168690393695.773942-0.42350.6740060.337003
M3-1.533332493651605.830399-0.2630.7937860.396893
M44.076631165051265.8049330.70230.4862090.243105
M53.794006121926715.8113990.65290.5172460.258623
M6-10.86697333720415.729432-1.89670.0644450.032223
M7-9.561166476652955.718851-1.67190.1016480.050824
M8-10.35591856764515.831813-1.77580.0826880.041344
M9-5.146106446642245.825686-0.88330.381850.190925
M10-4.634562413093345.759831-0.80460.4253570.212678
M11-3.266368375109255.637508-0.57940.5652750.282637
t-0.2329951888158870.132459-1.7590.0855310.042765

\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) & 36.3120960039282 & 9.73421 & 3.7304 & 0.000544 & 0.000272 \tabularnewline
Spa & 1.2533377170431 & 0.163881 & 7.6479 & 0 & 0 \tabularnewline
Wer & -0.112704770277158 & 0.156012 & -0.7224 & 0.473864 & 0.236932 \tabularnewline
Val & -28.4495050600464 & 6.66714 & -4.2671 & 0.000104 & 5.2e-05 \tabularnewline
M1 & -1.80509600723871 & 5.664241 & -0.3187 & 0.751475 & 0.375737 \tabularnewline
M2 & -2.44516869039369 & 5.773942 & -0.4235 & 0.674006 & 0.337003 \tabularnewline
M3 & -1.53333249365160 & 5.830399 & -0.263 & 0.793786 & 0.396893 \tabularnewline
M4 & 4.07663116505126 & 5.804933 & 0.7023 & 0.486209 & 0.243105 \tabularnewline
M5 & 3.79400612192671 & 5.811399 & 0.6529 & 0.517246 & 0.258623 \tabularnewline
M6 & -10.8669733372041 & 5.729432 & -1.8967 & 0.064445 & 0.032223 \tabularnewline
M7 & -9.56116647665295 & 5.718851 & -1.6719 & 0.101648 & 0.050824 \tabularnewline
M8 & -10.3559185676451 & 5.831813 & -1.7758 & 0.082688 & 0.041344 \tabularnewline
M9 & -5.14610644664224 & 5.825686 & -0.8833 & 0.38185 & 0.190925 \tabularnewline
M10 & -4.63456241309334 & 5.759831 & -0.8046 & 0.425357 & 0.212678 \tabularnewline
M11 & -3.26636837510925 & 5.637508 & -0.5794 & 0.565275 & 0.282637 \tabularnewline
t & -0.232995188815887 & 0.132459 & -1.759 & 0.085531 & 0.042765 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=30331&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]36.3120960039282[/C][C]9.73421[/C][C]3.7304[/C][C]0.000544[/C][C]0.000272[/C][/ROW]
[ROW][C]Spa[/C][C]1.2533377170431[/C][C]0.163881[/C][C]7.6479[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Wer[/C][C]-0.112704770277158[/C][C]0.156012[/C][C]-0.7224[/C][C]0.473864[/C][C]0.236932[/C][/ROW]
[ROW][C]Val[/C][C]-28.4495050600464[/C][C]6.66714[/C][C]-4.2671[/C][C]0.000104[/C][C]5.2e-05[/C][/ROW]
[ROW][C]M1[/C][C]-1.80509600723871[/C][C]5.664241[/C][C]-0.3187[/C][C]0.751475[/C][C]0.375737[/C][/ROW]
[ROW][C]M2[/C][C]-2.44516869039369[/C][C]5.773942[/C][C]-0.4235[/C][C]0.674006[/C][C]0.337003[/C][/ROW]
[ROW][C]M3[/C][C]-1.53333249365160[/C][C]5.830399[/C][C]-0.263[/C][C]0.793786[/C][C]0.396893[/C][/ROW]
[ROW][C]M4[/C][C]4.07663116505126[/C][C]5.804933[/C][C]0.7023[/C][C]0.486209[/C][C]0.243105[/C][/ROW]
[ROW][C]M5[/C][C]3.79400612192671[/C][C]5.811399[/C][C]0.6529[/C][C]0.517246[/C][C]0.258623[/C][/ROW]
[ROW][C]M6[/C][C]-10.8669733372041[/C][C]5.729432[/C][C]-1.8967[/C][C]0.064445[/C][C]0.032223[/C][/ROW]
[ROW][C]M7[/C][C]-9.56116647665295[/C][C]5.718851[/C][C]-1.6719[/C][C]0.101648[/C][C]0.050824[/C][/ROW]
[ROW][C]M8[/C][C]-10.3559185676451[/C][C]5.831813[/C][C]-1.7758[/C][C]0.082688[/C][C]0.041344[/C][/ROW]
[ROW][C]M9[/C][C]-5.14610644664224[/C][C]5.825686[/C][C]-0.8833[/C][C]0.38185[/C][C]0.190925[/C][/ROW]
[ROW][C]M10[/C][C]-4.63456241309334[/C][C]5.759831[/C][C]-0.8046[/C][C]0.425357[/C][C]0.212678[/C][/ROW]
[ROW][C]M11[/C][C]-3.26636837510925[/C][C]5.637508[/C][C]-0.5794[/C][C]0.565275[/C][C]0.282637[/C][/ROW]
[ROW][C]t[/C][C]-0.232995188815887[/C][C]0.132459[/C][C]-1.759[/C][C]0.085531[/C][C]0.042765[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=30331&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=30331&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)36.31209600392829.734213.73040.0005440.000272
Spa1.25333771704310.1638817.647900
Wer-0.1127047702771580.156012-0.72240.4738640.236932
Val-28.44950506004646.66714-4.26710.0001045.2e-05
M1-1.805096007238715.664241-0.31870.7514750.375737
M2-2.445168690393695.773942-0.42350.6740060.337003
M3-1.533332493651605.830399-0.2630.7937860.396893
M44.076631165051265.8049330.70230.4862090.243105
M53.794006121926715.8113990.65290.5172460.258623
M6-10.86697333720415.729432-1.89670.0644450.032223
M7-9.561166476652955.718851-1.67190.1016480.050824
M8-10.35591856764515.831813-1.77580.0826880.041344
M9-5.146106446642245.825686-0.88330.381850.190925
M10-4.634562413093345.759831-0.80460.4253570.212678
M11-3.266368375109255.637508-0.57940.5652750.282637
t-0.2329951888158870.132459-1.7590.0855310.042765







Multiple Linear Regression - Regression Statistics
Multiple R0.887240501887896
R-squared0.787195708190285
Adjusted R-squared0.714648790527883
F-TEST (value)10.850849816301
F-TEST (DF numerator)15
F-TEST (DF denominator)44
p-value2.91507040728334e-10
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation8.81001791490602
Sum Squared Residuals3415.12228908246

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.887240501887896 \tabularnewline
R-squared & 0.787195708190285 \tabularnewline
Adjusted R-squared & 0.714648790527883 \tabularnewline
F-TEST (value) & 10.850849816301 \tabularnewline
F-TEST (DF numerator) & 15 \tabularnewline
F-TEST (DF denominator) & 44 \tabularnewline
p-value & 2.91507040728334e-10 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 8.81001791490602 \tabularnewline
Sum Squared Residuals & 3415.12228908246 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=30331&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.887240501887896[/C][/ROW]
[ROW][C]R-squared[/C][C]0.787195708190285[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.714648790527883[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]10.850849816301[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]15[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]44[/C][/ROW]
[ROW][C]p-value[/C][C]2.91507040728334e-10[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]8.81001791490602[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]3415.12228908246[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=30331&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=30331&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.887240501887896
R-squared0.787195708190285
Adjusted R-squared0.714648790527883
F-TEST (value)10.850849816301
F-TEST (DF numerator)15
F-TEST (DF denominator)44
p-value2.91507040728334e-10
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation8.81001791490602
Sum Squared Residuals3415.12228908246







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
13429.65310922651014.34689077348985
23940.7363094295901-1.73630942959008
34031.50115347144868.49884652855136
44540.41272555191064.5872744480894
54342.06566644322490.934333556775106
64245.8590527806476-3.85905278064756
74951.8189253062837-2.81892530628368
84349.1997259986011-6.19972599860109
95053.2613195245764-3.26131952457643
104452.061121111712-8.06112111171202
114050.9286393113427-10.9286393113427
124149.0613663997408-8.06136639974081
134549.4172458674953-4.41724586749525
144548.6568827658016-3.65688276580155
154856.9684548462635-8.9684548462635
165452.88224543119151.11775456880853
174751.1132874822079-4.11328748220793
183546.1468950443233-11.1468950443233
192839.8123851840771-11.8123851840771
202835.1373295234169-7.1373295234169
213426.77825064923847.22174935076162
222325.9161665472055-2.91616654720546
233331.03678808805731.96321191194273
243832.59141401675325.40858598324678
254139.77750592110901.22249407889105
264739.91878098163257.0812190183675
274640.59762198955875.40237801044129
284547.6923325015918-2.69233250159178
294745.34626545722811.65373454277191
304936.380865083665412.6191349163346
315031.637807251293818.3621927487062
325640.524056937553415.4759430624466
335047.76855451927792.23144548072208
345640.414372291475215.5856277085248
355850.9991637816087.00083621839198
365950.15981904649498.84018095350507
375145.07869905295715.92130094704295
385955.2330906058313.76690939416895
396055.22211774809994.77788225190006
406052.96635514545127.03364485454884
416854.605710792771113.3942892072289
426251.681589463869610.3184105361304
436254.0077388526487.99226114735204
445857.7679329004580.232067099541978
455660.8015982499446-4.80159824994457
465052.419487845653-2.41948784565304
475252.7521680588868-0.752168058886771
483645.4207251980039-9.42072519800386
493340.0734399319286-7.0734399319286
502631.4549362171448-5.45493621714482
512837.7106519446292-9.7106519446292
522737.046341369855-10.0463413698550
532031.869069824568-11.869069824568
541623.9315976274941-7.93159762749412
551122.7231434056975-11.7231434056975
5602.37095463997056-2.37095463997056
5734.3902770569627-1.39027705696270
581012.1888522039543-2.18885220395431
590-2.716759239894752.71675923989475
603-0.2333246609928173.23332466099282

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 34 & 29.6531092265101 & 4.34689077348985 \tabularnewline
2 & 39 & 40.7363094295901 & -1.73630942959008 \tabularnewline
3 & 40 & 31.5011534714486 & 8.49884652855136 \tabularnewline
4 & 45 & 40.4127255519106 & 4.5872744480894 \tabularnewline
5 & 43 & 42.0656664432249 & 0.934333556775106 \tabularnewline
6 & 42 & 45.8590527806476 & -3.85905278064756 \tabularnewline
7 & 49 & 51.8189253062837 & -2.81892530628368 \tabularnewline
8 & 43 & 49.1997259986011 & -6.19972599860109 \tabularnewline
9 & 50 & 53.2613195245764 & -3.26131952457643 \tabularnewline
10 & 44 & 52.061121111712 & -8.06112111171202 \tabularnewline
11 & 40 & 50.9286393113427 & -10.9286393113427 \tabularnewline
12 & 41 & 49.0613663997408 & -8.06136639974081 \tabularnewline
13 & 45 & 49.4172458674953 & -4.41724586749525 \tabularnewline
14 & 45 & 48.6568827658016 & -3.65688276580155 \tabularnewline
15 & 48 & 56.9684548462635 & -8.9684548462635 \tabularnewline
16 & 54 & 52.8822454311915 & 1.11775456880853 \tabularnewline
17 & 47 & 51.1132874822079 & -4.11328748220793 \tabularnewline
18 & 35 & 46.1468950443233 & -11.1468950443233 \tabularnewline
19 & 28 & 39.8123851840771 & -11.8123851840771 \tabularnewline
20 & 28 & 35.1373295234169 & -7.1373295234169 \tabularnewline
21 & 34 & 26.7782506492384 & 7.22174935076162 \tabularnewline
22 & 23 & 25.9161665472055 & -2.91616654720546 \tabularnewline
23 & 33 & 31.0367880880573 & 1.96321191194273 \tabularnewline
24 & 38 & 32.5914140167532 & 5.40858598324678 \tabularnewline
25 & 41 & 39.7775059211090 & 1.22249407889105 \tabularnewline
26 & 47 & 39.9187809816325 & 7.0812190183675 \tabularnewline
27 & 46 & 40.5976219895587 & 5.40237801044129 \tabularnewline
28 & 45 & 47.6923325015918 & -2.69233250159178 \tabularnewline
29 & 47 & 45.3462654572281 & 1.65373454277191 \tabularnewline
30 & 49 & 36.3808650836654 & 12.6191349163346 \tabularnewline
31 & 50 & 31.6378072512938 & 18.3621927487062 \tabularnewline
32 & 56 & 40.5240569375534 & 15.4759430624466 \tabularnewline
33 & 50 & 47.7685545192779 & 2.23144548072208 \tabularnewline
34 & 56 & 40.4143722914752 & 15.5856277085248 \tabularnewline
35 & 58 & 50.999163781608 & 7.00083621839198 \tabularnewline
36 & 59 & 50.1598190464949 & 8.84018095350507 \tabularnewline
37 & 51 & 45.0786990529571 & 5.92130094704295 \tabularnewline
38 & 59 & 55.233090605831 & 3.76690939416895 \tabularnewline
39 & 60 & 55.2221177480999 & 4.77788225190006 \tabularnewline
40 & 60 & 52.9663551454512 & 7.03364485454884 \tabularnewline
41 & 68 & 54.6057107927711 & 13.3942892072289 \tabularnewline
42 & 62 & 51.6815894638696 & 10.3184105361304 \tabularnewline
43 & 62 & 54.007738852648 & 7.99226114735204 \tabularnewline
44 & 58 & 57.767932900458 & 0.232067099541978 \tabularnewline
45 & 56 & 60.8015982499446 & -4.80159824994457 \tabularnewline
46 & 50 & 52.419487845653 & -2.41948784565304 \tabularnewline
47 & 52 & 52.7521680588868 & -0.752168058886771 \tabularnewline
48 & 36 & 45.4207251980039 & -9.42072519800386 \tabularnewline
49 & 33 & 40.0734399319286 & -7.0734399319286 \tabularnewline
50 & 26 & 31.4549362171448 & -5.45493621714482 \tabularnewline
51 & 28 & 37.7106519446292 & -9.7106519446292 \tabularnewline
52 & 27 & 37.046341369855 & -10.0463413698550 \tabularnewline
53 & 20 & 31.869069824568 & -11.869069824568 \tabularnewline
54 & 16 & 23.9315976274941 & -7.93159762749412 \tabularnewline
55 & 11 & 22.7231434056975 & -11.7231434056975 \tabularnewline
56 & 0 & 2.37095463997056 & -2.37095463997056 \tabularnewline
57 & 3 & 4.3902770569627 & -1.39027705696270 \tabularnewline
58 & 10 & 12.1888522039543 & -2.18885220395431 \tabularnewline
59 & 0 & -2.71675923989475 & 2.71675923989475 \tabularnewline
60 & 3 & -0.233324660992817 & 3.23332466099282 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=30331&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]34[/C][C]29.6531092265101[/C][C]4.34689077348985[/C][/ROW]
[ROW][C]2[/C][C]39[/C][C]40.7363094295901[/C][C]-1.73630942959008[/C][/ROW]
[ROW][C]3[/C][C]40[/C][C]31.5011534714486[/C][C]8.49884652855136[/C][/ROW]
[ROW][C]4[/C][C]45[/C][C]40.4127255519106[/C][C]4.5872744480894[/C][/ROW]
[ROW][C]5[/C][C]43[/C][C]42.0656664432249[/C][C]0.934333556775106[/C][/ROW]
[ROW][C]6[/C][C]42[/C][C]45.8590527806476[/C][C]-3.85905278064756[/C][/ROW]
[ROW][C]7[/C][C]49[/C][C]51.8189253062837[/C][C]-2.81892530628368[/C][/ROW]
[ROW][C]8[/C][C]43[/C][C]49.1997259986011[/C][C]-6.19972599860109[/C][/ROW]
[ROW][C]9[/C][C]50[/C][C]53.2613195245764[/C][C]-3.26131952457643[/C][/ROW]
[ROW][C]10[/C][C]44[/C][C]52.061121111712[/C][C]-8.06112111171202[/C][/ROW]
[ROW][C]11[/C][C]40[/C][C]50.9286393113427[/C][C]-10.9286393113427[/C][/ROW]
[ROW][C]12[/C][C]41[/C][C]49.0613663997408[/C][C]-8.06136639974081[/C][/ROW]
[ROW][C]13[/C][C]45[/C][C]49.4172458674953[/C][C]-4.41724586749525[/C][/ROW]
[ROW][C]14[/C][C]45[/C][C]48.6568827658016[/C][C]-3.65688276580155[/C][/ROW]
[ROW][C]15[/C][C]48[/C][C]56.9684548462635[/C][C]-8.9684548462635[/C][/ROW]
[ROW][C]16[/C][C]54[/C][C]52.8822454311915[/C][C]1.11775456880853[/C][/ROW]
[ROW][C]17[/C][C]47[/C][C]51.1132874822079[/C][C]-4.11328748220793[/C][/ROW]
[ROW][C]18[/C][C]35[/C][C]46.1468950443233[/C][C]-11.1468950443233[/C][/ROW]
[ROW][C]19[/C][C]28[/C][C]39.8123851840771[/C][C]-11.8123851840771[/C][/ROW]
[ROW][C]20[/C][C]28[/C][C]35.1373295234169[/C][C]-7.1373295234169[/C][/ROW]
[ROW][C]21[/C][C]34[/C][C]26.7782506492384[/C][C]7.22174935076162[/C][/ROW]
[ROW][C]22[/C][C]23[/C][C]25.9161665472055[/C][C]-2.91616654720546[/C][/ROW]
[ROW][C]23[/C][C]33[/C][C]31.0367880880573[/C][C]1.96321191194273[/C][/ROW]
[ROW][C]24[/C][C]38[/C][C]32.5914140167532[/C][C]5.40858598324678[/C][/ROW]
[ROW][C]25[/C][C]41[/C][C]39.7775059211090[/C][C]1.22249407889105[/C][/ROW]
[ROW][C]26[/C][C]47[/C][C]39.9187809816325[/C][C]7.0812190183675[/C][/ROW]
[ROW][C]27[/C][C]46[/C][C]40.5976219895587[/C][C]5.40237801044129[/C][/ROW]
[ROW][C]28[/C][C]45[/C][C]47.6923325015918[/C][C]-2.69233250159178[/C][/ROW]
[ROW][C]29[/C][C]47[/C][C]45.3462654572281[/C][C]1.65373454277191[/C][/ROW]
[ROW][C]30[/C][C]49[/C][C]36.3808650836654[/C][C]12.6191349163346[/C][/ROW]
[ROW][C]31[/C][C]50[/C][C]31.6378072512938[/C][C]18.3621927487062[/C][/ROW]
[ROW][C]32[/C][C]56[/C][C]40.5240569375534[/C][C]15.4759430624466[/C][/ROW]
[ROW][C]33[/C][C]50[/C][C]47.7685545192779[/C][C]2.23144548072208[/C][/ROW]
[ROW][C]34[/C][C]56[/C][C]40.4143722914752[/C][C]15.5856277085248[/C][/ROW]
[ROW][C]35[/C][C]58[/C][C]50.999163781608[/C][C]7.00083621839198[/C][/ROW]
[ROW][C]36[/C][C]59[/C][C]50.1598190464949[/C][C]8.84018095350507[/C][/ROW]
[ROW][C]37[/C][C]51[/C][C]45.0786990529571[/C][C]5.92130094704295[/C][/ROW]
[ROW][C]38[/C][C]59[/C][C]55.233090605831[/C][C]3.76690939416895[/C][/ROW]
[ROW][C]39[/C][C]60[/C][C]55.2221177480999[/C][C]4.77788225190006[/C][/ROW]
[ROW][C]40[/C][C]60[/C][C]52.9663551454512[/C][C]7.03364485454884[/C][/ROW]
[ROW][C]41[/C][C]68[/C][C]54.6057107927711[/C][C]13.3942892072289[/C][/ROW]
[ROW][C]42[/C][C]62[/C][C]51.6815894638696[/C][C]10.3184105361304[/C][/ROW]
[ROW][C]43[/C][C]62[/C][C]54.007738852648[/C][C]7.99226114735204[/C][/ROW]
[ROW][C]44[/C][C]58[/C][C]57.767932900458[/C][C]0.232067099541978[/C][/ROW]
[ROW][C]45[/C][C]56[/C][C]60.8015982499446[/C][C]-4.80159824994457[/C][/ROW]
[ROW][C]46[/C][C]50[/C][C]52.419487845653[/C][C]-2.41948784565304[/C][/ROW]
[ROW][C]47[/C][C]52[/C][C]52.7521680588868[/C][C]-0.752168058886771[/C][/ROW]
[ROW][C]48[/C][C]36[/C][C]45.4207251980039[/C][C]-9.42072519800386[/C][/ROW]
[ROW][C]49[/C][C]33[/C][C]40.0734399319286[/C][C]-7.0734399319286[/C][/ROW]
[ROW][C]50[/C][C]26[/C][C]31.4549362171448[/C][C]-5.45493621714482[/C][/ROW]
[ROW][C]51[/C][C]28[/C][C]37.7106519446292[/C][C]-9.7106519446292[/C][/ROW]
[ROW][C]52[/C][C]27[/C][C]37.046341369855[/C][C]-10.0463413698550[/C][/ROW]
[ROW][C]53[/C][C]20[/C][C]31.869069824568[/C][C]-11.869069824568[/C][/ROW]
[ROW][C]54[/C][C]16[/C][C]23.9315976274941[/C][C]-7.93159762749412[/C][/ROW]
[ROW][C]55[/C][C]11[/C][C]22.7231434056975[/C][C]-11.7231434056975[/C][/ROW]
[ROW][C]56[/C][C]0[/C][C]2.37095463997056[/C][C]-2.37095463997056[/C][/ROW]
[ROW][C]57[/C][C]3[/C][C]4.3902770569627[/C][C]-1.39027705696270[/C][/ROW]
[ROW][C]58[/C][C]10[/C][C]12.1888522039543[/C][C]-2.18885220395431[/C][/ROW]
[ROW][C]59[/C][C]0[/C][C]-2.71675923989475[/C][C]2.71675923989475[/C][/ROW]
[ROW][C]60[/C][C]3[/C][C]-0.233324660992817[/C][C]3.23332466099282[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=30331&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=30331&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
13429.65310922651014.34689077348985
23940.7363094295901-1.73630942959008
34031.50115347144868.49884652855136
44540.41272555191064.5872744480894
54342.06566644322490.934333556775106
64245.8590527806476-3.85905278064756
74951.8189253062837-2.81892530628368
84349.1997259986011-6.19972599860109
95053.2613195245764-3.26131952457643
104452.061121111712-8.06112111171202
114050.9286393113427-10.9286393113427
124149.0613663997408-8.06136639974081
134549.4172458674953-4.41724586749525
144548.6568827658016-3.65688276580155
154856.9684548462635-8.9684548462635
165452.88224543119151.11775456880853
174751.1132874822079-4.11328748220793
183546.1468950443233-11.1468950443233
192839.8123851840771-11.8123851840771
202835.1373295234169-7.1373295234169
213426.77825064923847.22174935076162
222325.9161665472055-2.91616654720546
233331.03678808805731.96321191194273
243832.59141401675325.40858598324678
254139.77750592110901.22249407889105
264739.91878098163257.0812190183675
274640.59762198955875.40237801044129
284547.6923325015918-2.69233250159178
294745.34626545722811.65373454277191
304936.380865083665412.6191349163346
315031.637807251293818.3621927487062
325640.524056937553415.4759430624466
335047.76855451927792.23144548072208
345640.414372291475215.5856277085248
355850.9991637816087.00083621839198
365950.15981904649498.84018095350507
375145.07869905295715.92130094704295
385955.2330906058313.76690939416895
396055.22211774809994.77788225190006
406052.96635514545127.03364485454884
416854.605710792771113.3942892072289
426251.681589463869610.3184105361304
436254.0077388526487.99226114735204
445857.7679329004580.232067099541978
455660.8015982499446-4.80159824994457
465052.419487845653-2.41948784565304
475252.7521680588868-0.752168058886771
483645.4207251980039-9.42072519800386
493340.0734399319286-7.0734399319286
502631.4549362171448-5.45493621714482
512837.7106519446292-9.7106519446292
522737.046341369855-10.0463413698550
532031.869069824568-11.869069824568
541623.9315976274941-7.93159762749412
551122.7231434056975-11.7231434056975
5602.37095463997056-2.37095463997056
5734.3902770569627-1.39027705696270
581012.1888522039543-2.18885220395431
590-2.716759239894752.71675923989475
603-0.2333246609928173.23332466099282







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
190.1190211587619840.2380423175239680.880978841238016
200.07309175174284040.1461835034856810.92690824825716
210.05769116945029440.1153823389005890.942308830549706
220.03580200149429630.07160400298859270.964197998505704
230.01735381964970680.03470763929941360.982646180350293
240.01166693252540870.02333386505081740.988333067474591
250.008695842109324990.01739168421865000.991304157890675
260.003640068670154120.007280137340308240.996359931329846
270.001960946501798240.003921893003596490.998039053498202
280.009246463718191350.01849292743638270.990753536281809
290.04786542227729440.09573084455458880.952134577722706
300.1738138602436970.3476277204873950.826186139756303
310.3077933705827550.6155867411655090.692206629417245
320.5227096089420460.9545807821159090.477290391057954
330.6422403278005120.7155193443989760.357759672199488
340.7933391788697480.4133216422605030.206660821130252
350.7519546866767740.4960906266464520.248045313323226
360.6936665849176930.6126668301646140.306333415082307
370.6851943425395450.629611314920910.314805657460455
380.8361838576983060.3276322846033890.163816142301694
390.8257789545670580.3484420908658840.174221045432942
400.8588061000174630.2823877999650740.141193899982537
410.8808580177700920.2382839644598170.119141982229908

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
19 & 0.119021158761984 & 0.238042317523968 & 0.880978841238016 \tabularnewline
20 & 0.0730917517428404 & 0.146183503485681 & 0.92690824825716 \tabularnewline
21 & 0.0576911694502944 & 0.115382338900589 & 0.942308830549706 \tabularnewline
22 & 0.0358020014942963 & 0.0716040029885927 & 0.964197998505704 \tabularnewline
23 & 0.0173538196497068 & 0.0347076392994136 & 0.982646180350293 \tabularnewline
24 & 0.0116669325254087 & 0.0233338650508174 & 0.988333067474591 \tabularnewline
25 & 0.00869584210932499 & 0.0173916842186500 & 0.991304157890675 \tabularnewline
26 & 0.00364006867015412 & 0.00728013734030824 & 0.996359931329846 \tabularnewline
27 & 0.00196094650179824 & 0.00392189300359649 & 0.998039053498202 \tabularnewline
28 & 0.00924646371819135 & 0.0184929274363827 & 0.990753536281809 \tabularnewline
29 & 0.0478654222772944 & 0.0957308445545888 & 0.952134577722706 \tabularnewline
30 & 0.173813860243697 & 0.347627720487395 & 0.826186139756303 \tabularnewline
31 & 0.307793370582755 & 0.615586741165509 & 0.692206629417245 \tabularnewline
32 & 0.522709608942046 & 0.954580782115909 & 0.477290391057954 \tabularnewline
33 & 0.642240327800512 & 0.715519344398976 & 0.357759672199488 \tabularnewline
34 & 0.793339178869748 & 0.413321642260503 & 0.206660821130252 \tabularnewline
35 & 0.751954686676774 & 0.496090626646452 & 0.248045313323226 \tabularnewline
36 & 0.693666584917693 & 0.612666830164614 & 0.306333415082307 \tabularnewline
37 & 0.685194342539545 & 0.62961131492091 & 0.314805657460455 \tabularnewline
38 & 0.836183857698306 & 0.327632284603389 & 0.163816142301694 \tabularnewline
39 & 0.825778954567058 & 0.348442090865884 & 0.174221045432942 \tabularnewline
40 & 0.858806100017463 & 0.282387799965074 & 0.141193899982537 \tabularnewline
41 & 0.880858017770092 & 0.238283964459817 & 0.119141982229908 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=30331&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]19[/C][C]0.119021158761984[/C][C]0.238042317523968[/C][C]0.880978841238016[/C][/ROW]
[ROW][C]20[/C][C]0.0730917517428404[/C][C]0.146183503485681[/C][C]0.92690824825716[/C][/ROW]
[ROW][C]21[/C][C]0.0576911694502944[/C][C]0.115382338900589[/C][C]0.942308830549706[/C][/ROW]
[ROW][C]22[/C][C]0.0358020014942963[/C][C]0.0716040029885927[/C][C]0.964197998505704[/C][/ROW]
[ROW][C]23[/C][C]0.0173538196497068[/C][C]0.0347076392994136[/C][C]0.982646180350293[/C][/ROW]
[ROW][C]24[/C][C]0.0116669325254087[/C][C]0.0233338650508174[/C][C]0.988333067474591[/C][/ROW]
[ROW][C]25[/C][C]0.00869584210932499[/C][C]0.0173916842186500[/C][C]0.991304157890675[/C][/ROW]
[ROW][C]26[/C][C]0.00364006867015412[/C][C]0.00728013734030824[/C][C]0.996359931329846[/C][/ROW]
[ROW][C]27[/C][C]0.00196094650179824[/C][C]0.00392189300359649[/C][C]0.998039053498202[/C][/ROW]
[ROW][C]28[/C][C]0.00924646371819135[/C][C]0.0184929274363827[/C][C]0.990753536281809[/C][/ROW]
[ROW][C]29[/C][C]0.0478654222772944[/C][C]0.0957308445545888[/C][C]0.952134577722706[/C][/ROW]
[ROW][C]30[/C][C]0.173813860243697[/C][C]0.347627720487395[/C][C]0.826186139756303[/C][/ROW]
[ROW][C]31[/C][C]0.307793370582755[/C][C]0.615586741165509[/C][C]0.692206629417245[/C][/ROW]
[ROW][C]32[/C][C]0.522709608942046[/C][C]0.954580782115909[/C][C]0.477290391057954[/C][/ROW]
[ROW][C]33[/C][C]0.642240327800512[/C][C]0.715519344398976[/C][C]0.357759672199488[/C][/ROW]
[ROW][C]34[/C][C]0.793339178869748[/C][C]0.413321642260503[/C][C]0.206660821130252[/C][/ROW]
[ROW][C]35[/C][C]0.751954686676774[/C][C]0.496090626646452[/C][C]0.248045313323226[/C][/ROW]
[ROW][C]36[/C][C]0.693666584917693[/C][C]0.612666830164614[/C][C]0.306333415082307[/C][/ROW]
[ROW][C]37[/C][C]0.685194342539545[/C][C]0.62961131492091[/C][C]0.314805657460455[/C][/ROW]
[ROW][C]38[/C][C]0.836183857698306[/C][C]0.327632284603389[/C][C]0.163816142301694[/C][/ROW]
[ROW][C]39[/C][C]0.825778954567058[/C][C]0.348442090865884[/C][C]0.174221045432942[/C][/ROW]
[ROW][C]40[/C][C]0.858806100017463[/C][C]0.282387799965074[/C][C]0.141193899982537[/C][/ROW]
[ROW][C]41[/C][C]0.880858017770092[/C][C]0.238283964459817[/C][C]0.119141982229908[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=30331&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=30331&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
190.1190211587619840.2380423175239680.880978841238016
200.07309175174284040.1461835034856810.92690824825716
210.05769116945029440.1153823389005890.942308830549706
220.03580200149429630.07160400298859270.964197998505704
230.01735381964970680.03470763929941360.982646180350293
240.01166693252540870.02333386505081740.988333067474591
250.008695842109324990.01739168421865000.991304157890675
260.003640068670154120.007280137340308240.996359931329846
270.001960946501798240.003921893003596490.998039053498202
280.009246463718191350.01849292743638270.990753536281809
290.04786542227729440.09573084455458880.952134577722706
300.1738138602436970.3476277204873950.826186139756303
310.3077933705827550.6155867411655090.692206629417245
320.5227096089420460.9545807821159090.477290391057954
330.6422403278005120.7155193443989760.357759672199488
340.7933391788697480.4133216422605030.206660821130252
350.7519546866767740.4960906266464520.248045313323226
360.6936665849176930.6126668301646140.306333415082307
370.6851943425395450.629611314920910.314805657460455
380.8361838576983060.3276322846033890.163816142301694
390.8257789545670580.3484420908658840.174221045432942
400.8588061000174630.2823877999650740.141193899982537
410.8808580177700920.2382839644598170.119141982229908







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level20.0869565217391304NOK
5% type I error level60.260869565217391NOK
10% type I error level80.347826086956522NOK

\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 & 2 & 0.0869565217391304 & NOK \tabularnewline
5% type I error level & 6 & 0.260869565217391 & NOK \tabularnewline
10% type I error level & 8 & 0.347826086956522 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=30331&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]2[/C][C]0.0869565217391304[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]6[/C][C]0.260869565217391[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]8[/C][C]0.347826086956522[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=30331&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=30331&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 level20.0869565217391304NOK
5% type I error level60.260869565217391NOK
10% type I error level80.347826086956522NOK



Parameters (Session):
par1 = 2 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
Parameters (R input):
par1 = 2 ; 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')
}