Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationWed, 26 Nov 2008 10:53:01 -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/Nov/26/t1227722261g8yv4m6by84zvh7.htm/, Retrieved Sun, 19 May 2024 04:08:38 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=25681, Retrieved Sun, 19 May 2024 04:08:38 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact144
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [Seatbelt law_Q3] [2008-11-26 17:53:01] [a9e6d7cd6e144e8b311d9f96a24c5a25] [Current]
F    D    [Multiple Regression] [] [2008-11-26 18:03:43] [9f5bfe3b95f9ec3d2ed4c0a560a9648a]
Feedback Forum

Post a new message
Dataseries X:
82.7	0
88.9	0
105.9	0
100.8	0
94	0
105	0
58.5	0
87.6	0
113.1	0
112.5	0
89.6	0
74.5	0
82.7	0
90.1	0
109.4	0
96	0
89.2	0
109.1	0
49.1	0
92.9	0
107.7	0
103.5	0
91.1	0
79.8	0
71.9	0
82.9	0
90.1	0
100.7	0
90.7	0
108.8	0
44.1	0
93.6	0
107.4	0
96.5	0
93.6	0
76.5	0
76.7	0
84	0
103.3	0
88.5	1
99	1
105.9	1
44.7	1
94	1
107.1	1
104.8	1
102.5	1
77.7	1
85.2	1
91.3	1
106.5	1
92.4	1
97.5	1
107	1
51.1	1
98.6	1
102.2	1
114.3	1
99.4	1
72.5	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=25681&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=25681&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25681&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
Y[t] = + 78.5888484848485 + 5.46787878787879X[t] + 3.33535353535353M1[t] + 11.0624646464646M2[t] + 26.7895757575758M3[t] + 18.4631111111111M4[t] + 16.9902222222222M5[t] + 30.1973333333333M6[t] -27.3355555555556M7[t] + 16.6315555555556M8[t] + 30.9186666666667M9[t] + 29.8657777777778M10[t] + 18.9128888888889M11[t] -0.127111111111111t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  78.5888484848485 +  5.46787878787879X[t] +  3.33535353535353M1[t] +  11.0624646464646M2[t] +  26.7895757575758M3[t] +  18.4631111111111M4[t] +  16.9902222222222M5[t] +  30.1973333333333M6[t] -27.3355555555556M7[t] +  16.6315555555556M8[t] +  30.9186666666667M9[t] +  29.8657777777778M10[t] +  18.9128888888889M11[t] -0.127111111111111t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25681&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  78.5888484848485 +  5.46787878787879X[t] +  3.33535353535353M1[t] +  11.0624646464646M2[t] +  26.7895757575758M3[t] +  18.4631111111111M4[t] +  16.9902222222222M5[t] +  30.1973333333333M6[t] -27.3355555555556M7[t] +  16.6315555555556M8[t] +  30.9186666666667M9[t] +  29.8657777777778M10[t] +  18.9128888888889M11[t] -0.127111111111111t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25681&T=1

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

As an alternative you can also use a QR Code:  

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

Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 78.5888484848485 + 5.46787878787879X[t] + 3.33535353535353M1[t] + 11.0624646464646M2[t] + 26.7895757575758M3[t] + 18.4631111111111M4[t] + 16.9902222222222M5[t] + 30.1973333333333M6[t] -27.3355555555556M7[t] + 16.6315555555556M8[t] + 30.9186666666667M9[t] + 29.8657777777778M10[t] + 18.9128888888889M11[t] -0.127111111111111t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)78.58884848484852.75595228.51600
X5.467878787878792.4033042.27520.0276030.013802
M13.335353535353533.1165191.07020.2901050.145052
M211.06246464646463.1101423.55690.0008830.000441
M326.78957575757583.1051728.627400
M418.46311111111113.1325015.89400
M516.99022222222223.121925.44222e-061e-06
M630.19733333333333.112729.701300
M7-27.33555555555563.104914-8.80400
M816.63155555555563.0985135.36763e-061e-06
M930.91866666666673.0935259.994600
M1029.86577777777783.0899579.665400
M1118.91288888888893.0878156.12500
t-0.1271111111111110.066424-1.91360.0619010.030951

\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) & 78.5888484848485 & 2.755952 & 28.516 & 0 & 0 \tabularnewline
X & 5.46787878787879 & 2.403304 & 2.2752 & 0.027603 & 0.013802 \tabularnewline
M1 & 3.33535353535353 & 3.116519 & 1.0702 & 0.290105 & 0.145052 \tabularnewline
M2 & 11.0624646464646 & 3.110142 & 3.5569 & 0.000883 & 0.000441 \tabularnewline
M3 & 26.7895757575758 & 3.105172 & 8.6274 & 0 & 0 \tabularnewline
M4 & 18.4631111111111 & 3.132501 & 5.894 & 0 & 0 \tabularnewline
M5 & 16.9902222222222 & 3.12192 & 5.4422 & 2e-06 & 1e-06 \tabularnewline
M6 & 30.1973333333333 & 3.11272 & 9.7013 & 0 & 0 \tabularnewline
M7 & -27.3355555555556 & 3.104914 & -8.804 & 0 & 0 \tabularnewline
M8 & 16.6315555555556 & 3.098513 & 5.3676 & 3e-06 & 1e-06 \tabularnewline
M9 & 30.9186666666667 & 3.093525 & 9.9946 & 0 & 0 \tabularnewline
M10 & 29.8657777777778 & 3.089957 & 9.6654 & 0 & 0 \tabularnewline
M11 & 18.9128888888889 & 3.087815 & 6.125 & 0 & 0 \tabularnewline
t & -0.127111111111111 & 0.066424 & -1.9136 & 0.061901 & 0.030951 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25681&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]78.5888484848485[/C][C]2.755952[/C][C]28.516[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]X[/C][C]5.46787878787879[/C][C]2.403304[/C][C]2.2752[/C][C]0.027603[/C][C]0.013802[/C][/ROW]
[ROW][C]M1[/C][C]3.33535353535353[/C][C]3.116519[/C][C]1.0702[/C][C]0.290105[/C][C]0.145052[/C][/ROW]
[ROW][C]M2[/C][C]11.0624646464646[/C][C]3.110142[/C][C]3.5569[/C][C]0.000883[/C][C]0.000441[/C][/ROW]
[ROW][C]M3[/C][C]26.7895757575758[/C][C]3.105172[/C][C]8.6274[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M4[/C][C]18.4631111111111[/C][C]3.132501[/C][C]5.894[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M5[/C][C]16.9902222222222[/C][C]3.12192[/C][C]5.4422[/C][C]2e-06[/C][C]1e-06[/C][/ROW]
[ROW][C]M6[/C][C]30.1973333333333[/C][C]3.11272[/C][C]9.7013[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M7[/C][C]-27.3355555555556[/C][C]3.104914[/C][C]-8.804[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M8[/C][C]16.6315555555556[/C][C]3.098513[/C][C]5.3676[/C][C]3e-06[/C][C]1e-06[/C][/ROW]
[ROW][C]M9[/C][C]30.9186666666667[/C][C]3.093525[/C][C]9.9946[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M10[/C][C]29.8657777777778[/C][C]3.089957[/C][C]9.6654[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M11[/C][C]18.9128888888889[/C][C]3.087815[/C][C]6.125[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]t[/C][C]-0.127111111111111[/C][C]0.066424[/C][C]-1.9136[/C][C]0.061901[/C][C]0.030951[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25681&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25681&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)78.58884848484852.75595228.51600
X5.467878787878792.4033042.27520.0276030.013802
M13.335353535353533.1165191.07020.2901050.145052
M211.06246464646463.1101423.55690.0008830.000441
M326.78957575757583.1051728.627400
M418.46311111111113.1325015.89400
M516.99022222222223.121925.44222e-061e-06
M630.19733333333333.112729.701300
M7-27.33555555555563.104914-8.80400
M816.63155555555563.0985135.36763e-061e-06
M930.91866666666673.0935259.994600
M1029.86577777777783.0899579.665400
M1118.91288888888893.0878156.12500
t-0.1271111111111110.066424-1.91360.0619010.030951







Multiple Linear Regression - Regression Statistics
Multiple R0.966106860242352
R-squared0.933362465407336
Adjusted R-squared0.914530118674626
F-TEST (value)49.5616652908264
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation4.88113417995659
Sum Squared Residuals1095.97166060606

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.966106860242352 \tabularnewline
R-squared & 0.933362465407336 \tabularnewline
Adjusted R-squared & 0.914530118674626 \tabularnewline
F-TEST (value) & 49.5616652908264 \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 & 4.88113417995659 \tabularnewline
Sum Squared Residuals & 1095.97166060606 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25681&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.966106860242352[/C][/ROW]
[ROW][C]R-squared[/C][C]0.933362465407336[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.914530118674626[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]49.5616652908264[/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]4.88113417995659[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]1095.97166060606[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25681&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25681&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.966106860242352
R-squared0.933362465407336
Adjusted R-squared0.914530118674626
F-TEST (value)49.5616652908264
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation4.88113417995659
Sum Squared Residuals1095.97166060606







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
182.781.7970909090910.902909090909051
288.989.3970909090909-0.497090909090899
3105.9104.9970909090910.902909090909096
4100.896.54351515151524.25648484848485
59494.9435151515151-0.943515151515137
6105108.023515151515-3.02351515151516
758.550.36351515151528.13648484848484
887.694.2035151515151-6.60351515151515
9113.1108.3635151515154.73648484848485
10112.5107.1835151515155.31648484848486
1189.696.1035151515151-6.50351515151515
1274.577.0635151515151-2.56351515151515
1382.780.27175757575762.42824242424244
1490.187.87175757575762.22824242424242
15109.4103.4717575757585.92824242424243
169695.01818181818180.981818181818181
1789.293.4181818181818-4.21818181818182
18109.1106.4981818181822.60181818181818
1949.148.83818181818180.261818181818177
2092.992.67818181818180.221818181818191
21107.7106.8381818181820.861818181818185
22103.5105.658181818182-2.15818181818182
2391.194.5781818181818-3.47818181818182
2479.875.53818181818184.26181818181818
2571.978.7464242424242-6.84642424242423
2682.986.3464242424242-3.44642424242424
2790.1101.946424242424-11.8464242424242
28100.793.49284848484857.20715151515152
2990.791.8928484848485-1.19284848484848
30108.8104.9728484848483.82715151515151
3144.147.3128484848485-3.21284848484849
3293.691.15284848484852.44715151515151
33107.4105.3128484848482.08715151515152
3496.5104.132848484848-7.63284848484849
3593.693.05284848484850.547151515151511
3676.574.01284848484852.48715151515151
3776.777.2210909090909-0.521090909090901
388484.8210909090909-0.821090909090911
39103.3100.4210909090912.87890909090908
4088.597.435393939394-8.93539393939394
419995.8353939393943.16460606060606
42105.9108.915393939394-3.01539393939393
4344.751.2553939393939-6.55539393939393
449495.095393939394-1.09539393939394
45107.1109.255393939394-2.15539393939395
46104.8108.075393939394-3.27539393939394
47102.596.9953939393945.50460606060606
4877.777.955393939394-0.255393939393936
4985.281.16363636363644.03636363636364
5091.388.76363636363642.53636363636363
51106.5104.3636363636362.13636363636363
5292.495.9100606060606-3.5100606060606
5397.594.31006060606063.18993939393939
54107107.390060606061-0.390060606060606
5551.149.73006060606061.3699393939394
5698.693.57006060606065.02993939393938
57102.2107.730060606061-5.53006060606061
58114.3106.5500606060617.74993939393939
5999.495.47006060606063.9299393939394
6072.576.4300606060606-3.9300606060606

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 82.7 & 81.797090909091 & 0.902909090909051 \tabularnewline
2 & 88.9 & 89.3970909090909 & -0.497090909090899 \tabularnewline
3 & 105.9 & 104.997090909091 & 0.902909090909096 \tabularnewline
4 & 100.8 & 96.5435151515152 & 4.25648484848485 \tabularnewline
5 & 94 & 94.9435151515151 & -0.943515151515137 \tabularnewline
6 & 105 & 108.023515151515 & -3.02351515151516 \tabularnewline
7 & 58.5 & 50.3635151515152 & 8.13648484848484 \tabularnewline
8 & 87.6 & 94.2035151515151 & -6.60351515151515 \tabularnewline
9 & 113.1 & 108.363515151515 & 4.73648484848485 \tabularnewline
10 & 112.5 & 107.183515151515 & 5.31648484848486 \tabularnewline
11 & 89.6 & 96.1035151515151 & -6.50351515151515 \tabularnewline
12 & 74.5 & 77.0635151515151 & -2.56351515151515 \tabularnewline
13 & 82.7 & 80.2717575757576 & 2.42824242424244 \tabularnewline
14 & 90.1 & 87.8717575757576 & 2.22824242424242 \tabularnewline
15 & 109.4 & 103.471757575758 & 5.92824242424243 \tabularnewline
16 & 96 & 95.0181818181818 & 0.981818181818181 \tabularnewline
17 & 89.2 & 93.4181818181818 & -4.21818181818182 \tabularnewline
18 & 109.1 & 106.498181818182 & 2.60181818181818 \tabularnewline
19 & 49.1 & 48.8381818181818 & 0.261818181818177 \tabularnewline
20 & 92.9 & 92.6781818181818 & 0.221818181818191 \tabularnewline
21 & 107.7 & 106.838181818182 & 0.861818181818185 \tabularnewline
22 & 103.5 & 105.658181818182 & -2.15818181818182 \tabularnewline
23 & 91.1 & 94.5781818181818 & -3.47818181818182 \tabularnewline
24 & 79.8 & 75.5381818181818 & 4.26181818181818 \tabularnewline
25 & 71.9 & 78.7464242424242 & -6.84642424242423 \tabularnewline
26 & 82.9 & 86.3464242424242 & -3.44642424242424 \tabularnewline
27 & 90.1 & 101.946424242424 & -11.8464242424242 \tabularnewline
28 & 100.7 & 93.4928484848485 & 7.20715151515152 \tabularnewline
29 & 90.7 & 91.8928484848485 & -1.19284848484848 \tabularnewline
30 & 108.8 & 104.972848484848 & 3.82715151515151 \tabularnewline
31 & 44.1 & 47.3128484848485 & -3.21284848484849 \tabularnewline
32 & 93.6 & 91.1528484848485 & 2.44715151515151 \tabularnewline
33 & 107.4 & 105.312848484848 & 2.08715151515152 \tabularnewline
34 & 96.5 & 104.132848484848 & -7.63284848484849 \tabularnewline
35 & 93.6 & 93.0528484848485 & 0.547151515151511 \tabularnewline
36 & 76.5 & 74.0128484848485 & 2.48715151515151 \tabularnewline
37 & 76.7 & 77.2210909090909 & -0.521090909090901 \tabularnewline
38 & 84 & 84.8210909090909 & -0.821090909090911 \tabularnewline
39 & 103.3 & 100.421090909091 & 2.87890909090908 \tabularnewline
40 & 88.5 & 97.435393939394 & -8.93539393939394 \tabularnewline
41 & 99 & 95.835393939394 & 3.16460606060606 \tabularnewline
42 & 105.9 & 108.915393939394 & -3.01539393939393 \tabularnewline
43 & 44.7 & 51.2553939393939 & -6.55539393939393 \tabularnewline
44 & 94 & 95.095393939394 & -1.09539393939394 \tabularnewline
45 & 107.1 & 109.255393939394 & -2.15539393939395 \tabularnewline
46 & 104.8 & 108.075393939394 & -3.27539393939394 \tabularnewline
47 & 102.5 & 96.995393939394 & 5.50460606060606 \tabularnewline
48 & 77.7 & 77.955393939394 & -0.255393939393936 \tabularnewline
49 & 85.2 & 81.1636363636364 & 4.03636363636364 \tabularnewline
50 & 91.3 & 88.7636363636364 & 2.53636363636363 \tabularnewline
51 & 106.5 & 104.363636363636 & 2.13636363636363 \tabularnewline
52 & 92.4 & 95.9100606060606 & -3.5100606060606 \tabularnewline
53 & 97.5 & 94.3100606060606 & 3.18993939393939 \tabularnewline
54 & 107 & 107.390060606061 & -0.390060606060606 \tabularnewline
55 & 51.1 & 49.7300606060606 & 1.3699393939394 \tabularnewline
56 & 98.6 & 93.5700606060606 & 5.02993939393938 \tabularnewline
57 & 102.2 & 107.730060606061 & -5.53006060606061 \tabularnewline
58 & 114.3 & 106.550060606061 & 7.74993939393939 \tabularnewline
59 & 99.4 & 95.4700606060606 & 3.9299393939394 \tabularnewline
60 & 72.5 & 76.4300606060606 & -3.9300606060606 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25681&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]82.7[/C][C]81.797090909091[/C][C]0.902909090909051[/C][/ROW]
[ROW][C]2[/C][C]88.9[/C][C]89.3970909090909[/C][C]-0.497090909090899[/C][/ROW]
[ROW][C]3[/C][C]105.9[/C][C]104.997090909091[/C][C]0.902909090909096[/C][/ROW]
[ROW][C]4[/C][C]100.8[/C][C]96.5435151515152[/C][C]4.25648484848485[/C][/ROW]
[ROW][C]5[/C][C]94[/C][C]94.9435151515151[/C][C]-0.943515151515137[/C][/ROW]
[ROW][C]6[/C][C]105[/C][C]108.023515151515[/C][C]-3.02351515151516[/C][/ROW]
[ROW][C]7[/C][C]58.5[/C][C]50.3635151515152[/C][C]8.13648484848484[/C][/ROW]
[ROW][C]8[/C][C]87.6[/C][C]94.2035151515151[/C][C]-6.60351515151515[/C][/ROW]
[ROW][C]9[/C][C]113.1[/C][C]108.363515151515[/C][C]4.73648484848485[/C][/ROW]
[ROW][C]10[/C][C]112.5[/C][C]107.183515151515[/C][C]5.31648484848486[/C][/ROW]
[ROW][C]11[/C][C]89.6[/C][C]96.1035151515151[/C][C]-6.50351515151515[/C][/ROW]
[ROW][C]12[/C][C]74.5[/C][C]77.0635151515151[/C][C]-2.56351515151515[/C][/ROW]
[ROW][C]13[/C][C]82.7[/C][C]80.2717575757576[/C][C]2.42824242424244[/C][/ROW]
[ROW][C]14[/C][C]90.1[/C][C]87.8717575757576[/C][C]2.22824242424242[/C][/ROW]
[ROW][C]15[/C][C]109.4[/C][C]103.471757575758[/C][C]5.92824242424243[/C][/ROW]
[ROW][C]16[/C][C]96[/C][C]95.0181818181818[/C][C]0.981818181818181[/C][/ROW]
[ROW][C]17[/C][C]89.2[/C][C]93.4181818181818[/C][C]-4.21818181818182[/C][/ROW]
[ROW][C]18[/C][C]109.1[/C][C]106.498181818182[/C][C]2.60181818181818[/C][/ROW]
[ROW][C]19[/C][C]49.1[/C][C]48.8381818181818[/C][C]0.261818181818177[/C][/ROW]
[ROW][C]20[/C][C]92.9[/C][C]92.6781818181818[/C][C]0.221818181818191[/C][/ROW]
[ROW][C]21[/C][C]107.7[/C][C]106.838181818182[/C][C]0.861818181818185[/C][/ROW]
[ROW][C]22[/C][C]103.5[/C][C]105.658181818182[/C][C]-2.15818181818182[/C][/ROW]
[ROW][C]23[/C][C]91.1[/C][C]94.5781818181818[/C][C]-3.47818181818182[/C][/ROW]
[ROW][C]24[/C][C]79.8[/C][C]75.5381818181818[/C][C]4.26181818181818[/C][/ROW]
[ROW][C]25[/C][C]71.9[/C][C]78.7464242424242[/C][C]-6.84642424242423[/C][/ROW]
[ROW][C]26[/C][C]82.9[/C][C]86.3464242424242[/C][C]-3.44642424242424[/C][/ROW]
[ROW][C]27[/C][C]90.1[/C][C]101.946424242424[/C][C]-11.8464242424242[/C][/ROW]
[ROW][C]28[/C][C]100.7[/C][C]93.4928484848485[/C][C]7.20715151515152[/C][/ROW]
[ROW][C]29[/C][C]90.7[/C][C]91.8928484848485[/C][C]-1.19284848484848[/C][/ROW]
[ROW][C]30[/C][C]108.8[/C][C]104.972848484848[/C][C]3.82715151515151[/C][/ROW]
[ROW][C]31[/C][C]44.1[/C][C]47.3128484848485[/C][C]-3.21284848484849[/C][/ROW]
[ROW][C]32[/C][C]93.6[/C][C]91.1528484848485[/C][C]2.44715151515151[/C][/ROW]
[ROW][C]33[/C][C]107.4[/C][C]105.312848484848[/C][C]2.08715151515152[/C][/ROW]
[ROW][C]34[/C][C]96.5[/C][C]104.132848484848[/C][C]-7.63284848484849[/C][/ROW]
[ROW][C]35[/C][C]93.6[/C][C]93.0528484848485[/C][C]0.547151515151511[/C][/ROW]
[ROW][C]36[/C][C]76.5[/C][C]74.0128484848485[/C][C]2.48715151515151[/C][/ROW]
[ROW][C]37[/C][C]76.7[/C][C]77.2210909090909[/C][C]-0.521090909090901[/C][/ROW]
[ROW][C]38[/C][C]84[/C][C]84.8210909090909[/C][C]-0.821090909090911[/C][/ROW]
[ROW][C]39[/C][C]103.3[/C][C]100.421090909091[/C][C]2.87890909090908[/C][/ROW]
[ROW][C]40[/C][C]88.5[/C][C]97.435393939394[/C][C]-8.93539393939394[/C][/ROW]
[ROW][C]41[/C][C]99[/C][C]95.835393939394[/C][C]3.16460606060606[/C][/ROW]
[ROW][C]42[/C][C]105.9[/C][C]108.915393939394[/C][C]-3.01539393939393[/C][/ROW]
[ROW][C]43[/C][C]44.7[/C][C]51.2553939393939[/C][C]-6.55539393939393[/C][/ROW]
[ROW][C]44[/C][C]94[/C][C]95.095393939394[/C][C]-1.09539393939394[/C][/ROW]
[ROW][C]45[/C][C]107.1[/C][C]109.255393939394[/C][C]-2.15539393939395[/C][/ROW]
[ROW][C]46[/C][C]104.8[/C][C]108.075393939394[/C][C]-3.27539393939394[/C][/ROW]
[ROW][C]47[/C][C]102.5[/C][C]96.995393939394[/C][C]5.50460606060606[/C][/ROW]
[ROW][C]48[/C][C]77.7[/C][C]77.955393939394[/C][C]-0.255393939393936[/C][/ROW]
[ROW][C]49[/C][C]85.2[/C][C]81.1636363636364[/C][C]4.03636363636364[/C][/ROW]
[ROW][C]50[/C][C]91.3[/C][C]88.7636363636364[/C][C]2.53636363636363[/C][/ROW]
[ROW][C]51[/C][C]106.5[/C][C]104.363636363636[/C][C]2.13636363636363[/C][/ROW]
[ROW][C]52[/C][C]92.4[/C][C]95.9100606060606[/C][C]-3.5100606060606[/C][/ROW]
[ROW][C]53[/C][C]97.5[/C][C]94.3100606060606[/C][C]3.18993939393939[/C][/ROW]
[ROW][C]54[/C][C]107[/C][C]107.390060606061[/C][C]-0.390060606060606[/C][/ROW]
[ROW][C]55[/C][C]51.1[/C][C]49.7300606060606[/C][C]1.3699393939394[/C][/ROW]
[ROW][C]56[/C][C]98.6[/C][C]93.5700606060606[/C][C]5.02993939393938[/C][/ROW]
[ROW][C]57[/C][C]102.2[/C][C]107.730060606061[/C][C]-5.53006060606061[/C][/ROW]
[ROW][C]58[/C][C]114.3[/C][C]106.550060606061[/C][C]7.74993939393939[/C][/ROW]
[ROW][C]59[/C][C]99.4[/C][C]95.4700606060606[/C][C]3.9299393939394[/C][/ROW]
[ROW][C]60[/C][C]72.5[/C][C]76.4300606060606[/C][C]-3.9300606060606[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25681&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25681&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
182.781.7970909090910.902909090909051
288.989.3970909090909-0.497090909090899
3105.9104.9970909090910.902909090909096
4100.896.54351515151524.25648484848485
59494.9435151515151-0.943515151515137
6105108.023515151515-3.02351515151516
758.550.36351515151528.13648484848484
887.694.2035151515151-6.60351515151515
9113.1108.3635151515154.73648484848485
10112.5107.1835151515155.31648484848486
1189.696.1035151515151-6.50351515151515
1274.577.0635151515151-2.56351515151515
1382.780.27175757575762.42824242424244
1490.187.87175757575762.22824242424242
15109.4103.4717575757585.92824242424243
169695.01818181818180.981818181818181
1789.293.4181818181818-4.21818181818182
18109.1106.4981818181822.60181818181818
1949.148.83818181818180.261818181818177
2092.992.67818181818180.221818181818191
21107.7106.8381818181820.861818181818185
22103.5105.658181818182-2.15818181818182
2391.194.5781818181818-3.47818181818182
2479.875.53818181818184.26181818181818
2571.978.7464242424242-6.84642424242423
2682.986.3464242424242-3.44642424242424
2790.1101.946424242424-11.8464242424242
28100.793.49284848484857.20715151515152
2990.791.8928484848485-1.19284848484848
30108.8104.9728484848483.82715151515151
3144.147.3128484848485-3.21284848484849
3293.691.15284848484852.44715151515151
33107.4105.3128484848482.08715151515152
3496.5104.132848484848-7.63284848484849
3593.693.05284848484850.547151515151511
3676.574.01284848484852.48715151515151
3776.777.2210909090909-0.521090909090901
388484.8210909090909-0.821090909090911
39103.3100.4210909090912.87890909090908
4088.597.435393939394-8.93539393939394
419995.8353939393943.16460606060606
42105.9108.915393939394-3.01539393939393
4344.751.2553939393939-6.55539393939393
449495.095393939394-1.09539393939394
45107.1109.255393939394-2.15539393939395
46104.8108.075393939394-3.27539393939394
47102.596.9953939393945.50460606060606
4877.777.955393939394-0.255393939393936
4985.281.16363636363644.03636363636364
5091.388.76363636363642.53636363636363
51106.5104.3636363636362.13636363636363
5292.495.9100606060606-3.5100606060606
5397.594.31006060606063.18993939393939
54107107.390060606061-0.390060606060606
5551.149.73006060606061.3699393939394
5698.693.57006060606065.02993939393938
57102.2107.730060606061-5.53006060606061
58114.3106.5500606060617.74993939393939
5999.495.47006060606063.9299393939394
6072.576.4300606060606-3.9300606060606







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.2493766708978900.4987533417957810.75062332910211
180.2052712325334610.4105424650669210.794728767466539
190.3393458489658050.678691697931610.660654151034195
200.3220256117730230.6440512235460450.677974388226977
210.2754249959816040.5508499919632080.724575004018396
220.2925525520112660.5851051040225330.707447447988734
230.2227497596484840.4454995192969680.777250240351516
240.2610654837840160.5221309675680310.738934516215984
250.3413008197264340.6826016394528680.658699180273566
260.2654689374464740.5309378748929490.734531062553526
270.6181670147354590.7636659705290820.381832985264541
280.8434451299277210.3131097401445580.156554870072279
290.8056031209912820.3887937580174370.194396879008718
300.8271272252454150.3457455495091710.172872774754585
310.785397777936470.429204444127060.21460222206353
320.7635646034138870.4728707931722260.236435396586113
330.8122946233651260.3754107532697470.187705376634874
340.8718973630384490.2562052739231020.128102636961551
350.8496822086290590.3006355827418830.150317791370941
360.8778993607068070.2442012785863850.122100639293193
370.8231090749440360.3537818501119280.176890925055964
380.7524639040543410.4950721918913170.247536095945659
390.6659660309488330.6680679381023340.334033969051167
400.5602251263715880.8795497472568250.439774873628412
410.5513077390808160.8973845218383670.448692260919184
420.3980464734571720.7960929469143430.601953526542828
430.3251483475095420.6502966950190830.674851652490458

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
17 & 0.249376670897890 & 0.498753341795781 & 0.75062332910211 \tabularnewline
18 & 0.205271232533461 & 0.410542465066921 & 0.794728767466539 \tabularnewline
19 & 0.339345848965805 & 0.67869169793161 & 0.660654151034195 \tabularnewline
20 & 0.322025611773023 & 0.644051223546045 & 0.677974388226977 \tabularnewline
21 & 0.275424995981604 & 0.550849991963208 & 0.724575004018396 \tabularnewline
22 & 0.292552552011266 & 0.585105104022533 & 0.707447447988734 \tabularnewline
23 & 0.222749759648484 & 0.445499519296968 & 0.777250240351516 \tabularnewline
24 & 0.261065483784016 & 0.522130967568031 & 0.738934516215984 \tabularnewline
25 & 0.341300819726434 & 0.682601639452868 & 0.658699180273566 \tabularnewline
26 & 0.265468937446474 & 0.530937874892949 & 0.734531062553526 \tabularnewline
27 & 0.618167014735459 & 0.763665970529082 & 0.381832985264541 \tabularnewline
28 & 0.843445129927721 & 0.313109740144558 & 0.156554870072279 \tabularnewline
29 & 0.805603120991282 & 0.388793758017437 & 0.194396879008718 \tabularnewline
30 & 0.827127225245415 & 0.345745549509171 & 0.172872774754585 \tabularnewline
31 & 0.78539777793647 & 0.42920444412706 & 0.21460222206353 \tabularnewline
32 & 0.763564603413887 & 0.472870793172226 & 0.236435396586113 \tabularnewline
33 & 0.812294623365126 & 0.375410753269747 & 0.187705376634874 \tabularnewline
34 & 0.871897363038449 & 0.256205273923102 & 0.128102636961551 \tabularnewline
35 & 0.849682208629059 & 0.300635582741883 & 0.150317791370941 \tabularnewline
36 & 0.877899360706807 & 0.244201278586385 & 0.122100639293193 \tabularnewline
37 & 0.823109074944036 & 0.353781850111928 & 0.176890925055964 \tabularnewline
38 & 0.752463904054341 & 0.495072191891317 & 0.247536095945659 \tabularnewline
39 & 0.665966030948833 & 0.668067938102334 & 0.334033969051167 \tabularnewline
40 & 0.560225126371588 & 0.879549747256825 & 0.439774873628412 \tabularnewline
41 & 0.551307739080816 & 0.897384521838367 & 0.448692260919184 \tabularnewline
42 & 0.398046473457172 & 0.796092946914343 & 0.601953526542828 \tabularnewline
43 & 0.325148347509542 & 0.650296695019083 & 0.674851652490458 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25681&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.249376670897890[/C][C]0.498753341795781[/C][C]0.75062332910211[/C][/ROW]
[ROW][C]18[/C][C]0.205271232533461[/C][C]0.410542465066921[/C][C]0.794728767466539[/C][/ROW]
[ROW][C]19[/C][C]0.339345848965805[/C][C]0.67869169793161[/C][C]0.660654151034195[/C][/ROW]
[ROW][C]20[/C][C]0.322025611773023[/C][C]0.644051223546045[/C][C]0.677974388226977[/C][/ROW]
[ROW][C]21[/C][C]0.275424995981604[/C][C]0.550849991963208[/C][C]0.724575004018396[/C][/ROW]
[ROW][C]22[/C][C]0.292552552011266[/C][C]0.585105104022533[/C][C]0.707447447988734[/C][/ROW]
[ROW][C]23[/C][C]0.222749759648484[/C][C]0.445499519296968[/C][C]0.777250240351516[/C][/ROW]
[ROW][C]24[/C][C]0.261065483784016[/C][C]0.522130967568031[/C][C]0.738934516215984[/C][/ROW]
[ROW][C]25[/C][C]0.341300819726434[/C][C]0.682601639452868[/C][C]0.658699180273566[/C][/ROW]
[ROW][C]26[/C][C]0.265468937446474[/C][C]0.530937874892949[/C][C]0.734531062553526[/C][/ROW]
[ROW][C]27[/C][C]0.618167014735459[/C][C]0.763665970529082[/C][C]0.381832985264541[/C][/ROW]
[ROW][C]28[/C][C]0.843445129927721[/C][C]0.313109740144558[/C][C]0.156554870072279[/C][/ROW]
[ROW][C]29[/C][C]0.805603120991282[/C][C]0.388793758017437[/C][C]0.194396879008718[/C][/ROW]
[ROW][C]30[/C][C]0.827127225245415[/C][C]0.345745549509171[/C][C]0.172872774754585[/C][/ROW]
[ROW][C]31[/C][C]0.78539777793647[/C][C]0.42920444412706[/C][C]0.21460222206353[/C][/ROW]
[ROW][C]32[/C][C]0.763564603413887[/C][C]0.472870793172226[/C][C]0.236435396586113[/C][/ROW]
[ROW][C]33[/C][C]0.812294623365126[/C][C]0.375410753269747[/C][C]0.187705376634874[/C][/ROW]
[ROW][C]34[/C][C]0.871897363038449[/C][C]0.256205273923102[/C][C]0.128102636961551[/C][/ROW]
[ROW][C]35[/C][C]0.849682208629059[/C][C]0.300635582741883[/C][C]0.150317791370941[/C][/ROW]
[ROW][C]36[/C][C]0.877899360706807[/C][C]0.244201278586385[/C][C]0.122100639293193[/C][/ROW]
[ROW][C]37[/C][C]0.823109074944036[/C][C]0.353781850111928[/C][C]0.176890925055964[/C][/ROW]
[ROW][C]38[/C][C]0.752463904054341[/C][C]0.495072191891317[/C][C]0.247536095945659[/C][/ROW]
[ROW][C]39[/C][C]0.665966030948833[/C][C]0.668067938102334[/C][C]0.334033969051167[/C][/ROW]
[ROW][C]40[/C][C]0.560225126371588[/C][C]0.879549747256825[/C][C]0.439774873628412[/C][/ROW]
[ROW][C]41[/C][C]0.551307739080816[/C][C]0.897384521838367[/C][C]0.448692260919184[/C][/ROW]
[ROW][C]42[/C][C]0.398046473457172[/C][C]0.796092946914343[/C][C]0.601953526542828[/C][/ROW]
[ROW][C]43[/C][C]0.325148347509542[/C][C]0.650296695019083[/C][C]0.674851652490458[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25681&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25681&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.2493766708978900.4987533417957810.75062332910211
180.2052712325334610.4105424650669210.794728767466539
190.3393458489658050.678691697931610.660654151034195
200.3220256117730230.6440512235460450.677974388226977
210.2754249959816040.5508499919632080.724575004018396
220.2925525520112660.5851051040225330.707447447988734
230.2227497596484840.4454995192969680.777250240351516
240.2610654837840160.5221309675680310.738934516215984
250.3413008197264340.6826016394528680.658699180273566
260.2654689374464740.5309378748929490.734531062553526
270.6181670147354590.7636659705290820.381832985264541
280.8434451299277210.3131097401445580.156554870072279
290.8056031209912820.3887937580174370.194396879008718
300.8271272252454150.3457455495091710.172872774754585
310.785397777936470.429204444127060.21460222206353
320.7635646034138870.4728707931722260.236435396586113
330.8122946233651260.3754107532697470.187705376634874
340.8718973630384490.2562052739231020.128102636961551
350.8496822086290590.3006355827418830.150317791370941
360.8778993607068070.2442012785863850.122100639293193
370.8231090749440360.3537818501119280.176890925055964
380.7524639040543410.4950721918913170.247536095945659
390.6659660309488330.6680679381023340.334033969051167
400.5602251263715880.8795497472568250.439774873628412
410.5513077390808160.8973845218383670.448692260919184
420.3980464734571720.7960929469143430.601953526542828
430.3251483475095420.6502966950190830.674851652490458







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

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