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, 16 Dec 2009 07:02:04 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Dec/16/t1260972294f8fwe4c5c9rdkaq.htm/, Retrieved Tue, 30 Apr 2024 21:03:12 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=68354, Retrieved Tue, 30 Apr 2024 21:03:12 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact116
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Q1 The Seatbeltlaw] [2007-11-14 19:27:43] [8cd6641b921d30ebe00b648d1481bba0]
- RMPD  [Multiple Regression] [Seatbelt] [2009-11-12 14:03:14] [b98453cac15ba1066b407e146608df68]
-   PD      [Multiple Regression] [] [2009-12-16 14:02:04] [54f12ba6dfaf5b88c7c2745223d9c32f] [Current]
Feedback Forum

Post a new message
Dataseries X:
20366	0
22782	0
19169	0
13807	0
29743	0
25591	0
29096	0
26482	0
22405	0
27044	0
17970	0
18730	0
19684	0
19785	0
18479	0
10698	0
31956	0
29506	0
34506	0
27165	0
26736	0
23691	0
18157	0
17328	0
18205	0
20995	0
17382	0
9367	0
31124	0
26551	0
30651	0
25859	0
25100	0
25778	0
20418	0
18688	0
20424	0
24776	0
19814	0
12738	0
31566	0
30111	0
30019	0
31934	1
25826	1
26835	1
20205	1
17789	1
20520	1
22518	1
15572	1
11509	1
25447	1
24090	1
27786	1
26195	1
20516	1
22759	1
19028	1
16971	1




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

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

As an alternative you can also use a QR Code:  

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

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







Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 18301.5517241379 -1000.87931034482X[t] + 1738.42413793102M1[t] + 4069.82413793103M2[t] -18.1758620689729M3[t] -6477.57586206898M4[t] + 11865.8241379310M5[t] + 9068.42413793104M6[t] + 12310.2241379310M7[t] + 9625.8M8[t] + 6215.4M9[t] + 7320.2M10[t] + 1254.40000000000M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  18301.5517241379 -1000.87931034482X[t] +  1738.42413793102M1[t] +  4069.82413793103M2[t] -18.1758620689729M3[t] -6477.57586206898M4[t] +  11865.8241379310M5[t] +  9068.42413793104M6[t] +  12310.2241379310M7[t] +  9625.8M8[t] +  6215.4M9[t] +  7320.2M10[t] +  1254.40000000000M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=68354&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  18301.5517241379 -1000.87931034482X[t] +  1738.42413793102M1[t] +  4069.82413793103M2[t] -18.1758620689729M3[t] -6477.57586206898M4[t] +  11865.8241379310M5[t] +  9068.42413793104M6[t] +  12310.2241379310M7[t] +  9625.8M8[t] +  6215.4M9[t] +  7320.2M10[t] +  1254.40000000000M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=68354&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=68354&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] = + 18301.5517241379 -1000.87931034482X[t] + 1738.42413793102M1[t] + 4069.82413793103M2[t] -18.1758620689729M3[t] -6477.57586206898M4[t] + 11865.8241379310M5[t] + 9068.42413793104M6[t] + 12310.2241379310M7[t] + 9625.8M8[t] + 6215.4M9[t] + 7320.2M10[t] + 1254.40000000000M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)18301.5517241379915.18169919.997700
X-1000.87931034482581.14096-1.72230.0915970.045798
M11738.424137931021257.2001181.38280.1732690.086634
M24069.824137931031257.2001183.23720.0022160.001108
M3-18.17586206897291257.200118-0.01450.9885260.494263
M4-6477.575862068981257.200118-5.15245e-063e-06
M511865.82413793101257.2001189.438300
M69068.424137931041257.2001187.213200
M712310.22413793101257.2001189.791800
M89625.81251.8159397.689500
M96215.41251.8159394.96519e-065e-06
M107320.21251.8159395.847700
M111254.400000000001251.8159391.00210.3214440.160722

\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) & 18301.5517241379 & 915.181699 & 19.9977 & 0 & 0 \tabularnewline
X & -1000.87931034482 & 581.14096 & -1.7223 & 0.091597 & 0.045798 \tabularnewline
M1 & 1738.42413793102 & 1257.200118 & 1.3828 & 0.173269 & 0.086634 \tabularnewline
M2 & 4069.82413793103 & 1257.200118 & 3.2372 & 0.002216 & 0.001108 \tabularnewline
M3 & -18.1758620689729 & 1257.200118 & -0.0145 & 0.988526 & 0.494263 \tabularnewline
M4 & -6477.57586206898 & 1257.200118 & -5.1524 & 5e-06 & 3e-06 \tabularnewline
M5 & 11865.8241379310 & 1257.200118 & 9.4383 & 0 & 0 \tabularnewline
M6 & 9068.42413793104 & 1257.200118 & 7.2132 & 0 & 0 \tabularnewline
M7 & 12310.2241379310 & 1257.200118 & 9.7918 & 0 & 0 \tabularnewline
M8 & 9625.8 & 1251.815939 & 7.6895 & 0 & 0 \tabularnewline
M9 & 6215.4 & 1251.815939 & 4.9651 & 9e-06 & 5e-06 \tabularnewline
M10 & 7320.2 & 1251.815939 & 5.8477 & 0 & 0 \tabularnewline
M11 & 1254.40000000000 & 1251.815939 & 1.0021 & 0.321444 & 0.160722 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=68354&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]18301.5517241379[/C][C]915.181699[/C][C]19.9977[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]X[/C][C]-1000.87931034482[/C][C]581.14096[/C][C]-1.7223[/C][C]0.091597[/C][C]0.045798[/C][/ROW]
[ROW][C]M1[/C][C]1738.42413793102[/C][C]1257.200118[/C][C]1.3828[/C][C]0.173269[/C][C]0.086634[/C][/ROW]
[ROW][C]M2[/C][C]4069.82413793103[/C][C]1257.200118[/C][C]3.2372[/C][C]0.002216[/C][C]0.001108[/C][/ROW]
[ROW][C]M3[/C][C]-18.1758620689729[/C][C]1257.200118[/C][C]-0.0145[/C][C]0.988526[/C][C]0.494263[/C][/ROW]
[ROW][C]M4[/C][C]-6477.57586206898[/C][C]1257.200118[/C][C]-5.1524[/C][C]5e-06[/C][C]3e-06[/C][/ROW]
[ROW][C]M5[/C][C]11865.8241379310[/C][C]1257.200118[/C][C]9.4383[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M6[/C][C]9068.42413793104[/C][C]1257.200118[/C][C]7.2132[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M7[/C][C]12310.2241379310[/C][C]1257.200118[/C][C]9.7918[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M8[/C][C]9625.8[/C][C]1251.815939[/C][C]7.6895[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M9[/C][C]6215.4[/C][C]1251.815939[/C][C]4.9651[/C][C]9e-06[/C][C]5e-06[/C][/ROW]
[ROW][C]M10[/C][C]7320.2[/C][C]1251.815939[/C][C]5.8477[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M11[/C][C]1254.40000000000[/C][C]1251.815939[/C][C]1.0021[/C][C]0.321444[/C][C]0.160722[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=68354&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=68354&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)18301.5517241379915.18169919.997700
X-1000.87931034482581.14096-1.72230.0915970.045798
M11738.424137931021257.2001181.38280.1732690.086634
M24069.824137931031257.2001183.23720.0022160.001108
M3-18.17586206897291257.200118-0.01450.9885260.494263
M4-6477.575862068981257.200118-5.15245e-063e-06
M511865.82413793101257.2001189.438300
M69068.424137931041257.2001187.213200
M712310.22413793101257.2001189.791800
M89625.81251.8159397.689500
M96215.41251.8159394.96519e-065e-06
M107320.21251.8159395.847700
M111254.400000000001251.8159391.00210.3214440.160722







Multiple Linear Regression - Regression Statistics
Multiple R0.951753185657985
R-squared0.905834126410122
Adjusted R-squared0.881791775706323
F-TEST (value)37.6766039881035
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1979.29478861406
Sum Squared Residuals184127569.431034

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.951753185657985 \tabularnewline
R-squared & 0.905834126410122 \tabularnewline
Adjusted R-squared & 0.881791775706323 \tabularnewline
F-TEST (value) & 37.6766039881035 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 1979.29478861406 \tabularnewline
Sum Squared Residuals & 184127569.431034 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=68354&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.951753185657985[/C][/ROW]
[ROW][C]R-squared[/C][C]0.905834126410122[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.881791775706323[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]37.6766039881035[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]47[/C][/ROW]
[ROW][C]p-value[/C][C]0[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]1979.29478861406[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]184127569.431034[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=68354&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=68354&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.951753185657985
R-squared0.905834126410122
Adjusted R-squared0.881791775706323
F-TEST (value)37.6766039881035
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1979.29478861406
Sum Squared Residuals184127569.431034







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
12036620039.975862069326.024137930996
22278222371.3758620690410.62413793103
31916918283.3758620690885.624137931035
41380711823.97586206901983.02413793103
52974330167.3758620690-424.375862068960
62559127369.9758620689-1778.97586206895
72909630611.775862069-1515.77586206897
82648227927.3517241379-1445.35172413794
92240524516.9517241379-2111.95172413793
102704425621.75172413791422.24827586208
111797019555.9517241379-1585.95172413793
121873018301.5517241379428.448275862066
131968420039.9758620690-355.975862068954
141978522371.3758620690-2586.37586206897
151847918283.3758620690195.624137931036
161069811823.9758620690-1125.97586206896
173195630167.37586206901788.62413793103
182950627369.97586206902136.02413793103
193450630611.77586206903894.22413793104
202716527927.3517241379-762.351724137928
212673624516.95172413792219.04827586207
222369125621.7517241379-1930.75172413793
231815719555.9517241379-1398.95172413793
241732818301.5517241379-973.551724137935
251820520039.9758620690-1834.97586206895
262099522371.3758620690-1376.37586206896
271738218283.3758620690-901.375862068965
28936711823.9758620690-2456.97586206896
293112430167.3758620690956.624137931035
302655127369.975862069-818.97586206897
313065130611.775862069039.2241379310378
322585927927.3517241379-2068.35172413793
332510024516.9517241379583.048275862069
342577825621.7517241379156.248275862067
352041819555.9517241379862.048275862068
361868818301.5517241379386.448275862067
372042420039.9758620690384.024137931045
382477622371.37586206902404.62413793104
391981418283.37586206901530.62413793103
401273811823.9758620690914.024137931036
413156630167.37586206901398.62413793103
423011127369.97586206902741.02413793103
433001930611.7758620690-592.775862068962
443193426926.47241379315007.5275862069
452582623516.07241379312309.9275862069
462683524620.87241379312214.12758620690
472020518555.07241379311649.92758620690
481778917300.6724137931488.327586206894
492052019039.09655172411480.90344827587
502251821370.49655172411147.50344827586
511557217282.4965517241-1710.49655172414
521150910823.0965517241685.903448275864
532544729166.4965517241-3719.49655172414
542409026369.0965517241-2279.09655172415
552778629610.8965517241-1824.89655172414
562619526926.4724137931-731.472413793099
572051623516.0724137931-3000.0724137931
582275924620.8724137931-1861.87241379311
591902818555.0724137931472.927586206896
601697117300.6724137931-329.672413793106

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 20366 & 20039.975862069 & 326.024137930996 \tabularnewline
2 & 22782 & 22371.3758620690 & 410.62413793103 \tabularnewline
3 & 19169 & 18283.3758620690 & 885.624137931035 \tabularnewline
4 & 13807 & 11823.9758620690 & 1983.02413793103 \tabularnewline
5 & 29743 & 30167.3758620690 & -424.375862068960 \tabularnewline
6 & 25591 & 27369.9758620689 & -1778.97586206895 \tabularnewline
7 & 29096 & 30611.775862069 & -1515.77586206897 \tabularnewline
8 & 26482 & 27927.3517241379 & -1445.35172413794 \tabularnewline
9 & 22405 & 24516.9517241379 & -2111.95172413793 \tabularnewline
10 & 27044 & 25621.7517241379 & 1422.24827586208 \tabularnewline
11 & 17970 & 19555.9517241379 & -1585.95172413793 \tabularnewline
12 & 18730 & 18301.5517241379 & 428.448275862066 \tabularnewline
13 & 19684 & 20039.9758620690 & -355.975862068954 \tabularnewline
14 & 19785 & 22371.3758620690 & -2586.37586206897 \tabularnewline
15 & 18479 & 18283.3758620690 & 195.624137931036 \tabularnewline
16 & 10698 & 11823.9758620690 & -1125.97586206896 \tabularnewline
17 & 31956 & 30167.3758620690 & 1788.62413793103 \tabularnewline
18 & 29506 & 27369.9758620690 & 2136.02413793103 \tabularnewline
19 & 34506 & 30611.7758620690 & 3894.22413793104 \tabularnewline
20 & 27165 & 27927.3517241379 & -762.351724137928 \tabularnewline
21 & 26736 & 24516.9517241379 & 2219.04827586207 \tabularnewline
22 & 23691 & 25621.7517241379 & -1930.75172413793 \tabularnewline
23 & 18157 & 19555.9517241379 & -1398.95172413793 \tabularnewline
24 & 17328 & 18301.5517241379 & -973.551724137935 \tabularnewline
25 & 18205 & 20039.9758620690 & -1834.97586206895 \tabularnewline
26 & 20995 & 22371.3758620690 & -1376.37586206896 \tabularnewline
27 & 17382 & 18283.3758620690 & -901.375862068965 \tabularnewline
28 & 9367 & 11823.9758620690 & -2456.97586206896 \tabularnewline
29 & 31124 & 30167.3758620690 & 956.624137931035 \tabularnewline
30 & 26551 & 27369.975862069 & -818.97586206897 \tabularnewline
31 & 30651 & 30611.7758620690 & 39.2241379310378 \tabularnewline
32 & 25859 & 27927.3517241379 & -2068.35172413793 \tabularnewline
33 & 25100 & 24516.9517241379 & 583.048275862069 \tabularnewline
34 & 25778 & 25621.7517241379 & 156.248275862067 \tabularnewline
35 & 20418 & 19555.9517241379 & 862.048275862068 \tabularnewline
36 & 18688 & 18301.5517241379 & 386.448275862067 \tabularnewline
37 & 20424 & 20039.9758620690 & 384.024137931045 \tabularnewline
38 & 24776 & 22371.3758620690 & 2404.62413793104 \tabularnewline
39 & 19814 & 18283.3758620690 & 1530.62413793103 \tabularnewline
40 & 12738 & 11823.9758620690 & 914.024137931036 \tabularnewline
41 & 31566 & 30167.3758620690 & 1398.62413793103 \tabularnewline
42 & 30111 & 27369.9758620690 & 2741.02413793103 \tabularnewline
43 & 30019 & 30611.7758620690 & -592.775862068962 \tabularnewline
44 & 31934 & 26926.4724137931 & 5007.5275862069 \tabularnewline
45 & 25826 & 23516.0724137931 & 2309.9275862069 \tabularnewline
46 & 26835 & 24620.8724137931 & 2214.12758620690 \tabularnewline
47 & 20205 & 18555.0724137931 & 1649.92758620690 \tabularnewline
48 & 17789 & 17300.6724137931 & 488.327586206894 \tabularnewline
49 & 20520 & 19039.0965517241 & 1480.90344827587 \tabularnewline
50 & 22518 & 21370.4965517241 & 1147.50344827586 \tabularnewline
51 & 15572 & 17282.4965517241 & -1710.49655172414 \tabularnewline
52 & 11509 & 10823.0965517241 & 685.903448275864 \tabularnewline
53 & 25447 & 29166.4965517241 & -3719.49655172414 \tabularnewline
54 & 24090 & 26369.0965517241 & -2279.09655172415 \tabularnewline
55 & 27786 & 29610.8965517241 & -1824.89655172414 \tabularnewline
56 & 26195 & 26926.4724137931 & -731.472413793099 \tabularnewline
57 & 20516 & 23516.0724137931 & -3000.0724137931 \tabularnewline
58 & 22759 & 24620.8724137931 & -1861.87241379311 \tabularnewline
59 & 19028 & 18555.0724137931 & 472.927586206896 \tabularnewline
60 & 16971 & 17300.6724137931 & -329.672413793106 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=68354&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]20366[/C][C]20039.975862069[/C][C]326.024137930996[/C][/ROW]
[ROW][C]2[/C][C]22782[/C][C]22371.3758620690[/C][C]410.62413793103[/C][/ROW]
[ROW][C]3[/C][C]19169[/C][C]18283.3758620690[/C][C]885.624137931035[/C][/ROW]
[ROW][C]4[/C][C]13807[/C][C]11823.9758620690[/C][C]1983.02413793103[/C][/ROW]
[ROW][C]5[/C][C]29743[/C][C]30167.3758620690[/C][C]-424.375862068960[/C][/ROW]
[ROW][C]6[/C][C]25591[/C][C]27369.9758620689[/C][C]-1778.97586206895[/C][/ROW]
[ROW][C]7[/C][C]29096[/C][C]30611.775862069[/C][C]-1515.77586206897[/C][/ROW]
[ROW][C]8[/C][C]26482[/C][C]27927.3517241379[/C][C]-1445.35172413794[/C][/ROW]
[ROW][C]9[/C][C]22405[/C][C]24516.9517241379[/C][C]-2111.95172413793[/C][/ROW]
[ROW][C]10[/C][C]27044[/C][C]25621.7517241379[/C][C]1422.24827586208[/C][/ROW]
[ROW][C]11[/C][C]17970[/C][C]19555.9517241379[/C][C]-1585.95172413793[/C][/ROW]
[ROW][C]12[/C][C]18730[/C][C]18301.5517241379[/C][C]428.448275862066[/C][/ROW]
[ROW][C]13[/C][C]19684[/C][C]20039.9758620690[/C][C]-355.975862068954[/C][/ROW]
[ROW][C]14[/C][C]19785[/C][C]22371.3758620690[/C][C]-2586.37586206897[/C][/ROW]
[ROW][C]15[/C][C]18479[/C][C]18283.3758620690[/C][C]195.624137931036[/C][/ROW]
[ROW][C]16[/C][C]10698[/C][C]11823.9758620690[/C][C]-1125.97586206896[/C][/ROW]
[ROW][C]17[/C][C]31956[/C][C]30167.3758620690[/C][C]1788.62413793103[/C][/ROW]
[ROW][C]18[/C][C]29506[/C][C]27369.9758620690[/C][C]2136.02413793103[/C][/ROW]
[ROW][C]19[/C][C]34506[/C][C]30611.7758620690[/C][C]3894.22413793104[/C][/ROW]
[ROW][C]20[/C][C]27165[/C][C]27927.3517241379[/C][C]-762.351724137928[/C][/ROW]
[ROW][C]21[/C][C]26736[/C][C]24516.9517241379[/C][C]2219.04827586207[/C][/ROW]
[ROW][C]22[/C][C]23691[/C][C]25621.7517241379[/C][C]-1930.75172413793[/C][/ROW]
[ROW][C]23[/C][C]18157[/C][C]19555.9517241379[/C][C]-1398.95172413793[/C][/ROW]
[ROW][C]24[/C][C]17328[/C][C]18301.5517241379[/C][C]-973.551724137935[/C][/ROW]
[ROW][C]25[/C][C]18205[/C][C]20039.9758620690[/C][C]-1834.97586206895[/C][/ROW]
[ROW][C]26[/C][C]20995[/C][C]22371.3758620690[/C][C]-1376.37586206896[/C][/ROW]
[ROW][C]27[/C][C]17382[/C][C]18283.3758620690[/C][C]-901.375862068965[/C][/ROW]
[ROW][C]28[/C][C]9367[/C][C]11823.9758620690[/C][C]-2456.97586206896[/C][/ROW]
[ROW][C]29[/C][C]31124[/C][C]30167.3758620690[/C][C]956.624137931035[/C][/ROW]
[ROW][C]30[/C][C]26551[/C][C]27369.975862069[/C][C]-818.97586206897[/C][/ROW]
[ROW][C]31[/C][C]30651[/C][C]30611.7758620690[/C][C]39.2241379310378[/C][/ROW]
[ROW][C]32[/C][C]25859[/C][C]27927.3517241379[/C][C]-2068.35172413793[/C][/ROW]
[ROW][C]33[/C][C]25100[/C][C]24516.9517241379[/C][C]583.048275862069[/C][/ROW]
[ROW][C]34[/C][C]25778[/C][C]25621.7517241379[/C][C]156.248275862067[/C][/ROW]
[ROW][C]35[/C][C]20418[/C][C]19555.9517241379[/C][C]862.048275862068[/C][/ROW]
[ROW][C]36[/C][C]18688[/C][C]18301.5517241379[/C][C]386.448275862067[/C][/ROW]
[ROW][C]37[/C][C]20424[/C][C]20039.9758620690[/C][C]384.024137931045[/C][/ROW]
[ROW][C]38[/C][C]24776[/C][C]22371.3758620690[/C][C]2404.62413793104[/C][/ROW]
[ROW][C]39[/C][C]19814[/C][C]18283.3758620690[/C][C]1530.62413793103[/C][/ROW]
[ROW][C]40[/C][C]12738[/C][C]11823.9758620690[/C][C]914.024137931036[/C][/ROW]
[ROW][C]41[/C][C]31566[/C][C]30167.3758620690[/C][C]1398.62413793103[/C][/ROW]
[ROW][C]42[/C][C]30111[/C][C]27369.9758620690[/C][C]2741.02413793103[/C][/ROW]
[ROW][C]43[/C][C]30019[/C][C]30611.7758620690[/C][C]-592.775862068962[/C][/ROW]
[ROW][C]44[/C][C]31934[/C][C]26926.4724137931[/C][C]5007.5275862069[/C][/ROW]
[ROW][C]45[/C][C]25826[/C][C]23516.0724137931[/C][C]2309.9275862069[/C][/ROW]
[ROW][C]46[/C][C]26835[/C][C]24620.8724137931[/C][C]2214.12758620690[/C][/ROW]
[ROW][C]47[/C][C]20205[/C][C]18555.0724137931[/C][C]1649.92758620690[/C][/ROW]
[ROW][C]48[/C][C]17789[/C][C]17300.6724137931[/C][C]488.327586206894[/C][/ROW]
[ROW][C]49[/C][C]20520[/C][C]19039.0965517241[/C][C]1480.90344827587[/C][/ROW]
[ROW][C]50[/C][C]22518[/C][C]21370.4965517241[/C][C]1147.50344827586[/C][/ROW]
[ROW][C]51[/C][C]15572[/C][C]17282.4965517241[/C][C]-1710.49655172414[/C][/ROW]
[ROW][C]52[/C][C]11509[/C][C]10823.0965517241[/C][C]685.903448275864[/C][/ROW]
[ROW][C]53[/C][C]25447[/C][C]29166.4965517241[/C][C]-3719.49655172414[/C][/ROW]
[ROW][C]54[/C][C]24090[/C][C]26369.0965517241[/C][C]-2279.09655172415[/C][/ROW]
[ROW][C]55[/C][C]27786[/C][C]29610.8965517241[/C][C]-1824.89655172414[/C][/ROW]
[ROW][C]56[/C][C]26195[/C][C]26926.4724137931[/C][C]-731.472413793099[/C][/ROW]
[ROW][C]57[/C][C]20516[/C][C]23516.0724137931[/C][C]-3000.0724137931[/C][/ROW]
[ROW][C]58[/C][C]22759[/C][C]24620.8724137931[/C][C]-1861.87241379311[/C][/ROW]
[ROW][C]59[/C][C]19028[/C][C]18555.0724137931[/C][C]472.927586206896[/C][/ROW]
[ROW][C]60[/C][C]16971[/C][C]17300.6724137931[/C][C]-329.672413793106[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=68354&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=68354&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
12036620039.975862069326.024137930996
22278222371.3758620690410.62413793103
31916918283.3758620690885.624137931035
41380711823.97586206901983.02413793103
52974330167.3758620690-424.375862068960
62559127369.9758620689-1778.97586206895
72909630611.775862069-1515.77586206897
82648227927.3517241379-1445.35172413794
92240524516.9517241379-2111.95172413793
102704425621.75172413791422.24827586208
111797019555.9517241379-1585.95172413793
121873018301.5517241379428.448275862066
131968420039.9758620690-355.975862068954
141978522371.3758620690-2586.37586206897
151847918283.3758620690195.624137931036
161069811823.9758620690-1125.97586206896
173195630167.37586206901788.62413793103
182950627369.97586206902136.02413793103
193450630611.77586206903894.22413793104
202716527927.3517241379-762.351724137928
212673624516.95172413792219.04827586207
222369125621.7517241379-1930.75172413793
231815719555.9517241379-1398.95172413793
241732818301.5517241379-973.551724137935
251820520039.9758620690-1834.97586206895
262099522371.3758620690-1376.37586206896
271738218283.3758620690-901.375862068965
28936711823.9758620690-2456.97586206896
293112430167.3758620690956.624137931035
302655127369.975862069-818.97586206897
313065130611.775862069039.2241379310378
322585927927.3517241379-2068.35172413793
332510024516.9517241379583.048275862069
342577825621.7517241379156.248275862067
352041819555.9517241379862.048275862068
361868818301.5517241379386.448275862067
372042420039.9758620690384.024137931045
382477622371.37586206902404.62413793104
391981418283.37586206901530.62413793103
401273811823.9758620690914.024137931036
413156630167.37586206901398.62413793103
423011127369.97586206902741.02413793103
433001930611.7758620690-592.775862068962
443193426926.47241379315007.5275862069
452582623516.07241379312309.9275862069
462683524620.87241379312214.12758620690
472020518555.07241379311649.92758620690
481778917300.6724137931488.327586206894
492052019039.09655172411480.90344827587
502251821370.49655172411147.50344827586
511557217282.4965517241-1710.49655172414
521150910823.0965517241685.903448275864
532544729166.4965517241-3719.49655172414
542409026369.0965517241-2279.09655172415
552778629610.8965517241-1824.89655172414
562619526926.4724137931-731.472413793099
572051623516.0724137931-3000.0724137931
582275924620.8724137931-1861.87241379311
591902818555.0724137931472.927586206896
601697117300.6724137931-329.672413793106







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.4342153707574910.8684307415149820.565784629242509
170.3620343452649230.7240686905298460.637965654735077
180.4582749525991640.9165499051983290.541725047400836
190.7122778366764020.5754443266471960.287722163323598
200.6096846595074020.7806306809851960.390315340492598
210.6709055127084720.6581889745830560.329094487291528
220.6651794591411950.669641081717610.334820540858805
230.5907932575653730.8184134848692540.409206742434627
240.508083853045240.983832293909520.49191614695476
250.4777645043045050.955529008609010.522235495695495
260.4369283456131330.8738566912262660.563071654386867
270.3646944414752420.7293888829504840.635305558524758
280.417189559250580.834379118501160.58281044074942
290.3406257718319030.6812515436638070.659374228168097
300.2729859907928430.5459719815856870.727014009207157
310.2084709001560620.4169418003121240.791529099843938
320.3018243573950610.6036487147901220.698175642604939
330.2238208357247830.4476416714495670.776179164275217
340.1687172939835730.3374345879671460.831282706016427
350.1546391803343030.3092783606686070.845360819665697
360.1150156736539420.2300313473078840.884984326346058
370.1122962931174080.2245925862348160.887703706882592
380.1201535894615570.2403071789231150.879846410538443
390.07944118254924060.1588823650984810.92055881745076
400.07114103935205180.1422820787041040.928858960647948
410.04427138764176160.08854277528352320.955728612358238
420.04196027894081370.08392055788162740.958039721059186
430.02094829678908960.04189659357817920.97905170321091
440.05957784888221260.1191556977644250.940422151117787

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.434215370757491 & 0.868430741514982 & 0.565784629242509 \tabularnewline
17 & 0.362034345264923 & 0.724068690529846 & 0.637965654735077 \tabularnewline
18 & 0.458274952599164 & 0.916549905198329 & 0.541725047400836 \tabularnewline
19 & 0.712277836676402 & 0.575444326647196 & 0.287722163323598 \tabularnewline
20 & 0.609684659507402 & 0.780630680985196 & 0.390315340492598 \tabularnewline
21 & 0.670905512708472 & 0.658188974583056 & 0.329094487291528 \tabularnewline
22 & 0.665179459141195 & 0.66964108171761 & 0.334820540858805 \tabularnewline
23 & 0.590793257565373 & 0.818413484869254 & 0.409206742434627 \tabularnewline
24 & 0.50808385304524 & 0.98383229390952 & 0.49191614695476 \tabularnewline
25 & 0.477764504304505 & 0.95552900860901 & 0.522235495695495 \tabularnewline
26 & 0.436928345613133 & 0.873856691226266 & 0.563071654386867 \tabularnewline
27 & 0.364694441475242 & 0.729388882950484 & 0.635305558524758 \tabularnewline
28 & 0.41718955925058 & 0.83437911850116 & 0.58281044074942 \tabularnewline
29 & 0.340625771831903 & 0.681251543663807 & 0.659374228168097 \tabularnewline
30 & 0.272985990792843 & 0.545971981585687 & 0.727014009207157 \tabularnewline
31 & 0.208470900156062 & 0.416941800312124 & 0.791529099843938 \tabularnewline
32 & 0.301824357395061 & 0.603648714790122 & 0.698175642604939 \tabularnewline
33 & 0.223820835724783 & 0.447641671449567 & 0.776179164275217 \tabularnewline
34 & 0.168717293983573 & 0.337434587967146 & 0.831282706016427 \tabularnewline
35 & 0.154639180334303 & 0.309278360668607 & 0.845360819665697 \tabularnewline
36 & 0.115015673653942 & 0.230031347307884 & 0.884984326346058 \tabularnewline
37 & 0.112296293117408 & 0.224592586234816 & 0.887703706882592 \tabularnewline
38 & 0.120153589461557 & 0.240307178923115 & 0.879846410538443 \tabularnewline
39 & 0.0794411825492406 & 0.158882365098481 & 0.92055881745076 \tabularnewline
40 & 0.0711410393520518 & 0.142282078704104 & 0.928858960647948 \tabularnewline
41 & 0.0442713876417616 & 0.0885427752835232 & 0.955728612358238 \tabularnewline
42 & 0.0419602789408137 & 0.0839205578816274 & 0.958039721059186 \tabularnewline
43 & 0.0209482967890896 & 0.0418965935781792 & 0.97905170321091 \tabularnewline
44 & 0.0595778488822126 & 0.119155697764425 & 0.940422151117787 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=68354&T=5

[TABLE]
[ROW][C]Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]p-values[/C][C]Alternative Hypothesis[/C][/ROW]
[ROW][C]breakpoint index[/C][C]greater[/C][C]2-sided[/C][C]less[/C][/ROW]
[ROW][C]16[/C][C]0.434215370757491[/C][C]0.868430741514982[/C][C]0.565784629242509[/C][/ROW]
[ROW][C]17[/C][C]0.362034345264923[/C][C]0.724068690529846[/C][C]0.637965654735077[/C][/ROW]
[ROW][C]18[/C][C]0.458274952599164[/C][C]0.916549905198329[/C][C]0.541725047400836[/C][/ROW]
[ROW][C]19[/C][C]0.712277836676402[/C][C]0.575444326647196[/C][C]0.287722163323598[/C][/ROW]
[ROW][C]20[/C][C]0.609684659507402[/C][C]0.780630680985196[/C][C]0.390315340492598[/C][/ROW]
[ROW][C]21[/C][C]0.670905512708472[/C][C]0.658188974583056[/C][C]0.329094487291528[/C][/ROW]
[ROW][C]22[/C][C]0.665179459141195[/C][C]0.66964108171761[/C][C]0.334820540858805[/C][/ROW]
[ROW][C]23[/C][C]0.590793257565373[/C][C]0.818413484869254[/C][C]0.409206742434627[/C][/ROW]
[ROW][C]24[/C][C]0.50808385304524[/C][C]0.98383229390952[/C][C]0.49191614695476[/C][/ROW]
[ROW][C]25[/C][C]0.477764504304505[/C][C]0.95552900860901[/C][C]0.522235495695495[/C][/ROW]
[ROW][C]26[/C][C]0.436928345613133[/C][C]0.873856691226266[/C][C]0.563071654386867[/C][/ROW]
[ROW][C]27[/C][C]0.364694441475242[/C][C]0.729388882950484[/C][C]0.635305558524758[/C][/ROW]
[ROW][C]28[/C][C]0.41718955925058[/C][C]0.83437911850116[/C][C]0.58281044074942[/C][/ROW]
[ROW][C]29[/C][C]0.340625771831903[/C][C]0.681251543663807[/C][C]0.659374228168097[/C][/ROW]
[ROW][C]30[/C][C]0.272985990792843[/C][C]0.545971981585687[/C][C]0.727014009207157[/C][/ROW]
[ROW][C]31[/C][C]0.208470900156062[/C][C]0.416941800312124[/C][C]0.791529099843938[/C][/ROW]
[ROW][C]32[/C][C]0.301824357395061[/C][C]0.603648714790122[/C][C]0.698175642604939[/C][/ROW]
[ROW][C]33[/C][C]0.223820835724783[/C][C]0.447641671449567[/C][C]0.776179164275217[/C][/ROW]
[ROW][C]34[/C][C]0.168717293983573[/C][C]0.337434587967146[/C][C]0.831282706016427[/C][/ROW]
[ROW][C]35[/C][C]0.154639180334303[/C][C]0.309278360668607[/C][C]0.845360819665697[/C][/ROW]
[ROW][C]36[/C][C]0.115015673653942[/C][C]0.230031347307884[/C][C]0.884984326346058[/C][/ROW]
[ROW][C]37[/C][C]0.112296293117408[/C][C]0.224592586234816[/C][C]0.887703706882592[/C][/ROW]
[ROW][C]38[/C][C]0.120153589461557[/C][C]0.240307178923115[/C][C]0.879846410538443[/C][/ROW]
[ROW][C]39[/C][C]0.0794411825492406[/C][C]0.158882365098481[/C][C]0.92055881745076[/C][/ROW]
[ROW][C]40[/C][C]0.0711410393520518[/C][C]0.142282078704104[/C][C]0.928858960647948[/C][/ROW]
[ROW][C]41[/C][C]0.0442713876417616[/C][C]0.0885427752835232[/C][C]0.955728612358238[/C][/ROW]
[ROW][C]42[/C][C]0.0419602789408137[/C][C]0.0839205578816274[/C][C]0.958039721059186[/C][/ROW]
[ROW][C]43[/C][C]0.0209482967890896[/C][C]0.0418965935781792[/C][C]0.97905170321091[/C][/ROW]
[ROW][C]44[/C][C]0.0595778488822126[/C][C]0.119155697764425[/C][C]0.940422151117787[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=68354&T=5

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

As an alternative you can also use a QR Code:  

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

Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.4342153707574910.8684307415149820.565784629242509
170.3620343452649230.7240686905298460.637965654735077
180.4582749525991640.9165499051983290.541725047400836
190.7122778366764020.5754443266471960.287722163323598
200.6096846595074020.7806306809851960.390315340492598
210.6709055127084720.6581889745830560.329094487291528
220.6651794591411950.669641081717610.334820540858805
230.5907932575653730.8184134848692540.409206742434627
240.508083853045240.983832293909520.49191614695476
250.4777645043045050.955529008609010.522235495695495
260.4369283456131330.8738566912262660.563071654386867
270.3646944414752420.7293888829504840.635305558524758
280.417189559250580.834379118501160.58281044074942
290.3406257718319030.6812515436638070.659374228168097
300.2729859907928430.5459719815856870.727014009207157
310.2084709001560620.4169418003121240.791529099843938
320.3018243573950610.6036487147901220.698175642604939
330.2238208357247830.4476416714495670.776179164275217
340.1687172939835730.3374345879671460.831282706016427
350.1546391803343030.3092783606686070.845360819665697
360.1150156736539420.2300313473078840.884984326346058
370.1122962931174080.2245925862348160.887703706882592
380.1201535894615570.2403071789231150.879846410538443
390.07944118254924060.1588823650984810.92055881745076
400.07114103935205180.1422820787041040.928858960647948
410.04427138764176160.08854277528352320.955728612358238
420.04196027894081370.08392055788162740.958039721059186
430.02094829678908960.04189659357817920.97905170321091
440.05957784888221260.1191556977644250.940422151117787







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

\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 & 1 & 0.0344827586206897 & OK \tabularnewline
10% type I error level & 3 & 0.103448275862069 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=68354&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]1[/C][C]0.0344827586206897[/C][C]OK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]3[/C][C]0.103448275862069[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=68354&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=68354&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 level10.0344827586206897OK
10% type I error level30.103448275862069NOK



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