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 computationTue, 22 Nov 2011 06:10:26 -0500
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/Nov/22/t1321960243q5ryv04tg86156k.htm/, Retrieved Wed, 24 Apr 2024 04:55:31 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=146128, Retrieved Wed, 24 Apr 2024 04:55:31 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact77
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [] [2010-11-17 09:55:05] [b98453cac15ba1066b407e146608df68]
- R PD    [Multiple Regression] [] [2011-11-22 11:10:26] [79818163420d1233b8d9d93d595e6c9e] [Current]
Feedback Forum

Post a new message
Dataseries X:
1	1	1	1167	333	333	70	70
1	2	2	669	223	223	44	44
1	3	3	1053	371	371	35	35
1	4	4	1939	873	873	119	119
1	5	5	678	186	186	30	30
1	6	6	321	111	111	23	23
1	7	7	2667	1277	1277	46	46
1	8	8	345	102	102	39	39
1	9	9	1367	580	580	58	58
1	10	10	1158	420	420	51	51
1	11	11	1385	521	521	65	65
1	12	12	1155	358	358	40	40
1	13	13	1120	435	435	41	41
1	14	14	1703	690	690	76	76
1	15	15	1189	393	393	31	31
1	16	16	3083	1149	1149	82	82
1	17	17	1357	486	486	36	36
1	18	18	1892	767	767	62	62
1	19	19	883	338	338	28	28
1	20	20	1627	485	485	38	38
1	21	21	1412	465	465	70	70
1	22	22	1900	816	816	76	76
1	23	23	777	265	265	33	33
1	24	24	904	307	307	40	40
1	25	25	2115	850	850	126	126
1	26	26	1858	704	704	56	56
1	27	27	1781	693	693	63	63
1	28	28	1286	387	387	46	46
1	29	29	1035	406	406	35	35
1	30	30	1557	573	573	108	108
0	31	0	1527	595	0	34	0
0	32	0	1220	394	0	54	0
0	33	0	1368	521	0	35	0
0	34	0	564	172	0	23	0
0	35	0	1990	835	0	46	0
0	36	0	1557	669	0	49	0
0	37	0	2057	749	0	56	0
0	38	0	1111	368	0	38	0
0	39	0	686	216	0	19	0
0	40	0	2011	772	0	29	0
0	41	0	2232	1084	0	26	0
0	42	0	1032	445	0	52	0
0	43	0	1166	451	0	54	0
0	44	0	1020	300	0	45	0
0	45	0	1735	836	0	56	0
0	46	0	3623	1417	0	596	0
0	47	0	918	330	0	57	0
0	48	0	1579	477	0	55	0
0	49	0	2790	1028	0	99	0
0	50	0	1496	646	0	51	0
0	51	0	1108	342	0	21	0
0	52	0	496	218	0	20	0
0	53	0	1750	591	0	58	0
0	54	0	744	255	0	21	0
0	55	0	1101	434	0	66	0
0	56	0	1612	654	0	47	0
0	57	0	1805	478	0	55	0
0	58	0	2460	753	0	158	0
0	59	0	1653	689	0	46	0
0	60	0	1234	470	0	45	0




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

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 4 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ jenkins.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=146128&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]4 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ jenkins.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=146128&T=0

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

As an alternative you can also use a QR Code:  

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

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







Multiple Linear Regression - Estimated Regression Equation
y[t] = + 61.4075931643679 + 127.734586519242Pop[t] + 4.82323688675399t + 0.13668061961216pop_t[t] + 2.05466339206892x1[t] + 0.00831474027475941x1_p[t] + 0.945522033007033x2[t] -0.169168513370292x2_p[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
y[t] =  +  61.4075931643679 +  127.734586519242Pop[t] +  4.82323688675399t +  0.13668061961216pop_t[t] +  2.05466339206892x1[t] +  0.00831474027475941x1_p[t] +  0.945522033007033x2[t] -0.169168513370292x2_p[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=146128&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]y[t] =  +  61.4075931643679 +  127.734586519242Pop[t] +  4.82323688675399t +  0.13668061961216pop_t[t] +  2.05466339206892x1[t] +  0.00831474027475941x1_p[t] +  0.945522033007033x2[t] -0.169168513370292x2_p[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=146128&T=1

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

As an alternative you can also use a QR Code:  

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

Multiple Linear Regression - Estimated Regression Equation
y[t] = + 61.4075931643679 + 127.734586519242Pop[t] + 4.82323688675399t + 0.13668061961216pop_t[t] + 2.05466339206892x1[t] + 0.00831474027475941x1_p[t] + 0.945522033007033x2[t] -0.169168513370292x2_p[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)61.4075931643679195.5154130.31410.7547160.377358
Pop127.734586519242216.8313010.58910.5583470.279174
t4.823236886753993.8438051.25480.2151590.107579
pop_t0.136680619612165.4652920.0250.9801440.490072
x12.054663392068920.1535713.379300
x1_p0.008314740274759410.2142910.03880.9691970.484599
x20.9455220330070330.4215862.24280.02920.0146
x2_p-0.1691685133702921.64245-0.1030.9183610.45918

\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) & 61.4075931643679 & 195.515413 & 0.3141 & 0.754716 & 0.377358 \tabularnewline
Pop & 127.734586519242 & 216.831301 & 0.5891 & 0.558347 & 0.279174 \tabularnewline
t & 4.82323688675399 & 3.843805 & 1.2548 & 0.215159 & 0.107579 \tabularnewline
pop_t & 0.13668061961216 & 5.465292 & 0.025 & 0.980144 & 0.490072 \tabularnewline
x1 & 2.05466339206892 & 0.15357 & 13.3793 & 0 & 0 \tabularnewline
x1_p & 0.00831474027475941 & 0.214291 & 0.0388 & 0.969197 & 0.484599 \tabularnewline
x2 & 0.945522033007033 & 0.421586 & 2.2428 & 0.0292 & 0.0146 \tabularnewline
x2_p & -0.169168513370292 & 1.64245 & -0.103 & 0.918361 & 0.45918 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=146128&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]61.4075931643679[/C][C]195.515413[/C][C]0.3141[/C][C]0.754716[/C][C]0.377358[/C][/ROW]
[ROW][C]Pop[/C][C]127.734586519242[/C][C]216.831301[/C][C]0.5891[/C][C]0.558347[/C][C]0.279174[/C][/ROW]
[ROW][C]t[/C][C]4.82323688675399[/C][C]3.843805[/C][C]1.2548[/C][C]0.215159[/C][C]0.107579[/C][/ROW]
[ROW][C]pop_t[/C][C]0.13668061961216[/C][C]5.465292[/C][C]0.025[/C][C]0.980144[/C][C]0.490072[/C][/ROW]
[ROW][C]x1[/C][C]2.05466339206892[/C][C]0.15357[/C][C]13.3793[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]x1_p[/C][C]0.00831474027475941[/C][C]0.214291[/C][C]0.0388[/C][C]0.969197[/C][C]0.484599[/C][/ROW]
[ROW][C]x2[/C][C]0.945522033007033[/C][C]0.421586[/C][C]2.2428[/C][C]0.0292[/C][C]0.0146[/C][/ROW]
[ROW][C]x2_p[/C][C]-0.169168513370292[/C][C]1.64245[/C][C]-0.103[/C][C]0.918361[/C][C]0.45918[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=146128&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=146128&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)61.4075931643679195.5154130.31410.7547160.377358
Pop127.734586519242216.8313010.58910.5583470.279174
t4.823236886753993.8438051.25480.2151590.107579
pop_t0.136680619612165.4652920.0250.9801440.490072
x12.054663392068920.1535713.379300
x1_p0.008314740274759410.2142910.03880.9691970.484599
x20.9455220330070330.4215862.24280.02920.0146
x2_p-0.1691685133702921.64245-0.1030.9183610.45918







Multiple Linear Regression - Regression Statistics
Multiple R0.964918267593926
R-squared0.931067263136464
Adjusted R-squared0.921787856250988
F-TEST (value)100.336936899896
F-TEST (DF numerator)7
F-TEST (DF denominator)52
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation180.864464805365
Sum Squared Residuals1701021.64072521

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.964918267593926 \tabularnewline
R-squared & 0.931067263136464 \tabularnewline
Adjusted R-squared & 0.921787856250988 \tabularnewline
F-TEST (value) & 100.336936899896 \tabularnewline
F-TEST (DF numerator) & 7 \tabularnewline
F-TEST (DF denominator) & 52 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 180.864464805365 \tabularnewline
Sum Squared Residuals & 1701021.64072521 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=146128&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.964918267593926[/C][/ROW]
[ROW][C]R-squared[/C][C]0.931067263136464[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.921787856250988[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]100.336936899896[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]7[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]52[/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]180.864464805365[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]1701021.64072521[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=146128&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=146128&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.964918267593926
R-squared0.931067263136464
Adjusted R-squared0.921787856250988
F-TEST (value)100.336936899896
F-TEST (DF numerator)7
F-TEST (DF denominator)52
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation180.864464805365
Sum Squared Residuals1701021.64072521







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
11167935.418561634993231.581438365007
2669693.265693072999-24.265693072999
31053996.55919248949956.4408075105012
419392102.34782808188-163.347828081877
5678620.94630542046757.053694579533
6321465.748388363601-144.748388363601
726672893.99693913434-226.996939134338
8345469.523076499427-124.523076499427
913671475.33725813917-108.337258139169
1011581144.7861998330913.2138001669102
1113851368.9758579810816.0241420189183
1211551018.26150192451136.73849807549
1311201182.84708914098-62.847089140976
1417031741.03880358227-38.0388035822656
1511891098.3583073989190.6416926010936
1630832702.52372245857380.476277541434
1713571304.0168763177852.9831236822156
1818921908.85884052328-16.8588405232791
198831002.40511958656-119.405119586559
2016271318.38635774381308.613642256187
2114121306.93002523168105.069974768319
2219002040.6533883085-140.653388308498
23777875.529153549118-98.5291535491184
24904972.568627251376-68.5686272513762
2521152164.49207330912-49.4920733091186
2618581813.9124371187444.087562881264
2717811801.61406980678-20.614069806779
2812861162.10466898216123.895331017845
2910351197.72128228705-162.721282287047
3015571603.87235482829-46.8723548282895
3115271465.6004040569961.3995959430133
3212201076.34673979803143.653260201971
3313681324.147308850443.8526911495982
34564600.546757509019-36.5467575090194
3519901989.358830096630.641169903372898
3615571655.94450999896-98.9445099989619
3720571831.75947248228225.240527517721
3811111036.7365603966574.2634396033515
39686711.286043061794-25.2860430617935
4020111867.95734626894143.042653731064
4122322510.99899538217-278.998995382171
4210321227.47589759507-195.47589759507
4311661246.51815890025-80.5181589002511
441020932.57752528753587.4224747124647
4517352049.10108268631-314.101082686306
4636233758.2656481889-135.265648188899
479181020.03340210595-102.033402105949
4815791325.00111356082253.99888643918
4927902503.54684892986286.453151070143
5014961678.10361246195-182.103612461947
5111081029.9435171695478.0564828304611
52496779.04297140674-283.04297140674
5317501586.18549078947163.814509210532
54744865.657512719805-121.657512719805
5511011280.81398827221-179.813988272212
5616121719.69825278699-107.698252786994
5718051370.46490893367434.535091066325
5824602037.70934803911422.290651960894
5916531805.13566013666-152.135660136661
6012341359.04209212732-125.042092127315

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 1167 & 935.418561634993 & 231.581438365007 \tabularnewline
2 & 669 & 693.265693072999 & -24.265693072999 \tabularnewline
3 & 1053 & 996.559192489499 & 56.4408075105012 \tabularnewline
4 & 1939 & 2102.34782808188 & -163.347828081877 \tabularnewline
5 & 678 & 620.946305420467 & 57.053694579533 \tabularnewline
6 & 321 & 465.748388363601 & -144.748388363601 \tabularnewline
7 & 2667 & 2893.99693913434 & -226.996939134338 \tabularnewline
8 & 345 & 469.523076499427 & -124.523076499427 \tabularnewline
9 & 1367 & 1475.33725813917 & -108.337258139169 \tabularnewline
10 & 1158 & 1144.78619983309 & 13.2138001669102 \tabularnewline
11 & 1385 & 1368.97585798108 & 16.0241420189183 \tabularnewline
12 & 1155 & 1018.26150192451 & 136.73849807549 \tabularnewline
13 & 1120 & 1182.84708914098 & -62.847089140976 \tabularnewline
14 & 1703 & 1741.03880358227 & -38.0388035822656 \tabularnewline
15 & 1189 & 1098.35830739891 & 90.6416926010936 \tabularnewline
16 & 3083 & 2702.52372245857 & 380.476277541434 \tabularnewline
17 & 1357 & 1304.01687631778 & 52.9831236822156 \tabularnewline
18 & 1892 & 1908.85884052328 & -16.8588405232791 \tabularnewline
19 & 883 & 1002.40511958656 & -119.405119586559 \tabularnewline
20 & 1627 & 1318.38635774381 & 308.613642256187 \tabularnewline
21 & 1412 & 1306.93002523168 & 105.069974768319 \tabularnewline
22 & 1900 & 2040.6533883085 & -140.653388308498 \tabularnewline
23 & 777 & 875.529153549118 & -98.5291535491184 \tabularnewline
24 & 904 & 972.568627251376 & -68.5686272513762 \tabularnewline
25 & 2115 & 2164.49207330912 & -49.4920733091186 \tabularnewline
26 & 1858 & 1813.91243711874 & 44.087562881264 \tabularnewline
27 & 1781 & 1801.61406980678 & -20.614069806779 \tabularnewline
28 & 1286 & 1162.10466898216 & 123.895331017845 \tabularnewline
29 & 1035 & 1197.72128228705 & -162.721282287047 \tabularnewline
30 & 1557 & 1603.87235482829 & -46.8723548282895 \tabularnewline
31 & 1527 & 1465.60040405699 & 61.3995959430133 \tabularnewline
32 & 1220 & 1076.34673979803 & 143.653260201971 \tabularnewline
33 & 1368 & 1324.1473088504 & 43.8526911495982 \tabularnewline
34 & 564 & 600.546757509019 & -36.5467575090194 \tabularnewline
35 & 1990 & 1989.35883009663 & 0.641169903372898 \tabularnewline
36 & 1557 & 1655.94450999896 & -98.9445099989619 \tabularnewline
37 & 2057 & 1831.75947248228 & 225.240527517721 \tabularnewline
38 & 1111 & 1036.73656039665 & 74.2634396033515 \tabularnewline
39 & 686 & 711.286043061794 & -25.2860430617935 \tabularnewline
40 & 2011 & 1867.95734626894 & 143.042653731064 \tabularnewline
41 & 2232 & 2510.99899538217 & -278.998995382171 \tabularnewline
42 & 1032 & 1227.47589759507 & -195.47589759507 \tabularnewline
43 & 1166 & 1246.51815890025 & -80.5181589002511 \tabularnewline
44 & 1020 & 932.577525287535 & 87.4224747124647 \tabularnewline
45 & 1735 & 2049.10108268631 & -314.101082686306 \tabularnewline
46 & 3623 & 3758.2656481889 & -135.265648188899 \tabularnewline
47 & 918 & 1020.03340210595 & -102.033402105949 \tabularnewline
48 & 1579 & 1325.00111356082 & 253.99888643918 \tabularnewline
49 & 2790 & 2503.54684892986 & 286.453151070143 \tabularnewline
50 & 1496 & 1678.10361246195 & -182.103612461947 \tabularnewline
51 & 1108 & 1029.94351716954 & 78.0564828304611 \tabularnewline
52 & 496 & 779.04297140674 & -283.04297140674 \tabularnewline
53 & 1750 & 1586.18549078947 & 163.814509210532 \tabularnewline
54 & 744 & 865.657512719805 & -121.657512719805 \tabularnewline
55 & 1101 & 1280.81398827221 & -179.813988272212 \tabularnewline
56 & 1612 & 1719.69825278699 & -107.698252786994 \tabularnewline
57 & 1805 & 1370.46490893367 & 434.535091066325 \tabularnewline
58 & 2460 & 2037.70934803911 & 422.290651960894 \tabularnewline
59 & 1653 & 1805.13566013666 & -152.135660136661 \tabularnewline
60 & 1234 & 1359.04209212732 & -125.042092127315 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=146128&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]1167[/C][C]935.418561634993[/C][C]231.581438365007[/C][/ROW]
[ROW][C]2[/C][C]669[/C][C]693.265693072999[/C][C]-24.265693072999[/C][/ROW]
[ROW][C]3[/C][C]1053[/C][C]996.559192489499[/C][C]56.4408075105012[/C][/ROW]
[ROW][C]4[/C][C]1939[/C][C]2102.34782808188[/C][C]-163.347828081877[/C][/ROW]
[ROW][C]5[/C][C]678[/C][C]620.946305420467[/C][C]57.053694579533[/C][/ROW]
[ROW][C]6[/C][C]321[/C][C]465.748388363601[/C][C]-144.748388363601[/C][/ROW]
[ROW][C]7[/C][C]2667[/C][C]2893.99693913434[/C][C]-226.996939134338[/C][/ROW]
[ROW][C]8[/C][C]345[/C][C]469.523076499427[/C][C]-124.523076499427[/C][/ROW]
[ROW][C]9[/C][C]1367[/C][C]1475.33725813917[/C][C]-108.337258139169[/C][/ROW]
[ROW][C]10[/C][C]1158[/C][C]1144.78619983309[/C][C]13.2138001669102[/C][/ROW]
[ROW][C]11[/C][C]1385[/C][C]1368.97585798108[/C][C]16.0241420189183[/C][/ROW]
[ROW][C]12[/C][C]1155[/C][C]1018.26150192451[/C][C]136.73849807549[/C][/ROW]
[ROW][C]13[/C][C]1120[/C][C]1182.84708914098[/C][C]-62.847089140976[/C][/ROW]
[ROW][C]14[/C][C]1703[/C][C]1741.03880358227[/C][C]-38.0388035822656[/C][/ROW]
[ROW][C]15[/C][C]1189[/C][C]1098.35830739891[/C][C]90.6416926010936[/C][/ROW]
[ROW][C]16[/C][C]3083[/C][C]2702.52372245857[/C][C]380.476277541434[/C][/ROW]
[ROW][C]17[/C][C]1357[/C][C]1304.01687631778[/C][C]52.9831236822156[/C][/ROW]
[ROW][C]18[/C][C]1892[/C][C]1908.85884052328[/C][C]-16.8588405232791[/C][/ROW]
[ROW][C]19[/C][C]883[/C][C]1002.40511958656[/C][C]-119.405119586559[/C][/ROW]
[ROW][C]20[/C][C]1627[/C][C]1318.38635774381[/C][C]308.613642256187[/C][/ROW]
[ROW][C]21[/C][C]1412[/C][C]1306.93002523168[/C][C]105.069974768319[/C][/ROW]
[ROW][C]22[/C][C]1900[/C][C]2040.6533883085[/C][C]-140.653388308498[/C][/ROW]
[ROW][C]23[/C][C]777[/C][C]875.529153549118[/C][C]-98.5291535491184[/C][/ROW]
[ROW][C]24[/C][C]904[/C][C]972.568627251376[/C][C]-68.5686272513762[/C][/ROW]
[ROW][C]25[/C][C]2115[/C][C]2164.49207330912[/C][C]-49.4920733091186[/C][/ROW]
[ROW][C]26[/C][C]1858[/C][C]1813.91243711874[/C][C]44.087562881264[/C][/ROW]
[ROW][C]27[/C][C]1781[/C][C]1801.61406980678[/C][C]-20.614069806779[/C][/ROW]
[ROW][C]28[/C][C]1286[/C][C]1162.10466898216[/C][C]123.895331017845[/C][/ROW]
[ROW][C]29[/C][C]1035[/C][C]1197.72128228705[/C][C]-162.721282287047[/C][/ROW]
[ROW][C]30[/C][C]1557[/C][C]1603.87235482829[/C][C]-46.8723548282895[/C][/ROW]
[ROW][C]31[/C][C]1527[/C][C]1465.60040405699[/C][C]61.3995959430133[/C][/ROW]
[ROW][C]32[/C][C]1220[/C][C]1076.34673979803[/C][C]143.653260201971[/C][/ROW]
[ROW][C]33[/C][C]1368[/C][C]1324.1473088504[/C][C]43.8526911495982[/C][/ROW]
[ROW][C]34[/C][C]564[/C][C]600.546757509019[/C][C]-36.5467575090194[/C][/ROW]
[ROW][C]35[/C][C]1990[/C][C]1989.35883009663[/C][C]0.641169903372898[/C][/ROW]
[ROW][C]36[/C][C]1557[/C][C]1655.94450999896[/C][C]-98.9445099989619[/C][/ROW]
[ROW][C]37[/C][C]2057[/C][C]1831.75947248228[/C][C]225.240527517721[/C][/ROW]
[ROW][C]38[/C][C]1111[/C][C]1036.73656039665[/C][C]74.2634396033515[/C][/ROW]
[ROW][C]39[/C][C]686[/C][C]711.286043061794[/C][C]-25.2860430617935[/C][/ROW]
[ROW][C]40[/C][C]2011[/C][C]1867.95734626894[/C][C]143.042653731064[/C][/ROW]
[ROW][C]41[/C][C]2232[/C][C]2510.99899538217[/C][C]-278.998995382171[/C][/ROW]
[ROW][C]42[/C][C]1032[/C][C]1227.47589759507[/C][C]-195.47589759507[/C][/ROW]
[ROW][C]43[/C][C]1166[/C][C]1246.51815890025[/C][C]-80.5181589002511[/C][/ROW]
[ROW][C]44[/C][C]1020[/C][C]932.577525287535[/C][C]87.4224747124647[/C][/ROW]
[ROW][C]45[/C][C]1735[/C][C]2049.10108268631[/C][C]-314.101082686306[/C][/ROW]
[ROW][C]46[/C][C]3623[/C][C]3758.2656481889[/C][C]-135.265648188899[/C][/ROW]
[ROW][C]47[/C][C]918[/C][C]1020.03340210595[/C][C]-102.033402105949[/C][/ROW]
[ROW][C]48[/C][C]1579[/C][C]1325.00111356082[/C][C]253.99888643918[/C][/ROW]
[ROW][C]49[/C][C]2790[/C][C]2503.54684892986[/C][C]286.453151070143[/C][/ROW]
[ROW][C]50[/C][C]1496[/C][C]1678.10361246195[/C][C]-182.103612461947[/C][/ROW]
[ROW][C]51[/C][C]1108[/C][C]1029.94351716954[/C][C]78.0564828304611[/C][/ROW]
[ROW][C]52[/C][C]496[/C][C]779.04297140674[/C][C]-283.04297140674[/C][/ROW]
[ROW][C]53[/C][C]1750[/C][C]1586.18549078947[/C][C]163.814509210532[/C][/ROW]
[ROW][C]54[/C][C]744[/C][C]865.657512719805[/C][C]-121.657512719805[/C][/ROW]
[ROW][C]55[/C][C]1101[/C][C]1280.81398827221[/C][C]-179.813988272212[/C][/ROW]
[ROW][C]56[/C][C]1612[/C][C]1719.69825278699[/C][C]-107.698252786994[/C][/ROW]
[ROW][C]57[/C][C]1805[/C][C]1370.46490893367[/C][C]434.535091066325[/C][/ROW]
[ROW][C]58[/C][C]2460[/C][C]2037.70934803911[/C][C]422.290651960894[/C][/ROW]
[ROW][C]59[/C][C]1653[/C][C]1805.13566013666[/C][C]-152.135660136661[/C][/ROW]
[ROW][C]60[/C][C]1234[/C][C]1359.04209212732[/C][C]-125.042092127315[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=146128&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=146128&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
11167935.418561634993231.581438365007
2669693.265693072999-24.265693072999
31053996.55919248949956.4408075105012
419392102.34782808188-163.347828081877
5678620.94630542046757.053694579533
6321465.748388363601-144.748388363601
726672893.99693913434-226.996939134338
8345469.523076499427-124.523076499427
913671475.33725813917-108.337258139169
1011581144.7861998330913.2138001669102
1113851368.9758579810816.0241420189183
1211551018.26150192451136.73849807549
1311201182.84708914098-62.847089140976
1417031741.03880358227-38.0388035822656
1511891098.3583073989190.6416926010936
1630832702.52372245857380.476277541434
1713571304.0168763177852.9831236822156
1818921908.85884052328-16.8588405232791
198831002.40511958656-119.405119586559
2016271318.38635774381308.613642256187
2114121306.93002523168105.069974768319
2219002040.6533883085-140.653388308498
23777875.529153549118-98.5291535491184
24904972.568627251376-68.5686272513762
2521152164.49207330912-49.4920733091186
2618581813.9124371187444.087562881264
2717811801.61406980678-20.614069806779
2812861162.10466898216123.895331017845
2910351197.72128228705-162.721282287047
3015571603.87235482829-46.8723548282895
3115271465.6004040569961.3995959430133
3212201076.34673979803143.653260201971
3313681324.147308850443.8526911495982
34564600.546757509019-36.5467575090194
3519901989.358830096630.641169903372898
3615571655.94450999896-98.9445099989619
3720571831.75947248228225.240527517721
3811111036.7365603966574.2634396033515
39686711.286043061794-25.2860430617935
4020111867.95734626894143.042653731064
4122322510.99899538217-278.998995382171
4210321227.47589759507-195.47589759507
4311661246.51815890025-80.5181589002511
441020932.57752528753587.4224747124647
4517352049.10108268631-314.101082686306
4636233758.2656481889-135.265648188899
479181020.03340210595-102.033402105949
4815791325.00111356082253.99888643918
4927902503.54684892986286.453151070143
5014961678.10361246195-182.103612461947
5111081029.9435171695478.0564828304611
52496779.04297140674-283.04297140674
5317501586.18549078947163.814509210532
54744865.657512719805-121.657512719805
5511011280.81398827221-179.813988272212
5616121719.69825278699-107.698252786994
5718051370.46490893367434.535091066325
5824602037.70934803911422.290651960894
5916531805.13566013666-152.135660136661
6012341359.04209212732-125.042092127315







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
110.6394027187987890.7211945624024210.360597281201211
120.6197420085317720.7605159829364550.380257991468228
130.4764288223384080.9528576446768160.523571177661592
140.3510858842630520.7021717685261040.648914115736948
150.2780706356508120.5561412713016240.721929364349188
160.6255827534205390.7488344931589220.374417246579461
170.5173891140213850.9652217719572290.482610885978615
180.4302310985859720.8604621971719430.569768901414028
190.4052727212685690.8105454425371390.594727278731431
200.4773160503335190.9546321006670370.522683949666481
210.399720850485590.7994417009711810.60027914951441
220.4067409909748630.8134819819497270.593259009025137
230.3596359343600270.7192718687200550.640364065639973
240.2998189426328370.5996378852656740.700181057367163
250.2572760052187950.514552010437590.742723994781205
260.1914529044759370.3829058089518740.808547095524063
270.1377968588238240.2755937176476480.862203141176176
280.1016171967488540.2032343934977080.898382803251146
290.08705104449891950.1741020889978390.912948955501081
300.05860865826643460.1172173165328690.941391341733565
310.03778715809808690.07557431619617380.962212841901913
320.02617154733610570.05234309467221140.973828452663894
330.01595573309033450.03191146618066890.984044266909666
340.009041465344878850.01808293068975770.990958534655121
350.00495740107351240.009914802147024810.995042598926488
360.002780690550778390.005561381101556790.997219309449222
370.003887407292127490.007774814584254980.996112592707873
380.002452512530980880.004905025061961760.997547487469019
390.001270725778075650.002541451556151310.998729274221924
400.001330242869465370.002660485738930740.998669757130535
410.001357319348604150.002714638697208290.998642680651396
420.001203101677802330.002406203355604670.998796898322198
430.0005313626635551930.001062725327110390.999468637336445
440.0004195975768417330.0008391951536834660.999580402423158
450.0009031596140110650.001806319228022130.999096840385989
460.006331037201444430.01266207440288890.993668962798556
470.004528054432701840.009056108865403680.995471945567298
480.00646625526938540.01293251053877080.993533744730615
490.005877063856379260.01175412771275850.994122936143621

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
11 & 0.639402718798789 & 0.721194562402421 & 0.360597281201211 \tabularnewline
12 & 0.619742008531772 & 0.760515982936455 & 0.380257991468228 \tabularnewline
13 & 0.476428822338408 & 0.952857644676816 & 0.523571177661592 \tabularnewline
14 & 0.351085884263052 & 0.702171768526104 & 0.648914115736948 \tabularnewline
15 & 0.278070635650812 & 0.556141271301624 & 0.721929364349188 \tabularnewline
16 & 0.625582753420539 & 0.748834493158922 & 0.374417246579461 \tabularnewline
17 & 0.517389114021385 & 0.965221771957229 & 0.482610885978615 \tabularnewline
18 & 0.430231098585972 & 0.860462197171943 & 0.569768901414028 \tabularnewline
19 & 0.405272721268569 & 0.810545442537139 & 0.594727278731431 \tabularnewline
20 & 0.477316050333519 & 0.954632100667037 & 0.522683949666481 \tabularnewline
21 & 0.39972085048559 & 0.799441700971181 & 0.60027914951441 \tabularnewline
22 & 0.406740990974863 & 0.813481981949727 & 0.593259009025137 \tabularnewline
23 & 0.359635934360027 & 0.719271868720055 & 0.640364065639973 \tabularnewline
24 & 0.299818942632837 & 0.599637885265674 & 0.700181057367163 \tabularnewline
25 & 0.257276005218795 & 0.51455201043759 & 0.742723994781205 \tabularnewline
26 & 0.191452904475937 & 0.382905808951874 & 0.808547095524063 \tabularnewline
27 & 0.137796858823824 & 0.275593717647648 & 0.862203141176176 \tabularnewline
28 & 0.101617196748854 & 0.203234393497708 & 0.898382803251146 \tabularnewline
29 & 0.0870510444989195 & 0.174102088997839 & 0.912948955501081 \tabularnewline
30 & 0.0586086582664346 & 0.117217316532869 & 0.941391341733565 \tabularnewline
31 & 0.0377871580980869 & 0.0755743161961738 & 0.962212841901913 \tabularnewline
32 & 0.0261715473361057 & 0.0523430946722114 & 0.973828452663894 \tabularnewline
33 & 0.0159557330903345 & 0.0319114661806689 & 0.984044266909666 \tabularnewline
34 & 0.00904146534487885 & 0.0180829306897577 & 0.990958534655121 \tabularnewline
35 & 0.0049574010735124 & 0.00991480214702481 & 0.995042598926488 \tabularnewline
36 & 0.00278069055077839 & 0.00556138110155679 & 0.997219309449222 \tabularnewline
37 & 0.00388740729212749 & 0.00777481458425498 & 0.996112592707873 \tabularnewline
38 & 0.00245251253098088 & 0.00490502506196176 & 0.997547487469019 \tabularnewline
39 & 0.00127072577807565 & 0.00254145155615131 & 0.998729274221924 \tabularnewline
40 & 0.00133024286946537 & 0.00266048573893074 & 0.998669757130535 \tabularnewline
41 & 0.00135731934860415 & 0.00271463869720829 & 0.998642680651396 \tabularnewline
42 & 0.00120310167780233 & 0.00240620335560467 & 0.998796898322198 \tabularnewline
43 & 0.000531362663555193 & 0.00106272532711039 & 0.999468637336445 \tabularnewline
44 & 0.000419597576841733 & 0.000839195153683466 & 0.999580402423158 \tabularnewline
45 & 0.000903159614011065 & 0.00180631922802213 & 0.999096840385989 \tabularnewline
46 & 0.00633103720144443 & 0.0126620744028889 & 0.993668962798556 \tabularnewline
47 & 0.00452805443270184 & 0.00905610886540368 & 0.995471945567298 \tabularnewline
48 & 0.0064662552693854 & 0.0129325105387708 & 0.993533744730615 \tabularnewline
49 & 0.00587706385637926 & 0.0117541277127585 & 0.994122936143621 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=146128&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]11[/C][C]0.639402718798789[/C][C]0.721194562402421[/C][C]0.360597281201211[/C][/ROW]
[ROW][C]12[/C][C]0.619742008531772[/C][C]0.760515982936455[/C][C]0.380257991468228[/C][/ROW]
[ROW][C]13[/C][C]0.476428822338408[/C][C]0.952857644676816[/C][C]0.523571177661592[/C][/ROW]
[ROW][C]14[/C][C]0.351085884263052[/C][C]0.702171768526104[/C][C]0.648914115736948[/C][/ROW]
[ROW][C]15[/C][C]0.278070635650812[/C][C]0.556141271301624[/C][C]0.721929364349188[/C][/ROW]
[ROW][C]16[/C][C]0.625582753420539[/C][C]0.748834493158922[/C][C]0.374417246579461[/C][/ROW]
[ROW][C]17[/C][C]0.517389114021385[/C][C]0.965221771957229[/C][C]0.482610885978615[/C][/ROW]
[ROW][C]18[/C][C]0.430231098585972[/C][C]0.860462197171943[/C][C]0.569768901414028[/C][/ROW]
[ROW][C]19[/C][C]0.405272721268569[/C][C]0.810545442537139[/C][C]0.594727278731431[/C][/ROW]
[ROW][C]20[/C][C]0.477316050333519[/C][C]0.954632100667037[/C][C]0.522683949666481[/C][/ROW]
[ROW][C]21[/C][C]0.39972085048559[/C][C]0.799441700971181[/C][C]0.60027914951441[/C][/ROW]
[ROW][C]22[/C][C]0.406740990974863[/C][C]0.813481981949727[/C][C]0.593259009025137[/C][/ROW]
[ROW][C]23[/C][C]0.359635934360027[/C][C]0.719271868720055[/C][C]0.640364065639973[/C][/ROW]
[ROW][C]24[/C][C]0.299818942632837[/C][C]0.599637885265674[/C][C]0.700181057367163[/C][/ROW]
[ROW][C]25[/C][C]0.257276005218795[/C][C]0.51455201043759[/C][C]0.742723994781205[/C][/ROW]
[ROW][C]26[/C][C]0.191452904475937[/C][C]0.382905808951874[/C][C]0.808547095524063[/C][/ROW]
[ROW][C]27[/C][C]0.137796858823824[/C][C]0.275593717647648[/C][C]0.862203141176176[/C][/ROW]
[ROW][C]28[/C][C]0.101617196748854[/C][C]0.203234393497708[/C][C]0.898382803251146[/C][/ROW]
[ROW][C]29[/C][C]0.0870510444989195[/C][C]0.174102088997839[/C][C]0.912948955501081[/C][/ROW]
[ROW][C]30[/C][C]0.0586086582664346[/C][C]0.117217316532869[/C][C]0.941391341733565[/C][/ROW]
[ROW][C]31[/C][C]0.0377871580980869[/C][C]0.0755743161961738[/C][C]0.962212841901913[/C][/ROW]
[ROW][C]32[/C][C]0.0261715473361057[/C][C]0.0523430946722114[/C][C]0.973828452663894[/C][/ROW]
[ROW][C]33[/C][C]0.0159557330903345[/C][C]0.0319114661806689[/C][C]0.984044266909666[/C][/ROW]
[ROW][C]34[/C][C]0.00904146534487885[/C][C]0.0180829306897577[/C][C]0.990958534655121[/C][/ROW]
[ROW][C]35[/C][C]0.0049574010735124[/C][C]0.00991480214702481[/C][C]0.995042598926488[/C][/ROW]
[ROW][C]36[/C][C]0.00278069055077839[/C][C]0.00556138110155679[/C][C]0.997219309449222[/C][/ROW]
[ROW][C]37[/C][C]0.00388740729212749[/C][C]0.00777481458425498[/C][C]0.996112592707873[/C][/ROW]
[ROW][C]38[/C][C]0.00245251253098088[/C][C]0.00490502506196176[/C][C]0.997547487469019[/C][/ROW]
[ROW][C]39[/C][C]0.00127072577807565[/C][C]0.00254145155615131[/C][C]0.998729274221924[/C][/ROW]
[ROW][C]40[/C][C]0.00133024286946537[/C][C]0.00266048573893074[/C][C]0.998669757130535[/C][/ROW]
[ROW][C]41[/C][C]0.00135731934860415[/C][C]0.00271463869720829[/C][C]0.998642680651396[/C][/ROW]
[ROW][C]42[/C][C]0.00120310167780233[/C][C]0.00240620335560467[/C][C]0.998796898322198[/C][/ROW]
[ROW][C]43[/C][C]0.000531362663555193[/C][C]0.00106272532711039[/C][C]0.999468637336445[/C][/ROW]
[ROW][C]44[/C][C]0.000419597576841733[/C][C]0.000839195153683466[/C][C]0.999580402423158[/C][/ROW]
[ROW][C]45[/C][C]0.000903159614011065[/C][C]0.00180631922802213[/C][C]0.999096840385989[/C][/ROW]
[ROW][C]46[/C][C]0.00633103720144443[/C][C]0.0126620744028889[/C][C]0.993668962798556[/C][/ROW]
[ROW][C]47[/C][C]0.00452805443270184[/C][C]0.00905610886540368[/C][C]0.995471945567298[/C][/ROW]
[ROW][C]48[/C][C]0.0064662552693854[/C][C]0.0129325105387708[/C][C]0.993533744730615[/C][/ROW]
[ROW][C]49[/C][C]0.00587706385637926[/C][C]0.0117541277127585[/C][C]0.994122936143621[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=146128&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=146128&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
110.6394027187987890.7211945624024210.360597281201211
120.6197420085317720.7605159829364550.380257991468228
130.4764288223384080.9528576446768160.523571177661592
140.3510858842630520.7021717685261040.648914115736948
150.2780706356508120.5561412713016240.721929364349188
160.6255827534205390.7488344931589220.374417246579461
170.5173891140213850.9652217719572290.482610885978615
180.4302310985859720.8604621971719430.569768901414028
190.4052727212685690.8105454425371390.594727278731431
200.4773160503335190.9546321006670370.522683949666481
210.399720850485590.7994417009711810.60027914951441
220.4067409909748630.8134819819497270.593259009025137
230.3596359343600270.7192718687200550.640364065639973
240.2998189426328370.5996378852656740.700181057367163
250.2572760052187950.514552010437590.742723994781205
260.1914529044759370.3829058089518740.808547095524063
270.1377968588238240.2755937176476480.862203141176176
280.1016171967488540.2032343934977080.898382803251146
290.08705104449891950.1741020889978390.912948955501081
300.05860865826643460.1172173165328690.941391341733565
310.03778715809808690.07557431619617380.962212841901913
320.02617154733610570.05234309467221140.973828452663894
330.01595573309033450.03191146618066890.984044266909666
340.009041465344878850.01808293068975770.990958534655121
350.00495740107351240.009914802147024810.995042598926488
360.002780690550778390.005561381101556790.997219309449222
370.003887407292127490.007774814584254980.996112592707873
380.002452512530980880.004905025061961760.997547487469019
390.001270725778075650.002541451556151310.998729274221924
400.001330242869465370.002660485738930740.998669757130535
410.001357319348604150.002714638697208290.998642680651396
420.001203101677802330.002406203355604670.998796898322198
430.0005313626635551930.001062725327110390.999468637336445
440.0004195975768417330.0008391951536834660.999580402423158
450.0009031596140110650.001806319228022130.999096840385989
460.006331037201444430.01266207440288890.993668962798556
470.004528054432701840.009056108865403680.995471945567298
480.00646625526938540.01293251053877080.993533744730615
490.005877063856379260.01175412771275850.994122936143621







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level120.307692307692308NOK
5% type I error level170.435897435897436NOK
10% type I error level190.487179487179487NOK

\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 & 12 & 0.307692307692308 & NOK \tabularnewline
5% type I error level & 17 & 0.435897435897436 & NOK \tabularnewline
10% type I error level & 19 & 0.487179487179487 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=146128&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]12[/C][C]0.307692307692308[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]17[/C][C]0.435897435897436[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]19[/C][C]0.487179487179487[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=146128&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=146128&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 level120.307692307692308NOK
5% type I error level170.435897435897436NOK
10% type I error level190.487179487179487NOK



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