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, 19 Nov 2009 11:48:17 -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/2009/Nov/19/t1258656542utomak9y5buamf7.htm/, Retrieved Fri, 26 Apr 2024 03:12:03 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=57889, Retrieved Fri, 26 Apr 2024 03:12:03 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact138
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Q1 The Seatbeltlaw] [2007-11-14 19:27:43] [8cd6641b921d30ebe00b648d1481bba0]
- RMPD  [Multiple Regression] [Seatbelt] [2009-11-12 13:54:52] [b98453cac15ba1066b407e146608df68]
-    D    [Multiple Regression] [WS7-1] [2009-11-19 18:33:23] [408e92805dcb18620260f240a7fb9d53]
-    D        [Multiple Regression] [WS7-Multipleregre...] [2009-11-19 18:48:17] [b32ceebc68d054278e6bda97f3d57f91] [Current]
Feedback Forum

Post a new message
Dataseries X:
3922	1
3759	1
4138	1
4634	1
3996	1
4308	1
4143	1
4429	1
5219	1
4929	0
5755	1
5592	1
4163	1
4962	1
5208	1
4755	1
4491	1
5732	1
5731	1
5040	1
6102	1
4904	0
5369	0
5578	0
4619	0
4731	0
5011	0
5299	0
4146	0
4625	0
4736	0
4219	0
5116	0
4205	0
4121	0
5103	0
4300	0
4578	0
3809	0
5526	0
4247	0
3830	0
4394	0
4826	0
4409	0
4569	0
4106	0
4794	0
3914	0
3793	0
4405	0
4022	0
4100	0
4788	1
3163	1
3585	1
3903	1
4178	1
3863	1
4187	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

\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 & 3 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57889&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]3 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57889&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57889&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 time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135







Multiple Linear Regression - Estimated Regression Equation
Bouw[t] = + 4555.54545454545 + 27.6397306397301Wman[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Bouw[t] =  +  4555.54545454545 +  27.6397306397301Wman[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57889&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Bouw[t] =  +  4555.54545454545 +  27.6397306397301Wman[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57889&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57889&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
Bouw[t] = + 4555.54545454545 + 27.6397306397301Wman[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)4555.54545454545109.83620941.475800
Wman27.6397306397301163.7341530.16880.8665350.433267

\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) & 4555.54545454545 & 109.836209 & 41.4758 & 0 & 0 \tabularnewline
Wman & 27.6397306397301 & 163.734153 & 0.1688 & 0.866535 & 0.433267 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57889&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]4555.54545454545[/C][C]109.836209[/C][C]41.4758[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Wman[/C][C]27.6397306397301[/C][C]163.734153[/C][C]0.1688[/C][C]0.866535[/C][C]0.433267[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57889&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57889&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)4555.54545454545109.83620941.475800
Wman27.6397306397301163.7341530.16880.8665350.433267







Multiple Linear Regression - Regression Statistics
Multiple R0.0221602099004452
R-squared0.000491074902831788
Adjusted R-squared-0.0167418375988435
F-TEST (value)0.0284963382007567
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value0.86653454062564
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation630.960983764151
Sum Squared Residuals23090482.2558923

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.0221602099004452 \tabularnewline
R-squared & 0.000491074902831788 \tabularnewline
Adjusted R-squared & -0.0167418375988435 \tabularnewline
F-TEST (value) & 0.0284963382007567 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 58 \tabularnewline
p-value & 0.86653454062564 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 630.960983764151 \tabularnewline
Sum Squared Residuals & 23090482.2558923 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57889&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.0221602099004452[/C][/ROW]
[ROW][C]R-squared[/C][C]0.000491074902831788[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]-0.0167418375988435[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]0.0284963382007567[/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.86653454062564[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]630.960983764151[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]23090482.2558923[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57889&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57889&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.0221602099004452
R-squared0.000491074902831788
Adjusted R-squared-0.0167418375988435
F-TEST (value)0.0284963382007567
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value0.86653454062564
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation630.960983764151
Sum Squared Residuals23090482.2558923







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
139224583.18518518520-661.185185185195
237594583.18518518518-824.185185185185
341384583.18518518518-445.185185185185
446344583.1851851851850.8148148148154
539964583.18518518518-587.185185185185
643084583.18518518518-275.185185185185
741434583.18518518518-440.185185185185
844294583.18518518518-154.185185185185
952194583.18518518518635.814814814815
1049294555.54545454545373.454545454545
1157554583.185185185181171.81481481482
1255924583.185185185181008.81481481482
1341634583.18518518518-420.185185185185
1449624583.18518518518378.814814814815
1552084583.18518518518624.814814814815
1647554583.18518518518171.814814814815
1744914583.18518518518-92.1851851851846
1857324583.185185185181148.81481481482
1957314583.185185185181147.81481481482
2050404583.18518518518456.814814814815
2161024583.185185185181518.81481481482
2249044555.54545454545348.454545454545
2353694555.54545454545813.454545454545
2455784555.545454545451022.45454545455
2546194555.5454545454563.4545454545454
2647314555.54545454545175.454545454545
2750114555.54545454545455.454545454545
2852994555.54545454545743.454545454545
2941464555.54545454545-409.545454545455
3046254555.5454545454569.4545454545454
3147364555.54545454545180.454545454545
3242194555.54545454545-336.545454545455
3351164555.54545454545560.454545454545
3442054555.54545454545-350.545454545455
3541214555.54545454545-434.545454545455
3651034555.54545454545547.454545454545
3743004555.54545454545-255.545454545455
3845784555.5454545454522.4545454545454
3938094555.54545454545-746.545454545455
4055264555.54545454545970.454545454545
4142474555.54545454545-308.545454545455
4238304555.54545454545-725.545454545455
4343944555.54545454545-161.545454545455
4448264555.54545454545270.454545454545
4544094555.54545454545-146.545454545455
4645694555.5454545454513.4545454545454
4741064555.54545454545-449.545454545455
4847944555.54545454545238.454545454545
4939144555.54545454545-641.545454545455
5037934555.54545454545-762.545454545455
5144054555.54545454545-150.545454545455
5240224555.54545454545-533.545454545455
5341004555.54545454545-455.545454545455
5447884583.18518518518204.814814814815
5531634583.18518518518-1420.18518518518
5635854583.18518518518-998.185185185185
5739034583.18518518518-680.185185185185
5841784583.18518518518-405.185185185185
5938634583.18518518518-720.185185185185
6041874583.18518518518-396.185185185185

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 3922 & 4583.18518518520 & -661.185185185195 \tabularnewline
2 & 3759 & 4583.18518518518 & -824.185185185185 \tabularnewline
3 & 4138 & 4583.18518518518 & -445.185185185185 \tabularnewline
4 & 4634 & 4583.18518518518 & 50.8148148148154 \tabularnewline
5 & 3996 & 4583.18518518518 & -587.185185185185 \tabularnewline
6 & 4308 & 4583.18518518518 & -275.185185185185 \tabularnewline
7 & 4143 & 4583.18518518518 & -440.185185185185 \tabularnewline
8 & 4429 & 4583.18518518518 & -154.185185185185 \tabularnewline
9 & 5219 & 4583.18518518518 & 635.814814814815 \tabularnewline
10 & 4929 & 4555.54545454545 & 373.454545454545 \tabularnewline
11 & 5755 & 4583.18518518518 & 1171.81481481482 \tabularnewline
12 & 5592 & 4583.18518518518 & 1008.81481481482 \tabularnewline
13 & 4163 & 4583.18518518518 & -420.185185185185 \tabularnewline
14 & 4962 & 4583.18518518518 & 378.814814814815 \tabularnewline
15 & 5208 & 4583.18518518518 & 624.814814814815 \tabularnewline
16 & 4755 & 4583.18518518518 & 171.814814814815 \tabularnewline
17 & 4491 & 4583.18518518518 & -92.1851851851846 \tabularnewline
18 & 5732 & 4583.18518518518 & 1148.81481481482 \tabularnewline
19 & 5731 & 4583.18518518518 & 1147.81481481482 \tabularnewline
20 & 5040 & 4583.18518518518 & 456.814814814815 \tabularnewline
21 & 6102 & 4583.18518518518 & 1518.81481481482 \tabularnewline
22 & 4904 & 4555.54545454545 & 348.454545454545 \tabularnewline
23 & 5369 & 4555.54545454545 & 813.454545454545 \tabularnewline
24 & 5578 & 4555.54545454545 & 1022.45454545455 \tabularnewline
25 & 4619 & 4555.54545454545 & 63.4545454545454 \tabularnewline
26 & 4731 & 4555.54545454545 & 175.454545454545 \tabularnewline
27 & 5011 & 4555.54545454545 & 455.454545454545 \tabularnewline
28 & 5299 & 4555.54545454545 & 743.454545454545 \tabularnewline
29 & 4146 & 4555.54545454545 & -409.545454545455 \tabularnewline
30 & 4625 & 4555.54545454545 & 69.4545454545454 \tabularnewline
31 & 4736 & 4555.54545454545 & 180.454545454545 \tabularnewline
32 & 4219 & 4555.54545454545 & -336.545454545455 \tabularnewline
33 & 5116 & 4555.54545454545 & 560.454545454545 \tabularnewline
34 & 4205 & 4555.54545454545 & -350.545454545455 \tabularnewline
35 & 4121 & 4555.54545454545 & -434.545454545455 \tabularnewline
36 & 5103 & 4555.54545454545 & 547.454545454545 \tabularnewline
37 & 4300 & 4555.54545454545 & -255.545454545455 \tabularnewline
38 & 4578 & 4555.54545454545 & 22.4545454545454 \tabularnewline
39 & 3809 & 4555.54545454545 & -746.545454545455 \tabularnewline
40 & 5526 & 4555.54545454545 & 970.454545454545 \tabularnewline
41 & 4247 & 4555.54545454545 & -308.545454545455 \tabularnewline
42 & 3830 & 4555.54545454545 & -725.545454545455 \tabularnewline
43 & 4394 & 4555.54545454545 & -161.545454545455 \tabularnewline
44 & 4826 & 4555.54545454545 & 270.454545454545 \tabularnewline
45 & 4409 & 4555.54545454545 & -146.545454545455 \tabularnewline
46 & 4569 & 4555.54545454545 & 13.4545454545454 \tabularnewline
47 & 4106 & 4555.54545454545 & -449.545454545455 \tabularnewline
48 & 4794 & 4555.54545454545 & 238.454545454545 \tabularnewline
49 & 3914 & 4555.54545454545 & -641.545454545455 \tabularnewline
50 & 3793 & 4555.54545454545 & -762.545454545455 \tabularnewline
51 & 4405 & 4555.54545454545 & -150.545454545455 \tabularnewline
52 & 4022 & 4555.54545454545 & -533.545454545455 \tabularnewline
53 & 4100 & 4555.54545454545 & -455.545454545455 \tabularnewline
54 & 4788 & 4583.18518518518 & 204.814814814815 \tabularnewline
55 & 3163 & 4583.18518518518 & -1420.18518518518 \tabularnewline
56 & 3585 & 4583.18518518518 & -998.185185185185 \tabularnewline
57 & 3903 & 4583.18518518518 & -680.185185185185 \tabularnewline
58 & 4178 & 4583.18518518518 & -405.185185185185 \tabularnewline
59 & 3863 & 4583.18518518518 & -720.185185185185 \tabularnewline
60 & 4187 & 4583.18518518518 & -396.185185185185 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57889&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]3922[/C][C]4583.18518518520[/C][C]-661.185185185195[/C][/ROW]
[ROW][C]2[/C][C]3759[/C][C]4583.18518518518[/C][C]-824.185185185185[/C][/ROW]
[ROW][C]3[/C][C]4138[/C][C]4583.18518518518[/C][C]-445.185185185185[/C][/ROW]
[ROW][C]4[/C][C]4634[/C][C]4583.18518518518[/C][C]50.8148148148154[/C][/ROW]
[ROW][C]5[/C][C]3996[/C][C]4583.18518518518[/C][C]-587.185185185185[/C][/ROW]
[ROW][C]6[/C][C]4308[/C][C]4583.18518518518[/C][C]-275.185185185185[/C][/ROW]
[ROW][C]7[/C][C]4143[/C][C]4583.18518518518[/C][C]-440.185185185185[/C][/ROW]
[ROW][C]8[/C][C]4429[/C][C]4583.18518518518[/C][C]-154.185185185185[/C][/ROW]
[ROW][C]9[/C][C]5219[/C][C]4583.18518518518[/C][C]635.814814814815[/C][/ROW]
[ROW][C]10[/C][C]4929[/C][C]4555.54545454545[/C][C]373.454545454545[/C][/ROW]
[ROW][C]11[/C][C]5755[/C][C]4583.18518518518[/C][C]1171.81481481482[/C][/ROW]
[ROW][C]12[/C][C]5592[/C][C]4583.18518518518[/C][C]1008.81481481482[/C][/ROW]
[ROW][C]13[/C][C]4163[/C][C]4583.18518518518[/C][C]-420.185185185185[/C][/ROW]
[ROW][C]14[/C][C]4962[/C][C]4583.18518518518[/C][C]378.814814814815[/C][/ROW]
[ROW][C]15[/C][C]5208[/C][C]4583.18518518518[/C][C]624.814814814815[/C][/ROW]
[ROW][C]16[/C][C]4755[/C][C]4583.18518518518[/C][C]171.814814814815[/C][/ROW]
[ROW][C]17[/C][C]4491[/C][C]4583.18518518518[/C][C]-92.1851851851846[/C][/ROW]
[ROW][C]18[/C][C]5732[/C][C]4583.18518518518[/C][C]1148.81481481482[/C][/ROW]
[ROW][C]19[/C][C]5731[/C][C]4583.18518518518[/C][C]1147.81481481482[/C][/ROW]
[ROW][C]20[/C][C]5040[/C][C]4583.18518518518[/C][C]456.814814814815[/C][/ROW]
[ROW][C]21[/C][C]6102[/C][C]4583.18518518518[/C][C]1518.81481481482[/C][/ROW]
[ROW][C]22[/C][C]4904[/C][C]4555.54545454545[/C][C]348.454545454545[/C][/ROW]
[ROW][C]23[/C][C]5369[/C][C]4555.54545454545[/C][C]813.454545454545[/C][/ROW]
[ROW][C]24[/C][C]5578[/C][C]4555.54545454545[/C][C]1022.45454545455[/C][/ROW]
[ROW][C]25[/C][C]4619[/C][C]4555.54545454545[/C][C]63.4545454545454[/C][/ROW]
[ROW][C]26[/C][C]4731[/C][C]4555.54545454545[/C][C]175.454545454545[/C][/ROW]
[ROW][C]27[/C][C]5011[/C][C]4555.54545454545[/C][C]455.454545454545[/C][/ROW]
[ROW][C]28[/C][C]5299[/C][C]4555.54545454545[/C][C]743.454545454545[/C][/ROW]
[ROW][C]29[/C][C]4146[/C][C]4555.54545454545[/C][C]-409.545454545455[/C][/ROW]
[ROW][C]30[/C][C]4625[/C][C]4555.54545454545[/C][C]69.4545454545454[/C][/ROW]
[ROW][C]31[/C][C]4736[/C][C]4555.54545454545[/C][C]180.454545454545[/C][/ROW]
[ROW][C]32[/C][C]4219[/C][C]4555.54545454545[/C][C]-336.545454545455[/C][/ROW]
[ROW][C]33[/C][C]5116[/C][C]4555.54545454545[/C][C]560.454545454545[/C][/ROW]
[ROW][C]34[/C][C]4205[/C][C]4555.54545454545[/C][C]-350.545454545455[/C][/ROW]
[ROW][C]35[/C][C]4121[/C][C]4555.54545454545[/C][C]-434.545454545455[/C][/ROW]
[ROW][C]36[/C][C]5103[/C][C]4555.54545454545[/C][C]547.454545454545[/C][/ROW]
[ROW][C]37[/C][C]4300[/C][C]4555.54545454545[/C][C]-255.545454545455[/C][/ROW]
[ROW][C]38[/C][C]4578[/C][C]4555.54545454545[/C][C]22.4545454545454[/C][/ROW]
[ROW][C]39[/C][C]3809[/C][C]4555.54545454545[/C][C]-746.545454545455[/C][/ROW]
[ROW][C]40[/C][C]5526[/C][C]4555.54545454545[/C][C]970.454545454545[/C][/ROW]
[ROW][C]41[/C][C]4247[/C][C]4555.54545454545[/C][C]-308.545454545455[/C][/ROW]
[ROW][C]42[/C][C]3830[/C][C]4555.54545454545[/C][C]-725.545454545455[/C][/ROW]
[ROW][C]43[/C][C]4394[/C][C]4555.54545454545[/C][C]-161.545454545455[/C][/ROW]
[ROW][C]44[/C][C]4826[/C][C]4555.54545454545[/C][C]270.454545454545[/C][/ROW]
[ROW][C]45[/C][C]4409[/C][C]4555.54545454545[/C][C]-146.545454545455[/C][/ROW]
[ROW][C]46[/C][C]4569[/C][C]4555.54545454545[/C][C]13.4545454545454[/C][/ROW]
[ROW][C]47[/C][C]4106[/C][C]4555.54545454545[/C][C]-449.545454545455[/C][/ROW]
[ROW][C]48[/C][C]4794[/C][C]4555.54545454545[/C][C]238.454545454545[/C][/ROW]
[ROW][C]49[/C][C]3914[/C][C]4555.54545454545[/C][C]-641.545454545455[/C][/ROW]
[ROW][C]50[/C][C]3793[/C][C]4555.54545454545[/C][C]-762.545454545455[/C][/ROW]
[ROW][C]51[/C][C]4405[/C][C]4555.54545454545[/C][C]-150.545454545455[/C][/ROW]
[ROW][C]52[/C][C]4022[/C][C]4555.54545454545[/C][C]-533.545454545455[/C][/ROW]
[ROW][C]53[/C][C]4100[/C][C]4555.54545454545[/C][C]-455.545454545455[/C][/ROW]
[ROW][C]54[/C][C]4788[/C][C]4583.18518518518[/C][C]204.814814814815[/C][/ROW]
[ROW][C]55[/C][C]3163[/C][C]4583.18518518518[/C][C]-1420.18518518518[/C][/ROW]
[ROW][C]56[/C][C]3585[/C][C]4583.18518518518[/C][C]-998.185185185185[/C][/ROW]
[ROW][C]57[/C][C]3903[/C][C]4583.18518518518[/C][C]-680.185185185185[/C][/ROW]
[ROW][C]58[/C][C]4178[/C][C]4583.18518518518[/C][C]-405.185185185185[/C][/ROW]
[ROW][C]59[/C][C]3863[/C][C]4583.18518518518[/C][C]-720.185185185185[/C][/ROW]
[ROW][C]60[/C][C]4187[/C][C]4583.18518518518[/C][C]-396.185185185185[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57889&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57889&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
139224583.18518518520-661.185185185195
237594583.18518518518-824.185185185185
341384583.18518518518-445.185185185185
446344583.1851851851850.8148148148154
539964583.18518518518-587.185185185185
643084583.18518518518-275.185185185185
741434583.18518518518-440.185185185185
844294583.18518518518-154.185185185185
952194583.18518518518635.814814814815
1049294555.54545454545373.454545454545
1157554583.185185185181171.81481481482
1255924583.185185185181008.81481481482
1341634583.18518518518-420.185185185185
1449624583.18518518518378.814814814815
1552084583.18518518518624.814814814815
1647554583.18518518518171.814814814815
1744914583.18518518518-92.1851851851846
1857324583.185185185181148.81481481482
1957314583.185185185181147.81481481482
2050404583.18518518518456.814814814815
2161024583.185185185181518.81481481482
2249044555.54545454545348.454545454545
2353694555.54545454545813.454545454545
2455784555.545454545451022.45454545455
2546194555.5454545454563.4545454545454
2647314555.54545454545175.454545454545
2750114555.54545454545455.454545454545
2852994555.54545454545743.454545454545
2941464555.54545454545-409.545454545455
3046254555.5454545454569.4545454545454
3147364555.54545454545180.454545454545
3242194555.54545454545-336.545454545455
3351164555.54545454545560.454545454545
3442054555.54545454545-350.545454545455
3541214555.54545454545-434.545454545455
3651034555.54545454545547.454545454545
3743004555.54545454545-255.545454545455
3845784555.5454545454522.4545454545454
3938094555.54545454545-746.545454545455
4055264555.54545454545970.454545454545
4142474555.54545454545-308.545454545455
4238304555.54545454545-725.545454545455
4343944555.54545454545-161.545454545455
4448264555.54545454545270.454545454545
4544094555.54545454545-146.545454545455
4645694555.5454545454513.4545454545454
4741064555.54545454545-449.545454545455
4847944555.54545454545238.454545454545
4939144555.54545454545-641.545454545455
5037934555.54545454545-762.545454545455
5144054555.54545454545-150.545454545455
5240224555.54545454545-533.545454545455
5341004555.54545454545-455.545454545455
5447884583.18518518518204.814814814815
5531634583.18518518518-1420.18518518518
5635854583.18518518518-998.185185185185
5739034583.18518518518-680.185185185185
5841784583.18518518518-405.185185185185
5938634583.18518518518-720.185185185185
6041874583.18518518518-396.185185185185







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.2261672316835460.4523344633670910.773832768316454
60.1233899397048400.2467798794096790.87661006029516
70.05682596317741790.1136519263548360.943174036822582
80.03454102349840410.06908204699680810.965458976501596
90.1951365510777120.3902731021554230.804863448922288
100.1224649520080460.2449299040160930.877535047991954
110.5139457590906110.9721084818187780.486054240909389
120.6813522547487920.6372954905024160.318647745251208
130.6207262855843310.7585474288313370.379273714415669
140.5656275714549260.8687448570901480.434372428545074
150.560536146430470.8789277071390610.439463853569531
160.4765333293308780.9530666586617560.523466670669122
170.3913373663887090.7826747327774170.608662633611291
180.5721922702772420.8556154594455170.427807729722758
190.7356235472292740.5287529055414510.264376452770726
200.713355393631460.5732892127370810.286644606368540
210.96312204351440.07375591297120090.0368779564856005
220.948277258037440.1034454839251210.0517227419625605
230.9534297966321160.09314040673576790.0465702033678839
240.9728225684515290.05435486309694270.0271774315484714
250.9646553427262130.07068931454757320.0353446572737866
260.9522285357487170.09554292850256640.0477714642512832
270.9443095803664750.1113808392670490.0556904196335246
280.957603597972170.08479280405566140.0423964020278307
290.958460784532030.0830784309359410.0415392154679705
300.9433043995594620.1133912008810760.056695600440538
310.9261059492021440.1477881015957120.0738940507978562
320.913095035722470.1738099285550590.0869049642775293
330.9228673714117370.1542652571765270.0771326285882634
340.9071526362974780.1856947274050440.0928473637025222
350.8932902934168750.2134194131662510.106709706583125
360.9091916470352870.1816167059294260.0908083529647132
370.8804095945956610.2391808108086780.119590405404339
380.8440548805145540.3118902389708920.155945119485446
390.8632845821896930.2734308356206130.136715417810307
400.9708638196651820.05827236066963670.0291361803348184
410.9562002249701540.0875995500596930.0437997750298465
420.9589521408402040.08209571831959160.0410478591597958
430.9365112927072620.1269774145854760.0634887072927379
440.9378603828262330.1242792343475350.0621396171737674
450.908496438524280.1830071229514410.0915035614757205
460.8856182196354170.2287635607291670.114381780364583
470.8380305137812020.3239389724375950.161969486218798
480.8721053347087550.255789330582490.127894665291245
490.8245837216905070.3508325566189860.175416278309493
500.7913924191874930.4172151616250130.208607580812507
510.7205973291069890.5588053417860220.279402670893011
520.614566885197520.770866229604960.38543311480248
530.4862210031893700.9724420063787390.51377899681063
540.6962277698141540.6075444603716920.303772230185846
550.8834187002738770.2331625994522460.116581299726123

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.226167231683546 & 0.452334463367091 & 0.773832768316454 \tabularnewline
6 & 0.123389939704840 & 0.246779879409679 & 0.87661006029516 \tabularnewline
7 & 0.0568259631774179 & 0.113651926354836 & 0.943174036822582 \tabularnewline
8 & 0.0345410234984041 & 0.0690820469968081 & 0.965458976501596 \tabularnewline
9 & 0.195136551077712 & 0.390273102155423 & 0.804863448922288 \tabularnewline
10 & 0.122464952008046 & 0.244929904016093 & 0.877535047991954 \tabularnewline
11 & 0.513945759090611 & 0.972108481818778 & 0.486054240909389 \tabularnewline
12 & 0.681352254748792 & 0.637295490502416 & 0.318647745251208 \tabularnewline
13 & 0.620726285584331 & 0.758547428831337 & 0.379273714415669 \tabularnewline
14 & 0.565627571454926 & 0.868744857090148 & 0.434372428545074 \tabularnewline
15 & 0.56053614643047 & 0.878927707139061 & 0.439463853569531 \tabularnewline
16 & 0.476533329330878 & 0.953066658661756 & 0.523466670669122 \tabularnewline
17 & 0.391337366388709 & 0.782674732777417 & 0.608662633611291 \tabularnewline
18 & 0.572192270277242 & 0.855615459445517 & 0.427807729722758 \tabularnewline
19 & 0.735623547229274 & 0.528752905541451 & 0.264376452770726 \tabularnewline
20 & 0.71335539363146 & 0.573289212737081 & 0.286644606368540 \tabularnewline
21 & 0.9631220435144 & 0.0737559129712009 & 0.0368779564856005 \tabularnewline
22 & 0.94827725803744 & 0.103445483925121 & 0.0517227419625605 \tabularnewline
23 & 0.953429796632116 & 0.0931404067357679 & 0.0465702033678839 \tabularnewline
24 & 0.972822568451529 & 0.0543548630969427 & 0.0271774315484714 \tabularnewline
25 & 0.964655342726213 & 0.0706893145475732 & 0.0353446572737866 \tabularnewline
26 & 0.952228535748717 & 0.0955429285025664 & 0.0477714642512832 \tabularnewline
27 & 0.944309580366475 & 0.111380839267049 & 0.0556904196335246 \tabularnewline
28 & 0.95760359797217 & 0.0847928040556614 & 0.0423964020278307 \tabularnewline
29 & 0.95846078453203 & 0.083078430935941 & 0.0415392154679705 \tabularnewline
30 & 0.943304399559462 & 0.113391200881076 & 0.056695600440538 \tabularnewline
31 & 0.926105949202144 & 0.147788101595712 & 0.0738940507978562 \tabularnewline
32 & 0.91309503572247 & 0.173809928555059 & 0.0869049642775293 \tabularnewline
33 & 0.922867371411737 & 0.154265257176527 & 0.0771326285882634 \tabularnewline
34 & 0.907152636297478 & 0.185694727405044 & 0.0928473637025222 \tabularnewline
35 & 0.893290293416875 & 0.213419413166251 & 0.106709706583125 \tabularnewline
36 & 0.909191647035287 & 0.181616705929426 & 0.0908083529647132 \tabularnewline
37 & 0.880409594595661 & 0.239180810808678 & 0.119590405404339 \tabularnewline
38 & 0.844054880514554 & 0.311890238970892 & 0.155945119485446 \tabularnewline
39 & 0.863284582189693 & 0.273430835620613 & 0.136715417810307 \tabularnewline
40 & 0.970863819665182 & 0.0582723606696367 & 0.0291361803348184 \tabularnewline
41 & 0.956200224970154 & 0.087599550059693 & 0.0437997750298465 \tabularnewline
42 & 0.958952140840204 & 0.0820957183195916 & 0.0410478591597958 \tabularnewline
43 & 0.936511292707262 & 0.126977414585476 & 0.0634887072927379 \tabularnewline
44 & 0.937860382826233 & 0.124279234347535 & 0.0621396171737674 \tabularnewline
45 & 0.90849643852428 & 0.183007122951441 & 0.0915035614757205 \tabularnewline
46 & 0.885618219635417 & 0.228763560729167 & 0.114381780364583 \tabularnewline
47 & 0.838030513781202 & 0.323938972437595 & 0.161969486218798 \tabularnewline
48 & 0.872105334708755 & 0.25578933058249 & 0.127894665291245 \tabularnewline
49 & 0.824583721690507 & 0.350832556618986 & 0.175416278309493 \tabularnewline
50 & 0.791392419187493 & 0.417215161625013 & 0.208607580812507 \tabularnewline
51 & 0.720597329106989 & 0.558805341786022 & 0.279402670893011 \tabularnewline
52 & 0.61456688519752 & 0.77086622960496 & 0.38543311480248 \tabularnewline
53 & 0.486221003189370 & 0.972442006378739 & 0.51377899681063 \tabularnewline
54 & 0.696227769814154 & 0.607544460371692 & 0.303772230185846 \tabularnewline
55 & 0.883418700273877 & 0.233162599452246 & 0.116581299726123 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57889&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.226167231683546[/C][C]0.452334463367091[/C][C]0.773832768316454[/C][/ROW]
[ROW][C]6[/C][C]0.123389939704840[/C][C]0.246779879409679[/C][C]0.87661006029516[/C][/ROW]
[ROW][C]7[/C][C]0.0568259631774179[/C][C]0.113651926354836[/C][C]0.943174036822582[/C][/ROW]
[ROW][C]8[/C][C]0.0345410234984041[/C][C]0.0690820469968081[/C][C]0.965458976501596[/C][/ROW]
[ROW][C]9[/C][C]0.195136551077712[/C][C]0.390273102155423[/C][C]0.804863448922288[/C][/ROW]
[ROW][C]10[/C][C]0.122464952008046[/C][C]0.244929904016093[/C][C]0.877535047991954[/C][/ROW]
[ROW][C]11[/C][C]0.513945759090611[/C][C]0.972108481818778[/C][C]0.486054240909389[/C][/ROW]
[ROW][C]12[/C][C]0.681352254748792[/C][C]0.637295490502416[/C][C]0.318647745251208[/C][/ROW]
[ROW][C]13[/C][C]0.620726285584331[/C][C]0.758547428831337[/C][C]0.379273714415669[/C][/ROW]
[ROW][C]14[/C][C]0.565627571454926[/C][C]0.868744857090148[/C][C]0.434372428545074[/C][/ROW]
[ROW][C]15[/C][C]0.56053614643047[/C][C]0.878927707139061[/C][C]0.439463853569531[/C][/ROW]
[ROW][C]16[/C][C]0.476533329330878[/C][C]0.953066658661756[/C][C]0.523466670669122[/C][/ROW]
[ROW][C]17[/C][C]0.391337366388709[/C][C]0.782674732777417[/C][C]0.608662633611291[/C][/ROW]
[ROW][C]18[/C][C]0.572192270277242[/C][C]0.855615459445517[/C][C]0.427807729722758[/C][/ROW]
[ROW][C]19[/C][C]0.735623547229274[/C][C]0.528752905541451[/C][C]0.264376452770726[/C][/ROW]
[ROW][C]20[/C][C]0.71335539363146[/C][C]0.573289212737081[/C][C]0.286644606368540[/C][/ROW]
[ROW][C]21[/C][C]0.9631220435144[/C][C]0.0737559129712009[/C][C]0.0368779564856005[/C][/ROW]
[ROW][C]22[/C][C]0.94827725803744[/C][C]0.103445483925121[/C][C]0.0517227419625605[/C][/ROW]
[ROW][C]23[/C][C]0.953429796632116[/C][C]0.0931404067357679[/C][C]0.0465702033678839[/C][/ROW]
[ROW][C]24[/C][C]0.972822568451529[/C][C]0.0543548630969427[/C][C]0.0271774315484714[/C][/ROW]
[ROW][C]25[/C][C]0.964655342726213[/C][C]0.0706893145475732[/C][C]0.0353446572737866[/C][/ROW]
[ROW][C]26[/C][C]0.952228535748717[/C][C]0.0955429285025664[/C][C]0.0477714642512832[/C][/ROW]
[ROW][C]27[/C][C]0.944309580366475[/C][C]0.111380839267049[/C][C]0.0556904196335246[/C][/ROW]
[ROW][C]28[/C][C]0.95760359797217[/C][C]0.0847928040556614[/C][C]0.0423964020278307[/C][/ROW]
[ROW][C]29[/C][C]0.95846078453203[/C][C]0.083078430935941[/C][C]0.0415392154679705[/C][/ROW]
[ROW][C]30[/C][C]0.943304399559462[/C][C]0.113391200881076[/C][C]0.056695600440538[/C][/ROW]
[ROW][C]31[/C][C]0.926105949202144[/C][C]0.147788101595712[/C][C]0.0738940507978562[/C][/ROW]
[ROW][C]32[/C][C]0.91309503572247[/C][C]0.173809928555059[/C][C]0.0869049642775293[/C][/ROW]
[ROW][C]33[/C][C]0.922867371411737[/C][C]0.154265257176527[/C][C]0.0771326285882634[/C][/ROW]
[ROW][C]34[/C][C]0.907152636297478[/C][C]0.185694727405044[/C][C]0.0928473637025222[/C][/ROW]
[ROW][C]35[/C][C]0.893290293416875[/C][C]0.213419413166251[/C][C]0.106709706583125[/C][/ROW]
[ROW][C]36[/C][C]0.909191647035287[/C][C]0.181616705929426[/C][C]0.0908083529647132[/C][/ROW]
[ROW][C]37[/C][C]0.880409594595661[/C][C]0.239180810808678[/C][C]0.119590405404339[/C][/ROW]
[ROW][C]38[/C][C]0.844054880514554[/C][C]0.311890238970892[/C][C]0.155945119485446[/C][/ROW]
[ROW][C]39[/C][C]0.863284582189693[/C][C]0.273430835620613[/C][C]0.136715417810307[/C][/ROW]
[ROW][C]40[/C][C]0.970863819665182[/C][C]0.0582723606696367[/C][C]0.0291361803348184[/C][/ROW]
[ROW][C]41[/C][C]0.956200224970154[/C][C]0.087599550059693[/C][C]0.0437997750298465[/C][/ROW]
[ROW][C]42[/C][C]0.958952140840204[/C][C]0.0820957183195916[/C][C]0.0410478591597958[/C][/ROW]
[ROW][C]43[/C][C]0.936511292707262[/C][C]0.126977414585476[/C][C]0.0634887072927379[/C][/ROW]
[ROW][C]44[/C][C]0.937860382826233[/C][C]0.124279234347535[/C][C]0.0621396171737674[/C][/ROW]
[ROW][C]45[/C][C]0.90849643852428[/C][C]0.183007122951441[/C][C]0.0915035614757205[/C][/ROW]
[ROW][C]46[/C][C]0.885618219635417[/C][C]0.228763560729167[/C][C]0.114381780364583[/C][/ROW]
[ROW][C]47[/C][C]0.838030513781202[/C][C]0.323938972437595[/C][C]0.161969486218798[/C][/ROW]
[ROW][C]48[/C][C]0.872105334708755[/C][C]0.25578933058249[/C][C]0.127894665291245[/C][/ROW]
[ROW][C]49[/C][C]0.824583721690507[/C][C]0.350832556618986[/C][C]0.175416278309493[/C][/ROW]
[ROW][C]50[/C][C]0.791392419187493[/C][C]0.417215161625013[/C][C]0.208607580812507[/C][/ROW]
[ROW][C]51[/C][C]0.720597329106989[/C][C]0.558805341786022[/C][C]0.279402670893011[/C][/ROW]
[ROW][C]52[/C][C]0.61456688519752[/C][C]0.77086622960496[/C][C]0.38543311480248[/C][/ROW]
[ROW][C]53[/C][C]0.486221003189370[/C][C]0.972442006378739[/C][C]0.51377899681063[/C][/ROW]
[ROW][C]54[/C][C]0.696227769814154[/C][C]0.607544460371692[/C][C]0.303772230185846[/C][/ROW]
[ROW][C]55[/C][C]0.883418700273877[/C][C]0.233162599452246[/C][C]0.116581299726123[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57889&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57889&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.2261672316835460.4523344633670910.773832768316454
60.1233899397048400.2467798794096790.87661006029516
70.05682596317741790.1136519263548360.943174036822582
80.03454102349840410.06908204699680810.965458976501596
90.1951365510777120.3902731021554230.804863448922288
100.1224649520080460.2449299040160930.877535047991954
110.5139457590906110.9721084818187780.486054240909389
120.6813522547487920.6372954905024160.318647745251208
130.6207262855843310.7585474288313370.379273714415669
140.5656275714549260.8687448570901480.434372428545074
150.560536146430470.8789277071390610.439463853569531
160.4765333293308780.9530666586617560.523466670669122
170.3913373663887090.7826747327774170.608662633611291
180.5721922702772420.8556154594455170.427807729722758
190.7356235472292740.5287529055414510.264376452770726
200.713355393631460.5732892127370810.286644606368540
210.96312204351440.07375591297120090.0368779564856005
220.948277258037440.1034454839251210.0517227419625605
230.9534297966321160.09314040673576790.0465702033678839
240.9728225684515290.05435486309694270.0271774315484714
250.9646553427262130.07068931454757320.0353446572737866
260.9522285357487170.09554292850256640.0477714642512832
270.9443095803664750.1113808392670490.0556904196335246
280.957603597972170.08479280405566140.0423964020278307
290.958460784532030.0830784309359410.0415392154679705
300.9433043995594620.1133912008810760.056695600440538
310.9261059492021440.1477881015957120.0738940507978562
320.913095035722470.1738099285550590.0869049642775293
330.9228673714117370.1542652571765270.0771326285882634
340.9071526362974780.1856947274050440.0928473637025222
350.8932902934168750.2134194131662510.106709706583125
360.9091916470352870.1816167059294260.0908083529647132
370.8804095945956610.2391808108086780.119590405404339
380.8440548805145540.3118902389708920.155945119485446
390.8632845821896930.2734308356206130.136715417810307
400.9708638196651820.05827236066963670.0291361803348184
410.9562002249701540.0875995500596930.0437997750298465
420.9589521408402040.08209571831959160.0410478591597958
430.9365112927072620.1269774145854760.0634887072927379
440.9378603828262330.1242792343475350.0621396171737674
450.908496438524280.1830071229514410.0915035614757205
460.8856182196354170.2287635607291670.114381780364583
470.8380305137812020.3239389724375950.161969486218798
480.8721053347087550.255789330582490.127894665291245
490.8245837216905070.3508325566189860.175416278309493
500.7913924191874930.4172151616250130.208607580812507
510.7205973291069890.5588053417860220.279402670893011
520.614566885197520.770866229604960.38543311480248
530.4862210031893700.9724420063787390.51377899681063
540.6962277698141540.6075444603716920.303772230185846
550.8834187002738770.2331625994522460.116581299726123







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

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

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

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

As an alternative you can also use a QR Code:  

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

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



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')
}