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 computationFri, 24 Dec 2010 13:29:23 +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/2010/Dec/24/t1293197288hovdo497khghpy3.htm/, Retrieved Tue, 30 Apr 2024 03:11:28 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=114925, Retrieved Tue, 30 Apr 2024 03:11:28 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact122
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] [b6992a7b26e556359948e164e4227eba] [Current]
-         [Multiple Regression] [Schatten van mode...] [2011-01-26 07:38:29] [49685effa955daf04c1708d99b86c41a]
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 time7 seconds
R Server'George Udny Yule' @ 72.249.76.132

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

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]7 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114925&T=0

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

As an alternative you can also use a QR Code:  

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

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time7 seconds
R Server'George Udny Yule' @ 72.249.76.132







Multiple Linear Regression - Estimated Regression Equation
LKI[t] = -32.3607428109776 + 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.3607428109776 +  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=114925&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]LKI[t] =  -32.3607428109776 +  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=114925&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114925&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.3607428109776 + 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.36074281097763.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.3607428109776 & 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=114925&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.3607428109776[/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=114925&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114925&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.36074281097763.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.036709335835
F-TEST (DF numerator)4
F-TEST (DF denominator)51
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.96066508658799
Sum Squared Residuals196.054586670019

\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.036709335835 \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.054586670019 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114925&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.036709335835[/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.054586670019[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114925&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114925&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.036709335835
F-TEST (DF numerator)4
F-TEST (DF denominator)51
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.96066508658799
Sum Squared Residuals196.054586670019







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
181.7182.6351423879086-0.925142387908629
287.70388.9471603603273-1.24416036032729
390.0987.63432589655652.45567410344347
4100.639102.045789386879-1.40678938687924
583.04285.2283460610435-2.18634606104345
689.95691.5089312616662-1.55293126166622
789.56190.2432459555888-0.682245955588831
8105.38105.3462304254140.0337695745859021
986.55487.8372661200758-1.28326612007576
1093.13193.5992105860716-0.468210586071625
1192.81292.69500215564330.116997844356707
12102.195107.122182031864-4.92718203186379
1388.92588.8431148175340.0818851824660004
1494.18495.8623701553527-1.67837015535268
1594.19693.74800001079490.447999989205114
16108.932108.0494487998330.882551200166897
1791.13490.32045509192580.813544908074221
1897.14997.1668301848688-0.0178301848688226
1996.41595.03674365441321.37825634558677
20112.432110.2811755973192.15082440268143
2192.4793.1179717817315-0.647971781731503
2298.61410515100.451554837506-1.83744968750586
2397.8011719799.3116006186108-1.51042864861077
24111.8560178114.351719544845-2.49570174484485
2595.6398145596.2769653471863-0.637150797186286
26104.1120262104.726411801703-0.614385601703362
27104.0148224103.0049513045901.00987109540978
28118.1743476117.6207278115840.553619788415862
29102.033431100.2846437511211.74878724887855
30109.3138852106.7381091966202.57577600338016
31108.1523649104.9066339982223.24573090177780
32121.30381119.4909777334211.81283226657945
33103.8725146102.6578180216871.21469657831305
34112.7185207108.8126721351273.90584856487253
35109.0381253107.4684048995611.56972040043885
36122.4434864122.1156141783510.327872221649359
37106.6325686104.6852318025011.94733679749878
38113.8153852112.2859934185381.52939178146207
39111.1071252110.9102934111760.196831788823947
40130.039536126.0761434245923.96339257540756
41109.6121057108.7872085218230.824897178176908
42116.8592117116.5451339968380.314077703162339
43113.8982545115.876671354876-1.9784168548761
44128.9375926130.256702073403-1.31910947340324
45111.8120023112.354828120620-0.542825820620266
46119.9689463119.7827094917810.186236808218633
47117.018539118.296994783135-1.27845578313498
48132.4743387132.614159958071-0.139821258070968
49116.3369106115.1994939681191.13741663188065
50124.6405636122.1716001482452.46896345175532
51121.025249120.4972888088250.527960191175139
52137.2054829137.1719118684290.0335710315713785
53120.0187687121.564630256722-1.54586155672225
54127.0443429130.611299375355-3.56695647535519
55124.349043129.848538418007-5.49949541800691
56143.6114438143.0812729659960.530170834004248

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 81.71 & 82.6351423879086 & -0.925142387908629 \tabularnewline
2 & 87.703 & 88.9471603603273 & -1.24416036032729 \tabularnewline
3 & 90.09 & 87.6343258965565 & 2.45567410344347 \tabularnewline
4 & 100.639 & 102.045789386879 & -1.40678938687924 \tabularnewline
5 & 83.042 & 85.2283460610435 & -2.18634606104345 \tabularnewline
6 & 89.956 & 91.5089312616662 & -1.55293126166622 \tabularnewline
7 & 89.561 & 90.2432459555888 & -0.682245955588831 \tabularnewline
8 & 105.38 & 105.346230425414 & 0.0337695745859021 \tabularnewline
9 & 86.554 & 87.8372661200758 & -1.28326612007576 \tabularnewline
10 & 93.131 & 93.5992105860716 & -0.468210586071625 \tabularnewline
11 & 92.812 & 92.6950021556433 & 0.116997844356707 \tabularnewline
12 & 102.195 & 107.122182031864 & -4.92718203186379 \tabularnewline
13 & 88.925 & 88.843114817534 & 0.0818851824660004 \tabularnewline
14 & 94.184 & 95.8623701553527 & -1.67837015535268 \tabularnewline
15 & 94.196 & 93.7480000107949 & 0.447999989205114 \tabularnewline
16 & 108.932 & 108.049448799833 & 0.882551200166897 \tabularnewline
17 & 91.134 & 90.3204550919258 & 0.813544908074221 \tabularnewline
18 & 97.149 & 97.1668301848688 & -0.0178301848688226 \tabularnewline
19 & 96.415 & 95.0367436544132 & 1.37825634558677 \tabularnewline
20 & 112.432 & 110.281175597319 & 2.15082440268143 \tabularnewline
21 & 92.47 & 93.1179717817315 & -0.647971781731503 \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.2769653471863 & -0.637150797186286 \tabularnewline
26 & 104.1120262 & 104.726411801703 & -0.614385601703362 \tabularnewline
27 & 104.0148224 & 103.004951304590 & 1.00987109540978 \tabularnewline
28 & 118.1743476 & 117.620727811584 & 0.553619788415862 \tabularnewline
29 & 102.033431 & 100.284643751121 & 1.74878724887855 \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.21469657831305 \tabularnewline
34 & 112.7185207 & 108.812672135127 & 3.90584856487253 \tabularnewline
35 & 109.0381253 & 107.468404899561 & 1.56972040043885 \tabularnewline
36 & 122.4434864 & 122.115614178351 & 0.327872221649359 \tabularnewline
37 & 106.6325686 & 104.685231802501 & 1.94733679749878 \tabularnewline
38 & 113.8153852 & 112.285993418538 & 1.52939178146207 \tabularnewline
39 & 111.1071252 & 110.910293411176 & 0.196831788823947 \tabularnewline
40 & 130.039536 & 126.076143424592 & 3.96339257540756 \tabularnewline
41 & 109.6121057 & 108.787208521823 & 0.824897178176908 \tabularnewline
42 & 116.8592117 & 116.545133996838 & 0.314077703162339 \tabularnewline
43 & 113.8982545 & 115.876671354876 & -1.9784168548761 \tabularnewline
44 & 128.9375926 & 130.256702073403 & -1.31910947340324 \tabularnewline
45 & 111.8120023 & 112.354828120620 & -0.542825820620266 \tabularnewline
46 & 119.9689463 & 119.782709491781 & 0.186236808218633 \tabularnewline
47 & 117.018539 & 118.296994783135 & -1.27845578313498 \tabularnewline
48 & 132.4743387 & 132.614159958071 & -0.139821258070968 \tabularnewline
49 & 116.3369106 & 115.199493968119 & 1.13741663188065 \tabularnewline
50 & 124.6405636 & 122.171600148245 & 2.46896345175532 \tabularnewline
51 & 121.025249 & 120.497288808825 & 0.527960191175139 \tabularnewline
52 & 137.2054829 & 137.171911868429 & 0.0335710315713785 \tabularnewline
53 & 120.0187687 & 121.564630256722 & -1.54586155672225 \tabularnewline
54 & 127.0443429 & 130.611299375355 & -3.56695647535519 \tabularnewline
55 & 124.349043 & 129.848538418007 & -5.49949541800691 \tabularnewline
56 & 143.6114438 & 143.081272965996 & 0.530170834004248 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114925&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.6351423879086[/C][C]-0.925142387908629[/C][/ROW]
[ROW][C]2[/C][C]87.703[/C][C]88.9471603603273[/C][C]-1.24416036032729[/C][/ROW]
[ROW][C]3[/C][C]90.09[/C][C]87.6343258965565[/C][C]2.45567410344347[/C][/ROW]
[ROW][C]4[/C][C]100.639[/C][C]102.045789386879[/C][C]-1.40678938687924[/C][/ROW]
[ROW][C]5[/C][C]83.042[/C][C]85.2283460610435[/C][C]-2.18634606104345[/C][/ROW]
[ROW][C]6[/C][C]89.956[/C][C]91.5089312616662[/C][C]-1.55293126166622[/C][/ROW]
[ROW][C]7[/C][C]89.561[/C][C]90.2432459555888[/C][C]-0.682245955588831[/C][/ROW]
[ROW][C]8[/C][C]105.38[/C][C]105.346230425414[/C][C]0.0337695745859021[/C][/ROW]
[ROW][C]9[/C][C]86.554[/C][C]87.8372661200758[/C][C]-1.28326612007576[/C][/ROW]
[ROW][C]10[/C][C]93.131[/C][C]93.5992105860716[/C][C]-0.468210586071625[/C][/ROW]
[ROW][C]11[/C][C]92.812[/C][C]92.6950021556433[/C][C]0.116997844356707[/C][/ROW]
[ROW][C]12[/C][C]102.195[/C][C]107.122182031864[/C][C]-4.92718203186379[/C][/ROW]
[ROW][C]13[/C][C]88.925[/C][C]88.843114817534[/C][C]0.0818851824660004[/C][/ROW]
[ROW][C]14[/C][C]94.184[/C][C]95.8623701553527[/C][C]-1.67837015535268[/C][/ROW]
[ROW][C]15[/C][C]94.196[/C][C]93.7480000107949[/C][C]0.447999989205114[/C][/ROW]
[ROW][C]16[/C][C]108.932[/C][C]108.049448799833[/C][C]0.882551200166897[/C][/ROW]
[ROW][C]17[/C][C]91.134[/C][C]90.3204550919258[/C][C]0.813544908074221[/C][/ROW]
[ROW][C]18[/C][C]97.149[/C][C]97.1668301848688[/C][C]-0.0178301848688226[/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.15082440268143[/C][/ROW]
[ROW][C]21[/C][C]92.47[/C][C]93.1179717817315[/C][C]-0.647971781731503[/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.2769653471863[/C][C]-0.637150797186286[/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.553619788415862[/C][/ROW]
[ROW][C]29[/C][C]102.033431[/C][C]100.284643751121[/C][C]1.74878724887855[/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.21469657831305[/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.327872221649359[/C][/ROW]
[ROW][C]37[/C][C]106.6325686[/C][C]104.685231802501[/C][C]1.94733679749878[/C][/ROW]
[ROW][C]38[/C][C]113.8153852[/C][C]112.285993418538[/C][C]1.52939178146207[/C][/ROW]
[ROW][C]39[/C][C]111.1071252[/C][C]110.910293411176[/C][C]0.196831788823947[/C][/ROW]
[ROW][C]40[/C][C]130.039536[/C][C]126.076143424592[/C][C]3.96339257540756[/C][/ROW]
[ROW][C]41[/C][C]109.6121057[/C][C]108.787208521823[/C][C]0.824897178176908[/C][/ROW]
[ROW][C]42[/C][C]116.8592117[/C][C]116.545133996838[/C][C]0.314077703162339[/C][/ROW]
[ROW][C]43[/C][C]113.8982545[/C][C]115.876671354876[/C][C]-1.9784168548761[/C][/ROW]
[ROW][C]44[/C][C]128.9375926[/C][C]130.256702073403[/C][C]-1.31910947340324[/C][/ROW]
[ROW][C]45[/C][C]111.8120023[/C][C]112.354828120620[/C][C]-0.542825820620266[/C][/ROW]
[ROW][C]46[/C][C]119.9689463[/C][C]119.782709491781[/C][C]0.186236808218633[/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.139821258070968[/C][/ROW]
[ROW][C]49[/C][C]116.3369106[/C][C]115.199493968119[/C][C]1.13741663188065[/C][/ROW]
[ROW][C]50[/C][C]124.6405636[/C][C]122.171600148245[/C][C]2.46896345175532[/C][/ROW]
[ROW][C]51[/C][C]121.025249[/C][C]120.497288808825[/C][C]0.527960191175139[/C][/ROW]
[ROW][C]52[/C][C]137.2054829[/C][C]137.171911868429[/C][C]0.0335710315713785[/C][/ROW]
[ROW][C]53[/C][C]120.0187687[/C][C]121.564630256722[/C][C]-1.54586155672225[/C][/ROW]
[ROW][C]54[/C][C]127.0443429[/C][C]130.611299375355[/C][C]-3.56695647535519[/C][/ROW]
[ROW][C]55[/C][C]124.349043[/C][C]129.848538418007[/C][C]-5.49949541800691[/C][/ROW]
[ROW][C]56[/C][C]143.6114438[/C][C]143.081272965996[/C][C]0.530170834004248[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114925&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114925&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.6351423879086-0.925142387908629
287.70388.9471603603273-1.24416036032729
390.0987.63432589655652.45567410344347
4100.639102.045789386879-1.40678938687924
583.04285.2283460610435-2.18634606104345
689.95691.5089312616662-1.55293126166622
789.56190.2432459555888-0.682245955588831
8105.38105.3462304254140.0337695745859021
986.55487.8372661200758-1.28326612007576
1093.13193.5992105860716-0.468210586071625
1192.81292.69500215564330.116997844356707
12102.195107.122182031864-4.92718203186379
1388.92588.8431148175340.0818851824660004
1494.18495.8623701553527-1.67837015535268
1594.19693.74800001079490.447999989205114
16108.932108.0494487998330.882551200166897
1791.13490.32045509192580.813544908074221
1897.14997.1668301848688-0.0178301848688226
1996.41595.03674365441321.37825634558677
20112.432110.2811755973192.15082440268143
2192.4793.1179717817315-0.647971781731503
2298.61410515100.451554837506-1.83744968750586
2397.8011719799.3116006186108-1.51042864861077
24111.8560178114.351719544845-2.49570174484485
2595.6398145596.2769653471863-0.637150797186286
26104.1120262104.726411801703-0.614385601703362
27104.0148224103.0049513045901.00987109540978
28118.1743476117.6207278115840.553619788415862
29102.033431100.2846437511211.74878724887855
30109.3138852106.7381091966202.57577600338016
31108.1523649104.9066339982223.24573090177780
32121.30381119.4909777334211.81283226657945
33103.8725146102.6578180216871.21469657831305
34112.7185207108.8126721351273.90584856487253
35109.0381253107.4684048995611.56972040043885
36122.4434864122.1156141783510.327872221649359
37106.6325686104.6852318025011.94733679749878
38113.8153852112.2859934185381.52939178146207
39111.1071252110.9102934111760.196831788823947
40130.039536126.0761434245923.96339257540756
41109.6121057108.7872085218230.824897178176908
42116.8592117116.5451339968380.314077703162339
43113.8982545115.876671354876-1.9784168548761
44128.9375926130.256702073403-1.31910947340324
45111.8120023112.354828120620-0.542825820620266
46119.9689463119.7827094917810.186236808218633
47117.018539118.296994783135-1.27845578313498
48132.4743387132.614159958071-0.139821258070968
49116.3369106115.1994939681191.13741663188065
50124.6405636122.1716001482452.46896345175532
51121.025249120.4972888088250.527960191175139
52137.2054829137.1719118684290.0335710315713785
53120.0187687121.564630256722-1.54586155672225
54127.0443429130.611299375355-3.56695647535519
55124.349043129.848538418007-5.49949541800691
56143.6114438143.0812729659960.530170834004248







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
80.3051576135557670.6103152271115340.694842386444233
90.1917199410100000.3834398820200010.80828005899
100.1257178904373610.2514357808747220.874282109562639
110.06668926100623830.1333785220124770.933310738993762
120.3152642807313970.6305285614627940.684735719268603
130.3270696170669430.6541392341338870.672930382933057
140.2638388287096260.5276776574192510.736161171290374
150.1829306573809340.3658613147618690.817069342619066
160.2846278987794120.5692557975588240.715372101220588
170.2643824032116550.528764806423310.735617596788345
180.2154872189557760.4309744379115520.784512781044224
190.1562625903799520.3125251807599050.843737409620048
200.2040457806884840.4080915613769690.795954219311516
210.1685804311412090.3371608622824170.831419568858791
220.2061863613171410.4123727226342820.793813638682859
230.2658787640588720.5317575281177450.734121235941128
240.4374829650731490.8749659301462980.562517034926851
250.4651722223802530.9303444447605070.534827777619747
260.555795625194260.888408749611480.44420437480574
270.484203260573370.968406521146740.51579673942663
280.5217488072497110.9565023855005780.478251192750289
290.5080337506133520.9839324987732970.491966249386648
300.5422893283127750.915421343374450.457710671687225
310.56184381966140.87631236067720.4381561803386
320.5204148245255260.9591703509489470.479585175474474
330.454267053482610.908534106965220.545732946517389
340.507383494867170.985233010265660.49261650513283
350.4475339968494810.8950679936989620.552466003150519
360.4821493634525460.9642987269050910.517850636547454
370.3942178454162590.7884356908325180.605782154583741
380.3115892651899820.6231785303799640.688410734810018
390.2796279669122550.5592559338245090.720372033087745
400.3358517341897550.671703468379510.664148265810245
410.2601622097585280.5203244195170570.739837790241471
420.2078560142855570.4157120285711130.792143985714443
430.2598059012211650.5196118024423290.740194098778835
440.383841530925340.767683061850680.61615846907466
450.3701186106705730.7402372213411460.629881389329427
460.2949663730060540.5899327460121080.705033626993946
470.2353579977466920.4707159954933850.764642002253308
480.430774206527490.861548413054980.56922579347251

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
8 & 0.305157613555767 & 0.610315227111534 & 0.694842386444233 \tabularnewline
9 & 0.191719941010000 & 0.383439882020001 & 0.80828005899 \tabularnewline
10 & 0.125717890437361 & 0.251435780874722 & 0.874282109562639 \tabularnewline
11 & 0.0666892610062383 & 0.133378522012477 & 0.933310738993762 \tabularnewline
12 & 0.315264280731397 & 0.630528561462794 & 0.684735719268603 \tabularnewline
13 & 0.327069617066943 & 0.654139234133887 & 0.672930382933057 \tabularnewline
14 & 0.263838828709626 & 0.527677657419251 & 0.736161171290374 \tabularnewline
15 & 0.182930657380934 & 0.365861314761869 & 0.817069342619066 \tabularnewline
16 & 0.284627898779412 & 0.569255797558824 & 0.715372101220588 \tabularnewline
17 & 0.264382403211655 & 0.52876480642331 & 0.735617596788345 \tabularnewline
18 & 0.215487218955776 & 0.430974437911552 & 0.784512781044224 \tabularnewline
19 & 0.156262590379952 & 0.312525180759905 & 0.843737409620048 \tabularnewline
20 & 0.204045780688484 & 0.408091561376969 & 0.795954219311516 \tabularnewline
21 & 0.168580431141209 & 0.337160862282417 & 0.831419568858791 \tabularnewline
22 & 0.206186361317141 & 0.412372722634282 & 0.793813638682859 \tabularnewline
23 & 0.265878764058872 & 0.531757528117745 & 0.734121235941128 \tabularnewline
24 & 0.437482965073149 & 0.874965930146298 & 0.562517034926851 \tabularnewline
25 & 0.465172222380253 & 0.930344444760507 & 0.534827777619747 \tabularnewline
26 & 0.55579562519426 & 0.88840874961148 & 0.44420437480574 \tabularnewline
27 & 0.48420326057337 & 0.96840652114674 & 0.51579673942663 \tabularnewline
28 & 0.521748807249711 & 0.956502385500578 & 0.478251192750289 \tabularnewline
29 & 0.508033750613352 & 0.983932498773297 & 0.491966249386648 \tabularnewline
30 & 0.542289328312775 & 0.91542134337445 & 0.457710671687225 \tabularnewline
31 & 0.5618438196614 & 0.8763123606772 & 0.4381561803386 \tabularnewline
32 & 0.520414824525526 & 0.959170350948947 & 0.479585175474474 \tabularnewline
33 & 0.45426705348261 & 0.90853410696522 & 0.545732946517389 \tabularnewline
34 & 0.50738349486717 & 0.98523301026566 & 0.49261650513283 \tabularnewline
35 & 0.447533996849481 & 0.895067993698962 & 0.552466003150519 \tabularnewline
36 & 0.482149363452546 & 0.964298726905091 & 0.517850636547454 \tabularnewline
37 & 0.394217845416259 & 0.788435690832518 & 0.605782154583741 \tabularnewline
38 & 0.311589265189982 & 0.623178530379964 & 0.688410734810018 \tabularnewline
39 & 0.279627966912255 & 0.559255933824509 & 0.720372033087745 \tabularnewline
40 & 0.335851734189755 & 0.67170346837951 & 0.664148265810245 \tabularnewline
41 & 0.260162209758528 & 0.520324419517057 & 0.739837790241471 \tabularnewline
42 & 0.207856014285557 & 0.415712028571113 & 0.792143985714443 \tabularnewline
43 & 0.259805901221165 & 0.519611802442329 & 0.740194098778835 \tabularnewline
44 & 0.38384153092534 & 0.76768306185068 & 0.61615846907466 \tabularnewline
45 & 0.370118610670573 & 0.740237221341146 & 0.629881389329427 \tabularnewline
46 & 0.294966373006054 & 0.589932746012108 & 0.705033626993946 \tabularnewline
47 & 0.235357997746692 & 0.470715995493385 & 0.764642002253308 \tabularnewline
48 & 0.43077420652749 & 0.86154841305498 & 0.56922579347251 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114925&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.305157613555767[/C][C]0.610315227111534[/C][C]0.694842386444233[/C][/ROW]
[ROW][C]9[/C][C]0.191719941010000[/C][C]0.383439882020001[/C][C]0.80828005899[/C][/ROW]
[ROW][C]10[/C][C]0.125717890437361[/C][C]0.251435780874722[/C][C]0.874282109562639[/C][/ROW]
[ROW][C]11[/C][C]0.0666892610062383[/C][C]0.133378522012477[/C][C]0.933310738993762[/C][/ROW]
[ROW][C]12[/C][C]0.315264280731397[/C][C]0.630528561462794[/C][C]0.684735719268603[/C][/ROW]
[ROW][C]13[/C][C]0.327069617066943[/C][C]0.654139234133887[/C][C]0.672930382933057[/C][/ROW]
[ROW][C]14[/C][C]0.263838828709626[/C][C]0.527677657419251[/C][C]0.736161171290374[/C][/ROW]
[ROW][C]15[/C][C]0.182930657380934[/C][C]0.365861314761869[/C][C]0.817069342619066[/C][/ROW]
[ROW][C]16[/C][C]0.284627898779412[/C][C]0.569255797558824[/C][C]0.715372101220588[/C][/ROW]
[ROW][C]17[/C][C]0.264382403211655[/C][C]0.52876480642331[/C][C]0.735617596788345[/C][/ROW]
[ROW][C]18[/C][C]0.215487218955776[/C][C]0.430974437911552[/C][C]0.784512781044224[/C][/ROW]
[ROW][C]19[/C][C]0.156262590379952[/C][C]0.312525180759905[/C][C]0.843737409620048[/C][/ROW]
[ROW][C]20[/C][C]0.204045780688484[/C][C]0.408091561376969[/C][C]0.795954219311516[/C][/ROW]
[ROW][C]21[/C][C]0.168580431141209[/C][C]0.337160862282417[/C][C]0.831419568858791[/C][/ROW]
[ROW][C]22[/C][C]0.206186361317141[/C][C]0.412372722634282[/C][C]0.793813638682859[/C][/ROW]
[ROW][C]23[/C][C]0.265878764058872[/C][C]0.531757528117745[/C][C]0.734121235941128[/C][/ROW]
[ROW][C]24[/C][C]0.437482965073149[/C][C]0.874965930146298[/C][C]0.562517034926851[/C][/ROW]
[ROW][C]25[/C][C]0.465172222380253[/C][C]0.930344444760507[/C][C]0.534827777619747[/C][/ROW]
[ROW][C]26[/C][C]0.55579562519426[/C][C]0.88840874961148[/C][C]0.44420437480574[/C][/ROW]
[ROW][C]27[/C][C]0.48420326057337[/C][C]0.96840652114674[/C][C]0.51579673942663[/C][/ROW]
[ROW][C]28[/C][C]0.521748807249711[/C][C]0.956502385500578[/C][C]0.478251192750289[/C][/ROW]
[ROW][C]29[/C][C]0.508033750613352[/C][C]0.983932498773297[/C][C]0.491966249386648[/C][/ROW]
[ROW][C]30[/C][C]0.542289328312775[/C][C]0.91542134337445[/C][C]0.457710671687225[/C][/ROW]
[ROW][C]31[/C][C]0.5618438196614[/C][C]0.8763123606772[/C][C]0.4381561803386[/C][/ROW]
[ROW][C]32[/C][C]0.520414824525526[/C][C]0.959170350948947[/C][C]0.479585175474474[/C][/ROW]
[ROW][C]33[/C][C]0.45426705348261[/C][C]0.90853410696522[/C][C]0.545732946517389[/C][/ROW]
[ROW][C]34[/C][C]0.50738349486717[/C][C]0.98523301026566[/C][C]0.49261650513283[/C][/ROW]
[ROW][C]35[/C][C]0.447533996849481[/C][C]0.895067993698962[/C][C]0.552466003150519[/C][/ROW]
[ROW][C]36[/C][C]0.482149363452546[/C][C]0.964298726905091[/C][C]0.517850636547454[/C][/ROW]
[ROW][C]37[/C][C]0.394217845416259[/C][C]0.788435690832518[/C][C]0.605782154583741[/C][/ROW]
[ROW][C]38[/C][C]0.311589265189982[/C][C]0.623178530379964[/C][C]0.688410734810018[/C][/ROW]
[ROW][C]39[/C][C]0.279627966912255[/C][C]0.559255933824509[/C][C]0.720372033087745[/C][/ROW]
[ROW][C]40[/C][C]0.335851734189755[/C][C]0.67170346837951[/C][C]0.664148265810245[/C][/ROW]
[ROW][C]41[/C][C]0.260162209758528[/C][C]0.520324419517057[/C][C]0.739837790241471[/C][/ROW]
[ROW][C]42[/C][C]0.207856014285557[/C][C]0.415712028571113[/C][C]0.792143985714443[/C][/ROW]
[ROW][C]43[/C][C]0.259805901221165[/C][C]0.519611802442329[/C][C]0.740194098778835[/C][/ROW]
[ROW][C]44[/C][C]0.38384153092534[/C][C]0.76768306185068[/C][C]0.61615846907466[/C][/ROW]
[ROW][C]45[/C][C]0.370118610670573[/C][C]0.740237221341146[/C][C]0.629881389329427[/C][/ROW]
[ROW][C]46[/C][C]0.294966373006054[/C][C]0.589932746012108[/C][C]0.705033626993946[/C][/ROW]
[ROW][C]47[/C][C]0.235357997746692[/C][C]0.470715995493385[/C][C]0.764642002253308[/C][/ROW]
[ROW][C]48[/C][C]0.43077420652749[/C][C]0.86154841305498[/C][C]0.56922579347251[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114925&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114925&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.3051576135557670.6103152271115340.694842386444233
90.1917199410100000.3834398820200010.80828005899
100.1257178904373610.2514357808747220.874282109562639
110.06668926100623830.1333785220124770.933310738993762
120.3152642807313970.6305285614627940.684735719268603
130.3270696170669430.6541392341338870.672930382933057
140.2638388287096260.5276776574192510.736161171290374
150.1829306573809340.3658613147618690.817069342619066
160.2846278987794120.5692557975588240.715372101220588
170.2643824032116550.528764806423310.735617596788345
180.2154872189557760.4309744379115520.784512781044224
190.1562625903799520.3125251807599050.843737409620048
200.2040457806884840.4080915613769690.795954219311516
210.1685804311412090.3371608622824170.831419568858791
220.2061863613171410.4123727226342820.793813638682859
230.2658787640588720.5317575281177450.734121235941128
240.4374829650731490.8749659301462980.562517034926851
250.4651722223802530.9303444447605070.534827777619747
260.555795625194260.888408749611480.44420437480574
270.484203260573370.968406521146740.51579673942663
280.5217488072497110.9565023855005780.478251192750289
290.5080337506133520.9839324987732970.491966249386648
300.5422893283127750.915421343374450.457710671687225
310.56184381966140.87631236067720.4381561803386
320.5204148245255260.9591703509489470.479585175474474
330.454267053482610.908534106965220.545732946517389
340.507383494867170.985233010265660.49261650513283
350.4475339968494810.8950679936989620.552466003150519
360.4821493634525460.9642987269050910.517850636547454
370.3942178454162590.7884356908325180.605782154583741
380.3115892651899820.6231785303799640.688410734810018
390.2796279669122550.5592559338245090.720372033087745
400.3358517341897550.671703468379510.664148265810245
410.2601622097585280.5203244195170570.739837790241471
420.2078560142855570.4157120285711130.792143985714443
430.2598059012211650.5196118024423290.740194098778835
440.383841530925340.767683061850680.61615846907466
450.3701186106705730.7402372213411460.629881389329427
460.2949663730060540.5899327460121080.705033626993946
470.2353579977466920.4707159954933850.764642002253308
480.430774206527490.861548413054980.56922579347251







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

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