Free Statistics

of Irreproducible Research!

Author's title

H2: multiple lineair regression The Netherlands (incl. seas. dummies and li...

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationSun, 14 Dec 2008 16:52:03 -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/15/t1229299009o2oxqjlfggi4zv7.htm/, Retrieved Wed, 15 May 2024 22:33:39 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=33595, Retrieved Wed, 15 May 2024 22:33:39 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact235
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [H2: multiple line...] [2008-12-14 23:45:02] [1e1d8320a8a1170c475bf6e4ce119de6]
-   P     [Multiple Regression] [H2: multiple line...] [2008-12-14 23:52:03] [fdd69703d301fae09456f660b2f52997] [Current]
Feedback Forum

Post a new message
Dataseries X:
2236	0
2084.9	0
2409.5	0
2199.3	0
2203.5	0
2254.1	0
1975.8	0
1742.2	0
2520.6	0
2438.1	0
2126.3	0
2267.5	0
2201.1	0
2128.5	0
2596	1
2458.2	0
2210.5	0
2621.2	0
2231.4	0
2103.6	0
2685.8	0
2539.3	0
2462.4	0
2693.3	0
2307.7	0
2385.9	0
2737.6	1
2653.9	0
2545.4	0
2848.8	0
2359.5	0
2488.3	0
2861.1	0
2717.9	0
2844	0
2749	0
2652.9	0
2660.2	0
3187.1	1
2774.1	0
3158.2	0
3244.6	0
2665.5	0
2820.8	0
2983.4	0
3077.4	0
3024.8	0
2731.8	0
3046.2	0
2834.8	0
3292.8	0
2946.1	0
3196.9	0
3284.2	0
3003	0
2979	0
3137.4	0
3630.2	0
3270.7	0
2942.3	0




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

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

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

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

As an alternative you can also use a QR Code:  

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

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







Multiple Linear Regression - Estimated Regression Equation
The_Netherlands[t] = + 1970.2525 -10.9166666666665Dummy[t] + 27.883402777777M1[t] -61.6623611111108M2[t] + 351.001875000001M3[t] + 86.5461111111115M4[t] + 123.500347222223M5[t] + 291.554583333334M6[t] -131.611180555555M7[t] -171.496944444444M8[t] + 219.757291666667M9[t] + 243.051527777778M10[t] + 88.485763888889M11[t] + 19.6257638888889t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
The_Netherlands[t] =  +  1970.2525 -10.9166666666665Dummy[t] +  27.883402777777M1[t] -61.6623611111108M2[t] +  351.001875000001M3[t] +  86.5461111111115M4[t] +  123.500347222223M5[t] +  291.554583333334M6[t] -131.611180555555M7[t] -171.496944444444M8[t] +  219.757291666667M9[t] +  243.051527777778M10[t] +  88.485763888889M11[t] +  19.6257638888889t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=33595&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]The_Netherlands[t] =  +  1970.2525 -10.9166666666665Dummy[t] +  27.883402777777M1[t] -61.6623611111108M2[t] +  351.001875000001M3[t] +  86.5461111111115M4[t] +  123.500347222223M5[t] +  291.554583333334M6[t] -131.611180555555M7[t] -171.496944444444M8[t] +  219.757291666667M9[t] +  243.051527777778M10[t] +  88.485763888889M11[t] +  19.6257638888889t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=33595&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=33595&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
The_Netherlands[t] = + 1970.2525 -10.9166666666665Dummy[t] + 27.883402777777M1[t] -61.6623611111108M2[t] + 351.001875000001M3[t] + 86.5461111111115M4[t] + 123.500347222223M5[t] + 291.554583333334M6[t] -131.611180555555M7[t] -171.496944444444M8[t] + 219.757291666667M9[t] + 243.051527777778M10[t] + 88.485763888889M11[t] + 19.6257638888889t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)1970.252570.596227.908800
Dummy-10.9166666666665122.89221-0.08880.9296020.464801
M127.88340277777785.8842280.32470.7469080.373454
M2-61.662361111110885.75591-0.7190.475750.237875
M3351.001875000001113.009063.1060.0032440.001622
M486.546111111111585.5354891.01180.3169190.15846
M5123.50034722222385.4434791.44540.1551230.077562
M6291.55458333333485.3636573.41540.001340.00067
M7-131.61118055555585.296057-1.5430.1296850.064842
M8-171.49694444444485.240708-2.01190.0501070.025054
M9219.75729166666785.1976342.57940.013160.00658
M10243.05152777777885.1668532.85380.0064550.003228
M1188.48576388888985.1483791.03920.3041460.152073
t19.62576388888891.02410219.163900

\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) & 1970.2525 & 70.5962 & 27.9088 & 0 & 0 \tabularnewline
Dummy & -10.9166666666665 & 122.89221 & -0.0888 & 0.929602 & 0.464801 \tabularnewline
M1 & 27.883402777777 & 85.884228 & 0.3247 & 0.746908 & 0.373454 \tabularnewline
M2 & -61.6623611111108 & 85.75591 & -0.719 & 0.47575 & 0.237875 \tabularnewline
M3 & 351.001875000001 & 113.00906 & 3.106 & 0.003244 & 0.001622 \tabularnewline
M4 & 86.5461111111115 & 85.535489 & 1.0118 & 0.316919 & 0.15846 \tabularnewline
M5 & 123.500347222223 & 85.443479 & 1.4454 & 0.155123 & 0.077562 \tabularnewline
M6 & 291.554583333334 & 85.363657 & 3.4154 & 0.00134 & 0.00067 \tabularnewline
M7 & -131.611180555555 & 85.296057 & -1.543 & 0.129685 & 0.064842 \tabularnewline
M8 & -171.496944444444 & 85.240708 & -2.0119 & 0.050107 & 0.025054 \tabularnewline
M9 & 219.757291666667 & 85.197634 & 2.5794 & 0.01316 & 0.00658 \tabularnewline
M10 & 243.051527777778 & 85.166853 & 2.8538 & 0.006455 & 0.003228 \tabularnewline
M11 & 88.485763888889 & 85.148379 & 1.0392 & 0.304146 & 0.152073 \tabularnewline
t & 19.6257638888889 & 1.024102 & 19.1639 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=33595&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]1970.2525[/C][C]70.5962[/C][C]27.9088[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Dummy[/C][C]-10.9166666666665[/C][C]122.89221[/C][C]-0.0888[/C][C]0.929602[/C][C]0.464801[/C][/ROW]
[ROW][C]M1[/C][C]27.883402777777[/C][C]85.884228[/C][C]0.3247[/C][C]0.746908[/C][C]0.373454[/C][/ROW]
[ROW][C]M2[/C][C]-61.6623611111108[/C][C]85.75591[/C][C]-0.719[/C][C]0.47575[/C][C]0.237875[/C][/ROW]
[ROW][C]M3[/C][C]351.001875000001[/C][C]113.00906[/C][C]3.106[/C][C]0.003244[/C][C]0.001622[/C][/ROW]
[ROW][C]M4[/C][C]86.5461111111115[/C][C]85.535489[/C][C]1.0118[/C][C]0.316919[/C][C]0.15846[/C][/ROW]
[ROW][C]M5[/C][C]123.500347222223[/C][C]85.443479[/C][C]1.4454[/C][C]0.155123[/C][C]0.077562[/C][/ROW]
[ROW][C]M6[/C][C]291.554583333334[/C][C]85.363657[/C][C]3.4154[/C][C]0.00134[/C][C]0.00067[/C][/ROW]
[ROW][C]M7[/C][C]-131.611180555555[/C][C]85.296057[/C][C]-1.543[/C][C]0.129685[/C][C]0.064842[/C][/ROW]
[ROW][C]M8[/C][C]-171.496944444444[/C][C]85.240708[/C][C]-2.0119[/C][C]0.050107[/C][C]0.025054[/C][/ROW]
[ROW][C]M9[/C][C]219.757291666667[/C][C]85.197634[/C][C]2.5794[/C][C]0.01316[/C][C]0.00658[/C][/ROW]
[ROW][C]M10[/C][C]243.051527777778[/C][C]85.166853[/C][C]2.8538[/C][C]0.006455[/C][C]0.003228[/C][/ROW]
[ROW][C]M11[/C][C]88.485763888889[/C][C]85.148379[/C][C]1.0392[/C][C]0.304146[/C][C]0.152073[/C][/ROW]
[ROW][C]t[/C][C]19.6257638888889[/C][C]1.024102[/C][C]19.1639[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=33595&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=33595&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)1970.252570.596227.908800
Dummy-10.9166666666665122.89221-0.08880.9296020.464801
M127.88340277777785.8842280.32470.7469080.373454
M2-61.662361111110885.75591-0.7190.475750.237875
M3351.001875000001113.009063.1060.0032440.001622
M486.546111111111585.5354891.01180.3169190.15846
M5123.50034722222385.4434791.44540.1551230.077562
M6291.55458333333485.3636573.41540.001340.00067
M7-131.61118055555585.296057-1.5430.1296850.064842
M8-171.49694444444485.240708-2.01190.0501070.025054
M9219.75729166666785.1976342.57940.013160.00658
M10243.05152777777885.1668532.85380.0064550.003228
M1188.48576388888985.1483791.03920.3041460.152073
t19.62576388888891.02410219.163900







Multiple Linear Regression - Regression Statistics
Multiple R0.95377499419125
R-squared0.90968673954452
Adjusted R-squared0.884163426807102
F-TEST (value)35.6414055222103
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation134.621670971987
Sum Squared Residuals833657.73758333

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.95377499419125 \tabularnewline
R-squared & 0.90968673954452 \tabularnewline
Adjusted R-squared & 0.884163426807102 \tabularnewline
F-TEST (value) & 35.6414055222103 \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 & 134.621670971987 \tabularnewline
Sum Squared Residuals & 833657.73758333 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=33595&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.95377499419125[/C][/ROW]
[ROW][C]R-squared[/C][C]0.90968673954452[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.884163426807102[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]35.6414055222103[/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]134.621670971987[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]833657.73758333[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=33595&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=33595&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.95377499419125
R-squared0.90968673954452
Adjusted R-squared0.884163426807102
F-TEST (value)35.6414055222103
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation134.621670971987
Sum Squared Residuals833657.73758333







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
122362017.76166666667218.238333333329
22084.91947.84166666667137.058333333333
32409.52380.1316666666729.3683333333332
42199.32135.3016666666763.9983333333338
52203.52191.8816666666711.6183333333335
62254.12379.56166666667-125.461666666666
71975.81976.02166666667-0.221666666666373
81742.21955.76166666667-213.561666666667
92520.62366.64166666667153.958333333333
102438.12409.5616666666728.5383333333334
112126.32274.62166666667-148.321666666667
122267.52205.7616666666761.7383333333336
132201.12253.27083333333-52.170833333332
142128.52183.35083333333-54.8508333333332
1525962604.72416666667-8.72416666666638
162458.22370.8108333333387.3891666666666
172210.52427.39083333333-216.890833333333
182621.22615.070833333336.12916666666668
192231.42211.5308333333319.8691666666669
202103.62191.27083333333-87.6708333333331
212685.82602.1508333333383.649166666667
222539.32645.07083333333-105.770833333333
232462.42510.13083333333-47.730833333333
242693.32441.27083333333252.029166666667
252307.72488.78-181.079999999999
262385.92418.86-32.9599999999997
272737.62840.23333333333-102.633333333333
282653.92606.3247.5800000000001
292545.42662.9-117.5
302848.82850.58-1.77999999999978
312359.52447.04-87.54
322488.32426.7861.5200000000003
332861.12837.6623.4399999999998
342717.92880.58-162.68
3528442745.6498.3600000000001
3627492676.7872.22
372652.92724.28916666667-71.3891666666654
382660.22654.369166666675.83083333333321
393187.13075.7425111.357500000000
402774.12841.82916666667-67.7291666666669
413158.22898.40916666667259.790833333333
423244.63086.08916666667158.510833333333
432665.52682.54916666667-17.0491666666669
442820.82662.28916666667158.510833333333
452983.43073.16916666667-89.7691666666669
463077.43116.08916666667-38.6891666666667
473024.82981.1491666666743.6508333333332
482731.82912.28916666667-180.489166666667
493046.22959.7983333333386.4016666666675
502834.82889.87833333333-55.0783333333332
513292.83322.16833333333-29.3683333333337
522946.13077.33833333333-131.238333333334
533196.93133.9183333333362.9816666666665
543284.23321.59833333333-37.3983333333337
5530032918.0583333333384.9416666666662
5629792897.7983333333381.2016666666664
573137.43308.67833333333-171.278333333333
583630.23351.59833333333278.601666666666
593270.73216.6583333333354.0416666666664
602942.33147.79833333333-205.498333333333

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 2236 & 2017.76166666667 & 218.238333333329 \tabularnewline
2 & 2084.9 & 1947.84166666667 & 137.058333333333 \tabularnewline
3 & 2409.5 & 2380.13166666667 & 29.3683333333332 \tabularnewline
4 & 2199.3 & 2135.30166666667 & 63.9983333333338 \tabularnewline
5 & 2203.5 & 2191.88166666667 & 11.6183333333335 \tabularnewline
6 & 2254.1 & 2379.56166666667 & -125.461666666666 \tabularnewline
7 & 1975.8 & 1976.02166666667 & -0.221666666666373 \tabularnewline
8 & 1742.2 & 1955.76166666667 & -213.561666666667 \tabularnewline
9 & 2520.6 & 2366.64166666667 & 153.958333333333 \tabularnewline
10 & 2438.1 & 2409.56166666667 & 28.5383333333334 \tabularnewline
11 & 2126.3 & 2274.62166666667 & -148.321666666667 \tabularnewline
12 & 2267.5 & 2205.76166666667 & 61.7383333333336 \tabularnewline
13 & 2201.1 & 2253.27083333333 & -52.170833333332 \tabularnewline
14 & 2128.5 & 2183.35083333333 & -54.8508333333332 \tabularnewline
15 & 2596 & 2604.72416666667 & -8.72416666666638 \tabularnewline
16 & 2458.2 & 2370.81083333333 & 87.3891666666666 \tabularnewline
17 & 2210.5 & 2427.39083333333 & -216.890833333333 \tabularnewline
18 & 2621.2 & 2615.07083333333 & 6.12916666666668 \tabularnewline
19 & 2231.4 & 2211.53083333333 & 19.8691666666669 \tabularnewline
20 & 2103.6 & 2191.27083333333 & -87.6708333333331 \tabularnewline
21 & 2685.8 & 2602.15083333333 & 83.649166666667 \tabularnewline
22 & 2539.3 & 2645.07083333333 & -105.770833333333 \tabularnewline
23 & 2462.4 & 2510.13083333333 & -47.730833333333 \tabularnewline
24 & 2693.3 & 2441.27083333333 & 252.029166666667 \tabularnewline
25 & 2307.7 & 2488.78 & -181.079999999999 \tabularnewline
26 & 2385.9 & 2418.86 & -32.9599999999997 \tabularnewline
27 & 2737.6 & 2840.23333333333 & -102.633333333333 \tabularnewline
28 & 2653.9 & 2606.32 & 47.5800000000001 \tabularnewline
29 & 2545.4 & 2662.9 & -117.5 \tabularnewline
30 & 2848.8 & 2850.58 & -1.77999999999978 \tabularnewline
31 & 2359.5 & 2447.04 & -87.54 \tabularnewline
32 & 2488.3 & 2426.78 & 61.5200000000003 \tabularnewline
33 & 2861.1 & 2837.66 & 23.4399999999998 \tabularnewline
34 & 2717.9 & 2880.58 & -162.68 \tabularnewline
35 & 2844 & 2745.64 & 98.3600000000001 \tabularnewline
36 & 2749 & 2676.78 & 72.22 \tabularnewline
37 & 2652.9 & 2724.28916666667 & -71.3891666666654 \tabularnewline
38 & 2660.2 & 2654.36916666667 & 5.83083333333321 \tabularnewline
39 & 3187.1 & 3075.7425 & 111.357500000000 \tabularnewline
40 & 2774.1 & 2841.82916666667 & -67.7291666666669 \tabularnewline
41 & 3158.2 & 2898.40916666667 & 259.790833333333 \tabularnewline
42 & 3244.6 & 3086.08916666667 & 158.510833333333 \tabularnewline
43 & 2665.5 & 2682.54916666667 & -17.0491666666669 \tabularnewline
44 & 2820.8 & 2662.28916666667 & 158.510833333333 \tabularnewline
45 & 2983.4 & 3073.16916666667 & -89.7691666666669 \tabularnewline
46 & 3077.4 & 3116.08916666667 & -38.6891666666667 \tabularnewline
47 & 3024.8 & 2981.14916666667 & 43.6508333333332 \tabularnewline
48 & 2731.8 & 2912.28916666667 & -180.489166666667 \tabularnewline
49 & 3046.2 & 2959.79833333333 & 86.4016666666675 \tabularnewline
50 & 2834.8 & 2889.87833333333 & -55.0783333333332 \tabularnewline
51 & 3292.8 & 3322.16833333333 & -29.3683333333337 \tabularnewline
52 & 2946.1 & 3077.33833333333 & -131.238333333334 \tabularnewline
53 & 3196.9 & 3133.91833333333 & 62.9816666666665 \tabularnewline
54 & 3284.2 & 3321.59833333333 & -37.3983333333337 \tabularnewline
55 & 3003 & 2918.05833333333 & 84.9416666666662 \tabularnewline
56 & 2979 & 2897.79833333333 & 81.2016666666664 \tabularnewline
57 & 3137.4 & 3308.67833333333 & -171.278333333333 \tabularnewline
58 & 3630.2 & 3351.59833333333 & 278.601666666666 \tabularnewline
59 & 3270.7 & 3216.65833333333 & 54.0416666666664 \tabularnewline
60 & 2942.3 & 3147.79833333333 & -205.498333333333 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=33595&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]2236[/C][C]2017.76166666667[/C][C]218.238333333329[/C][/ROW]
[ROW][C]2[/C][C]2084.9[/C][C]1947.84166666667[/C][C]137.058333333333[/C][/ROW]
[ROW][C]3[/C][C]2409.5[/C][C]2380.13166666667[/C][C]29.3683333333332[/C][/ROW]
[ROW][C]4[/C][C]2199.3[/C][C]2135.30166666667[/C][C]63.9983333333338[/C][/ROW]
[ROW][C]5[/C][C]2203.5[/C][C]2191.88166666667[/C][C]11.6183333333335[/C][/ROW]
[ROW][C]6[/C][C]2254.1[/C][C]2379.56166666667[/C][C]-125.461666666666[/C][/ROW]
[ROW][C]7[/C][C]1975.8[/C][C]1976.02166666667[/C][C]-0.221666666666373[/C][/ROW]
[ROW][C]8[/C][C]1742.2[/C][C]1955.76166666667[/C][C]-213.561666666667[/C][/ROW]
[ROW][C]9[/C][C]2520.6[/C][C]2366.64166666667[/C][C]153.958333333333[/C][/ROW]
[ROW][C]10[/C][C]2438.1[/C][C]2409.56166666667[/C][C]28.5383333333334[/C][/ROW]
[ROW][C]11[/C][C]2126.3[/C][C]2274.62166666667[/C][C]-148.321666666667[/C][/ROW]
[ROW][C]12[/C][C]2267.5[/C][C]2205.76166666667[/C][C]61.7383333333336[/C][/ROW]
[ROW][C]13[/C][C]2201.1[/C][C]2253.27083333333[/C][C]-52.170833333332[/C][/ROW]
[ROW][C]14[/C][C]2128.5[/C][C]2183.35083333333[/C][C]-54.8508333333332[/C][/ROW]
[ROW][C]15[/C][C]2596[/C][C]2604.72416666667[/C][C]-8.72416666666638[/C][/ROW]
[ROW][C]16[/C][C]2458.2[/C][C]2370.81083333333[/C][C]87.3891666666666[/C][/ROW]
[ROW][C]17[/C][C]2210.5[/C][C]2427.39083333333[/C][C]-216.890833333333[/C][/ROW]
[ROW][C]18[/C][C]2621.2[/C][C]2615.07083333333[/C][C]6.12916666666668[/C][/ROW]
[ROW][C]19[/C][C]2231.4[/C][C]2211.53083333333[/C][C]19.8691666666669[/C][/ROW]
[ROW][C]20[/C][C]2103.6[/C][C]2191.27083333333[/C][C]-87.6708333333331[/C][/ROW]
[ROW][C]21[/C][C]2685.8[/C][C]2602.15083333333[/C][C]83.649166666667[/C][/ROW]
[ROW][C]22[/C][C]2539.3[/C][C]2645.07083333333[/C][C]-105.770833333333[/C][/ROW]
[ROW][C]23[/C][C]2462.4[/C][C]2510.13083333333[/C][C]-47.730833333333[/C][/ROW]
[ROW][C]24[/C][C]2693.3[/C][C]2441.27083333333[/C][C]252.029166666667[/C][/ROW]
[ROW][C]25[/C][C]2307.7[/C][C]2488.78[/C][C]-181.079999999999[/C][/ROW]
[ROW][C]26[/C][C]2385.9[/C][C]2418.86[/C][C]-32.9599999999997[/C][/ROW]
[ROW][C]27[/C][C]2737.6[/C][C]2840.23333333333[/C][C]-102.633333333333[/C][/ROW]
[ROW][C]28[/C][C]2653.9[/C][C]2606.32[/C][C]47.5800000000001[/C][/ROW]
[ROW][C]29[/C][C]2545.4[/C][C]2662.9[/C][C]-117.5[/C][/ROW]
[ROW][C]30[/C][C]2848.8[/C][C]2850.58[/C][C]-1.77999999999978[/C][/ROW]
[ROW][C]31[/C][C]2359.5[/C][C]2447.04[/C][C]-87.54[/C][/ROW]
[ROW][C]32[/C][C]2488.3[/C][C]2426.78[/C][C]61.5200000000003[/C][/ROW]
[ROW][C]33[/C][C]2861.1[/C][C]2837.66[/C][C]23.4399999999998[/C][/ROW]
[ROW][C]34[/C][C]2717.9[/C][C]2880.58[/C][C]-162.68[/C][/ROW]
[ROW][C]35[/C][C]2844[/C][C]2745.64[/C][C]98.3600000000001[/C][/ROW]
[ROW][C]36[/C][C]2749[/C][C]2676.78[/C][C]72.22[/C][/ROW]
[ROW][C]37[/C][C]2652.9[/C][C]2724.28916666667[/C][C]-71.3891666666654[/C][/ROW]
[ROW][C]38[/C][C]2660.2[/C][C]2654.36916666667[/C][C]5.83083333333321[/C][/ROW]
[ROW][C]39[/C][C]3187.1[/C][C]3075.7425[/C][C]111.357500000000[/C][/ROW]
[ROW][C]40[/C][C]2774.1[/C][C]2841.82916666667[/C][C]-67.7291666666669[/C][/ROW]
[ROW][C]41[/C][C]3158.2[/C][C]2898.40916666667[/C][C]259.790833333333[/C][/ROW]
[ROW][C]42[/C][C]3244.6[/C][C]3086.08916666667[/C][C]158.510833333333[/C][/ROW]
[ROW][C]43[/C][C]2665.5[/C][C]2682.54916666667[/C][C]-17.0491666666669[/C][/ROW]
[ROW][C]44[/C][C]2820.8[/C][C]2662.28916666667[/C][C]158.510833333333[/C][/ROW]
[ROW][C]45[/C][C]2983.4[/C][C]3073.16916666667[/C][C]-89.7691666666669[/C][/ROW]
[ROW][C]46[/C][C]3077.4[/C][C]3116.08916666667[/C][C]-38.6891666666667[/C][/ROW]
[ROW][C]47[/C][C]3024.8[/C][C]2981.14916666667[/C][C]43.6508333333332[/C][/ROW]
[ROW][C]48[/C][C]2731.8[/C][C]2912.28916666667[/C][C]-180.489166666667[/C][/ROW]
[ROW][C]49[/C][C]3046.2[/C][C]2959.79833333333[/C][C]86.4016666666675[/C][/ROW]
[ROW][C]50[/C][C]2834.8[/C][C]2889.87833333333[/C][C]-55.0783333333332[/C][/ROW]
[ROW][C]51[/C][C]3292.8[/C][C]3322.16833333333[/C][C]-29.3683333333337[/C][/ROW]
[ROW][C]52[/C][C]2946.1[/C][C]3077.33833333333[/C][C]-131.238333333334[/C][/ROW]
[ROW][C]53[/C][C]3196.9[/C][C]3133.91833333333[/C][C]62.9816666666665[/C][/ROW]
[ROW][C]54[/C][C]3284.2[/C][C]3321.59833333333[/C][C]-37.3983333333337[/C][/ROW]
[ROW][C]55[/C][C]3003[/C][C]2918.05833333333[/C][C]84.9416666666662[/C][/ROW]
[ROW][C]56[/C][C]2979[/C][C]2897.79833333333[/C][C]81.2016666666664[/C][/ROW]
[ROW][C]57[/C][C]3137.4[/C][C]3308.67833333333[/C][C]-171.278333333333[/C][/ROW]
[ROW][C]58[/C][C]3630.2[/C][C]3351.59833333333[/C][C]278.601666666666[/C][/ROW]
[ROW][C]59[/C][C]3270.7[/C][C]3216.65833333333[/C][C]54.0416666666664[/C][/ROW]
[ROW][C]60[/C][C]2942.3[/C][C]3147.79833333333[/C][C]-205.498333333333[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=33595&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=33595&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
122362017.76166666667218.238333333329
22084.91947.84166666667137.058333333333
32409.52380.1316666666729.3683333333332
42199.32135.3016666666763.9983333333338
52203.52191.8816666666711.6183333333335
62254.12379.56166666667-125.461666666666
71975.81976.02166666667-0.221666666666373
81742.21955.76166666667-213.561666666667
92520.62366.64166666667153.958333333333
102438.12409.5616666666728.5383333333334
112126.32274.62166666667-148.321666666667
122267.52205.7616666666761.7383333333336
132201.12253.27083333333-52.170833333332
142128.52183.35083333333-54.8508333333332
1525962604.72416666667-8.72416666666638
162458.22370.8108333333387.3891666666666
172210.52427.39083333333-216.890833333333
182621.22615.070833333336.12916666666668
192231.42211.5308333333319.8691666666669
202103.62191.27083333333-87.6708333333331
212685.82602.1508333333383.649166666667
222539.32645.07083333333-105.770833333333
232462.42510.13083333333-47.730833333333
242693.32441.27083333333252.029166666667
252307.72488.78-181.079999999999
262385.92418.86-32.9599999999997
272737.62840.23333333333-102.633333333333
282653.92606.3247.5800000000001
292545.42662.9-117.5
302848.82850.58-1.77999999999978
312359.52447.04-87.54
322488.32426.7861.5200000000003
332861.12837.6623.4399999999998
342717.92880.58-162.68
3528442745.6498.3600000000001
3627492676.7872.22
372652.92724.28916666667-71.3891666666654
382660.22654.369166666675.83083333333321
393187.13075.7425111.357500000000
402774.12841.82916666667-67.7291666666669
413158.22898.40916666667259.790833333333
423244.63086.08916666667158.510833333333
432665.52682.54916666667-17.0491666666669
442820.82662.28916666667158.510833333333
452983.43073.16916666667-89.7691666666669
463077.43116.08916666667-38.6891666666667
473024.82981.1491666666743.6508333333332
482731.82912.28916666667-180.489166666667
493046.22959.7983333333386.4016666666675
502834.82889.87833333333-55.0783333333332
513292.83322.16833333333-29.3683333333337
522946.13077.33833333333-131.238333333334
533196.93133.9183333333362.9816666666665
543284.23321.59833333333-37.3983333333337
5530032918.0583333333384.9416666666662
5629792897.7983333333381.2016666666664
573137.43308.67833333333-171.278333333333
583630.23351.59833333333278.601666666666
593270.73216.6583333333354.0416666666664
602942.33147.79833333333-205.498333333333







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.2958779307865730.5917558615731470.704122069213427
180.4746068271855610.9492136543711220.525393172814439
190.3725305898018710.7450611796037430.627469410198129
200.3896267558703510.7792535117407030.610373244129649
210.2913102426077340.5826204852154680.708689757392266
220.2143270572664210.4286541145328420.785672942733579
230.1946791198610200.3893582397220390.80532088013898
240.3691872532386110.7383745064772210.630812746761389
250.4271016861804250.854203372360850.572898313819575
260.3253133008114630.6506266016229270.674686699188537
270.2769348964337260.5538697928674510.723065103566274
280.2364296810749540.4728593621499080.763570318925046
290.2702443366039110.5404886732078210.72975566339609
300.2331144311245870.4662288622491740.766885568875413
310.1905386289511090.3810772579022180.809461371048891
320.2647607961273820.5295215922547640.735239203872618
330.2213586097402860.4427172194805720.778641390259714
340.3989066946815250.797813389363050.601093305318475
350.4099522437701010.8199044875402020.590047756229899
360.4877493876998080.9754987753996170.512250612300192
370.4778858151470330.9557716302940660.522114184852967
380.3706110797586540.7412221595173080.629388920241346
390.317449013614260.634898027228520.68255098638574
400.2313798421687790.4627596843375570.768620157831221
410.3984894503879890.7969789007759780.601510549612011
420.4706054364008970.9412108728017950.529394563599103
430.3236211641322700.6472423282645390.67637883586773

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
17 & 0.295877930786573 & 0.591755861573147 & 0.704122069213427 \tabularnewline
18 & 0.474606827185561 & 0.949213654371122 & 0.525393172814439 \tabularnewline
19 & 0.372530589801871 & 0.745061179603743 & 0.627469410198129 \tabularnewline
20 & 0.389626755870351 & 0.779253511740703 & 0.610373244129649 \tabularnewline
21 & 0.291310242607734 & 0.582620485215468 & 0.708689757392266 \tabularnewline
22 & 0.214327057266421 & 0.428654114532842 & 0.785672942733579 \tabularnewline
23 & 0.194679119861020 & 0.389358239722039 & 0.80532088013898 \tabularnewline
24 & 0.369187253238611 & 0.738374506477221 & 0.630812746761389 \tabularnewline
25 & 0.427101686180425 & 0.85420337236085 & 0.572898313819575 \tabularnewline
26 & 0.325313300811463 & 0.650626601622927 & 0.674686699188537 \tabularnewline
27 & 0.276934896433726 & 0.553869792867451 & 0.723065103566274 \tabularnewline
28 & 0.236429681074954 & 0.472859362149908 & 0.763570318925046 \tabularnewline
29 & 0.270244336603911 & 0.540488673207821 & 0.72975566339609 \tabularnewline
30 & 0.233114431124587 & 0.466228862249174 & 0.766885568875413 \tabularnewline
31 & 0.190538628951109 & 0.381077257902218 & 0.809461371048891 \tabularnewline
32 & 0.264760796127382 & 0.529521592254764 & 0.735239203872618 \tabularnewline
33 & 0.221358609740286 & 0.442717219480572 & 0.778641390259714 \tabularnewline
34 & 0.398906694681525 & 0.79781338936305 & 0.601093305318475 \tabularnewline
35 & 0.409952243770101 & 0.819904487540202 & 0.590047756229899 \tabularnewline
36 & 0.487749387699808 & 0.975498775399617 & 0.512250612300192 \tabularnewline
37 & 0.477885815147033 & 0.955771630294066 & 0.522114184852967 \tabularnewline
38 & 0.370611079758654 & 0.741222159517308 & 0.629388920241346 \tabularnewline
39 & 0.31744901361426 & 0.63489802722852 & 0.68255098638574 \tabularnewline
40 & 0.231379842168779 & 0.462759684337557 & 0.768620157831221 \tabularnewline
41 & 0.398489450387989 & 0.796978900775978 & 0.601510549612011 \tabularnewline
42 & 0.470605436400897 & 0.941210872801795 & 0.529394563599103 \tabularnewline
43 & 0.323621164132270 & 0.647242328264539 & 0.67637883586773 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=33595&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.295877930786573[/C][C]0.591755861573147[/C][C]0.704122069213427[/C][/ROW]
[ROW][C]18[/C][C]0.474606827185561[/C][C]0.949213654371122[/C][C]0.525393172814439[/C][/ROW]
[ROW][C]19[/C][C]0.372530589801871[/C][C]0.745061179603743[/C][C]0.627469410198129[/C][/ROW]
[ROW][C]20[/C][C]0.389626755870351[/C][C]0.779253511740703[/C][C]0.610373244129649[/C][/ROW]
[ROW][C]21[/C][C]0.291310242607734[/C][C]0.582620485215468[/C][C]0.708689757392266[/C][/ROW]
[ROW][C]22[/C][C]0.214327057266421[/C][C]0.428654114532842[/C][C]0.785672942733579[/C][/ROW]
[ROW][C]23[/C][C]0.194679119861020[/C][C]0.389358239722039[/C][C]0.80532088013898[/C][/ROW]
[ROW][C]24[/C][C]0.369187253238611[/C][C]0.738374506477221[/C][C]0.630812746761389[/C][/ROW]
[ROW][C]25[/C][C]0.427101686180425[/C][C]0.85420337236085[/C][C]0.572898313819575[/C][/ROW]
[ROW][C]26[/C][C]0.325313300811463[/C][C]0.650626601622927[/C][C]0.674686699188537[/C][/ROW]
[ROW][C]27[/C][C]0.276934896433726[/C][C]0.553869792867451[/C][C]0.723065103566274[/C][/ROW]
[ROW][C]28[/C][C]0.236429681074954[/C][C]0.472859362149908[/C][C]0.763570318925046[/C][/ROW]
[ROW][C]29[/C][C]0.270244336603911[/C][C]0.540488673207821[/C][C]0.72975566339609[/C][/ROW]
[ROW][C]30[/C][C]0.233114431124587[/C][C]0.466228862249174[/C][C]0.766885568875413[/C][/ROW]
[ROW][C]31[/C][C]0.190538628951109[/C][C]0.381077257902218[/C][C]0.809461371048891[/C][/ROW]
[ROW][C]32[/C][C]0.264760796127382[/C][C]0.529521592254764[/C][C]0.735239203872618[/C][/ROW]
[ROW][C]33[/C][C]0.221358609740286[/C][C]0.442717219480572[/C][C]0.778641390259714[/C][/ROW]
[ROW][C]34[/C][C]0.398906694681525[/C][C]0.79781338936305[/C][C]0.601093305318475[/C][/ROW]
[ROW][C]35[/C][C]0.409952243770101[/C][C]0.819904487540202[/C][C]0.590047756229899[/C][/ROW]
[ROW][C]36[/C][C]0.487749387699808[/C][C]0.975498775399617[/C][C]0.512250612300192[/C][/ROW]
[ROW][C]37[/C][C]0.477885815147033[/C][C]0.955771630294066[/C][C]0.522114184852967[/C][/ROW]
[ROW][C]38[/C][C]0.370611079758654[/C][C]0.741222159517308[/C][C]0.629388920241346[/C][/ROW]
[ROW][C]39[/C][C]0.31744901361426[/C][C]0.63489802722852[/C][C]0.68255098638574[/C][/ROW]
[ROW][C]40[/C][C]0.231379842168779[/C][C]0.462759684337557[/C][C]0.768620157831221[/C][/ROW]
[ROW][C]41[/C][C]0.398489450387989[/C][C]0.796978900775978[/C][C]0.601510549612011[/C][/ROW]
[ROW][C]42[/C][C]0.470605436400897[/C][C]0.941210872801795[/C][C]0.529394563599103[/C][/ROW]
[ROW][C]43[/C][C]0.323621164132270[/C][C]0.647242328264539[/C][C]0.67637883586773[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=33595&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=33595&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.2958779307865730.5917558615731470.704122069213427
180.4746068271855610.9492136543711220.525393172814439
190.3725305898018710.7450611796037430.627469410198129
200.3896267558703510.7792535117407030.610373244129649
210.2913102426077340.5826204852154680.708689757392266
220.2143270572664210.4286541145328420.785672942733579
230.1946791198610200.3893582397220390.80532088013898
240.3691872532386110.7383745064772210.630812746761389
250.4271016861804250.854203372360850.572898313819575
260.3253133008114630.6506266016229270.674686699188537
270.2769348964337260.5538697928674510.723065103566274
280.2364296810749540.4728593621499080.763570318925046
290.2702443366039110.5404886732078210.72975566339609
300.2331144311245870.4662288622491740.766885568875413
310.1905386289511090.3810772579022180.809461371048891
320.2647607961273820.5295215922547640.735239203872618
330.2213586097402860.4427172194805720.778641390259714
340.3989066946815250.797813389363050.601093305318475
350.4099522437701010.8199044875402020.590047756229899
360.4877493876998080.9754987753996170.512250612300192
370.4778858151470330.9557716302940660.522114184852967
380.3706110797586540.7412221595173080.629388920241346
390.317449013614260.634898027228520.68255098638574
400.2313798421687790.4627596843375570.768620157831221
410.3984894503879890.7969789007759780.601510549612011
420.4706054364008970.9412108728017950.529394563599103
430.3236211641322700.6472423282645390.67637883586773







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

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

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

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

As an alternative you can also use a QR Code:  

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

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



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