Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationWed, 26 Jan 2011 07:38:29 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2011/Jan/26/t1296027547t6eajt8dxg09hap.htm/, Retrieved Thu, 16 May 2024 12:23:49 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=117801, Retrieved Thu, 16 May 2024 12:23:49 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact133
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Loonkostindex met...] [2010-12-24 13:29:23] [6bc4f9343b7ea3ef5a59412d1f72bb2b]
-         [Multiple Regression] [Schatten van mode...] [2011-01-26 07:38:29] [3d48a36d4fd92c6d0575261eb9c7ce45] [Current]
Feedback Forum

Post a new message
Dataseries X:
81.71	84.86
87.703	85.03
90.09	85.61
100.639	85.52
83.042	86.51
89.956	86.66
89.561	87.27
105.38	87.62
86.554	88.17
93.131	87.99
92.812	88.83
102.195	88.75
88.925	88.81
94.184	89.43
94.196	89.5
108.932	89.34
91.134	89.75
97.149	90.26
96.415	90.32
112.432	90.76
92.47	91.53
98.61410515	92.35
97.80117197	93.04
111.8560178	93.35
95.63981455	93.54
104.1120262	95.07
104.0148224	95.39
118.1743476	95.43
102.033431	96.09
109.3138852	96.35
108.1523649	96.6
121.30381	96.62
103.8725146	97.6
112.7185207	97.67
109.0381253	98.23
122.4434864	98.29
106.6325686	98.89
113.8153852	99.88
111.1071252	100.42
130.039536	100.81
109.6121057	101.5
116.8592117	102.59
113.8982545	103.58
128.9375926	103.47
111.8120023	103.77
119.9689463	104.65
117.018539	105.12
132.4743387	104.97
116.3369106	105.58
124.6405636	106.17
121.025249	106.52
137.2054829	107.87
120.0187687	109.63
127.0443429	111.54
124.349043	112.47
143.6114438	111.63




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time6 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24

\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 & 6 seconds \tabularnewline
R Server & 'Sir Ronald Aylmer Fisher' @ 193.190.124.24 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=117801&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]6 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Sir Ronald Aylmer Fisher' @ 193.190.124.24[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=117801&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=117801&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 time6 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24







Multiple Linear Regression - Estimated Regression Equation
LKI[t] = -32.3607428109777 + 1.57163858977850CPI[t] -18.3733655297165Q1[t] -12.3285261175605Q2[t] -14.5529109634028Q3[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
LKI[t] =  -32.3607428109777 +  1.57163858977850CPI[t] -18.3733655297165Q1[t] -12.3285261175605Q2[t] -14.5529109634028Q3[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=117801&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]LKI[t] =  -32.3607428109777 +  1.57163858977850CPI[t] -18.3733655297165Q1[t] -12.3285261175605Q2[t] -14.5529109634028Q3[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=117801&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=117801&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
LKI[t] = -32.3607428109777 + 1.57163858977850CPI[t] -18.3733655297165Q1[t] -12.3285261175605Q2[t] -14.5529109634028Q3[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)-32.36074281097773.330902-9.715300
CPI1.571638589778500.03400146.223300
Q1-18.37336552971650.742379-24.749300
Q2-12.32852611756050.741369-16.629400
Q3-14.55291096340280.741071-19.637700

\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) & -32.3607428109777 & 3.330902 & -9.7153 & 0 & 0 \tabularnewline
CPI & 1.57163858977850 & 0.034001 & 46.2233 & 0 & 0 \tabularnewline
Q1 & -18.3733655297165 & 0.742379 & -24.7493 & 0 & 0 \tabularnewline
Q2 & -12.3285261175605 & 0.741369 & -16.6294 & 0 & 0 \tabularnewline
Q3 & -14.5529109634028 & 0.741071 & -19.6377 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=117801&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]-32.3607428109777[/C][C]3.330902[/C][C]-9.7153[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]CPI[/C][C]1.57163858977850[/C][C]0.034001[/C][C]46.2233[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Q1[/C][C]-18.3733655297165[/C][C]0.742379[/C][C]-24.7493[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Q2[/C][C]-12.3285261175605[/C][C]0.741369[/C][C]-16.6294[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Q3[/C][C]-14.5529109634028[/C][C]0.741071[/C][C]-19.6377[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=117801&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=117801&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)-32.36074281097773.330902-9.715300
CPI1.571638589778500.03400146.223300
Q1-18.37336552971650.742379-24.749300
Q2-12.32852611756050.741369-16.629400
Q3-14.55291096340280.741071-19.637700







Multiple Linear Regression - Regression Statistics
Multiple R0.9914725479775
R-squared0.983017813392995
Adjusted R-squared0.981685877188525
F-TEST (value)738.036709335832
F-TEST (DF numerator)4
F-TEST (DF denominator)51
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.96066508658799
Sum Squared Residuals196.054586670020

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.9914725479775 \tabularnewline
R-squared & 0.983017813392995 \tabularnewline
Adjusted R-squared & 0.981685877188525 \tabularnewline
F-TEST (value) & 738.036709335832 \tabularnewline
F-TEST (DF numerator) & 4 \tabularnewline
F-TEST (DF denominator) & 51 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 1.96066508658799 \tabularnewline
Sum Squared Residuals & 196.054586670020 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=117801&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.9914725479775[/C][/ROW]
[ROW][C]R-squared[/C][C]0.983017813392995[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.981685877188525[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]738.036709335832[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]4[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]51[/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]1.96066508658799[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]196.054586670020[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=117801&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=117801&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.9914725479775
R-squared0.983017813392995
Adjusted R-squared0.981685877188525
F-TEST (value)738.036709335832
F-TEST (DF numerator)4
F-TEST (DF denominator)51
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.96066508658799
Sum Squared Residuals196.054586670020







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
181.7182.635142387909-0.925142387908967
287.70388.9471603603273-1.24416036032727
390.0987.63432589655652.45567410344348
4100.639102.045789386879-1.40678938687923
583.04285.2283460610434-2.18634606104343
689.95691.5089312616662-1.55293126166621
789.56190.2432459555888-0.682245955588817
8105.38105.3462304254140.0337695745859119
986.55487.8372661200757-1.28326612007572
1093.13193.5992105860716-0.468210586071613
1192.81292.69500215564330.116997844356717
12102.195107.122182031864-4.92718203186378
1388.92588.8431148175340.0818851824660364
1494.18495.8623701553527-1.67837015535267
1594.19693.74800001079490.447999989205122
16108.932108.0494487998330.882551200166906
1791.13490.32045509192570.813544908074257
1897.14997.1668301848688-0.0178301848688156
1996.41595.03674365441321.37825634558677
20112.432110.2811755973192.15082440268144
2192.4793.1179717817315-0.647971781731469
2298.61410515100.451554837506-1.83744968750586
2397.8011719799.3116006186108-1.51042864861077
24111.8560178114.351719544845-2.49570174484485
2595.6398145596.2769653471862-0.637150797186257
26104.1120262104.726411801703-0.614385601703362
27104.0148224103.0049513045901.00987109540978
28118.1743476117.6207278115840.553619788415865
29102.033431100.2846437511211.74878724887858
30109.3138852106.7381091966202.57577600338016
31108.1523649104.9066339982223.24573090177780
32121.30381119.4909777334211.81283226657945
33103.8725146102.6578180216871.21469657831307
34112.7185207108.8126721351273.90584856487253
35109.0381253107.4684048995611.56972040043885
36122.4434864122.1156141783510.327872221649358
37106.6325686104.6852318025011.9473367974988
38113.8153852112.2859934185381.52939178146206
39111.1071252110.9102934111760.196831788823943
40130.039536126.0761434245923.96339257540755
41109.6121057108.7872085218230.824897178176927
42116.8592117116.5451339968380.314077703162331
43113.8982545115.876671354876-1.97841685487610
44128.9375926130.256702073403-1.31910947340325
45111.8120023112.354828120620-0.542825820620248
46119.9689463119.7827094917810.186236808218625
47117.018539118.296994783135-1.27845578313498
48132.4743387132.614159958071-0.139821258070978
49116.3369106115.1994939681191.13741663188066
50124.6405636122.1716001482452.46896345175531
51121.025249120.4972888088250.52796019117513
52137.2054829137.1719118684290.0335710315713679
53120.0187687121.564630256722-1.54586155672224
54127.0443429130.611299375355-3.56695647535522
55124.349043129.848538418007-5.49949541800693
56143.6114438143.0812729659960.530170834004233

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 81.71 & 82.635142387909 & -0.925142387908967 \tabularnewline
2 & 87.703 & 88.9471603603273 & -1.24416036032727 \tabularnewline
3 & 90.09 & 87.6343258965565 & 2.45567410344348 \tabularnewline
4 & 100.639 & 102.045789386879 & -1.40678938687923 \tabularnewline
5 & 83.042 & 85.2283460610434 & -2.18634606104343 \tabularnewline
6 & 89.956 & 91.5089312616662 & -1.55293126166621 \tabularnewline
7 & 89.561 & 90.2432459555888 & -0.682245955588817 \tabularnewline
8 & 105.38 & 105.346230425414 & 0.0337695745859119 \tabularnewline
9 & 86.554 & 87.8372661200757 & -1.28326612007572 \tabularnewline
10 & 93.131 & 93.5992105860716 & -0.468210586071613 \tabularnewline
11 & 92.812 & 92.6950021556433 & 0.116997844356717 \tabularnewline
12 & 102.195 & 107.122182031864 & -4.92718203186378 \tabularnewline
13 & 88.925 & 88.843114817534 & 0.0818851824660364 \tabularnewline
14 & 94.184 & 95.8623701553527 & -1.67837015535267 \tabularnewline
15 & 94.196 & 93.7480000107949 & 0.447999989205122 \tabularnewline
16 & 108.932 & 108.049448799833 & 0.882551200166906 \tabularnewline
17 & 91.134 & 90.3204550919257 & 0.813544908074257 \tabularnewline
18 & 97.149 & 97.1668301848688 & -0.0178301848688156 \tabularnewline
19 & 96.415 & 95.0367436544132 & 1.37825634558677 \tabularnewline
20 & 112.432 & 110.281175597319 & 2.15082440268144 \tabularnewline
21 & 92.47 & 93.1179717817315 & -0.647971781731469 \tabularnewline
22 & 98.61410515 & 100.451554837506 & -1.83744968750586 \tabularnewline
23 & 97.80117197 & 99.3116006186108 & -1.51042864861077 \tabularnewline
24 & 111.8560178 & 114.351719544845 & -2.49570174484485 \tabularnewline
25 & 95.63981455 & 96.2769653471862 & -0.637150797186257 \tabularnewline
26 & 104.1120262 & 104.726411801703 & -0.614385601703362 \tabularnewline
27 & 104.0148224 & 103.004951304590 & 1.00987109540978 \tabularnewline
28 & 118.1743476 & 117.620727811584 & 0.553619788415865 \tabularnewline
29 & 102.033431 & 100.284643751121 & 1.74878724887858 \tabularnewline
30 & 109.3138852 & 106.738109196620 & 2.57577600338016 \tabularnewline
31 & 108.1523649 & 104.906633998222 & 3.24573090177780 \tabularnewline
32 & 121.30381 & 119.490977733421 & 1.81283226657945 \tabularnewline
33 & 103.8725146 & 102.657818021687 & 1.21469657831307 \tabularnewline
34 & 112.7185207 & 108.812672135127 & 3.90584856487253 \tabularnewline
35 & 109.0381253 & 107.468404899561 & 1.56972040043885 \tabularnewline
36 & 122.4434864 & 122.115614178351 & 0.327872221649358 \tabularnewline
37 & 106.6325686 & 104.685231802501 & 1.9473367974988 \tabularnewline
38 & 113.8153852 & 112.285993418538 & 1.52939178146206 \tabularnewline
39 & 111.1071252 & 110.910293411176 & 0.196831788823943 \tabularnewline
40 & 130.039536 & 126.076143424592 & 3.96339257540755 \tabularnewline
41 & 109.6121057 & 108.787208521823 & 0.824897178176927 \tabularnewline
42 & 116.8592117 & 116.545133996838 & 0.314077703162331 \tabularnewline
43 & 113.8982545 & 115.876671354876 & -1.97841685487610 \tabularnewline
44 & 128.9375926 & 130.256702073403 & -1.31910947340325 \tabularnewline
45 & 111.8120023 & 112.354828120620 & -0.542825820620248 \tabularnewline
46 & 119.9689463 & 119.782709491781 & 0.186236808218625 \tabularnewline
47 & 117.018539 & 118.296994783135 & -1.27845578313498 \tabularnewline
48 & 132.4743387 & 132.614159958071 & -0.139821258070978 \tabularnewline
49 & 116.3369106 & 115.199493968119 & 1.13741663188066 \tabularnewline
50 & 124.6405636 & 122.171600148245 & 2.46896345175531 \tabularnewline
51 & 121.025249 & 120.497288808825 & 0.52796019117513 \tabularnewline
52 & 137.2054829 & 137.171911868429 & 0.0335710315713679 \tabularnewline
53 & 120.0187687 & 121.564630256722 & -1.54586155672224 \tabularnewline
54 & 127.0443429 & 130.611299375355 & -3.56695647535522 \tabularnewline
55 & 124.349043 & 129.848538418007 & -5.49949541800693 \tabularnewline
56 & 143.6114438 & 143.081272965996 & 0.530170834004233 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=117801&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]81.71[/C][C]82.635142387909[/C][C]-0.925142387908967[/C][/ROW]
[ROW][C]2[/C][C]87.703[/C][C]88.9471603603273[/C][C]-1.24416036032727[/C][/ROW]
[ROW][C]3[/C][C]90.09[/C][C]87.6343258965565[/C][C]2.45567410344348[/C][/ROW]
[ROW][C]4[/C][C]100.639[/C][C]102.045789386879[/C][C]-1.40678938687923[/C][/ROW]
[ROW][C]5[/C][C]83.042[/C][C]85.2283460610434[/C][C]-2.18634606104343[/C][/ROW]
[ROW][C]6[/C][C]89.956[/C][C]91.5089312616662[/C][C]-1.55293126166621[/C][/ROW]
[ROW][C]7[/C][C]89.561[/C][C]90.2432459555888[/C][C]-0.682245955588817[/C][/ROW]
[ROW][C]8[/C][C]105.38[/C][C]105.346230425414[/C][C]0.0337695745859119[/C][/ROW]
[ROW][C]9[/C][C]86.554[/C][C]87.8372661200757[/C][C]-1.28326612007572[/C][/ROW]
[ROW][C]10[/C][C]93.131[/C][C]93.5992105860716[/C][C]-0.468210586071613[/C][/ROW]
[ROW][C]11[/C][C]92.812[/C][C]92.6950021556433[/C][C]0.116997844356717[/C][/ROW]
[ROW][C]12[/C][C]102.195[/C][C]107.122182031864[/C][C]-4.92718203186378[/C][/ROW]
[ROW][C]13[/C][C]88.925[/C][C]88.843114817534[/C][C]0.0818851824660364[/C][/ROW]
[ROW][C]14[/C][C]94.184[/C][C]95.8623701553527[/C][C]-1.67837015535267[/C][/ROW]
[ROW][C]15[/C][C]94.196[/C][C]93.7480000107949[/C][C]0.447999989205122[/C][/ROW]
[ROW][C]16[/C][C]108.932[/C][C]108.049448799833[/C][C]0.882551200166906[/C][/ROW]
[ROW][C]17[/C][C]91.134[/C][C]90.3204550919257[/C][C]0.813544908074257[/C][/ROW]
[ROW][C]18[/C][C]97.149[/C][C]97.1668301848688[/C][C]-0.0178301848688156[/C][/ROW]
[ROW][C]19[/C][C]96.415[/C][C]95.0367436544132[/C][C]1.37825634558677[/C][/ROW]
[ROW][C]20[/C][C]112.432[/C][C]110.281175597319[/C][C]2.15082440268144[/C][/ROW]
[ROW][C]21[/C][C]92.47[/C][C]93.1179717817315[/C][C]-0.647971781731469[/C][/ROW]
[ROW][C]22[/C][C]98.61410515[/C][C]100.451554837506[/C][C]-1.83744968750586[/C][/ROW]
[ROW][C]23[/C][C]97.80117197[/C][C]99.3116006186108[/C][C]-1.51042864861077[/C][/ROW]
[ROW][C]24[/C][C]111.8560178[/C][C]114.351719544845[/C][C]-2.49570174484485[/C][/ROW]
[ROW][C]25[/C][C]95.63981455[/C][C]96.2769653471862[/C][C]-0.637150797186257[/C][/ROW]
[ROW][C]26[/C][C]104.1120262[/C][C]104.726411801703[/C][C]-0.614385601703362[/C][/ROW]
[ROW][C]27[/C][C]104.0148224[/C][C]103.004951304590[/C][C]1.00987109540978[/C][/ROW]
[ROW][C]28[/C][C]118.1743476[/C][C]117.620727811584[/C][C]0.553619788415865[/C][/ROW]
[ROW][C]29[/C][C]102.033431[/C][C]100.284643751121[/C][C]1.74878724887858[/C][/ROW]
[ROW][C]30[/C][C]109.3138852[/C][C]106.738109196620[/C][C]2.57577600338016[/C][/ROW]
[ROW][C]31[/C][C]108.1523649[/C][C]104.906633998222[/C][C]3.24573090177780[/C][/ROW]
[ROW][C]32[/C][C]121.30381[/C][C]119.490977733421[/C][C]1.81283226657945[/C][/ROW]
[ROW][C]33[/C][C]103.8725146[/C][C]102.657818021687[/C][C]1.21469657831307[/C][/ROW]
[ROW][C]34[/C][C]112.7185207[/C][C]108.812672135127[/C][C]3.90584856487253[/C][/ROW]
[ROW][C]35[/C][C]109.0381253[/C][C]107.468404899561[/C][C]1.56972040043885[/C][/ROW]
[ROW][C]36[/C][C]122.4434864[/C][C]122.115614178351[/C][C]0.327872221649358[/C][/ROW]
[ROW][C]37[/C][C]106.6325686[/C][C]104.685231802501[/C][C]1.9473367974988[/C][/ROW]
[ROW][C]38[/C][C]113.8153852[/C][C]112.285993418538[/C][C]1.52939178146206[/C][/ROW]
[ROW][C]39[/C][C]111.1071252[/C][C]110.910293411176[/C][C]0.196831788823943[/C][/ROW]
[ROW][C]40[/C][C]130.039536[/C][C]126.076143424592[/C][C]3.96339257540755[/C][/ROW]
[ROW][C]41[/C][C]109.6121057[/C][C]108.787208521823[/C][C]0.824897178176927[/C][/ROW]
[ROW][C]42[/C][C]116.8592117[/C][C]116.545133996838[/C][C]0.314077703162331[/C][/ROW]
[ROW][C]43[/C][C]113.8982545[/C][C]115.876671354876[/C][C]-1.97841685487610[/C][/ROW]
[ROW][C]44[/C][C]128.9375926[/C][C]130.256702073403[/C][C]-1.31910947340325[/C][/ROW]
[ROW][C]45[/C][C]111.8120023[/C][C]112.354828120620[/C][C]-0.542825820620248[/C][/ROW]
[ROW][C]46[/C][C]119.9689463[/C][C]119.782709491781[/C][C]0.186236808218625[/C][/ROW]
[ROW][C]47[/C][C]117.018539[/C][C]118.296994783135[/C][C]-1.27845578313498[/C][/ROW]
[ROW][C]48[/C][C]132.4743387[/C][C]132.614159958071[/C][C]-0.139821258070978[/C][/ROW]
[ROW][C]49[/C][C]116.3369106[/C][C]115.199493968119[/C][C]1.13741663188066[/C][/ROW]
[ROW][C]50[/C][C]124.6405636[/C][C]122.171600148245[/C][C]2.46896345175531[/C][/ROW]
[ROW][C]51[/C][C]121.025249[/C][C]120.497288808825[/C][C]0.52796019117513[/C][/ROW]
[ROW][C]52[/C][C]137.2054829[/C][C]137.171911868429[/C][C]0.0335710315713679[/C][/ROW]
[ROW][C]53[/C][C]120.0187687[/C][C]121.564630256722[/C][C]-1.54586155672224[/C][/ROW]
[ROW][C]54[/C][C]127.0443429[/C][C]130.611299375355[/C][C]-3.56695647535522[/C][/ROW]
[ROW][C]55[/C][C]124.349043[/C][C]129.848538418007[/C][C]-5.49949541800693[/C][/ROW]
[ROW][C]56[/C][C]143.6114438[/C][C]143.081272965996[/C][C]0.530170834004233[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=117801&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=117801&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
181.7182.635142387909-0.925142387908967
287.70388.9471603603273-1.24416036032727
390.0987.63432589655652.45567410344348
4100.639102.045789386879-1.40678938687923
583.04285.2283460610434-2.18634606104343
689.95691.5089312616662-1.55293126166621
789.56190.2432459555888-0.682245955588817
8105.38105.3462304254140.0337695745859119
986.55487.8372661200757-1.28326612007572
1093.13193.5992105860716-0.468210586071613
1192.81292.69500215564330.116997844356717
12102.195107.122182031864-4.92718203186378
1388.92588.8431148175340.0818851824660364
1494.18495.8623701553527-1.67837015535267
1594.19693.74800001079490.447999989205122
16108.932108.0494487998330.882551200166906
1791.13490.32045509192570.813544908074257
1897.14997.1668301848688-0.0178301848688156
1996.41595.03674365441321.37825634558677
20112.432110.2811755973192.15082440268144
2192.4793.1179717817315-0.647971781731469
2298.61410515100.451554837506-1.83744968750586
2397.8011719799.3116006186108-1.51042864861077
24111.8560178114.351719544845-2.49570174484485
2595.6398145596.2769653471862-0.637150797186257
26104.1120262104.726411801703-0.614385601703362
27104.0148224103.0049513045901.00987109540978
28118.1743476117.6207278115840.553619788415865
29102.033431100.2846437511211.74878724887858
30109.3138852106.7381091966202.57577600338016
31108.1523649104.9066339982223.24573090177780
32121.30381119.4909777334211.81283226657945
33103.8725146102.6578180216871.21469657831307
34112.7185207108.8126721351273.90584856487253
35109.0381253107.4684048995611.56972040043885
36122.4434864122.1156141783510.327872221649358
37106.6325686104.6852318025011.9473367974988
38113.8153852112.2859934185381.52939178146206
39111.1071252110.9102934111760.196831788823943
40130.039536126.0761434245923.96339257540755
41109.6121057108.7872085218230.824897178176927
42116.8592117116.5451339968380.314077703162331
43113.8982545115.876671354876-1.97841685487610
44128.9375926130.256702073403-1.31910947340325
45111.8120023112.354828120620-0.542825820620248
46119.9689463119.7827094917810.186236808218625
47117.018539118.296994783135-1.27845578313498
48132.4743387132.614159958071-0.139821258070978
49116.3369106115.1994939681191.13741663188066
50124.6405636122.1716001482452.46896345175531
51121.025249120.4972888088250.52796019117513
52137.2054829137.1719118684290.0335710315713679
53120.0187687121.564630256722-1.54586155672224
54127.0443429130.611299375355-3.56695647535522
55124.349043129.848538418007-5.49949541800693
56143.6114438143.0812729659960.530170834004233







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
80.3051576135557650.6103152271115290.694842386444235
90.1917199410099970.3834398820199950.808280058990003
100.1257178904373620.2514357808747240.874282109562638
110.06668926100623840.1333785220124770.933310738993762
120.3152642807313990.6305285614627970.684735719268601
130.3270696170669490.6541392341338980.672930382933051
140.2638388287096260.5276776574192520.736161171290374
150.1829306573809300.3658613147618610.81706934261907
160.2846278987794110.5692557975588220.715372101220589
170.2643824032116500.5287648064232990.73561759678835
180.2154872189557750.430974437911550.784512781044225
190.1562625903799530.3125251807599060.843737409620047
200.2040457806884910.4080915613769830.795954219311509
210.1685804311412060.3371608622824120.831419568858794
220.2061863613171400.4123727226342810.79381363868286
230.2658787640588930.5317575281177860.734121235941107
240.4374829650731520.8749659301463050.562517034926848
250.465172222380260.930344444760520.53482777761974
260.5557956251942570.8884087496114870.444204374805743
270.4842032605733690.9684065211467380.515796739426631
280.5217488072497130.9565023855005750.478251192750287
290.5080337506133530.9839324987732950.491966249386647
300.5422893283127920.9154213433744170.457710671687208
310.561843819661410.876312360677180.43815618033859
320.5204148245255210.9591703509489570.479585175474479
330.4542670534826170.9085341069652340.545732946517383
340.5073834948671830.9852330102656340.492616505132817
350.4475339968494860.8950679936989720.552466003150514
360.4821493634525390.9642987269050770.517850636547461
370.3942178454162600.7884356908325210.60578215458374
380.3115892651899830.6231785303799660.688410734810017
390.2796279669122460.5592559338244920.720372033087754
400.3358517341897540.6717034683795090.664148265810246
410.2601622097585270.5203244195170540.739837790241473
420.2078560142855560.4157120285711120.792143985714444
430.2598059012211620.5196118024423250.740194098778838
440.3838415309253450.767683061850690.616158469074655
450.3701186106705680.7402372213411370.629881389329432
460.2949663730060530.5899327460121060.705033626993947
470.2353579977466890.4707159954933780.764642002253311
480.4307742065274880.8615484130549760.569225793472512

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
8 & 0.305157613555765 & 0.610315227111529 & 0.694842386444235 \tabularnewline
9 & 0.191719941009997 & 0.383439882019995 & 0.808280058990003 \tabularnewline
10 & 0.125717890437362 & 0.251435780874724 & 0.874282109562638 \tabularnewline
11 & 0.0666892610062384 & 0.133378522012477 & 0.933310738993762 \tabularnewline
12 & 0.315264280731399 & 0.630528561462797 & 0.684735719268601 \tabularnewline
13 & 0.327069617066949 & 0.654139234133898 & 0.672930382933051 \tabularnewline
14 & 0.263838828709626 & 0.527677657419252 & 0.736161171290374 \tabularnewline
15 & 0.182930657380930 & 0.365861314761861 & 0.81706934261907 \tabularnewline
16 & 0.284627898779411 & 0.569255797558822 & 0.715372101220589 \tabularnewline
17 & 0.264382403211650 & 0.528764806423299 & 0.73561759678835 \tabularnewline
18 & 0.215487218955775 & 0.43097443791155 & 0.784512781044225 \tabularnewline
19 & 0.156262590379953 & 0.312525180759906 & 0.843737409620047 \tabularnewline
20 & 0.204045780688491 & 0.408091561376983 & 0.795954219311509 \tabularnewline
21 & 0.168580431141206 & 0.337160862282412 & 0.831419568858794 \tabularnewline
22 & 0.206186361317140 & 0.412372722634281 & 0.79381363868286 \tabularnewline
23 & 0.265878764058893 & 0.531757528117786 & 0.734121235941107 \tabularnewline
24 & 0.437482965073152 & 0.874965930146305 & 0.562517034926848 \tabularnewline
25 & 0.46517222238026 & 0.93034444476052 & 0.53482777761974 \tabularnewline
26 & 0.555795625194257 & 0.888408749611487 & 0.444204374805743 \tabularnewline
27 & 0.484203260573369 & 0.968406521146738 & 0.515796739426631 \tabularnewline
28 & 0.521748807249713 & 0.956502385500575 & 0.478251192750287 \tabularnewline
29 & 0.508033750613353 & 0.983932498773295 & 0.491966249386647 \tabularnewline
30 & 0.542289328312792 & 0.915421343374417 & 0.457710671687208 \tabularnewline
31 & 0.56184381966141 & 0.87631236067718 & 0.43815618033859 \tabularnewline
32 & 0.520414824525521 & 0.959170350948957 & 0.479585175474479 \tabularnewline
33 & 0.454267053482617 & 0.908534106965234 & 0.545732946517383 \tabularnewline
34 & 0.507383494867183 & 0.985233010265634 & 0.492616505132817 \tabularnewline
35 & 0.447533996849486 & 0.895067993698972 & 0.552466003150514 \tabularnewline
36 & 0.482149363452539 & 0.964298726905077 & 0.517850636547461 \tabularnewline
37 & 0.394217845416260 & 0.788435690832521 & 0.60578215458374 \tabularnewline
38 & 0.311589265189983 & 0.623178530379966 & 0.688410734810017 \tabularnewline
39 & 0.279627966912246 & 0.559255933824492 & 0.720372033087754 \tabularnewline
40 & 0.335851734189754 & 0.671703468379509 & 0.664148265810246 \tabularnewline
41 & 0.260162209758527 & 0.520324419517054 & 0.739837790241473 \tabularnewline
42 & 0.207856014285556 & 0.415712028571112 & 0.792143985714444 \tabularnewline
43 & 0.259805901221162 & 0.519611802442325 & 0.740194098778838 \tabularnewline
44 & 0.383841530925345 & 0.76768306185069 & 0.616158469074655 \tabularnewline
45 & 0.370118610670568 & 0.740237221341137 & 0.629881389329432 \tabularnewline
46 & 0.294966373006053 & 0.589932746012106 & 0.705033626993947 \tabularnewline
47 & 0.235357997746689 & 0.470715995493378 & 0.764642002253311 \tabularnewline
48 & 0.430774206527488 & 0.861548413054976 & 0.569225793472512 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=117801&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]8[/C][C]0.305157613555765[/C][C]0.610315227111529[/C][C]0.694842386444235[/C][/ROW]
[ROW][C]9[/C][C]0.191719941009997[/C][C]0.383439882019995[/C][C]0.808280058990003[/C][/ROW]
[ROW][C]10[/C][C]0.125717890437362[/C][C]0.251435780874724[/C][C]0.874282109562638[/C][/ROW]
[ROW][C]11[/C][C]0.0666892610062384[/C][C]0.133378522012477[/C][C]0.933310738993762[/C][/ROW]
[ROW][C]12[/C][C]0.315264280731399[/C][C]0.630528561462797[/C][C]0.684735719268601[/C][/ROW]
[ROW][C]13[/C][C]0.327069617066949[/C][C]0.654139234133898[/C][C]0.672930382933051[/C][/ROW]
[ROW][C]14[/C][C]0.263838828709626[/C][C]0.527677657419252[/C][C]0.736161171290374[/C][/ROW]
[ROW][C]15[/C][C]0.182930657380930[/C][C]0.365861314761861[/C][C]0.81706934261907[/C][/ROW]
[ROW][C]16[/C][C]0.284627898779411[/C][C]0.569255797558822[/C][C]0.715372101220589[/C][/ROW]
[ROW][C]17[/C][C]0.264382403211650[/C][C]0.528764806423299[/C][C]0.73561759678835[/C][/ROW]
[ROW][C]18[/C][C]0.215487218955775[/C][C]0.43097443791155[/C][C]0.784512781044225[/C][/ROW]
[ROW][C]19[/C][C]0.156262590379953[/C][C]0.312525180759906[/C][C]0.843737409620047[/C][/ROW]
[ROW][C]20[/C][C]0.204045780688491[/C][C]0.408091561376983[/C][C]0.795954219311509[/C][/ROW]
[ROW][C]21[/C][C]0.168580431141206[/C][C]0.337160862282412[/C][C]0.831419568858794[/C][/ROW]
[ROW][C]22[/C][C]0.206186361317140[/C][C]0.412372722634281[/C][C]0.79381363868286[/C][/ROW]
[ROW][C]23[/C][C]0.265878764058893[/C][C]0.531757528117786[/C][C]0.734121235941107[/C][/ROW]
[ROW][C]24[/C][C]0.437482965073152[/C][C]0.874965930146305[/C][C]0.562517034926848[/C][/ROW]
[ROW][C]25[/C][C]0.46517222238026[/C][C]0.93034444476052[/C][C]0.53482777761974[/C][/ROW]
[ROW][C]26[/C][C]0.555795625194257[/C][C]0.888408749611487[/C][C]0.444204374805743[/C][/ROW]
[ROW][C]27[/C][C]0.484203260573369[/C][C]0.968406521146738[/C][C]0.515796739426631[/C][/ROW]
[ROW][C]28[/C][C]0.521748807249713[/C][C]0.956502385500575[/C][C]0.478251192750287[/C][/ROW]
[ROW][C]29[/C][C]0.508033750613353[/C][C]0.983932498773295[/C][C]0.491966249386647[/C][/ROW]
[ROW][C]30[/C][C]0.542289328312792[/C][C]0.915421343374417[/C][C]0.457710671687208[/C][/ROW]
[ROW][C]31[/C][C]0.56184381966141[/C][C]0.87631236067718[/C][C]0.43815618033859[/C][/ROW]
[ROW][C]32[/C][C]0.520414824525521[/C][C]0.959170350948957[/C][C]0.479585175474479[/C][/ROW]
[ROW][C]33[/C][C]0.454267053482617[/C][C]0.908534106965234[/C][C]0.545732946517383[/C][/ROW]
[ROW][C]34[/C][C]0.507383494867183[/C][C]0.985233010265634[/C][C]0.492616505132817[/C][/ROW]
[ROW][C]35[/C][C]0.447533996849486[/C][C]0.895067993698972[/C][C]0.552466003150514[/C][/ROW]
[ROW][C]36[/C][C]0.482149363452539[/C][C]0.964298726905077[/C][C]0.517850636547461[/C][/ROW]
[ROW][C]37[/C][C]0.394217845416260[/C][C]0.788435690832521[/C][C]0.60578215458374[/C][/ROW]
[ROW][C]38[/C][C]0.311589265189983[/C][C]0.623178530379966[/C][C]0.688410734810017[/C][/ROW]
[ROW][C]39[/C][C]0.279627966912246[/C][C]0.559255933824492[/C][C]0.720372033087754[/C][/ROW]
[ROW][C]40[/C][C]0.335851734189754[/C][C]0.671703468379509[/C][C]0.664148265810246[/C][/ROW]
[ROW][C]41[/C][C]0.260162209758527[/C][C]0.520324419517054[/C][C]0.739837790241473[/C][/ROW]
[ROW][C]42[/C][C]0.207856014285556[/C][C]0.415712028571112[/C][C]0.792143985714444[/C][/ROW]
[ROW][C]43[/C][C]0.259805901221162[/C][C]0.519611802442325[/C][C]0.740194098778838[/C][/ROW]
[ROW][C]44[/C][C]0.383841530925345[/C][C]0.76768306185069[/C][C]0.616158469074655[/C][/ROW]
[ROW][C]45[/C][C]0.370118610670568[/C][C]0.740237221341137[/C][C]0.629881389329432[/C][/ROW]
[ROW][C]46[/C][C]0.294966373006053[/C][C]0.589932746012106[/C][C]0.705033626993947[/C][/ROW]
[ROW][C]47[/C][C]0.235357997746689[/C][C]0.470715995493378[/C][C]0.764642002253311[/C][/ROW]
[ROW][C]48[/C][C]0.430774206527488[/C][C]0.861548413054976[/C][C]0.569225793472512[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=117801&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=117801&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
80.3051576135557650.6103152271115290.694842386444235
90.1917199410099970.3834398820199950.808280058990003
100.1257178904373620.2514357808747240.874282109562638
110.06668926100623840.1333785220124770.933310738993762
120.3152642807313990.6305285614627970.684735719268601
130.3270696170669490.6541392341338980.672930382933051
140.2638388287096260.5276776574192520.736161171290374
150.1829306573809300.3658613147618610.81706934261907
160.2846278987794110.5692557975588220.715372101220589
170.2643824032116500.5287648064232990.73561759678835
180.2154872189557750.430974437911550.784512781044225
190.1562625903799530.3125251807599060.843737409620047
200.2040457806884910.4080915613769830.795954219311509
210.1685804311412060.3371608622824120.831419568858794
220.2061863613171400.4123727226342810.79381363868286
230.2658787640588930.5317575281177860.734121235941107
240.4374829650731520.8749659301463050.562517034926848
250.465172222380260.930344444760520.53482777761974
260.5557956251942570.8884087496114870.444204374805743
270.4842032605733690.9684065211467380.515796739426631
280.5217488072497130.9565023855005750.478251192750287
290.5080337506133530.9839324987732950.491966249386647
300.5422893283127920.9154213433744170.457710671687208
310.561843819661410.876312360677180.43815618033859
320.5204148245255210.9591703509489570.479585175474479
330.4542670534826170.9085341069652340.545732946517383
340.5073834948671830.9852330102656340.492616505132817
350.4475339968494860.8950679936989720.552466003150514
360.4821493634525390.9642987269050770.517850636547461
370.3942178454162600.7884356908325210.60578215458374
380.3115892651899830.6231785303799660.688410734810017
390.2796279669122460.5592559338244920.720372033087754
400.3358517341897540.6717034683795090.664148265810246
410.2601622097585270.5203244195170540.739837790241473
420.2078560142855560.4157120285711120.792143985714444
430.2598059012211620.5196118024423250.740194098778838
440.3838415309253450.767683061850690.616158469074655
450.3701186106705680.7402372213411370.629881389329432
460.2949663730060530.5899327460121060.705033626993947
470.2353579977466890.4707159954933780.764642002253311
480.4307742065274880.8615484130549760.569225793472512







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

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

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

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

As an alternative you can also use a QR Code:  

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

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



Parameters (Session):
par1 = 1 ; par2 = Include Quarterly Dummies ; par3 = No Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Include Quarterly Dummies ; par3 = No Linear Trend ; par4 = ; par5 = ; par6 = ; par7 = ; par8 = ; par9 = ; par10 = ; par11 = ; par12 = ; par13 = ; par14 = ; par15 = ; par16 = ; par17 = ; par18 = ; par19 = ; par20 = ;
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')
}