Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationSat, 17 Jan 2015 17:25:46 +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/2015/Jan/17/t1421515577llyu0uh446221rn.htm/, Retrieved Thu, 16 May 2024 06:48:45 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=274001, Retrieved Thu, 16 May 2024 06:48:45 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact124
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [] [2015-01-17 17:25:46] [0a6fc2c777821367d2239c664b701a36] [Current]
Feedback Forum

Post a new message
Dataseries X:
9700
9081
9084
9743
8587
9731
9563
9998
9437
10038
9918
9252
9737
9035
9133
9487
8700
9627
8947
9283
8829
9947
9628
9318
9605
8640
9214
9567
8547
9185
9470
9123
9278
10170
9434
9655
9429
8739
9552
9687
9019
9672
9206
9069
9788
10312
10105
9863
9656
9295
9946
9701
9049
10190
9706
9765
9893
9994
10433
10073
10112
9266
9820
10097
9115
10411
9678
10408
10153
10368
10581
10597
10680
9738
9556




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'Sir Maurice George Kendall' @ kendall.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 & 5 seconds \tabularnewline
R Server & 'Sir Maurice George Kendall' @ kendall.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=274001&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]5 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Sir Maurice George Kendall' @ kendall.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=274001&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=274001&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 time5 seconds
R Server'Sir Maurice George Kendall' @ kendall.wessa.net







Multiple Linear Regression - Estimated Regression Equation
Births[t] = + 9793 + 52.5714M1[t] -679.571M2[t] -320.857M3[t] -79.3333M4[t] -956.833M5[t] + 9.66667M6[t] -364.667M7[t] -185.333M8[t] -230M9[t] + 345.167M10[t] + 223.5M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Births[t] =  +  9793 +  52.5714M1[t] -679.571M2[t] -320.857M3[t] -79.3333M4[t] -956.833M5[t] +  9.66667M6[t] -364.667M7[t] -185.333M8[t] -230M9[t] +  345.167M10[t] +  223.5M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=274001&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Births[t] =  +  9793 +  52.5714M1[t] -679.571M2[t] -320.857M3[t] -79.3333M4[t] -956.833M5[t] +  9.66667M6[t] -364.667M7[t] -185.333M8[t] -230M9[t] +  345.167M10[t] +  223.5M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=274001&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=274001&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
Births[t] = + 9793 + 52.5714M1[t] -679.571M2[t] -320.857M3[t] -79.3333M4[t] -956.833M5[t] + 9.66667M6[t] -364.667M7[t] -185.333M8[t] -230M9[t] + 345.167M10[t] + 223.5M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)9793158.73261.74.70859e-582.35429e-58
M152.5714216.3160.2430.8087710.404385
M2-679.571216.316-3.1420.002560140.00128007
M3-320.857216.316-1.4830.1429850.0714927
M4-79.3333224.482-0.35340.7249630.362482
M5-956.833224.482-4.2626.89311e-053.44656e-05
M69.66667224.4820.043060.9657880.482894
M7-364.667224.482-1.6240.1092660.0546328
M8-185.333224.482-0.82560.4121430.206072
M9-230224.482-1.0250.3094780.154739
M10345.167224.4821.5380.129150.0645749
M11223.5224.4820.99560.323240.16162

\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) & 9793 & 158.732 & 61.7 & 4.70859e-58 & 2.35429e-58 \tabularnewline
M1 & 52.5714 & 216.316 & 0.243 & 0.808771 & 0.404385 \tabularnewline
M2 & -679.571 & 216.316 & -3.142 & 0.00256014 & 0.00128007 \tabularnewline
M3 & -320.857 & 216.316 & -1.483 & 0.142985 & 0.0714927 \tabularnewline
M4 & -79.3333 & 224.482 & -0.3534 & 0.724963 & 0.362482 \tabularnewline
M5 & -956.833 & 224.482 & -4.262 & 6.89311e-05 & 3.44656e-05 \tabularnewline
M6 & 9.66667 & 224.482 & 0.04306 & 0.965788 & 0.482894 \tabularnewline
M7 & -364.667 & 224.482 & -1.624 & 0.109266 & 0.0546328 \tabularnewline
M8 & -185.333 & 224.482 & -0.8256 & 0.412143 & 0.206072 \tabularnewline
M9 & -230 & 224.482 & -1.025 & 0.309478 & 0.154739 \tabularnewline
M10 & 345.167 & 224.482 & 1.538 & 0.12915 & 0.0645749 \tabularnewline
M11 & 223.5 & 224.482 & 0.9956 & 0.32324 & 0.16162 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=274001&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]9793[/C][C]158.732[/C][C]61.7[/C][C]4.70859e-58[/C][C]2.35429e-58[/C][/ROW]
[ROW][C]M1[/C][C]52.5714[/C][C]216.316[/C][C]0.243[/C][C]0.808771[/C][C]0.404385[/C][/ROW]
[ROW][C]M2[/C][C]-679.571[/C][C]216.316[/C][C]-3.142[/C][C]0.00256014[/C][C]0.00128007[/C][/ROW]
[ROW][C]M3[/C][C]-320.857[/C][C]216.316[/C][C]-1.483[/C][C]0.142985[/C][C]0.0714927[/C][/ROW]
[ROW][C]M4[/C][C]-79.3333[/C][C]224.482[/C][C]-0.3534[/C][C]0.724963[/C][C]0.362482[/C][/ROW]
[ROW][C]M5[/C][C]-956.833[/C][C]224.482[/C][C]-4.262[/C][C]6.89311e-05[/C][C]3.44656e-05[/C][/ROW]
[ROW][C]M6[/C][C]9.66667[/C][C]224.482[/C][C]0.04306[/C][C]0.965788[/C][C]0.482894[/C][/ROW]
[ROW][C]M7[/C][C]-364.667[/C][C]224.482[/C][C]-1.624[/C][C]0.109266[/C][C]0.0546328[/C][/ROW]
[ROW][C]M8[/C][C]-185.333[/C][C]224.482[/C][C]-0.8256[/C][C]0.412143[/C][C]0.206072[/C][/ROW]
[ROW][C]M9[/C][C]-230[/C][C]224.482[/C][C]-1.025[/C][C]0.309478[/C][C]0.154739[/C][/ROW]
[ROW][C]M10[/C][C]345.167[/C][C]224.482[/C][C]1.538[/C][C]0.12915[/C][C]0.0645749[/C][/ROW]
[ROW][C]M11[/C][C]223.5[/C][C]224.482[/C][C]0.9956[/C][C]0.32324[/C][C]0.16162[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=274001&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=274001&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)9793158.73261.74.70859e-582.35429e-58
M152.5714216.3160.2430.8087710.404385
M2-679.571216.316-3.1420.002560140.00128007
M3-320.857216.316-1.4830.1429850.0714927
M4-79.3333224.482-0.35340.7249630.362482
M5-956.833224.482-4.2626.89311e-053.44656e-05
M69.66667224.4820.043060.9657880.482894
M7-364.667224.482-1.6240.1092660.0546328
M8-185.333224.482-0.82560.4121430.206072
M9-230224.482-1.0250.3094780.154739
M10345.167224.4821.5380.129150.0645749
M11223.5224.4820.99560.323240.16162







Multiple Linear Regression - Regression Statistics
Multiple R0.701031
R-squared0.491444
Adjusted R-squared0.402649
F-TEST (value)5.53457
F-TEST (DF numerator)11
F-TEST (DF denominator)63
p-value4.08818e-06
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation388.813
Sum Squared Residuals9524080

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.701031 \tabularnewline
R-squared & 0.491444 \tabularnewline
Adjusted R-squared & 0.402649 \tabularnewline
F-TEST (value) & 5.53457 \tabularnewline
F-TEST (DF numerator) & 11 \tabularnewline
F-TEST (DF denominator) & 63 \tabularnewline
p-value & 4.08818e-06 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 388.813 \tabularnewline
Sum Squared Residuals & 9524080 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=274001&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.701031[/C][/ROW]
[ROW][C]R-squared[/C][C]0.491444[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.402649[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]5.53457[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]11[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]63[/C][/ROW]
[ROW][C]p-value[/C][C]4.08818e-06[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]388.813[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]9524080[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=274001&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=274001&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.701031
R-squared0.491444
Adjusted R-squared0.402649
F-TEST (value)5.53457
F-TEST (DF numerator)11
F-TEST (DF denominator)63
p-value4.08818e-06
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation388.813
Sum Squared Residuals9524080







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
197009845.57-145.571
290819113.43-32.4286
390849472.14-388.143
497439713.6729.3333
585878836.17-249.167
697319802.67-71.6667
795639428.33134.667
899989607.67390.333
994379563-126
101003810138.2-100.167
11991810016.5-98.5
1292529793-541
1397379845.57-108.571
1490359113.43-78.4286
1591339472.14-339.143
1694879713.67-226.667
1787008836.17-136.167
1896279802.67-175.667
1989479428.33-481.333
2092839607.67-324.667
2188299563-734
22994710138.2-191.167
23962810016.5-388.5
2493189793-475
2596059845.57-240.571
2686409113.43-473.429
2792149472.14-258.143
2895679713.67-146.667
2985478836.17-289.167
3091859802.67-617.667
3194709428.3341.6667
3291239607.67-484.667
3392789563-285
341017010138.231.8333
35943410016.5-582.5
3696559793-138
3794299845.57-416.571
3887399113.43-374.429
3995529472.1479.8571
4096879713.67-26.6667
4190198836.17182.833
4296729802.67-130.667
4392069428.33-222.333
4490699607.67-538.667
4597889563225
461031210138.2173.833
471010510016.588.5
489863979370
4996569845.57-189.571
5092959113.43181.571
5199469472.14473.857
5297019713.67-12.6667
5390498836.17212.833
54101909802.67387.333
5597069428.33277.667
5697659607.67157.333
5798939563330
58999410138.2-144.167
591043310016.5416.5
60100739793280
61101129845.57266.429
6292669113.43152.571
6398209472.14347.857
64100979713.67383.333
6591158836.17278.833
66104119802.67608.333
6796789428.33249.667
68104089607.67800.333
69101539563590
701036810138.2229.833
711058110016.5564.5
72105979793804
73106809845.57834.429
7497389113.43624.571
7595569472.1483.8571

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 9700 & 9845.57 & -145.571 \tabularnewline
2 & 9081 & 9113.43 & -32.4286 \tabularnewline
3 & 9084 & 9472.14 & -388.143 \tabularnewline
4 & 9743 & 9713.67 & 29.3333 \tabularnewline
5 & 8587 & 8836.17 & -249.167 \tabularnewline
6 & 9731 & 9802.67 & -71.6667 \tabularnewline
7 & 9563 & 9428.33 & 134.667 \tabularnewline
8 & 9998 & 9607.67 & 390.333 \tabularnewline
9 & 9437 & 9563 & -126 \tabularnewline
10 & 10038 & 10138.2 & -100.167 \tabularnewline
11 & 9918 & 10016.5 & -98.5 \tabularnewline
12 & 9252 & 9793 & -541 \tabularnewline
13 & 9737 & 9845.57 & -108.571 \tabularnewline
14 & 9035 & 9113.43 & -78.4286 \tabularnewline
15 & 9133 & 9472.14 & -339.143 \tabularnewline
16 & 9487 & 9713.67 & -226.667 \tabularnewline
17 & 8700 & 8836.17 & -136.167 \tabularnewline
18 & 9627 & 9802.67 & -175.667 \tabularnewline
19 & 8947 & 9428.33 & -481.333 \tabularnewline
20 & 9283 & 9607.67 & -324.667 \tabularnewline
21 & 8829 & 9563 & -734 \tabularnewline
22 & 9947 & 10138.2 & -191.167 \tabularnewline
23 & 9628 & 10016.5 & -388.5 \tabularnewline
24 & 9318 & 9793 & -475 \tabularnewline
25 & 9605 & 9845.57 & -240.571 \tabularnewline
26 & 8640 & 9113.43 & -473.429 \tabularnewline
27 & 9214 & 9472.14 & -258.143 \tabularnewline
28 & 9567 & 9713.67 & -146.667 \tabularnewline
29 & 8547 & 8836.17 & -289.167 \tabularnewline
30 & 9185 & 9802.67 & -617.667 \tabularnewline
31 & 9470 & 9428.33 & 41.6667 \tabularnewline
32 & 9123 & 9607.67 & -484.667 \tabularnewline
33 & 9278 & 9563 & -285 \tabularnewline
34 & 10170 & 10138.2 & 31.8333 \tabularnewline
35 & 9434 & 10016.5 & -582.5 \tabularnewline
36 & 9655 & 9793 & -138 \tabularnewline
37 & 9429 & 9845.57 & -416.571 \tabularnewline
38 & 8739 & 9113.43 & -374.429 \tabularnewline
39 & 9552 & 9472.14 & 79.8571 \tabularnewline
40 & 9687 & 9713.67 & -26.6667 \tabularnewline
41 & 9019 & 8836.17 & 182.833 \tabularnewline
42 & 9672 & 9802.67 & -130.667 \tabularnewline
43 & 9206 & 9428.33 & -222.333 \tabularnewline
44 & 9069 & 9607.67 & -538.667 \tabularnewline
45 & 9788 & 9563 & 225 \tabularnewline
46 & 10312 & 10138.2 & 173.833 \tabularnewline
47 & 10105 & 10016.5 & 88.5 \tabularnewline
48 & 9863 & 9793 & 70 \tabularnewline
49 & 9656 & 9845.57 & -189.571 \tabularnewline
50 & 9295 & 9113.43 & 181.571 \tabularnewline
51 & 9946 & 9472.14 & 473.857 \tabularnewline
52 & 9701 & 9713.67 & -12.6667 \tabularnewline
53 & 9049 & 8836.17 & 212.833 \tabularnewline
54 & 10190 & 9802.67 & 387.333 \tabularnewline
55 & 9706 & 9428.33 & 277.667 \tabularnewline
56 & 9765 & 9607.67 & 157.333 \tabularnewline
57 & 9893 & 9563 & 330 \tabularnewline
58 & 9994 & 10138.2 & -144.167 \tabularnewline
59 & 10433 & 10016.5 & 416.5 \tabularnewline
60 & 10073 & 9793 & 280 \tabularnewline
61 & 10112 & 9845.57 & 266.429 \tabularnewline
62 & 9266 & 9113.43 & 152.571 \tabularnewline
63 & 9820 & 9472.14 & 347.857 \tabularnewline
64 & 10097 & 9713.67 & 383.333 \tabularnewline
65 & 9115 & 8836.17 & 278.833 \tabularnewline
66 & 10411 & 9802.67 & 608.333 \tabularnewline
67 & 9678 & 9428.33 & 249.667 \tabularnewline
68 & 10408 & 9607.67 & 800.333 \tabularnewline
69 & 10153 & 9563 & 590 \tabularnewline
70 & 10368 & 10138.2 & 229.833 \tabularnewline
71 & 10581 & 10016.5 & 564.5 \tabularnewline
72 & 10597 & 9793 & 804 \tabularnewline
73 & 10680 & 9845.57 & 834.429 \tabularnewline
74 & 9738 & 9113.43 & 624.571 \tabularnewline
75 & 9556 & 9472.14 & 83.8571 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=274001&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]9700[/C][C]9845.57[/C][C]-145.571[/C][/ROW]
[ROW][C]2[/C][C]9081[/C][C]9113.43[/C][C]-32.4286[/C][/ROW]
[ROW][C]3[/C][C]9084[/C][C]9472.14[/C][C]-388.143[/C][/ROW]
[ROW][C]4[/C][C]9743[/C][C]9713.67[/C][C]29.3333[/C][/ROW]
[ROW][C]5[/C][C]8587[/C][C]8836.17[/C][C]-249.167[/C][/ROW]
[ROW][C]6[/C][C]9731[/C][C]9802.67[/C][C]-71.6667[/C][/ROW]
[ROW][C]7[/C][C]9563[/C][C]9428.33[/C][C]134.667[/C][/ROW]
[ROW][C]8[/C][C]9998[/C][C]9607.67[/C][C]390.333[/C][/ROW]
[ROW][C]9[/C][C]9437[/C][C]9563[/C][C]-126[/C][/ROW]
[ROW][C]10[/C][C]10038[/C][C]10138.2[/C][C]-100.167[/C][/ROW]
[ROW][C]11[/C][C]9918[/C][C]10016.5[/C][C]-98.5[/C][/ROW]
[ROW][C]12[/C][C]9252[/C][C]9793[/C][C]-541[/C][/ROW]
[ROW][C]13[/C][C]9737[/C][C]9845.57[/C][C]-108.571[/C][/ROW]
[ROW][C]14[/C][C]9035[/C][C]9113.43[/C][C]-78.4286[/C][/ROW]
[ROW][C]15[/C][C]9133[/C][C]9472.14[/C][C]-339.143[/C][/ROW]
[ROW][C]16[/C][C]9487[/C][C]9713.67[/C][C]-226.667[/C][/ROW]
[ROW][C]17[/C][C]8700[/C][C]8836.17[/C][C]-136.167[/C][/ROW]
[ROW][C]18[/C][C]9627[/C][C]9802.67[/C][C]-175.667[/C][/ROW]
[ROW][C]19[/C][C]8947[/C][C]9428.33[/C][C]-481.333[/C][/ROW]
[ROW][C]20[/C][C]9283[/C][C]9607.67[/C][C]-324.667[/C][/ROW]
[ROW][C]21[/C][C]8829[/C][C]9563[/C][C]-734[/C][/ROW]
[ROW][C]22[/C][C]9947[/C][C]10138.2[/C][C]-191.167[/C][/ROW]
[ROW][C]23[/C][C]9628[/C][C]10016.5[/C][C]-388.5[/C][/ROW]
[ROW][C]24[/C][C]9318[/C][C]9793[/C][C]-475[/C][/ROW]
[ROW][C]25[/C][C]9605[/C][C]9845.57[/C][C]-240.571[/C][/ROW]
[ROW][C]26[/C][C]8640[/C][C]9113.43[/C][C]-473.429[/C][/ROW]
[ROW][C]27[/C][C]9214[/C][C]9472.14[/C][C]-258.143[/C][/ROW]
[ROW][C]28[/C][C]9567[/C][C]9713.67[/C][C]-146.667[/C][/ROW]
[ROW][C]29[/C][C]8547[/C][C]8836.17[/C][C]-289.167[/C][/ROW]
[ROW][C]30[/C][C]9185[/C][C]9802.67[/C][C]-617.667[/C][/ROW]
[ROW][C]31[/C][C]9470[/C][C]9428.33[/C][C]41.6667[/C][/ROW]
[ROW][C]32[/C][C]9123[/C][C]9607.67[/C][C]-484.667[/C][/ROW]
[ROW][C]33[/C][C]9278[/C][C]9563[/C][C]-285[/C][/ROW]
[ROW][C]34[/C][C]10170[/C][C]10138.2[/C][C]31.8333[/C][/ROW]
[ROW][C]35[/C][C]9434[/C][C]10016.5[/C][C]-582.5[/C][/ROW]
[ROW][C]36[/C][C]9655[/C][C]9793[/C][C]-138[/C][/ROW]
[ROW][C]37[/C][C]9429[/C][C]9845.57[/C][C]-416.571[/C][/ROW]
[ROW][C]38[/C][C]8739[/C][C]9113.43[/C][C]-374.429[/C][/ROW]
[ROW][C]39[/C][C]9552[/C][C]9472.14[/C][C]79.8571[/C][/ROW]
[ROW][C]40[/C][C]9687[/C][C]9713.67[/C][C]-26.6667[/C][/ROW]
[ROW][C]41[/C][C]9019[/C][C]8836.17[/C][C]182.833[/C][/ROW]
[ROW][C]42[/C][C]9672[/C][C]9802.67[/C][C]-130.667[/C][/ROW]
[ROW][C]43[/C][C]9206[/C][C]9428.33[/C][C]-222.333[/C][/ROW]
[ROW][C]44[/C][C]9069[/C][C]9607.67[/C][C]-538.667[/C][/ROW]
[ROW][C]45[/C][C]9788[/C][C]9563[/C][C]225[/C][/ROW]
[ROW][C]46[/C][C]10312[/C][C]10138.2[/C][C]173.833[/C][/ROW]
[ROW][C]47[/C][C]10105[/C][C]10016.5[/C][C]88.5[/C][/ROW]
[ROW][C]48[/C][C]9863[/C][C]9793[/C][C]70[/C][/ROW]
[ROW][C]49[/C][C]9656[/C][C]9845.57[/C][C]-189.571[/C][/ROW]
[ROW][C]50[/C][C]9295[/C][C]9113.43[/C][C]181.571[/C][/ROW]
[ROW][C]51[/C][C]9946[/C][C]9472.14[/C][C]473.857[/C][/ROW]
[ROW][C]52[/C][C]9701[/C][C]9713.67[/C][C]-12.6667[/C][/ROW]
[ROW][C]53[/C][C]9049[/C][C]8836.17[/C][C]212.833[/C][/ROW]
[ROW][C]54[/C][C]10190[/C][C]9802.67[/C][C]387.333[/C][/ROW]
[ROW][C]55[/C][C]9706[/C][C]9428.33[/C][C]277.667[/C][/ROW]
[ROW][C]56[/C][C]9765[/C][C]9607.67[/C][C]157.333[/C][/ROW]
[ROW][C]57[/C][C]9893[/C][C]9563[/C][C]330[/C][/ROW]
[ROW][C]58[/C][C]9994[/C][C]10138.2[/C][C]-144.167[/C][/ROW]
[ROW][C]59[/C][C]10433[/C][C]10016.5[/C][C]416.5[/C][/ROW]
[ROW][C]60[/C][C]10073[/C][C]9793[/C][C]280[/C][/ROW]
[ROW][C]61[/C][C]10112[/C][C]9845.57[/C][C]266.429[/C][/ROW]
[ROW][C]62[/C][C]9266[/C][C]9113.43[/C][C]152.571[/C][/ROW]
[ROW][C]63[/C][C]9820[/C][C]9472.14[/C][C]347.857[/C][/ROW]
[ROW][C]64[/C][C]10097[/C][C]9713.67[/C][C]383.333[/C][/ROW]
[ROW][C]65[/C][C]9115[/C][C]8836.17[/C][C]278.833[/C][/ROW]
[ROW][C]66[/C][C]10411[/C][C]9802.67[/C][C]608.333[/C][/ROW]
[ROW][C]67[/C][C]9678[/C][C]9428.33[/C][C]249.667[/C][/ROW]
[ROW][C]68[/C][C]10408[/C][C]9607.67[/C][C]800.333[/C][/ROW]
[ROW][C]69[/C][C]10153[/C][C]9563[/C][C]590[/C][/ROW]
[ROW][C]70[/C][C]10368[/C][C]10138.2[/C][C]229.833[/C][/ROW]
[ROW][C]71[/C][C]10581[/C][C]10016.5[/C][C]564.5[/C][/ROW]
[ROW][C]72[/C][C]10597[/C][C]9793[/C][C]804[/C][/ROW]
[ROW][C]73[/C][C]10680[/C][C]9845.57[/C][C]834.429[/C][/ROW]
[ROW][C]74[/C][C]9738[/C][C]9113.43[/C][C]624.571[/C][/ROW]
[ROW][C]75[/C][C]9556[/C][C]9472.14[/C][C]83.8571[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=274001&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=274001&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
197009845.57-145.571
290819113.43-32.4286
390849472.14-388.143
497439713.6729.3333
585878836.17-249.167
697319802.67-71.6667
795639428.33134.667
899989607.67390.333
994379563-126
101003810138.2-100.167
11991810016.5-98.5
1292529793-541
1397379845.57-108.571
1490359113.43-78.4286
1591339472.14-339.143
1694879713.67-226.667
1787008836.17-136.167
1896279802.67-175.667
1989479428.33-481.333
2092839607.67-324.667
2188299563-734
22994710138.2-191.167
23962810016.5-388.5
2493189793-475
2596059845.57-240.571
2686409113.43-473.429
2792149472.14-258.143
2895679713.67-146.667
2985478836.17-289.167
3091859802.67-617.667
3194709428.3341.6667
3291239607.67-484.667
3392789563-285
341017010138.231.8333
35943410016.5-582.5
3696559793-138
3794299845.57-416.571
3887399113.43-374.429
3995529472.1479.8571
4096879713.67-26.6667
4190198836.17182.833
4296729802.67-130.667
4392069428.33-222.333
4490699607.67-538.667
4597889563225
461031210138.2173.833
471010510016.588.5
489863979370
4996569845.57-189.571
5092959113.43181.571
5199469472.14473.857
5297019713.67-12.6667
5390498836.17212.833
54101909802.67387.333
5597069428.33277.667
5697659607.67157.333
5798939563330
58999410138.2-144.167
591043310016.5416.5
60100739793280
61101129845.57266.429
6292669113.43152.571
6398209472.14347.857
64100979713.67383.333
6591158836.17278.833
66104119802.67608.333
6796789428.33249.667
68104089607.67800.333
69101539563590
701036810138.2229.833
711058110016.5564.5
72105979793804
73106809845.57834.429
7497389113.43624.571
7595569472.1483.8571







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
150.0005841380.001168280.999416
160.004891750.00978350.995108
170.001375910.002751810.998624
180.000367180.0007343590.999633
190.0131170.0262340.986883
200.05194880.1038980.948051
210.09373560.1874710.906264
220.05651780.1130360.943482
230.0430970.0861940.956903
240.0306360.0612720.969364
250.01863690.03727390.981363
260.02389310.04778620.976107
270.01603480.03206970.983965
280.009066450.01813290.990934
290.005914050.01182810.994086
300.01516090.03032180.984839
310.01000720.02001450.989993
320.01870770.03741530.981292
330.01745090.03490180.982549
340.01120680.02241370.988793
350.0235050.047010.976495
360.02827130.05654260.971729
370.03958150.07916310.960418
380.05217890.1043580.947821
390.05494630.1098930.945054
400.03877990.07755970.96122
410.03723310.07446620.962767
420.043880.087760.95612
430.04178690.08357370.958213
440.1868820.3737650.813118
450.2391070.4782130.760893
460.1990240.3980480.800976
470.2324070.4648140.767593
480.2929950.5859910.707005
490.4917220.9834450.508278
500.4745150.949030.525485
510.5378660.9242690.462134
520.5188790.9622420.481121
530.443590.8871810.55641
540.4390330.8780660.560967
550.3615480.7230950.638452
560.4897160.9794330.510284
570.4483290.8966590.551671
580.4047980.8095960.595202
590.3256420.6512830.674358
600.372580.7451590.62742

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
15 & 0.000584138 & 0.00116828 & 0.999416 \tabularnewline
16 & 0.00489175 & 0.0097835 & 0.995108 \tabularnewline
17 & 0.00137591 & 0.00275181 & 0.998624 \tabularnewline
18 & 0.00036718 & 0.000734359 & 0.999633 \tabularnewline
19 & 0.013117 & 0.026234 & 0.986883 \tabularnewline
20 & 0.0519488 & 0.103898 & 0.948051 \tabularnewline
21 & 0.0937356 & 0.187471 & 0.906264 \tabularnewline
22 & 0.0565178 & 0.113036 & 0.943482 \tabularnewline
23 & 0.043097 & 0.086194 & 0.956903 \tabularnewline
24 & 0.030636 & 0.061272 & 0.969364 \tabularnewline
25 & 0.0186369 & 0.0372739 & 0.981363 \tabularnewline
26 & 0.0238931 & 0.0477862 & 0.976107 \tabularnewline
27 & 0.0160348 & 0.0320697 & 0.983965 \tabularnewline
28 & 0.00906645 & 0.0181329 & 0.990934 \tabularnewline
29 & 0.00591405 & 0.0118281 & 0.994086 \tabularnewline
30 & 0.0151609 & 0.0303218 & 0.984839 \tabularnewline
31 & 0.0100072 & 0.0200145 & 0.989993 \tabularnewline
32 & 0.0187077 & 0.0374153 & 0.981292 \tabularnewline
33 & 0.0174509 & 0.0349018 & 0.982549 \tabularnewline
34 & 0.0112068 & 0.0224137 & 0.988793 \tabularnewline
35 & 0.023505 & 0.04701 & 0.976495 \tabularnewline
36 & 0.0282713 & 0.0565426 & 0.971729 \tabularnewline
37 & 0.0395815 & 0.0791631 & 0.960418 \tabularnewline
38 & 0.0521789 & 0.104358 & 0.947821 \tabularnewline
39 & 0.0549463 & 0.109893 & 0.945054 \tabularnewline
40 & 0.0387799 & 0.0775597 & 0.96122 \tabularnewline
41 & 0.0372331 & 0.0744662 & 0.962767 \tabularnewline
42 & 0.04388 & 0.08776 & 0.95612 \tabularnewline
43 & 0.0417869 & 0.0835737 & 0.958213 \tabularnewline
44 & 0.186882 & 0.373765 & 0.813118 \tabularnewline
45 & 0.239107 & 0.478213 & 0.760893 \tabularnewline
46 & 0.199024 & 0.398048 & 0.800976 \tabularnewline
47 & 0.232407 & 0.464814 & 0.767593 \tabularnewline
48 & 0.292995 & 0.585991 & 0.707005 \tabularnewline
49 & 0.491722 & 0.983445 & 0.508278 \tabularnewline
50 & 0.474515 & 0.94903 & 0.525485 \tabularnewline
51 & 0.537866 & 0.924269 & 0.462134 \tabularnewline
52 & 0.518879 & 0.962242 & 0.481121 \tabularnewline
53 & 0.44359 & 0.887181 & 0.55641 \tabularnewline
54 & 0.439033 & 0.878066 & 0.560967 \tabularnewline
55 & 0.361548 & 0.723095 & 0.638452 \tabularnewline
56 & 0.489716 & 0.979433 & 0.510284 \tabularnewline
57 & 0.448329 & 0.896659 & 0.551671 \tabularnewline
58 & 0.404798 & 0.809596 & 0.595202 \tabularnewline
59 & 0.325642 & 0.651283 & 0.674358 \tabularnewline
60 & 0.37258 & 0.745159 & 0.62742 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=274001&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]15[/C][C]0.000584138[/C][C]0.00116828[/C][C]0.999416[/C][/ROW]
[ROW][C]16[/C][C]0.00489175[/C][C]0.0097835[/C][C]0.995108[/C][/ROW]
[ROW][C]17[/C][C]0.00137591[/C][C]0.00275181[/C][C]0.998624[/C][/ROW]
[ROW][C]18[/C][C]0.00036718[/C][C]0.000734359[/C][C]0.999633[/C][/ROW]
[ROW][C]19[/C][C]0.013117[/C][C]0.026234[/C][C]0.986883[/C][/ROW]
[ROW][C]20[/C][C]0.0519488[/C][C]0.103898[/C][C]0.948051[/C][/ROW]
[ROW][C]21[/C][C]0.0937356[/C][C]0.187471[/C][C]0.906264[/C][/ROW]
[ROW][C]22[/C][C]0.0565178[/C][C]0.113036[/C][C]0.943482[/C][/ROW]
[ROW][C]23[/C][C]0.043097[/C][C]0.086194[/C][C]0.956903[/C][/ROW]
[ROW][C]24[/C][C]0.030636[/C][C]0.061272[/C][C]0.969364[/C][/ROW]
[ROW][C]25[/C][C]0.0186369[/C][C]0.0372739[/C][C]0.981363[/C][/ROW]
[ROW][C]26[/C][C]0.0238931[/C][C]0.0477862[/C][C]0.976107[/C][/ROW]
[ROW][C]27[/C][C]0.0160348[/C][C]0.0320697[/C][C]0.983965[/C][/ROW]
[ROW][C]28[/C][C]0.00906645[/C][C]0.0181329[/C][C]0.990934[/C][/ROW]
[ROW][C]29[/C][C]0.00591405[/C][C]0.0118281[/C][C]0.994086[/C][/ROW]
[ROW][C]30[/C][C]0.0151609[/C][C]0.0303218[/C][C]0.984839[/C][/ROW]
[ROW][C]31[/C][C]0.0100072[/C][C]0.0200145[/C][C]0.989993[/C][/ROW]
[ROW][C]32[/C][C]0.0187077[/C][C]0.0374153[/C][C]0.981292[/C][/ROW]
[ROW][C]33[/C][C]0.0174509[/C][C]0.0349018[/C][C]0.982549[/C][/ROW]
[ROW][C]34[/C][C]0.0112068[/C][C]0.0224137[/C][C]0.988793[/C][/ROW]
[ROW][C]35[/C][C]0.023505[/C][C]0.04701[/C][C]0.976495[/C][/ROW]
[ROW][C]36[/C][C]0.0282713[/C][C]0.0565426[/C][C]0.971729[/C][/ROW]
[ROW][C]37[/C][C]0.0395815[/C][C]0.0791631[/C][C]0.960418[/C][/ROW]
[ROW][C]38[/C][C]0.0521789[/C][C]0.104358[/C][C]0.947821[/C][/ROW]
[ROW][C]39[/C][C]0.0549463[/C][C]0.109893[/C][C]0.945054[/C][/ROW]
[ROW][C]40[/C][C]0.0387799[/C][C]0.0775597[/C][C]0.96122[/C][/ROW]
[ROW][C]41[/C][C]0.0372331[/C][C]0.0744662[/C][C]0.962767[/C][/ROW]
[ROW][C]42[/C][C]0.04388[/C][C]0.08776[/C][C]0.95612[/C][/ROW]
[ROW][C]43[/C][C]0.0417869[/C][C]0.0835737[/C][C]0.958213[/C][/ROW]
[ROW][C]44[/C][C]0.186882[/C][C]0.373765[/C][C]0.813118[/C][/ROW]
[ROW][C]45[/C][C]0.239107[/C][C]0.478213[/C][C]0.760893[/C][/ROW]
[ROW][C]46[/C][C]0.199024[/C][C]0.398048[/C][C]0.800976[/C][/ROW]
[ROW][C]47[/C][C]0.232407[/C][C]0.464814[/C][C]0.767593[/C][/ROW]
[ROW][C]48[/C][C]0.292995[/C][C]0.585991[/C][C]0.707005[/C][/ROW]
[ROW][C]49[/C][C]0.491722[/C][C]0.983445[/C][C]0.508278[/C][/ROW]
[ROW][C]50[/C][C]0.474515[/C][C]0.94903[/C][C]0.525485[/C][/ROW]
[ROW][C]51[/C][C]0.537866[/C][C]0.924269[/C][C]0.462134[/C][/ROW]
[ROW][C]52[/C][C]0.518879[/C][C]0.962242[/C][C]0.481121[/C][/ROW]
[ROW][C]53[/C][C]0.44359[/C][C]0.887181[/C][C]0.55641[/C][/ROW]
[ROW][C]54[/C][C]0.439033[/C][C]0.878066[/C][C]0.560967[/C][/ROW]
[ROW][C]55[/C][C]0.361548[/C][C]0.723095[/C][C]0.638452[/C][/ROW]
[ROW][C]56[/C][C]0.489716[/C][C]0.979433[/C][C]0.510284[/C][/ROW]
[ROW][C]57[/C][C]0.448329[/C][C]0.896659[/C][C]0.551671[/C][/ROW]
[ROW][C]58[/C][C]0.404798[/C][C]0.809596[/C][C]0.595202[/C][/ROW]
[ROW][C]59[/C][C]0.325642[/C][C]0.651283[/C][C]0.674358[/C][/ROW]
[ROW][C]60[/C][C]0.37258[/C][C]0.745159[/C][C]0.62742[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=274001&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=274001&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
150.0005841380.001168280.999416
160.004891750.00978350.995108
170.001375910.002751810.998624
180.000367180.0007343590.999633
190.0131170.0262340.986883
200.05194880.1038980.948051
210.09373560.1874710.906264
220.05651780.1130360.943482
230.0430970.0861940.956903
240.0306360.0612720.969364
250.01863690.03727390.981363
260.02389310.04778620.976107
270.01603480.03206970.983965
280.009066450.01813290.990934
290.005914050.01182810.994086
300.01516090.03032180.984839
310.01000720.02001450.989993
320.01870770.03741530.981292
330.01745090.03490180.982549
340.01120680.02241370.988793
350.0235050.047010.976495
360.02827130.05654260.971729
370.03958150.07916310.960418
380.05217890.1043580.947821
390.05494630.1098930.945054
400.03877990.07755970.96122
410.03723310.07446620.962767
420.043880.087760.95612
430.04178690.08357370.958213
440.1868820.3737650.813118
450.2391070.4782130.760893
460.1990240.3980480.800976
470.2324070.4648140.767593
480.2929950.5859910.707005
490.4917220.9834450.508278
500.4745150.949030.525485
510.5378660.9242690.462134
520.5188790.9622420.481121
530.443590.8871810.55641
540.4390330.8780660.560967
550.3615480.7230950.638452
560.4897160.9794330.510284
570.4483290.8966590.551671
580.4047980.8095960.595202
590.3256420.6512830.674358
600.372580.7451590.62742







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level40.0869565NOK
5% type I error level160.347826NOK
10% type I error level240.521739NOK

\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 & 4 & 0.0869565 & NOK \tabularnewline
5% type I error level & 16 & 0.347826 & NOK \tabularnewline
10% type I error level & 24 & 0.521739 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=274001&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]4[/C][C]0.0869565[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]16[/C][C]0.347826[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]24[/C][C]0.521739[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=274001&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=274001&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 level40.0869565NOK
5% type I error level160.347826NOK
10% type I error level240.521739NOK



Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = No Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = No Linear Trend ;
R code (references can be found in the software module):
library(lattice)
library(lmtest)
n25 <- 25 #minimum number of obs. for Goldfeld-Quandt test
par1 <- as.numeric(par1)
x <- t(y)
k <- length(x[1,])
n <- length(x[,1])
x1 <- cbind(x[,par1], x[,1:k!=par1])
mycolnames <- c(colnames(x)[par1], colnames(x)[1:k!=par1])
colnames(x1) <- mycolnames #colnames(x)[par1]
x <- x1
if (par3 == 'First Differences'){
x2 <- array(0, dim=c(n-1,k), dimnames=list(1:(n-1), paste('(1-B)',colnames(x),sep='')))
for (i in 1:n-1) {
for (j in 1:k) {
x2[i,j] <- x[i+1,j] - x[i,j]
}
}
x <- x2
}
if (par2 == 'Include Monthly Dummies'){
x2 <- array(0, dim=c(n,11), dimnames=list(1:n, paste('M', seq(1:11), sep ='')))
for (i in 1:11){
x2[seq(i,n,12),i] <- 1
}
x <- cbind(x, x2)
}
if (par2 == 'Include Quarterly Dummies'){
x2 <- array(0, dim=c(n,3), dimnames=list(1:n, paste('Q', seq(1:3), sep ='')))
for (i in 1:3){
x2[seq(i,n,4),i] <- 1
}
x <- cbind(x, x2)
}
k <- length(x[1,])
if (par3 == 'Linear Trend'){
x <- cbind(x, c(1:n))
colnames(x)[k+1] <- 't'
}
x
k <- length(x[1,])
df <- as.data.frame(x)
(mylm <- lm(df))
(mysum <- summary(mylm))
if (n > n25) {
kp3 <- k + 3
nmkm3 <- n - k - 3
gqarr <- array(NA, dim=c(nmkm3-kp3+1,3))
numgqtests <- 0
numsignificant1 <- 0
numsignificant5 <- 0
numsignificant10 <- 0
for (mypoint in kp3:nmkm3) {
j <- 0
numgqtests <- numgqtests + 1
for (myalt in c('greater', 'two.sided', 'less')) {
j <- j + 1
gqarr[mypoint-kp3+1,j] <- gqtest(mylm, point=mypoint, alternative=myalt)$p.value
}
if (gqarr[mypoint-kp3+1,2] < 0.01) numsignificant1 <- numsignificant1 + 1
if (gqarr[mypoint-kp3+1,2] < 0.05) numsignificant5 <- numsignificant5 + 1
if (gqarr[mypoint-kp3+1,2] < 0.10) numsignificant10 <- numsignificant10 + 1
}
gqarr
}
bitmap(file='test0.png')
plot(x[,1], type='l', main='Actuals and Interpolation', ylab='value of Actuals and Interpolation (dots)', xlab='time or index')
points(x[,1]-mysum$resid)
grid()
dev.off()
bitmap(file='test1.png')
plot(mysum$resid, type='b', pch=19, main='Residuals', ylab='value of Residuals', xlab='time or index')
grid()
dev.off()
bitmap(file='test2.png')
hist(mysum$resid, main='Residual Histogram', xlab='values of Residuals')
grid()
dev.off()
bitmap(file='test3.png')
densityplot(~mysum$resid,col='black',main='Residual Density Plot', xlab='values of Residuals')
dev.off()
bitmap(file='test4.png')
qqnorm(mysum$resid, main='Residual Normal Q-Q Plot')
qqline(mysum$resid)
grid()
dev.off()
(myerror <- as.ts(mysum$resid))
bitmap(file='test5.png')
dum <- cbind(lag(myerror,k=1),myerror)
dum
dum1 <- dum[2:length(myerror),]
dum1
z <- as.data.frame(dum1)
z
plot(z,main=paste('Residual Lag plot, lowess, and regression line'), ylab='values of Residuals', xlab='lagged values of Residuals')
lines(lowess(z))
abline(lm(z))
grid()
dev.off()
bitmap(file='test6.png')
acf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Autocorrelation Function')
grid()
dev.off()
bitmap(file='test7.png')
pacf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Partial Autocorrelation Function')
grid()
dev.off()
bitmap(file='test8.png')
opar <- par(mfrow = c(2,2), oma = c(0, 0, 1.1, 0))
plot(mylm, las = 1, sub='Residual Diagnostics')
par(opar)
dev.off()
if (n > n25) {
bitmap(file='test9.png')
plot(kp3:nmkm3,gqarr[,2], main='Goldfeld-Quandt test',ylab='2-sided p-value',xlab='breakpoint')
grid()
dev.off()
}
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Estimated Regression Equation', 1, TRUE)
a<-table.row.end(a)
myeq <- colnames(x)[1]
myeq <- paste(myeq, '[t] = ', sep='')
for (i in 1:k){
if (mysum$coefficients[i,1] > 0) myeq <- paste(myeq, '+', '')
myeq <- paste(myeq, signif(mysum$coefficients[i,1],6), 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,signif(mysum$coefficients[i,1],6))
a<-table.element(a, signif(mysum$coefficients[i,2],6))
a<-table.element(a, signif(mysum$coefficients[i,3],4))
a<-table.element(a, signif(mysum$coefficients[i,4],6))
a<-table.element(a, signif(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, signif(sqrt(mysum$r.squared),6))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'R-squared',1,TRUE)
a<-table.element(a, signif(mysum$r.squared,6))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Adjusted R-squared',1,TRUE)
a<-table.element(a, signif(mysum$adj.r.squared,6))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (value)',1,TRUE)
a<-table.element(a, signif(mysum$fstatistic[1],6))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF numerator)',1,TRUE)
a<-table.element(a, signif(mysum$fstatistic[2],6))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF denominator)',1,TRUE)
a<-table.element(a, signif(mysum$fstatistic[3],6))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'p-value',1,TRUE)
a<-table.element(a, signif(1-pf(mysum$fstatistic[1],mysum$fstatistic[2],mysum$fstatistic[3]),6))
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, signif(mysum$sigma,6))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Sum Squared Residuals',1,TRUE)
a<-table.element(a, signif(sum(myerror*myerror),6))
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,signif(x[i],6))
a<-table.element(a,signif(x[i]-mysum$resid[i],6))
a<-table.element(a,signif(mysum$resid[i],6))
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,signif(gqarr[mypoint-kp3+1,1],6))
a<-table.element(a,signif(gqarr[mypoint-kp3+1,2],6))
a<-table.element(a,signif(gqarr[mypoint-kp3+1,3],6))
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,signif(numsignificant1,6))
a<-table.element(a,signif(numsignificant1/numgqtests,6))
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,signif(numsignificant5,6))
a<-table.element(a,signif(numsignificant5/numgqtests,6))
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,signif(numsignificant10,6))
a<-table.element(a,signif(numsignificant10/numgqtests,6))
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')
}