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 computationSat, 21 Nov 2009 00:09:30 -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/Nov/21/t1258787455l3834w12dqw09no.htm/, Retrieved Sat, 27 Apr 2024 23:28:43 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=58509, Retrieved Sat, 27 Apr 2024 23:28:43 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact178
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [WS 7 Multiple Reg...] [2009-11-21 07:09:30] [762da55b2e2304daaed24a7cc507d14d] [Current]
Feedback Forum

Post a new message
Dataseries X:
83.4	108.8
113.6	128.4
112.9	121.1
104	119.5
109.9	128.7
99	108.7
106.3	105.5
128.9	119.8
111.1	111.3
102.9	110.6
130	120.1
87	97.5
87.5	107.7
117.6	127.3
103.4	117.2
110.8	119.8
112.6	116.2
102.5	111
112.4	112.4
135.6	130.6
105.1	109.1
127.7	118.8
137	123.9
91	101.6
90.5	112.8
122.4	128
123.3	129.6
124.3	125.8
120	119.5
118.1	115.7
119	113.6
142.7	129.7
123.6	112
129.6	116.8
151.6	127
110.4	112.1
99.2	114.2
130.5	121.1
136.2	131.6
129.7	125
128	120.4
121.6	117.7
135.8	117.5
143.8	120.6
147.5	127.5
136.2	112.3
156.6	124.5
123.3	115.2
104.5	104.7
139.8	130.9
136.5	129.2
112.1	113.5
118.5	125.6
94.4	107.6
102.3	107
111.4	121.6
99.2	110.7
87.8	106.3
115.8	118.6
79.7	104.6




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time8 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 & 8 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58509&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]8 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=58509&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58509&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 time8 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135







Multiple Linear Regression - Estimated Regression Equation
inv[t] = -68.9708525393686 + 1.58049859530267cons[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
inv[t] =  -68.9708525393686 +  1.58049859530267cons[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58509&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]inv[t] =  -68.9708525393686 +  1.58049859530267cons[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58509&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58509&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
inv[t] = -68.9708525393686 + 1.58049859530267cons[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)-68.970852539368622.08574-3.12290.0027930.001397
cons1.580498595302670.18768.424800

\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) & -68.9708525393686 & 22.08574 & -3.1229 & 0.002793 & 0.001397 \tabularnewline
cons & 1.58049859530267 & 0.1876 & 8.4248 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58509&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]-68.9708525393686[/C][C]22.08574[/C][C]-3.1229[/C][C]0.002793[/C][C]0.001397[/C][/ROW]
[ROW][C]cons[/C][C]1.58049859530267[/C][C]0.1876[/C][C]8.4248[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58509&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58509&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)-68.970852539368622.08574-3.12290.0027930.001397
cons1.580498595302670.18768.424800







Multiple Linear Regression - Regression Statistics
Multiple R0.741829610929678
R-squared0.550311171652077
Adjusted R-squared0.542557915990906
F-TEST (value)70.978076269054
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value1.19335652470909e-11
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation12.0632206961269
Sum Squared Residuals8440.23502668097

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.741829610929678 \tabularnewline
R-squared & 0.550311171652077 \tabularnewline
Adjusted R-squared & 0.542557915990906 \tabularnewline
F-TEST (value) & 70.978076269054 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 58 \tabularnewline
p-value & 1.19335652470909e-11 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 12.0632206961269 \tabularnewline
Sum Squared Residuals & 8440.23502668097 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58509&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.741829610929678[/C][/ROW]
[ROW][C]R-squared[/C][C]0.550311171652077[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.542557915990906[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]70.978076269054[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]1[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]58[/C][/ROW]
[ROW][C]p-value[/C][C]1.19335652470909e-11[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]12.0632206961269[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]8440.23502668097[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58509&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58509&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.741829610929678
R-squared0.550311171652077
Adjusted R-squared0.542557915990906
F-TEST (value)70.978076269054
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value1.19335652470909e-11
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation12.0632206961269
Sum Squared Residuals8440.23502668097







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
183.4102.987394629562-19.5873946295617
2113.6133.965167097494-20.3651670974937
3112.9122.427527351784-9.52752735178425
4104119.8987295993-15.8987295993
5109.9134.439316676085-24.5393166760845
699102.829344770031-3.82934477003122
7106.397.77174926506278.5282507349373
8128.9120.3728791778918.52712082210921
9111.1106.9386411178184.16135888218185
10102.9105.832292101106-2.93229210110627
11130120.8470287564829.1529712435184
128785.12776050264141.87223949735863
1387.5101.248846174729-13.7488461747286
14117.6132.226618642661-14.6266186426608
15103.4116.263582830104-12.8635828301039
16110.8120.372879177891-9.5728791778908
17112.6114.683084234801-2.08308423480122
18102.5106.464491539227-3.96449153922735
19112.4108.6771895726513.72281042734892
20135.6137.442264007160-1.84226400715958
21105.1103.4615442081521.63845579184772
22127.7118.7923805825888.90761941741187
23137126.85292341863210.1470765813683
249191.6078047433823-0.607804743382288
2590.5109.309389010772-18.8093890107721
26122.4133.332967659373-10.9329676593727
27123.3135.861765411857-12.5617654118569
28124.3129.855870749707-5.55587074970679
29120119.89872959930.101270400699997
30118.1113.8928349371504.20716506285011
31119110.5737878870148.42621211298573
32142.7136.0198152713876.68018472861282
33123.6108.0449901345315.5550098654700
34129.6115.63138339198313.9686166080172
35151.6131.7524690640719.84753093593
36110.4108.2030399940602.19696000593973
3799.2111.522087044196-12.3220870441959
38130.5122.4275273517848.07247264821574
39136.2139.022762602462-2.82276260246225
40129.7128.5914718734651.10852812653533
41128121.3211783350726.67882166492759
42121.6117.0538321277554.54616787224478
43135.8116.73773240869519.0622675913053
44143.8121.63727805413322.1627219458671
45147.5132.54271836172114.9572816382787
46136.2108.51913971312127.6808602868792
47156.6127.80122257581328.7987774241867
48123.3113.10258563949910.1974143605014
49104.596.50735038882067.99264961117944
50139.8137.9164135857501.88358641424962
51136.5135.2295659737361.27043402626416
52112.1110.4157380274841.68426197251598
53118.5129.539771030646-11.0397710306463
5494.4101.090796315198-6.69079631519827
55102.3100.1424971580172.15750284198331
56111.4123.217776649436-11.8177766494356
5799.2105.990341960637-6.79034196063655
5887.899.0361481413048-11.2361481413048
59115.8118.476280863528-2.6762808635276
6079.796.3493005292903-16.6493005292903

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 83.4 & 102.987394629562 & -19.5873946295617 \tabularnewline
2 & 113.6 & 133.965167097494 & -20.3651670974937 \tabularnewline
3 & 112.9 & 122.427527351784 & -9.52752735178425 \tabularnewline
4 & 104 & 119.8987295993 & -15.8987295993 \tabularnewline
5 & 109.9 & 134.439316676085 & -24.5393166760845 \tabularnewline
6 & 99 & 102.829344770031 & -3.82934477003122 \tabularnewline
7 & 106.3 & 97.7717492650627 & 8.5282507349373 \tabularnewline
8 & 128.9 & 120.372879177891 & 8.52712082210921 \tabularnewline
9 & 111.1 & 106.938641117818 & 4.16135888218185 \tabularnewline
10 & 102.9 & 105.832292101106 & -2.93229210110627 \tabularnewline
11 & 130 & 120.847028756482 & 9.1529712435184 \tabularnewline
12 & 87 & 85.1277605026414 & 1.87223949735863 \tabularnewline
13 & 87.5 & 101.248846174729 & -13.7488461747286 \tabularnewline
14 & 117.6 & 132.226618642661 & -14.6266186426608 \tabularnewline
15 & 103.4 & 116.263582830104 & -12.8635828301039 \tabularnewline
16 & 110.8 & 120.372879177891 & -9.5728791778908 \tabularnewline
17 & 112.6 & 114.683084234801 & -2.08308423480122 \tabularnewline
18 & 102.5 & 106.464491539227 & -3.96449153922735 \tabularnewline
19 & 112.4 & 108.677189572651 & 3.72281042734892 \tabularnewline
20 & 135.6 & 137.442264007160 & -1.84226400715958 \tabularnewline
21 & 105.1 & 103.461544208152 & 1.63845579184772 \tabularnewline
22 & 127.7 & 118.792380582588 & 8.90761941741187 \tabularnewline
23 & 137 & 126.852923418632 & 10.1470765813683 \tabularnewline
24 & 91 & 91.6078047433823 & -0.607804743382288 \tabularnewline
25 & 90.5 & 109.309389010772 & -18.8093890107721 \tabularnewline
26 & 122.4 & 133.332967659373 & -10.9329676593727 \tabularnewline
27 & 123.3 & 135.861765411857 & -12.5617654118569 \tabularnewline
28 & 124.3 & 129.855870749707 & -5.55587074970679 \tabularnewline
29 & 120 & 119.8987295993 & 0.101270400699997 \tabularnewline
30 & 118.1 & 113.892834937150 & 4.20716506285011 \tabularnewline
31 & 119 & 110.573787887014 & 8.42621211298573 \tabularnewline
32 & 142.7 & 136.019815271387 & 6.68018472861282 \tabularnewline
33 & 123.6 & 108.04499013453 & 15.5550098654700 \tabularnewline
34 & 129.6 & 115.631383391983 & 13.9686166080172 \tabularnewline
35 & 151.6 & 131.75246906407 & 19.84753093593 \tabularnewline
36 & 110.4 & 108.203039994060 & 2.19696000593973 \tabularnewline
37 & 99.2 & 111.522087044196 & -12.3220870441959 \tabularnewline
38 & 130.5 & 122.427527351784 & 8.07247264821574 \tabularnewline
39 & 136.2 & 139.022762602462 & -2.82276260246225 \tabularnewline
40 & 129.7 & 128.591471873465 & 1.10852812653533 \tabularnewline
41 & 128 & 121.321178335072 & 6.67882166492759 \tabularnewline
42 & 121.6 & 117.053832127755 & 4.54616787224478 \tabularnewline
43 & 135.8 & 116.737732408695 & 19.0622675913053 \tabularnewline
44 & 143.8 & 121.637278054133 & 22.1627219458671 \tabularnewline
45 & 147.5 & 132.542718361721 & 14.9572816382787 \tabularnewline
46 & 136.2 & 108.519139713121 & 27.6808602868792 \tabularnewline
47 & 156.6 & 127.801222575813 & 28.7987774241867 \tabularnewline
48 & 123.3 & 113.102585639499 & 10.1974143605014 \tabularnewline
49 & 104.5 & 96.5073503888206 & 7.99264961117944 \tabularnewline
50 & 139.8 & 137.916413585750 & 1.88358641424962 \tabularnewline
51 & 136.5 & 135.229565973736 & 1.27043402626416 \tabularnewline
52 & 112.1 & 110.415738027484 & 1.68426197251598 \tabularnewline
53 & 118.5 & 129.539771030646 & -11.0397710306463 \tabularnewline
54 & 94.4 & 101.090796315198 & -6.69079631519827 \tabularnewline
55 & 102.3 & 100.142497158017 & 2.15750284198331 \tabularnewline
56 & 111.4 & 123.217776649436 & -11.8177766494356 \tabularnewline
57 & 99.2 & 105.990341960637 & -6.79034196063655 \tabularnewline
58 & 87.8 & 99.0361481413048 & -11.2361481413048 \tabularnewline
59 & 115.8 & 118.476280863528 & -2.6762808635276 \tabularnewline
60 & 79.7 & 96.3493005292903 & -16.6493005292903 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58509&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]83.4[/C][C]102.987394629562[/C][C]-19.5873946295617[/C][/ROW]
[ROW][C]2[/C][C]113.6[/C][C]133.965167097494[/C][C]-20.3651670974937[/C][/ROW]
[ROW][C]3[/C][C]112.9[/C][C]122.427527351784[/C][C]-9.52752735178425[/C][/ROW]
[ROW][C]4[/C][C]104[/C][C]119.8987295993[/C][C]-15.8987295993[/C][/ROW]
[ROW][C]5[/C][C]109.9[/C][C]134.439316676085[/C][C]-24.5393166760845[/C][/ROW]
[ROW][C]6[/C][C]99[/C][C]102.829344770031[/C][C]-3.82934477003122[/C][/ROW]
[ROW][C]7[/C][C]106.3[/C][C]97.7717492650627[/C][C]8.5282507349373[/C][/ROW]
[ROW][C]8[/C][C]128.9[/C][C]120.372879177891[/C][C]8.52712082210921[/C][/ROW]
[ROW][C]9[/C][C]111.1[/C][C]106.938641117818[/C][C]4.16135888218185[/C][/ROW]
[ROW][C]10[/C][C]102.9[/C][C]105.832292101106[/C][C]-2.93229210110627[/C][/ROW]
[ROW][C]11[/C][C]130[/C][C]120.847028756482[/C][C]9.1529712435184[/C][/ROW]
[ROW][C]12[/C][C]87[/C][C]85.1277605026414[/C][C]1.87223949735863[/C][/ROW]
[ROW][C]13[/C][C]87.5[/C][C]101.248846174729[/C][C]-13.7488461747286[/C][/ROW]
[ROW][C]14[/C][C]117.6[/C][C]132.226618642661[/C][C]-14.6266186426608[/C][/ROW]
[ROW][C]15[/C][C]103.4[/C][C]116.263582830104[/C][C]-12.8635828301039[/C][/ROW]
[ROW][C]16[/C][C]110.8[/C][C]120.372879177891[/C][C]-9.5728791778908[/C][/ROW]
[ROW][C]17[/C][C]112.6[/C][C]114.683084234801[/C][C]-2.08308423480122[/C][/ROW]
[ROW][C]18[/C][C]102.5[/C][C]106.464491539227[/C][C]-3.96449153922735[/C][/ROW]
[ROW][C]19[/C][C]112.4[/C][C]108.677189572651[/C][C]3.72281042734892[/C][/ROW]
[ROW][C]20[/C][C]135.6[/C][C]137.442264007160[/C][C]-1.84226400715958[/C][/ROW]
[ROW][C]21[/C][C]105.1[/C][C]103.461544208152[/C][C]1.63845579184772[/C][/ROW]
[ROW][C]22[/C][C]127.7[/C][C]118.792380582588[/C][C]8.90761941741187[/C][/ROW]
[ROW][C]23[/C][C]137[/C][C]126.852923418632[/C][C]10.1470765813683[/C][/ROW]
[ROW][C]24[/C][C]91[/C][C]91.6078047433823[/C][C]-0.607804743382288[/C][/ROW]
[ROW][C]25[/C][C]90.5[/C][C]109.309389010772[/C][C]-18.8093890107721[/C][/ROW]
[ROW][C]26[/C][C]122.4[/C][C]133.332967659373[/C][C]-10.9329676593727[/C][/ROW]
[ROW][C]27[/C][C]123.3[/C][C]135.861765411857[/C][C]-12.5617654118569[/C][/ROW]
[ROW][C]28[/C][C]124.3[/C][C]129.855870749707[/C][C]-5.55587074970679[/C][/ROW]
[ROW][C]29[/C][C]120[/C][C]119.8987295993[/C][C]0.101270400699997[/C][/ROW]
[ROW][C]30[/C][C]118.1[/C][C]113.892834937150[/C][C]4.20716506285011[/C][/ROW]
[ROW][C]31[/C][C]119[/C][C]110.573787887014[/C][C]8.42621211298573[/C][/ROW]
[ROW][C]32[/C][C]142.7[/C][C]136.019815271387[/C][C]6.68018472861282[/C][/ROW]
[ROW][C]33[/C][C]123.6[/C][C]108.04499013453[/C][C]15.5550098654700[/C][/ROW]
[ROW][C]34[/C][C]129.6[/C][C]115.631383391983[/C][C]13.9686166080172[/C][/ROW]
[ROW][C]35[/C][C]151.6[/C][C]131.75246906407[/C][C]19.84753093593[/C][/ROW]
[ROW][C]36[/C][C]110.4[/C][C]108.203039994060[/C][C]2.19696000593973[/C][/ROW]
[ROW][C]37[/C][C]99.2[/C][C]111.522087044196[/C][C]-12.3220870441959[/C][/ROW]
[ROW][C]38[/C][C]130.5[/C][C]122.427527351784[/C][C]8.07247264821574[/C][/ROW]
[ROW][C]39[/C][C]136.2[/C][C]139.022762602462[/C][C]-2.82276260246225[/C][/ROW]
[ROW][C]40[/C][C]129.7[/C][C]128.591471873465[/C][C]1.10852812653533[/C][/ROW]
[ROW][C]41[/C][C]128[/C][C]121.321178335072[/C][C]6.67882166492759[/C][/ROW]
[ROW][C]42[/C][C]121.6[/C][C]117.053832127755[/C][C]4.54616787224478[/C][/ROW]
[ROW][C]43[/C][C]135.8[/C][C]116.737732408695[/C][C]19.0622675913053[/C][/ROW]
[ROW][C]44[/C][C]143.8[/C][C]121.637278054133[/C][C]22.1627219458671[/C][/ROW]
[ROW][C]45[/C][C]147.5[/C][C]132.542718361721[/C][C]14.9572816382787[/C][/ROW]
[ROW][C]46[/C][C]136.2[/C][C]108.519139713121[/C][C]27.6808602868792[/C][/ROW]
[ROW][C]47[/C][C]156.6[/C][C]127.801222575813[/C][C]28.7987774241867[/C][/ROW]
[ROW][C]48[/C][C]123.3[/C][C]113.102585639499[/C][C]10.1974143605014[/C][/ROW]
[ROW][C]49[/C][C]104.5[/C][C]96.5073503888206[/C][C]7.99264961117944[/C][/ROW]
[ROW][C]50[/C][C]139.8[/C][C]137.916413585750[/C][C]1.88358641424962[/C][/ROW]
[ROW][C]51[/C][C]136.5[/C][C]135.229565973736[/C][C]1.27043402626416[/C][/ROW]
[ROW][C]52[/C][C]112.1[/C][C]110.415738027484[/C][C]1.68426197251598[/C][/ROW]
[ROW][C]53[/C][C]118.5[/C][C]129.539771030646[/C][C]-11.0397710306463[/C][/ROW]
[ROW][C]54[/C][C]94.4[/C][C]101.090796315198[/C][C]-6.69079631519827[/C][/ROW]
[ROW][C]55[/C][C]102.3[/C][C]100.142497158017[/C][C]2.15750284198331[/C][/ROW]
[ROW][C]56[/C][C]111.4[/C][C]123.217776649436[/C][C]-11.8177766494356[/C][/ROW]
[ROW][C]57[/C][C]99.2[/C][C]105.990341960637[/C][C]-6.79034196063655[/C][/ROW]
[ROW][C]58[/C][C]87.8[/C][C]99.0361481413048[/C][C]-11.2361481413048[/C][/ROW]
[ROW][C]59[/C][C]115.8[/C][C]118.476280863528[/C][C]-2.6762808635276[/C][/ROW]
[ROW][C]60[/C][C]79.7[/C][C]96.3493005292903[/C][C]-16.6493005292903[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58509&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58509&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
183.4102.987394629562-19.5873946295617
2113.6133.965167097494-20.3651670974937
3112.9122.427527351784-9.52752735178425
4104119.8987295993-15.8987295993
5109.9134.439316676085-24.5393166760845
699102.829344770031-3.82934477003122
7106.397.77174926506278.5282507349373
8128.9120.3728791778918.52712082210921
9111.1106.9386411178184.16135888218185
10102.9105.832292101106-2.93229210110627
11130120.8470287564829.1529712435184
128785.12776050264141.87223949735863
1387.5101.248846174729-13.7488461747286
14117.6132.226618642661-14.6266186426608
15103.4116.263582830104-12.8635828301039
16110.8120.372879177891-9.5728791778908
17112.6114.683084234801-2.08308423480122
18102.5106.464491539227-3.96449153922735
19112.4108.6771895726513.72281042734892
20135.6137.442264007160-1.84226400715958
21105.1103.4615442081521.63845579184772
22127.7118.7923805825888.90761941741187
23137126.85292341863210.1470765813683
249191.6078047433823-0.607804743382288
2590.5109.309389010772-18.8093890107721
26122.4133.332967659373-10.9329676593727
27123.3135.861765411857-12.5617654118569
28124.3129.855870749707-5.55587074970679
29120119.89872959930.101270400699997
30118.1113.8928349371504.20716506285011
31119110.5737878870148.42621211298573
32142.7136.0198152713876.68018472861282
33123.6108.0449901345315.5550098654700
34129.6115.63138339198313.9686166080172
35151.6131.7524690640719.84753093593
36110.4108.2030399940602.19696000593973
3799.2111.522087044196-12.3220870441959
38130.5122.4275273517848.07247264821574
39136.2139.022762602462-2.82276260246225
40129.7128.5914718734651.10852812653533
41128121.3211783350726.67882166492759
42121.6117.0538321277554.54616787224478
43135.8116.73773240869519.0622675913053
44143.8121.63727805413322.1627219458671
45147.5132.54271836172114.9572816382787
46136.2108.51913971312127.6808602868792
47156.6127.80122257581328.7987774241867
48123.3113.10258563949910.1974143605014
49104.596.50735038882067.99264961117944
50139.8137.9164135857501.88358641424962
51136.5135.2295659737361.27043402626416
52112.1110.4157380274841.68426197251598
53118.5129.539771030646-11.0397710306463
5494.4101.090796315198-6.69079631519827
55102.3100.1424971580172.15750284198331
56111.4123.217776649436-11.8177766494356
5799.2105.990341960637-6.79034196063655
5887.899.0361481413048-11.2361481413048
59115.8118.476280863528-2.6762808635276
6079.796.3493005292903-16.6493005292903







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.1883136903130870.3766273806261740.811686309686913
60.1843924480242320.3687848960484630.815607551975768
70.2982989183113520.5965978366227040.701701081688648
80.617034981355060.765930037289880.38296501864494
90.5490073278530920.9019853442938170.450992672146908
100.4345050800521050.8690101601042090.565494919947895
110.5770138386068380.8459723227863240.422986161393162
120.4900874078827850.9801748157655710.509912592117215
130.5045759412288330.9908481175423340.495424058771167
140.4525947709561360.9051895419122710.547405229043864
150.4077920540752760.8155841081505510.592207945924724
160.3435729087546500.68714581750930.65642709124535
170.2814024173943310.5628048347886620.718597582605669
180.2159858385091760.4319716770183530.784014161490824
190.1849345418114520.3698690836229040.815065458188548
200.1873968414298610.3747936828597230.812603158570139
210.1415785768241940.2831571536483880.858421423175806
220.1705833698280390.3411667396560770.829416630171961
230.2216243715826840.4432487431653680.778375628417316
240.167316383272540.334632766545080.83268361672746
250.2438837201139150.487767440227830.756116279886085
260.2258945863810090.4517891727620180.774105413618991
270.2331369572140680.4662739144281360.766863042785932
280.2058860105904900.4117720211809810.79411398940951
290.1687198763835750.3374397527671490.831280123616425
300.1408558323639320.2817116647278650.859144167636068
310.1319493523481750.2638987046963500.868050647651825
320.1337627600750170.2675255201500340.866237239924983
330.17844854151220.35689708302440.8215514584878
340.2066900121996830.4133800243993670.793309987800317
350.3195605632855870.6391211265711730.680439436714413
360.2557302789973200.5114605579946390.74426972100268
370.2681123064198760.5362246128397510.731887693580124
380.2312168780118350.462433756023670.768783121988165
390.2029124799441240.4058249598882470.797087520055876
400.1610255217089480.3220510434178950.838974478291052
410.1257892531981040.2515785063962080.874210746801896
420.09175746701763080.1835149340352620.90824253298237
430.1287317938729390.2574635877458770.871268206127061
440.2112107276953890.4224214553907780.788789272304611
450.2075731173883640.4151462347767280.792426882611636
460.5464337741847640.9071324516304730.453566225815236
470.9288862403984310.1422275192031380.071113759601569
480.9529931421618380.09401371567632370.0470068578381618
490.97940100100820.04119799798359820.0205989989917991
500.9639522785685940.07209544286281140.0360477214314057
510.9487124360509820.1025751278980350.0512875639490177
520.9493529528669370.1012940942661260.0506470471330632
530.9065723500264860.1868552999470270.0934276499735137
540.8192598151238410.3614803697523170.180740184876159
550.904581009825270.1908379803494610.0954189901747304

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.188313690313087 & 0.376627380626174 & 0.811686309686913 \tabularnewline
6 & 0.184392448024232 & 0.368784896048463 & 0.815607551975768 \tabularnewline
7 & 0.298298918311352 & 0.596597836622704 & 0.701701081688648 \tabularnewline
8 & 0.61703498135506 & 0.76593003728988 & 0.38296501864494 \tabularnewline
9 & 0.549007327853092 & 0.901985344293817 & 0.450992672146908 \tabularnewline
10 & 0.434505080052105 & 0.869010160104209 & 0.565494919947895 \tabularnewline
11 & 0.577013838606838 & 0.845972322786324 & 0.422986161393162 \tabularnewline
12 & 0.490087407882785 & 0.980174815765571 & 0.509912592117215 \tabularnewline
13 & 0.504575941228833 & 0.990848117542334 & 0.495424058771167 \tabularnewline
14 & 0.452594770956136 & 0.905189541912271 & 0.547405229043864 \tabularnewline
15 & 0.407792054075276 & 0.815584108150551 & 0.592207945924724 \tabularnewline
16 & 0.343572908754650 & 0.6871458175093 & 0.65642709124535 \tabularnewline
17 & 0.281402417394331 & 0.562804834788662 & 0.718597582605669 \tabularnewline
18 & 0.215985838509176 & 0.431971677018353 & 0.784014161490824 \tabularnewline
19 & 0.184934541811452 & 0.369869083622904 & 0.815065458188548 \tabularnewline
20 & 0.187396841429861 & 0.374793682859723 & 0.812603158570139 \tabularnewline
21 & 0.141578576824194 & 0.283157153648388 & 0.858421423175806 \tabularnewline
22 & 0.170583369828039 & 0.341166739656077 & 0.829416630171961 \tabularnewline
23 & 0.221624371582684 & 0.443248743165368 & 0.778375628417316 \tabularnewline
24 & 0.16731638327254 & 0.33463276654508 & 0.83268361672746 \tabularnewline
25 & 0.243883720113915 & 0.48776744022783 & 0.756116279886085 \tabularnewline
26 & 0.225894586381009 & 0.451789172762018 & 0.774105413618991 \tabularnewline
27 & 0.233136957214068 & 0.466273914428136 & 0.766863042785932 \tabularnewline
28 & 0.205886010590490 & 0.411772021180981 & 0.79411398940951 \tabularnewline
29 & 0.168719876383575 & 0.337439752767149 & 0.831280123616425 \tabularnewline
30 & 0.140855832363932 & 0.281711664727865 & 0.859144167636068 \tabularnewline
31 & 0.131949352348175 & 0.263898704696350 & 0.868050647651825 \tabularnewline
32 & 0.133762760075017 & 0.267525520150034 & 0.866237239924983 \tabularnewline
33 & 0.1784485415122 & 0.3568970830244 & 0.8215514584878 \tabularnewline
34 & 0.206690012199683 & 0.413380024399367 & 0.793309987800317 \tabularnewline
35 & 0.319560563285587 & 0.639121126571173 & 0.680439436714413 \tabularnewline
36 & 0.255730278997320 & 0.511460557994639 & 0.74426972100268 \tabularnewline
37 & 0.268112306419876 & 0.536224612839751 & 0.731887693580124 \tabularnewline
38 & 0.231216878011835 & 0.46243375602367 & 0.768783121988165 \tabularnewline
39 & 0.202912479944124 & 0.405824959888247 & 0.797087520055876 \tabularnewline
40 & 0.161025521708948 & 0.322051043417895 & 0.838974478291052 \tabularnewline
41 & 0.125789253198104 & 0.251578506396208 & 0.874210746801896 \tabularnewline
42 & 0.0917574670176308 & 0.183514934035262 & 0.90824253298237 \tabularnewline
43 & 0.128731793872939 & 0.257463587745877 & 0.871268206127061 \tabularnewline
44 & 0.211210727695389 & 0.422421455390778 & 0.788789272304611 \tabularnewline
45 & 0.207573117388364 & 0.415146234776728 & 0.792426882611636 \tabularnewline
46 & 0.546433774184764 & 0.907132451630473 & 0.453566225815236 \tabularnewline
47 & 0.928886240398431 & 0.142227519203138 & 0.071113759601569 \tabularnewline
48 & 0.952993142161838 & 0.0940137156763237 & 0.0470068578381618 \tabularnewline
49 & 0.9794010010082 & 0.0411979979835982 & 0.0205989989917991 \tabularnewline
50 & 0.963952278568594 & 0.0720954428628114 & 0.0360477214314057 \tabularnewline
51 & 0.948712436050982 & 0.102575127898035 & 0.0512875639490177 \tabularnewline
52 & 0.949352952866937 & 0.101294094266126 & 0.0506470471330632 \tabularnewline
53 & 0.906572350026486 & 0.186855299947027 & 0.0934276499735137 \tabularnewline
54 & 0.819259815123841 & 0.361480369752317 & 0.180740184876159 \tabularnewline
55 & 0.90458100982527 & 0.190837980349461 & 0.0954189901747304 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58509&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]5[/C][C]0.188313690313087[/C][C]0.376627380626174[/C][C]0.811686309686913[/C][/ROW]
[ROW][C]6[/C][C]0.184392448024232[/C][C]0.368784896048463[/C][C]0.815607551975768[/C][/ROW]
[ROW][C]7[/C][C]0.298298918311352[/C][C]0.596597836622704[/C][C]0.701701081688648[/C][/ROW]
[ROW][C]8[/C][C]0.61703498135506[/C][C]0.76593003728988[/C][C]0.38296501864494[/C][/ROW]
[ROW][C]9[/C][C]0.549007327853092[/C][C]0.901985344293817[/C][C]0.450992672146908[/C][/ROW]
[ROW][C]10[/C][C]0.434505080052105[/C][C]0.869010160104209[/C][C]0.565494919947895[/C][/ROW]
[ROW][C]11[/C][C]0.577013838606838[/C][C]0.845972322786324[/C][C]0.422986161393162[/C][/ROW]
[ROW][C]12[/C][C]0.490087407882785[/C][C]0.980174815765571[/C][C]0.509912592117215[/C][/ROW]
[ROW][C]13[/C][C]0.504575941228833[/C][C]0.990848117542334[/C][C]0.495424058771167[/C][/ROW]
[ROW][C]14[/C][C]0.452594770956136[/C][C]0.905189541912271[/C][C]0.547405229043864[/C][/ROW]
[ROW][C]15[/C][C]0.407792054075276[/C][C]0.815584108150551[/C][C]0.592207945924724[/C][/ROW]
[ROW][C]16[/C][C]0.343572908754650[/C][C]0.6871458175093[/C][C]0.65642709124535[/C][/ROW]
[ROW][C]17[/C][C]0.281402417394331[/C][C]0.562804834788662[/C][C]0.718597582605669[/C][/ROW]
[ROW][C]18[/C][C]0.215985838509176[/C][C]0.431971677018353[/C][C]0.784014161490824[/C][/ROW]
[ROW][C]19[/C][C]0.184934541811452[/C][C]0.369869083622904[/C][C]0.815065458188548[/C][/ROW]
[ROW][C]20[/C][C]0.187396841429861[/C][C]0.374793682859723[/C][C]0.812603158570139[/C][/ROW]
[ROW][C]21[/C][C]0.141578576824194[/C][C]0.283157153648388[/C][C]0.858421423175806[/C][/ROW]
[ROW][C]22[/C][C]0.170583369828039[/C][C]0.341166739656077[/C][C]0.829416630171961[/C][/ROW]
[ROW][C]23[/C][C]0.221624371582684[/C][C]0.443248743165368[/C][C]0.778375628417316[/C][/ROW]
[ROW][C]24[/C][C]0.16731638327254[/C][C]0.33463276654508[/C][C]0.83268361672746[/C][/ROW]
[ROW][C]25[/C][C]0.243883720113915[/C][C]0.48776744022783[/C][C]0.756116279886085[/C][/ROW]
[ROW][C]26[/C][C]0.225894586381009[/C][C]0.451789172762018[/C][C]0.774105413618991[/C][/ROW]
[ROW][C]27[/C][C]0.233136957214068[/C][C]0.466273914428136[/C][C]0.766863042785932[/C][/ROW]
[ROW][C]28[/C][C]0.205886010590490[/C][C]0.411772021180981[/C][C]0.79411398940951[/C][/ROW]
[ROW][C]29[/C][C]0.168719876383575[/C][C]0.337439752767149[/C][C]0.831280123616425[/C][/ROW]
[ROW][C]30[/C][C]0.140855832363932[/C][C]0.281711664727865[/C][C]0.859144167636068[/C][/ROW]
[ROW][C]31[/C][C]0.131949352348175[/C][C]0.263898704696350[/C][C]0.868050647651825[/C][/ROW]
[ROW][C]32[/C][C]0.133762760075017[/C][C]0.267525520150034[/C][C]0.866237239924983[/C][/ROW]
[ROW][C]33[/C][C]0.1784485415122[/C][C]0.3568970830244[/C][C]0.8215514584878[/C][/ROW]
[ROW][C]34[/C][C]0.206690012199683[/C][C]0.413380024399367[/C][C]0.793309987800317[/C][/ROW]
[ROW][C]35[/C][C]0.319560563285587[/C][C]0.639121126571173[/C][C]0.680439436714413[/C][/ROW]
[ROW][C]36[/C][C]0.255730278997320[/C][C]0.511460557994639[/C][C]0.74426972100268[/C][/ROW]
[ROW][C]37[/C][C]0.268112306419876[/C][C]0.536224612839751[/C][C]0.731887693580124[/C][/ROW]
[ROW][C]38[/C][C]0.231216878011835[/C][C]0.46243375602367[/C][C]0.768783121988165[/C][/ROW]
[ROW][C]39[/C][C]0.202912479944124[/C][C]0.405824959888247[/C][C]0.797087520055876[/C][/ROW]
[ROW][C]40[/C][C]0.161025521708948[/C][C]0.322051043417895[/C][C]0.838974478291052[/C][/ROW]
[ROW][C]41[/C][C]0.125789253198104[/C][C]0.251578506396208[/C][C]0.874210746801896[/C][/ROW]
[ROW][C]42[/C][C]0.0917574670176308[/C][C]0.183514934035262[/C][C]0.90824253298237[/C][/ROW]
[ROW][C]43[/C][C]0.128731793872939[/C][C]0.257463587745877[/C][C]0.871268206127061[/C][/ROW]
[ROW][C]44[/C][C]0.211210727695389[/C][C]0.422421455390778[/C][C]0.788789272304611[/C][/ROW]
[ROW][C]45[/C][C]0.207573117388364[/C][C]0.415146234776728[/C][C]0.792426882611636[/C][/ROW]
[ROW][C]46[/C][C]0.546433774184764[/C][C]0.907132451630473[/C][C]0.453566225815236[/C][/ROW]
[ROW][C]47[/C][C]0.928886240398431[/C][C]0.142227519203138[/C][C]0.071113759601569[/C][/ROW]
[ROW][C]48[/C][C]0.952993142161838[/C][C]0.0940137156763237[/C][C]0.0470068578381618[/C][/ROW]
[ROW][C]49[/C][C]0.9794010010082[/C][C]0.0411979979835982[/C][C]0.0205989989917991[/C][/ROW]
[ROW][C]50[/C][C]0.963952278568594[/C][C]0.0720954428628114[/C][C]0.0360477214314057[/C][/ROW]
[ROW][C]51[/C][C]0.948712436050982[/C][C]0.102575127898035[/C][C]0.0512875639490177[/C][/ROW]
[ROW][C]52[/C][C]0.949352952866937[/C][C]0.101294094266126[/C][C]0.0506470471330632[/C][/ROW]
[ROW][C]53[/C][C]0.906572350026486[/C][C]0.186855299947027[/C][C]0.0934276499735137[/C][/ROW]
[ROW][C]54[/C][C]0.819259815123841[/C][C]0.361480369752317[/C][C]0.180740184876159[/C][/ROW]
[ROW][C]55[/C][C]0.90458100982527[/C][C]0.190837980349461[/C][C]0.0954189901747304[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58509&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58509&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
50.1883136903130870.3766273806261740.811686309686913
60.1843924480242320.3687848960484630.815607551975768
70.2982989183113520.5965978366227040.701701081688648
80.617034981355060.765930037289880.38296501864494
90.5490073278530920.9019853442938170.450992672146908
100.4345050800521050.8690101601042090.565494919947895
110.5770138386068380.8459723227863240.422986161393162
120.4900874078827850.9801748157655710.509912592117215
130.5045759412288330.9908481175423340.495424058771167
140.4525947709561360.9051895419122710.547405229043864
150.4077920540752760.8155841081505510.592207945924724
160.3435729087546500.68714581750930.65642709124535
170.2814024173943310.5628048347886620.718597582605669
180.2159858385091760.4319716770183530.784014161490824
190.1849345418114520.3698690836229040.815065458188548
200.1873968414298610.3747936828597230.812603158570139
210.1415785768241940.2831571536483880.858421423175806
220.1705833698280390.3411667396560770.829416630171961
230.2216243715826840.4432487431653680.778375628417316
240.167316383272540.334632766545080.83268361672746
250.2438837201139150.487767440227830.756116279886085
260.2258945863810090.4517891727620180.774105413618991
270.2331369572140680.4662739144281360.766863042785932
280.2058860105904900.4117720211809810.79411398940951
290.1687198763835750.3374397527671490.831280123616425
300.1408558323639320.2817116647278650.859144167636068
310.1319493523481750.2638987046963500.868050647651825
320.1337627600750170.2675255201500340.866237239924983
330.17844854151220.35689708302440.8215514584878
340.2066900121996830.4133800243993670.793309987800317
350.3195605632855870.6391211265711730.680439436714413
360.2557302789973200.5114605579946390.74426972100268
370.2681123064198760.5362246128397510.731887693580124
380.2312168780118350.462433756023670.768783121988165
390.2029124799441240.4058249598882470.797087520055876
400.1610255217089480.3220510434178950.838974478291052
410.1257892531981040.2515785063962080.874210746801896
420.09175746701763080.1835149340352620.90824253298237
430.1287317938729390.2574635877458770.871268206127061
440.2112107276953890.4224214553907780.788789272304611
450.2075731173883640.4151462347767280.792426882611636
460.5464337741847640.9071324516304730.453566225815236
470.9288862403984310.1422275192031380.071113759601569
480.9529931421618380.09401371567632370.0470068578381618
490.97940100100820.04119799798359820.0205989989917991
500.9639522785685940.07209544286281140.0360477214314057
510.9487124360509820.1025751278980350.0512875639490177
520.9493529528669370.1012940942661260.0506470471330632
530.9065723500264860.1868552999470270.0934276499735137
540.8192598151238410.3614803697523170.180740184876159
550.904581009825270.1908379803494610.0954189901747304







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

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

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



Parameters (Session):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Do not include Seasonal 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')
}