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 computationThu, 11 Dec 2008 14:28:59 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2008/Dec/11/t1229031015o1t27s69uh21e7h.htm/, Retrieved Sun, 19 May 2024 06:06:48 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=32446, Retrieved Sun, 19 May 2024 06:06:48 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact201
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [H2: multiple line...] [2008-12-11 21:28:59] [fdd69703d301fae09456f660b2f52997] [Current]
-   P     [Multiple Regression] [H2: multiple line...] [2008-12-15 09:03:23] [1e1d8320a8a1170c475bf6e4ce119de6]
Feedback Forum

Post a new message
Dataseries X:
3258.1	0
3140.1	0
3627.4	0
3279.4	0
3204	0
3515.6	0
3146.6	0
2271.7	0
3627.9	0
3553.4	0
3018.3	0
3355.4	0
3242	0
3311.1	0
4125.2	1
3423	0
3120.3	0
3863	0
3240.8	0
2837.4	0
3945	0
3684.1	0
3659.6	0
3769.6	0
3592.7	0
3754	0
4507.8	1
3853.2	0
3817.2	0
3958.4	0
3428.9	0
3125.7	0
3977	0
3983.3	0
4299.6	0
4306.9	0
4259.5	0
3986	0
4755.6	1
3925.6	0
4206.5	0
4323.4	0
3816.1	0
3410.7	0
4227.4	0
4296.9	0
4351.7	0
3800	0
4277	0
4100.2	0
4672.5	0
4189.9	0
4231.9	0
4654.9	0
4298.5	0
3635.9	0
4505.1	0
4891.9	0
4894.2	0
4093.2	0




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 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 & 4 seconds \tabularnewline
R Server & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32446&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]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32446&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32446&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'George Udny Yule' @ 72.249.76.132







Multiple Linear Regression - Estimated Regression Equation
France[t] = + 3793.67894736842 + 669.187719298246Dummy[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
France[t] =  +  3793.67894736842 +  669.187719298246Dummy[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32446&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]France[t] =  +  3793.67894736842 +  669.187719298246Dummy[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32446&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32446&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
France[t] = + 3793.67894736842 + 669.187719298246Dummy[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)3793.6789473684269.56828254.531700
Dummy669.187719298246311.1188142.15090.0356620.017831

\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) & 3793.67894736842 & 69.568282 & 54.5317 & 0 & 0 \tabularnewline
Dummy & 669.187719298246 & 311.118814 & 2.1509 & 0.035662 & 0.017831 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32446&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]3793.67894736842[/C][C]69.568282[/C][C]54.5317[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Dummy[/C][C]669.187719298246[/C][C]311.118814[/C][C]2.1509[/C][C]0.035662[/C][C]0.017831[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32446&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32446&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)3793.6789473684269.56828254.531700
Dummy669.187719298246311.1188142.15090.0356620.017831







Multiple Linear Regression - Regression Statistics
Multiple R0.271795934951372
R-squared0.0738730302560904
Adjusted R-squared0.0579053238811955
F-TEST (value)4.62640209693712
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value0.0356621237160227
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation525.229008532001
Sum Squared Residuals16000199.6614035

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.271795934951372 \tabularnewline
R-squared & 0.0738730302560904 \tabularnewline
Adjusted R-squared & 0.0579053238811955 \tabularnewline
F-TEST (value) & 4.62640209693712 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 58 \tabularnewline
p-value & 0.0356621237160227 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 525.229008532001 \tabularnewline
Sum Squared Residuals & 16000199.6614035 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32446&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.271795934951372[/C][/ROW]
[ROW][C]R-squared[/C][C]0.0738730302560904[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.0579053238811955[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]4.62640209693712[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]1[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]58[/C][/ROW]
[ROW][C]p-value[/C][C]0.0356621237160227[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]525.229008532001[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]16000199.6614035[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32446&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32446&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.271795934951372
R-squared0.0738730302560904
Adjusted R-squared0.0579053238811955
F-TEST (value)4.62640209693712
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value0.0356621237160227
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation525.229008532001
Sum Squared Residuals16000199.6614035







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
13258.13793.67894736842-535.578947368424
23140.13793.67894736842-653.57894736842
33627.43793.67894736842-166.278947368421
43279.43793.67894736842-514.278947368421
532043793.67894736842-589.678947368421
63515.63793.67894736842-278.078947368421
73146.63793.67894736842-647.078947368421
82271.73793.67894736842-1521.97894736842
93627.93793.67894736842-165.778947368421
103553.43793.67894736842-240.278947368421
113018.33793.67894736842-775.37894736842
123355.43793.67894736842-438.278947368421
1332423793.67894736842-551.678947368421
143311.13793.67894736842-482.578947368421
154125.24462.86666666667-337.666666666667
1634233793.67894736842-370.678947368421
173120.33793.67894736842-673.378947368421
1838633793.6789473684269.321052631579
193240.83793.67894736842-552.878947368421
202837.43793.67894736842-956.278947368421
2139453793.67894736842151.321052631579
223684.13793.67894736842-109.578947368421
233659.63793.67894736842-134.078947368421
243769.63793.67894736842-24.0789473684211
253592.73793.67894736842-200.978947368421
2637543793.67894736842-39.678947368421
274507.84462.8666666666744.933333333333
283853.23793.6789473684259.5210526315788
293817.23793.6789473684223.5210526315788
303958.43793.67894736842164.721052631579
313428.93793.67894736842-364.778947368421
323125.73793.67894736842-667.978947368421
3339773793.67894736842183.321052631579
343983.33793.67894736842189.621052631579
354299.63793.67894736842505.921052631579
364306.93793.67894736842513.221052631579
374259.53793.67894736842465.821052631579
3839863793.67894736842192.321052631579
394755.64462.86666666667292.733333333333
403925.63793.67894736842131.921052631579
414206.53793.67894736842412.821052631579
424323.43793.67894736842529.721052631579
433816.13793.6789473684222.4210526315789
443410.73793.67894736842-382.978947368421
454227.43793.67894736842433.721052631579
464296.93793.67894736842503.221052631579
474351.73793.67894736842558.021052631579
4838003793.678947368426.32105263157901
4942773793.67894736842483.321052631579
504100.23793.67894736842306.521052631579
514672.53793.67894736842878.821052631579
524189.93793.67894736842396.221052631579
534231.93793.67894736842438.221052631579
544654.93793.67894736842861.221052631579
554298.53793.67894736842504.821052631579
563635.93793.67894736842-157.778947368421
574505.13793.67894736842711.42105263158
584891.93793.678947368421098.22105263158
594894.23793.678947368421100.52105263158
604093.23793.67894736842299.521052631579

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 3258.1 & 3793.67894736842 & -535.578947368424 \tabularnewline
2 & 3140.1 & 3793.67894736842 & -653.57894736842 \tabularnewline
3 & 3627.4 & 3793.67894736842 & -166.278947368421 \tabularnewline
4 & 3279.4 & 3793.67894736842 & -514.278947368421 \tabularnewline
5 & 3204 & 3793.67894736842 & -589.678947368421 \tabularnewline
6 & 3515.6 & 3793.67894736842 & -278.078947368421 \tabularnewline
7 & 3146.6 & 3793.67894736842 & -647.078947368421 \tabularnewline
8 & 2271.7 & 3793.67894736842 & -1521.97894736842 \tabularnewline
9 & 3627.9 & 3793.67894736842 & -165.778947368421 \tabularnewline
10 & 3553.4 & 3793.67894736842 & -240.278947368421 \tabularnewline
11 & 3018.3 & 3793.67894736842 & -775.37894736842 \tabularnewline
12 & 3355.4 & 3793.67894736842 & -438.278947368421 \tabularnewline
13 & 3242 & 3793.67894736842 & -551.678947368421 \tabularnewline
14 & 3311.1 & 3793.67894736842 & -482.578947368421 \tabularnewline
15 & 4125.2 & 4462.86666666667 & -337.666666666667 \tabularnewline
16 & 3423 & 3793.67894736842 & -370.678947368421 \tabularnewline
17 & 3120.3 & 3793.67894736842 & -673.378947368421 \tabularnewline
18 & 3863 & 3793.67894736842 & 69.321052631579 \tabularnewline
19 & 3240.8 & 3793.67894736842 & -552.878947368421 \tabularnewline
20 & 2837.4 & 3793.67894736842 & -956.278947368421 \tabularnewline
21 & 3945 & 3793.67894736842 & 151.321052631579 \tabularnewline
22 & 3684.1 & 3793.67894736842 & -109.578947368421 \tabularnewline
23 & 3659.6 & 3793.67894736842 & -134.078947368421 \tabularnewline
24 & 3769.6 & 3793.67894736842 & -24.0789473684211 \tabularnewline
25 & 3592.7 & 3793.67894736842 & -200.978947368421 \tabularnewline
26 & 3754 & 3793.67894736842 & -39.678947368421 \tabularnewline
27 & 4507.8 & 4462.86666666667 & 44.933333333333 \tabularnewline
28 & 3853.2 & 3793.67894736842 & 59.5210526315788 \tabularnewline
29 & 3817.2 & 3793.67894736842 & 23.5210526315788 \tabularnewline
30 & 3958.4 & 3793.67894736842 & 164.721052631579 \tabularnewline
31 & 3428.9 & 3793.67894736842 & -364.778947368421 \tabularnewline
32 & 3125.7 & 3793.67894736842 & -667.978947368421 \tabularnewline
33 & 3977 & 3793.67894736842 & 183.321052631579 \tabularnewline
34 & 3983.3 & 3793.67894736842 & 189.621052631579 \tabularnewline
35 & 4299.6 & 3793.67894736842 & 505.921052631579 \tabularnewline
36 & 4306.9 & 3793.67894736842 & 513.221052631579 \tabularnewline
37 & 4259.5 & 3793.67894736842 & 465.821052631579 \tabularnewline
38 & 3986 & 3793.67894736842 & 192.321052631579 \tabularnewline
39 & 4755.6 & 4462.86666666667 & 292.733333333333 \tabularnewline
40 & 3925.6 & 3793.67894736842 & 131.921052631579 \tabularnewline
41 & 4206.5 & 3793.67894736842 & 412.821052631579 \tabularnewline
42 & 4323.4 & 3793.67894736842 & 529.721052631579 \tabularnewline
43 & 3816.1 & 3793.67894736842 & 22.4210526315789 \tabularnewline
44 & 3410.7 & 3793.67894736842 & -382.978947368421 \tabularnewline
45 & 4227.4 & 3793.67894736842 & 433.721052631579 \tabularnewline
46 & 4296.9 & 3793.67894736842 & 503.221052631579 \tabularnewline
47 & 4351.7 & 3793.67894736842 & 558.021052631579 \tabularnewline
48 & 3800 & 3793.67894736842 & 6.32105263157901 \tabularnewline
49 & 4277 & 3793.67894736842 & 483.321052631579 \tabularnewline
50 & 4100.2 & 3793.67894736842 & 306.521052631579 \tabularnewline
51 & 4672.5 & 3793.67894736842 & 878.821052631579 \tabularnewline
52 & 4189.9 & 3793.67894736842 & 396.221052631579 \tabularnewline
53 & 4231.9 & 3793.67894736842 & 438.221052631579 \tabularnewline
54 & 4654.9 & 3793.67894736842 & 861.221052631579 \tabularnewline
55 & 4298.5 & 3793.67894736842 & 504.821052631579 \tabularnewline
56 & 3635.9 & 3793.67894736842 & -157.778947368421 \tabularnewline
57 & 4505.1 & 3793.67894736842 & 711.42105263158 \tabularnewline
58 & 4891.9 & 3793.67894736842 & 1098.22105263158 \tabularnewline
59 & 4894.2 & 3793.67894736842 & 1100.52105263158 \tabularnewline
60 & 4093.2 & 3793.67894736842 & 299.521052631579 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32446&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]3258.1[/C][C]3793.67894736842[/C][C]-535.578947368424[/C][/ROW]
[ROW][C]2[/C][C]3140.1[/C][C]3793.67894736842[/C][C]-653.57894736842[/C][/ROW]
[ROW][C]3[/C][C]3627.4[/C][C]3793.67894736842[/C][C]-166.278947368421[/C][/ROW]
[ROW][C]4[/C][C]3279.4[/C][C]3793.67894736842[/C][C]-514.278947368421[/C][/ROW]
[ROW][C]5[/C][C]3204[/C][C]3793.67894736842[/C][C]-589.678947368421[/C][/ROW]
[ROW][C]6[/C][C]3515.6[/C][C]3793.67894736842[/C][C]-278.078947368421[/C][/ROW]
[ROW][C]7[/C][C]3146.6[/C][C]3793.67894736842[/C][C]-647.078947368421[/C][/ROW]
[ROW][C]8[/C][C]2271.7[/C][C]3793.67894736842[/C][C]-1521.97894736842[/C][/ROW]
[ROW][C]9[/C][C]3627.9[/C][C]3793.67894736842[/C][C]-165.778947368421[/C][/ROW]
[ROW][C]10[/C][C]3553.4[/C][C]3793.67894736842[/C][C]-240.278947368421[/C][/ROW]
[ROW][C]11[/C][C]3018.3[/C][C]3793.67894736842[/C][C]-775.37894736842[/C][/ROW]
[ROW][C]12[/C][C]3355.4[/C][C]3793.67894736842[/C][C]-438.278947368421[/C][/ROW]
[ROW][C]13[/C][C]3242[/C][C]3793.67894736842[/C][C]-551.678947368421[/C][/ROW]
[ROW][C]14[/C][C]3311.1[/C][C]3793.67894736842[/C][C]-482.578947368421[/C][/ROW]
[ROW][C]15[/C][C]4125.2[/C][C]4462.86666666667[/C][C]-337.666666666667[/C][/ROW]
[ROW][C]16[/C][C]3423[/C][C]3793.67894736842[/C][C]-370.678947368421[/C][/ROW]
[ROW][C]17[/C][C]3120.3[/C][C]3793.67894736842[/C][C]-673.378947368421[/C][/ROW]
[ROW][C]18[/C][C]3863[/C][C]3793.67894736842[/C][C]69.321052631579[/C][/ROW]
[ROW][C]19[/C][C]3240.8[/C][C]3793.67894736842[/C][C]-552.878947368421[/C][/ROW]
[ROW][C]20[/C][C]2837.4[/C][C]3793.67894736842[/C][C]-956.278947368421[/C][/ROW]
[ROW][C]21[/C][C]3945[/C][C]3793.67894736842[/C][C]151.321052631579[/C][/ROW]
[ROW][C]22[/C][C]3684.1[/C][C]3793.67894736842[/C][C]-109.578947368421[/C][/ROW]
[ROW][C]23[/C][C]3659.6[/C][C]3793.67894736842[/C][C]-134.078947368421[/C][/ROW]
[ROW][C]24[/C][C]3769.6[/C][C]3793.67894736842[/C][C]-24.0789473684211[/C][/ROW]
[ROW][C]25[/C][C]3592.7[/C][C]3793.67894736842[/C][C]-200.978947368421[/C][/ROW]
[ROW][C]26[/C][C]3754[/C][C]3793.67894736842[/C][C]-39.678947368421[/C][/ROW]
[ROW][C]27[/C][C]4507.8[/C][C]4462.86666666667[/C][C]44.933333333333[/C][/ROW]
[ROW][C]28[/C][C]3853.2[/C][C]3793.67894736842[/C][C]59.5210526315788[/C][/ROW]
[ROW][C]29[/C][C]3817.2[/C][C]3793.67894736842[/C][C]23.5210526315788[/C][/ROW]
[ROW][C]30[/C][C]3958.4[/C][C]3793.67894736842[/C][C]164.721052631579[/C][/ROW]
[ROW][C]31[/C][C]3428.9[/C][C]3793.67894736842[/C][C]-364.778947368421[/C][/ROW]
[ROW][C]32[/C][C]3125.7[/C][C]3793.67894736842[/C][C]-667.978947368421[/C][/ROW]
[ROW][C]33[/C][C]3977[/C][C]3793.67894736842[/C][C]183.321052631579[/C][/ROW]
[ROW][C]34[/C][C]3983.3[/C][C]3793.67894736842[/C][C]189.621052631579[/C][/ROW]
[ROW][C]35[/C][C]4299.6[/C][C]3793.67894736842[/C][C]505.921052631579[/C][/ROW]
[ROW][C]36[/C][C]4306.9[/C][C]3793.67894736842[/C][C]513.221052631579[/C][/ROW]
[ROW][C]37[/C][C]4259.5[/C][C]3793.67894736842[/C][C]465.821052631579[/C][/ROW]
[ROW][C]38[/C][C]3986[/C][C]3793.67894736842[/C][C]192.321052631579[/C][/ROW]
[ROW][C]39[/C][C]4755.6[/C][C]4462.86666666667[/C][C]292.733333333333[/C][/ROW]
[ROW][C]40[/C][C]3925.6[/C][C]3793.67894736842[/C][C]131.921052631579[/C][/ROW]
[ROW][C]41[/C][C]4206.5[/C][C]3793.67894736842[/C][C]412.821052631579[/C][/ROW]
[ROW][C]42[/C][C]4323.4[/C][C]3793.67894736842[/C][C]529.721052631579[/C][/ROW]
[ROW][C]43[/C][C]3816.1[/C][C]3793.67894736842[/C][C]22.4210526315789[/C][/ROW]
[ROW][C]44[/C][C]3410.7[/C][C]3793.67894736842[/C][C]-382.978947368421[/C][/ROW]
[ROW][C]45[/C][C]4227.4[/C][C]3793.67894736842[/C][C]433.721052631579[/C][/ROW]
[ROW][C]46[/C][C]4296.9[/C][C]3793.67894736842[/C][C]503.221052631579[/C][/ROW]
[ROW][C]47[/C][C]4351.7[/C][C]3793.67894736842[/C][C]558.021052631579[/C][/ROW]
[ROW][C]48[/C][C]3800[/C][C]3793.67894736842[/C][C]6.32105263157901[/C][/ROW]
[ROW][C]49[/C][C]4277[/C][C]3793.67894736842[/C][C]483.321052631579[/C][/ROW]
[ROW][C]50[/C][C]4100.2[/C][C]3793.67894736842[/C][C]306.521052631579[/C][/ROW]
[ROW][C]51[/C][C]4672.5[/C][C]3793.67894736842[/C][C]878.821052631579[/C][/ROW]
[ROW][C]52[/C][C]4189.9[/C][C]3793.67894736842[/C][C]396.221052631579[/C][/ROW]
[ROW][C]53[/C][C]4231.9[/C][C]3793.67894736842[/C][C]438.221052631579[/C][/ROW]
[ROW][C]54[/C][C]4654.9[/C][C]3793.67894736842[/C][C]861.221052631579[/C][/ROW]
[ROW][C]55[/C][C]4298.5[/C][C]3793.67894736842[/C][C]504.821052631579[/C][/ROW]
[ROW][C]56[/C][C]3635.9[/C][C]3793.67894736842[/C][C]-157.778947368421[/C][/ROW]
[ROW][C]57[/C][C]4505.1[/C][C]3793.67894736842[/C][C]711.42105263158[/C][/ROW]
[ROW][C]58[/C][C]4891.9[/C][C]3793.67894736842[/C][C]1098.22105263158[/C][/ROW]
[ROW][C]59[/C][C]4894.2[/C][C]3793.67894736842[/C][C]1100.52105263158[/C][/ROW]
[ROW][C]60[/C][C]4093.2[/C][C]3793.67894736842[/C][C]299.521052631579[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32446&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32446&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
13258.13793.67894736842-535.578947368424
23140.13793.67894736842-653.57894736842
33627.43793.67894736842-166.278947368421
43279.43793.67894736842-514.278947368421
532043793.67894736842-589.678947368421
63515.63793.67894736842-278.078947368421
73146.63793.67894736842-647.078947368421
82271.73793.67894736842-1521.97894736842
93627.93793.67894736842-165.778947368421
103553.43793.67894736842-240.278947368421
113018.33793.67894736842-775.37894736842
123355.43793.67894736842-438.278947368421
1332423793.67894736842-551.678947368421
143311.13793.67894736842-482.578947368421
154125.24462.86666666667-337.666666666667
1634233793.67894736842-370.678947368421
173120.33793.67894736842-673.378947368421
1838633793.6789473684269.321052631579
193240.83793.67894736842-552.878947368421
202837.43793.67894736842-956.278947368421
2139453793.67894736842151.321052631579
223684.13793.67894736842-109.578947368421
233659.63793.67894736842-134.078947368421
243769.63793.67894736842-24.0789473684211
253592.73793.67894736842-200.978947368421
2637543793.67894736842-39.678947368421
274507.84462.8666666666744.933333333333
283853.23793.6789473684259.5210526315788
293817.23793.6789473684223.5210526315788
303958.43793.67894736842164.721052631579
313428.93793.67894736842-364.778947368421
323125.73793.67894736842-667.978947368421
3339773793.67894736842183.321052631579
343983.33793.67894736842189.621052631579
354299.63793.67894736842505.921052631579
364306.93793.67894736842513.221052631579
374259.53793.67894736842465.821052631579
3839863793.67894736842192.321052631579
394755.64462.86666666667292.733333333333
403925.63793.67894736842131.921052631579
414206.53793.67894736842412.821052631579
424323.43793.67894736842529.721052631579
433816.13793.6789473684222.4210526315789
443410.73793.67894736842-382.978947368421
454227.43793.67894736842433.721052631579
464296.93793.67894736842503.221052631579
474351.73793.67894736842558.021052631579
4838003793.678947368426.32105263157901
4942773793.67894736842483.321052631579
504100.23793.67894736842306.521052631579
514672.53793.67894736842878.821052631579
524189.93793.67894736842396.221052631579
534231.93793.67894736842438.221052631579
544654.93793.67894736842861.221052631579
554298.53793.67894736842504.821052631579
563635.93793.67894736842-157.778947368421
574505.13793.67894736842711.42105263158
584891.93793.678947368421098.22105263158
594894.23793.678947368421100.52105263158
604093.23793.67894736842299.521052631579







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.08731626931198410.1746325386239680.912683730688016
60.04446850702800070.08893701405600150.955531492972
70.02287492336922680.04574984673845370.977125076630773
80.4622055156670990.9244110313341980.537794484332901
90.4318358692825160.8636717385650330.568164130717484
100.3686902527281320.7373805054562640.631309747271868
110.3373952422876080.6747904845752160.662604757712392
120.2693917277918050.5387834555836090.730608272208195
130.2178123834967210.4356247669934430.782187616503279
140.1737124106255050.3474248212510110.826287589374495
150.1255887208875310.2511774417750620.874411279112469
160.09999054670762430.1999810934152490.900009453292376
170.0970664889069370.1941329778138740.902933511093063
180.1385338500572910.2770677001145830.861466149942709
190.1298653687065440.2597307374130880.870134631293456
200.2735079537641550.5470159075283110.726492046235845
210.3648426306075270.7296852612150550.635157369392473
220.3622293184157260.7244586368314530.637770681584274
230.3546157604042780.7092315208085560.645384239595722
240.3577316984969370.7154633969938750.642268301503063
250.348732995134230.697465990268460.65126700486577
260.3460439862135040.6920879724270090.653956013786496
270.3031407939600180.6062815879200350.696859206039983
280.3078726336568250.615745267313650.692127366343175
290.3032720631826880.6065441263653760.696727936817312
300.312450239613560.624900479227120.68754976038644
310.3560292622308180.7120585244616360.643970737769182
320.6256875667965930.7486248664068150.374312433203407
330.6413600313111340.7172799373777320.358639968688866
340.6495019650961520.7009960698076970.350498034903848
350.709271477888230.5814570442235400.290728522111770
360.7444942636201510.5110114727596970.255505736379848
370.7516031809782950.4967936380434110.248396819021705
380.7261295220054960.5477409559890090.273870477994504
390.671159277115690.657681445768620.32884072288431
400.643986299597960.7120274008040790.356013700402040
410.6176857295291440.7646285409417120.382314270470856
420.6030396164338290.7939207671323420.396960383566171
430.5881696580101240.8236606839797520.411830341989876
440.786396868887950.4272062622241000.213603131112050
450.7492775862844870.5014448274310270.250722413715513
460.7068900409396920.5862199181206160.293109959060308
470.6599632897197650.680073420560470.340036710280235
480.696119425584890.6077611488302220.303880574415111
490.6304104629669550.739179074066090.369589537033045
500.5771038434719610.8457923130560780.422896156528039
510.5631182361560040.8737635276879920.436881763843996
520.4726039043424450.945207808684890.527396095657555
530.3729713665356620.7459427330713240.627028633464338
540.3071923708325410.6143847416650820.692807629167459
550.1947642246946700.3895284493893390.80523577530533

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.0873162693119841 & 0.174632538623968 & 0.912683730688016 \tabularnewline
6 & 0.0444685070280007 & 0.0889370140560015 & 0.955531492972 \tabularnewline
7 & 0.0228749233692268 & 0.0457498467384537 & 0.977125076630773 \tabularnewline
8 & 0.462205515667099 & 0.924411031334198 & 0.537794484332901 \tabularnewline
9 & 0.431835869282516 & 0.863671738565033 & 0.568164130717484 \tabularnewline
10 & 0.368690252728132 & 0.737380505456264 & 0.631309747271868 \tabularnewline
11 & 0.337395242287608 & 0.674790484575216 & 0.662604757712392 \tabularnewline
12 & 0.269391727791805 & 0.538783455583609 & 0.730608272208195 \tabularnewline
13 & 0.217812383496721 & 0.435624766993443 & 0.782187616503279 \tabularnewline
14 & 0.173712410625505 & 0.347424821251011 & 0.826287589374495 \tabularnewline
15 & 0.125588720887531 & 0.251177441775062 & 0.874411279112469 \tabularnewline
16 & 0.0999905467076243 & 0.199981093415249 & 0.900009453292376 \tabularnewline
17 & 0.097066488906937 & 0.194132977813874 & 0.902933511093063 \tabularnewline
18 & 0.138533850057291 & 0.277067700114583 & 0.861466149942709 \tabularnewline
19 & 0.129865368706544 & 0.259730737413088 & 0.870134631293456 \tabularnewline
20 & 0.273507953764155 & 0.547015907528311 & 0.726492046235845 \tabularnewline
21 & 0.364842630607527 & 0.729685261215055 & 0.635157369392473 \tabularnewline
22 & 0.362229318415726 & 0.724458636831453 & 0.637770681584274 \tabularnewline
23 & 0.354615760404278 & 0.709231520808556 & 0.645384239595722 \tabularnewline
24 & 0.357731698496937 & 0.715463396993875 & 0.642268301503063 \tabularnewline
25 & 0.34873299513423 & 0.69746599026846 & 0.65126700486577 \tabularnewline
26 & 0.346043986213504 & 0.692087972427009 & 0.653956013786496 \tabularnewline
27 & 0.303140793960018 & 0.606281587920035 & 0.696859206039983 \tabularnewline
28 & 0.307872633656825 & 0.61574526731365 & 0.692127366343175 \tabularnewline
29 & 0.303272063182688 & 0.606544126365376 & 0.696727936817312 \tabularnewline
30 & 0.31245023961356 & 0.62490047922712 & 0.68754976038644 \tabularnewline
31 & 0.356029262230818 & 0.712058524461636 & 0.643970737769182 \tabularnewline
32 & 0.625687566796593 & 0.748624866406815 & 0.374312433203407 \tabularnewline
33 & 0.641360031311134 & 0.717279937377732 & 0.358639968688866 \tabularnewline
34 & 0.649501965096152 & 0.700996069807697 & 0.350498034903848 \tabularnewline
35 & 0.70927147788823 & 0.581457044223540 & 0.290728522111770 \tabularnewline
36 & 0.744494263620151 & 0.511011472759697 & 0.255505736379848 \tabularnewline
37 & 0.751603180978295 & 0.496793638043411 & 0.248396819021705 \tabularnewline
38 & 0.726129522005496 & 0.547740955989009 & 0.273870477994504 \tabularnewline
39 & 0.67115927711569 & 0.65768144576862 & 0.32884072288431 \tabularnewline
40 & 0.64398629959796 & 0.712027400804079 & 0.356013700402040 \tabularnewline
41 & 0.617685729529144 & 0.764628540941712 & 0.382314270470856 \tabularnewline
42 & 0.603039616433829 & 0.793920767132342 & 0.396960383566171 \tabularnewline
43 & 0.588169658010124 & 0.823660683979752 & 0.411830341989876 \tabularnewline
44 & 0.78639686888795 & 0.427206262224100 & 0.213603131112050 \tabularnewline
45 & 0.749277586284487 & 0.501444827431027 & 0.250722413715513 \tabularnewline
46 & 0.706890040939692 & 0.586219918120616 & 0.293109959060308 \tabularnewline
47 & 0.659963289719765 & 0.68007342056047 & 0.340036710280235 \tabularnewline
48 & 0.69611942558489 & 0.607761148830222 & 0.303880574415111 \tabularnewline
49 & 0.630410462966955 & 0.73917907406609 & 0.369589537033045 \tabularnewline
50 & 0.577103843471961 & 0.845792313056078 & 0.422896156528039 \tabularnewline
51 & 0.563118236156004 & 0.873763527687992 & 0.436881763843996 \tabularnewline
52 & 0.472603904342445 & 0.94520780868489 & 0.527396095657555 \tabularnewline
53 & 0.372971366535662 & 0.745942733071324 & 0.627028633464338 \tabularnewline
54 & 0.307192370832541 & 0.614384741665082 & 0.692807629167459 \tabularnewline
55 & 0.194764224694670 & 0.389528449389339 & 0.80523577530533 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32446&T=5

[TABLE]
[ROW][C]Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]p-values[/C][C]Alternative Hypothesis[/C][/ROW]
[ROW][C]breakpoint index[/C][C]greater[/C][C]2-sided[/C][C]less[/C][/ROW]
[ROW][C]5[/C][C]0.0873162693119841[/C][C]0.174632538623968[/C][C]0.912683730688016[/C][/ROW]
[ROW][C]6[/C][C]0.0444685070280007[/C][C]0.0889370140560015[/C][C]0.955531492972[/C][/ROW]
[ROW][C]7[/C][C]0.0228749233692268[/C][C]0.0457498467384537[/C][C]0.977125076630773[/C][/ROW]
[ROW][C]8[/C][C]0.462205515667099[/C][C]0.924411031334198[/C][C]0.537794484332901[/C][/ROW]
[ROW][C]9[/C][C]0.431835869282516[/C][C]0.863671738565033[/C][C]0.568164130717484[/C][/ROW]
[ROW][C]10[/C][C]0.368690252728132[/C][C]0.737380505456264[/C][C]0.631309747271868[/C][/ROW]
[ROW][C]11[/C][C]0.337395242287608[/C][C]0.674790484575216[/C][C]0.662604757712392[/C][/ROW]
[ROW][C]12[/C][C]0.269391727791805[/C][C]0.538783455583609[/C][C]0.730608272208195[/C][/ROW]
[ROW][C]13[/C][C]0.217812383496721[/C][C]0.435624766993443[/C][C]0.782187616503279[/C][/ROW]
[ROW][C]14[/C][C]0.173712410625505[/C][C]0.347424821251011[/C][C]0.826287589374495[/C][/ROW]
[ROW][C]15[/C][C]0.125588720887531[/C][C]0.251177441775062[/C][C]0.874411279112469[/C][/ROW]
[ROW][C]16[/C][C]0.0999905467076243[/C][C]0.199981093415249[/C][C]0.900009453292376[/C][/ROW]
[ROW][C]17[/C][C]0.097066488906937[/C][C]0.194132977813874[/C][C]0.902933511093063[/C][/ROW]
[ROW][C]18[/C][C]0.138533850057291[/C][C]0.277067700114583[/C][C]0.861466149942709[/C][/ROW]
[ROW][C]19[/C][C]0.129865368706544[/C][C]0.259730737413088[/C][C]0.870134631293456[/C][/ROW]
[ROW][C]20[/C][C]0.273507953764155[/C][C]0.547015907528311[/C][C]0.726492046235845[/C][/ROW]
[ROW][C]21[/C][C]0.364842630607527[/C][C]0.729685261215055[/C][C]0.635157369392473[/C][/ROW]
[ROW][C]22[/C][C]0.362229318415726[/C][C]0.724458636831453[/C][C]0.637770681584274[/C][/ROW]
[ROW][C]23[/C][C]0.354615760404278[/C][C]0.709231520808556[/C][C]0.645384239595722[/C][/ROW]
[ROW][C]24[/C][C]0.357731698496937[/C][C]0.715463396993875[/C][C]0.642268301503063[/C][/ROW]
[ROW][C]25[/C][C]0.34873299513423[/C][C]0.69746599026846[/C][C]0.65126700486577[/C][/ROW]
[ROW][C]26[/C][C]0.346043986213504[/C][C]0.692087972427009[/C][C]0.653956013786496[/C][/ROW]
[ROW][C]27[/C][C]0.303140793960018[/C][C]0.606281587920035[/C][C]0.696859206039983[/C][/ROW]
[ROW][C]28[/C][C]0.307872633656825[/C][C]0.61574526731365[/C][C]0.692127366343175[/C][/ROW]
[ROW][C]29[/C][C]0.303272063182688[/C][C]0.606544126365376[/C][C]0.696727936817312[/C][/ROW]
[ROW][C]30[/C][C]0.31245023961356[/C][C]0.62490047922712[/C][C]0.68754976038644[/C][/ROW]
[ROW][C]31[/C][C]0.356029262230818[/C][C]0.712058524461636[/C][C]0.643970737769182[/C][/ROW]
[ROW][C]32[/C][C]0.625687566796593[/C][C]0.748624866406815[/C][C]0.374312433203407[/C][/ROW]
[ROW][C]33[/C][C]0.641360031311134[/C][C]0.717279937377732[/C][C]0.358639968688866[/C][/ROW]
[ROW][C]34[/C][C]0.649501965096152[/C][C]0.700996069807697[/C][C]0.350498034903848[/C][/ROW]
[ROW][C]35[/C][C]0.70927147788823[/C][C]0.581457044223540[/C][C]0.290728522111770[/C][/ROW]
[ROW][C]36[/C][C]0.744494263620151[/C][C]0.511011472759697[/C][C]0.255505736379848[/C][/ROW]
[ROW][C]37[/C][C]0.751603180978295[/C][C]0.496793638043411[/C][C]0.248396819021705[/C][/ROW]
[ROW][C]38[/C][C]0.726129522005496[/C][C]0.547740955989009[/C][C]0.273870477994504[/C][/ROW]
[ROW][C]39[/C][C]0.67115927711569[/C][C]0.65768144576862[/C][C]0.32884072288431[/C][/ROW]
[ROW][C]40[/C][C]0.64398629959796[/C][C]0.712027400804079[/C][C]0.356013700402040[/C][/ROW]
[ROW][C]41[/C][C]0.617685729529144[/C][C]0.764628540941712[/C][C]0.382314270470856[/C][/ROW]
[ROW][C]42[/C][C]0.603039616433829[/C][C]0.793920767132342[/C][C]0.396960383566171[/C][/ROW]
[ROW][C]43[/C][C]0.588169658010124[/C][C]0.823660683979752[/C][C]0.411830341989876[/C][/ROW]
[ROW][C]44[/C][C]0.78639686888795[/C][C]0.427206262224100[/C][C]0.213603131112050[/C][/ROW]
[ROW][C]45[/C][C]0.749277586284487[/C][C]0.501444827431027[/C][C]0.250722413715513[/C][/ROW]
[ROW][C]46[/C][C]0.706890040939692[/C][C]0.586219918120616[/C][C]0.293109959060308[/C][/ROW]
[ROW][C]47[/C][C]0.659963289719765[/C][C]0.68007342056047[/C][C]0.340036710280235[/C][/ROW]
[ROW][C]48[/C][C]0.69611942558489[/C][C]0.607761148830222[/C][C]0.303880574415111[/C][/ROW]
[ROW][C]49[/C][C]0.630410462966955[/C][C]0.73917907406609[/C][C]0.369589537033045[/C][/ROW]
[ROW][C]50[/C][C]0.577103843471961[/C][C]0.845792313056078[/C][C]0.422896156528039[/C][/ROW]
[ROW][C]51[/C][C]0.563118236156004[/C][C]0.873763527687992[/C][C]0.436881763843996[/C][/ROW]
[ROW][C]52[/C][C]0.472603904342445[/C][C]0.94520780868489[/C][C]0.527396095657555[/C][/ROW]
[ROW][C]53[/C][C]0.372971366535662[/C][C]0.745942733071324[/C][C]0.627028633464338[/C][/ROW]
[ROW][C]54[/C][C]0.307192370832541[/C][C]0.614384741665082[/C][C]0.692807629167459[/C][/ROW]
[ROW][C]55[/C][C]0.194764224694670[/C][C]0.389528449389339[/C][C]0.80523577530533[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32446&T=5

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

As an alternative you can also use a QR Code:  

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

Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.08731626931198410.1746325386239680.912683730688016
60.04446850702800070.08893701405600150.955531492972
70.02287492336922680.04574984673845370.977125076630773
80.4622055156670990.9244110313341980.537794484332901
90.4318358692825160.8636717385650330.568164130717484
100.3686902527281320.7373805054562640.631309747271868
110.3373952422876080.6747904845752160.662604757712392
120.2693917277918050.5387834555836090.730608272208195
130.2178123834967210.4356247669934430.782187616503279
140.1737124106255050.3474248212510110.826287589374495
150.1255887208875310.2511774417750620.874411279112469
160.09999054670762430.1999810934152490.900009453292376
170.0970664889069370.1941329778138740.902933511093063
180.1385338500572910.2770677001145830.861466149942709
190.1298653687065440.2597307374130880.870134631293456
200.2735079537641550.5470159075283110.726492046235845
210.3648426306075270.7296852612150550.635157369392473
220.3622293184157260.7244586368314530.637770681584274
230.3546157604042780.7092315208085560.645384239595722
240.3577316984969370.7154633969938750.642268301503063
250.348732995134230.697465990268460.65126700486577
260.3460439862135040.6920879724270090.653956013786496
270.3031407939600180.6062815879200350.696859206039983
280.3078726336568250.615745267313650.692127366343175
290.3032720631826880.6065441263653760.696727936817312
300.312450239613560.624900479227120.68754976038644
310.3560292622308180.7120585244616360.643970737769182
320.6256875667965930.7486248664068150.374312433203407
330.6413600313111340.7172799373777320.358639968688866
340.6495019650961520.7009960698076970.350498034903848
350.709271477888230.5814570442235400.290728522111770
360.7444942636201510.5110114727596970.255505736379848
370.7516031809782950.4967936380434110.248396819021705
380.7261295220054960.5477409559890090.273870477994504
390.671159277115690.657681445768620.32884072288431
400.643986299597960.7120274008040790.356013700402040
410.6176857295291440.7646285409417120.382314270470856
420.6030396164338290.7939207671323420.396960383566171
430.5881696580101240.8236606839797520.411830341989876
440.786396868887950.4272062622241000.213603131112050
450.7492775862844870.5014448274310270.250722413715513
460.7068900409396920.5862199181206160.293109959060308
470.6599632897197650.680073420560470.340036710280235
480.696119425584890.6077611488302220.303880574415111
490.6304104629669550.739179074066090.369589537033045
500.5771038434719610.8457923130560780.422896156528039
510.5631182361560040.8737635276879920.436881763843996
520.4726039043424450.945207808684890.527396095657555
530.3729713665356620.7459427330713240.627028633464338
540.3071923708325410.6143847416650820.692807629167459
550.1947642246946700.3895284493893390.80523577530533







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

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

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

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

As an alternative you can also use a QR Code:  

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

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



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