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 02:04:57 -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/t1258622952x32mpdi5w9wn16r.htm/, Retrieved Fri, 19 Apr 2024 17:46:21 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=57668, Retrieved Fri, 19 Apr 2024 17:46:21 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact164
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]
-   PD      [Multiple Regression] [] [2009-11-19 09:04:57] [a1151e037da67acc5ce4bbcb8804d7f1] [Current]
Feedback Forum

Post a new message
Dataseries X:
3353	1
3186	1
3902	1
4164	1
3499	1
4145	1
3796	1
3711	1
3949	1
3740	1
3243	1
4407	1
4814	1
3908	1
5250	1
3937	1
4004	1
5560	1
3922	1
3759	1
4138	1
4634	1
3996	1
4308	1
4143	0
4429	0
5219	0
4929	0
5755	0
5592	0
4163	0
4962	0
5208	0
4755	0
4491	0
5732	0
5731	0
5040	0
6102	0
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	1
4300	1
4578	1
3809	1
5526	1
4247	1
3830	1
4394	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 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 & 4 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57668&T=0

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

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

As an alternative you can also use a QR Code:  

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

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







Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 4671.00000000001 -647X[t] -75.2666666666649M1[t] -470.733333333334M2[t] + 482.399999999999M3[t] -215.866666666666M4[t] -102.333333333334M5[t] + 664.799999999999M6[t] -379.066666666667M7[t] -199.133333333333M8[t] -132.600000000000M9[t] + 226.933333333334M10[t] -547.533333333333M11[t] + 8.26666666666665t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  4671.00000000001 -647X[t] -75.2666666666649M1[t] -470.733333333334M2[t] +  482.399999999999M3[t] -215.866666666666M4[t] -102.333333333334M5[t] +  664.799999999999M6[t] -379.066666666667M7[t] -199.133333333333M8[t] -132.600000000000M9[t] +  226.933333333334M10[t] -547.533333333333M11[t] +  8.26666666666665t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57668&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  4671.00000000001 -647X[t] -75.2666666666649M1[t] -470.733333333334M2[t] +  482.399999999999M3[t] -215.866666666666M4[t] -102.333333333334M5[t] +  664.799999999999M6[t] -379.066666666667M7[t] -199.133333333333M8[t] -132.600000000000M9[t] +  226.933333333334M10[t] -547.533333333333M11[t] +  8.26666666666665t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57668&T=1

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

As an alternative you can also use a QR Code:  

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

Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 4671.00000000001 -647X[t] -75.2666666666649M1[t] -470.733333333334M2[t] + 482.399999999999M3[t] -215.866666666666M4[t] -102.333333333334M5[t] + 664.799999999999M6[t] -379.066666666667M7[t] -199.133333333333M8[t] -132.600000000000M9[t] + 226.933333333334M10[t] -547.533333333333M11[t] + 8.26666666666665t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)4671.00000000001305.15626615.306900
X-647147.896353-4.37476.7e-053.4e-05
M1-75.2666666666649303.992776-0.24760.8055270.402764
M2-470.733333333334321.831053-1.46270.1502120.075106
M3482.399999999999321.1312051.50220.1397380.069869
M4-215.866666666666320.484479-0.67360.5038880.251944
M5-102.333333333334319.891195-0.31990.7504620.375231
M6664.799999999999316.8709012.0980.0413070.020653
M7-379.066666666667316.566779-1.19740.2371430.118572
M8-199.133333333333316.317734-0.62950.5320470.266023
M9-132.600000000000316.123896-0.41950.6767940.338397
M10226.933333333334315.9853690.71820.4762030.238102
M11-547.533333333333315.902223-1.73320.0896110.044805
t8.266666666666654.1848491.97540.0541140.027057

\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) & 4671.00000000001 & 305.156266 & 15.3069 & 0 & 0 \tabularnewline
X & -647 & 147.896353 & -4.3747 & 6.7e-05 & 3.4e-05 \tabularnewline
M1 & -75.2666666666649 & 303.992776 & -0.2476 & 0.805527 & 0.402764 \tabularnewline
M2 & -470.733333333334 & 321.831053 & -1.4627 & 0.150212 & 0.075106 \tabularnewline
M3 & 482.399999999999 & 321.131205 & 1.5022 & 0.139738 & 0.069869 \tabularnewline
M4 & -215.866666666666 & 320.484479 & -0.6736 & 0.503888 & 0.251944 \tabularnewline
M5 & -102.333333333334 & 319.891195 & -0.3199 & 0.750462 & 0.375231 \tabularnewline
M6 & 664.799999999999 & 316.870901 & 2.098 & 0.041307 & 0.020653 \tabularnewline
M7 & -379.066666666667 & 316.566779 & -1.1974 & 0.237143 & 0.118572 \tabularnewline
M8 & -199.133333333333 & 316.317734 & -0.6295 & 0.532047 & 0.266023 \tabularnewline
M9 & -132.600000000000 & 316.123896 & -0.4195 & 0.676794 & 0.338397 \tabularnewline
M10 & 226.933333333334 & 315.985369 & 0.7182 & 0.476203 & 0.238102 \tabularnewline
M11 & -547.533333333333 & 315.902223 & -1.7332 & 0.089611 & 0.044805 \tabularnewline
t & 8.26666666666665 & 4.184849 & 1.9754 & 0.054114 & 0.027057 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57668&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]4671.00000000001[/C][C]305.156266[/C][C]15.3069[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]X[/C][C]-647[/C][C]147.896353[/C][C]-4.3747[/C][C]6.7e-05[/C][C]3.4e-05[/C][/ROW]
[ROW][C]M1[/C][C]-75.2666666666649[/C][C]303.992776[/C][C]-0.2476[/C][C]0.805527[/C][C]0.402764[/C][/ROW]
[ROW][C]M2[/C][C]-470.733333333334[/C][C]321.831053[/C][C]-1.4627[/C][C]0.150212[/C][C]0.075106[/C][/ROW]
[ROW][C]M3[/C][C]482.399999999999[/C][C]321.131205[/C][C]1.5022[/C][C]0.139738[/C][C]0.069869[/C][/ROW]
[ROW][C]M4[/C][C]-215.866666666666[/C][C]320.484479[/C][C]-0.6736[/C][C]0.503888[/C][C]0.251944[/C][/ROW]
[ROW][C]M5[/C][C]-102.333333333334[/C][C]319.891195[/C][C]-0.3199[/C][C]0.750462[/C][C]0.375231[/C][/ROW]
[ROW][C]M6[/C][C]664.799999999999[/C][C]316.870901[/C][C]2.098[/C][C]0.041307[/C][C]0.020653[/C][/ROW]
[ROW][C]M7[/C][C]-379.066666666667[/C][C]316.566779[/C][C]-1.1974[/C][C]0.237143[/C][C]0.118572[/C][/ROW]
[ROW][C]M8[/C][C]-199.133333333333[/C][C]316.317734[/C][C]-0.6295[/C][C]0.532047[/C][C]0.266023[/C][/ROW]
[ROW][C]M9[/C][C]-132.600000000000[/C][C]316.123896[/C][C]-0.4195[/C][C]0.676794[/C][C]0.338397[/C][/ROW]
[ROW][C]M10[/C][C]226.933333333334[/C][C]315.985369[/C][C]0.7182[/C][C]0.476203[/C][C]0.238102[/C][/ROW]
[ROW][C]M11[/C][C]-547.533333333333[/C][C]315.902223[/C][C]-1.7332[/C][C]0.089611[/C][C]0.044805[/C][/ROW]
[ROW][C]t[/C][C]8.26666666666665[/C][C]4.184849[/C][C]1.9754[/C][C]0.054114[/C][C]0.027057[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57668&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57668&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)4671.00000000001305.15626615.306900
X-647147.896353-4.37476.7e-053.4e-05
M1-75.2666666666649303.992776-0.24760.8055270.402764
M2-470.733333333334321.831053-1.46270.1502120.075106
M3482.399999999999321.1312051.50220.1397380.069869
M4-215.866666666666320.484479-0.67360.5038880.251944
M5-102.333333333334319.891195-0.31990.7504620.375231
M6664.799999999999316.8709012.0980.0413070.020653
M7-379.066666666667316.566779-1.19740.2371430.118572
M8-199.133333333333316.317734-0.62950.5320470.266023
M9-132.600000000000316.123896-0.41950.6767940.338397
M10226.933333333334315.9853690.71820.4762030.238102
M11-547.533333333333315.902223-1.73320.0896110.044805
t8.266666666666654.1848491.97540.0541140.027057







Multiple Linear Regression - Regression Statistics
Multiple R0.771780531795396
R-squared0.595645189258384
Adjusted R-squared0.483802369266023
F-TEST (value)5.32573471680224
F-TEST (DF numerator)13
F-TEST (DF denominator)47
p-value9.49309702380496e-06
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation499.44144120356
Sum Squared Residuals11723762.4

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.771780531795396 \tabularnewline
R-squared & 0.595645189258384 \tabularnewline
Adjusted R-squared & 0.483802369266023 \tabularnewline
F-TEST (value) & 5.32573471680224 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 9.49309702380496e-06 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 499.44144120356 \tabularnewline
Sum Squared Residuals & 11723762.4 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57668&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.771780531795396[/C][/ROW]
[ROW][C]R-squared[/C][C]0.595645189258384[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.483802369266023[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]5.32573471680224[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]47[/C][/ROW]
[ROW][C]p-value[/C][C]9.49309702380496e-06[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]499.44144120356[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]11723762.4[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57668&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57668&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.771780531795396
R-squared0.595645189258384
Adjusted R-squared0.483802369266023
F-TEST (value)5.32573471680224
F-TEST (DF numerator)13
F-TEST (DF denominator)47
p-value9.49309702380496e-06
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation499.44144120356
Sum Squared Residuals11723762.4







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
133533956.99999999999-603.999999999992
231863569.8-383.8
339024531.2-629.200000000002
441643841.2322.8
534993963-463.999999999999
641454738.4-593.400000000002
737963702.893.1999999999998
837113891-180.000000000000
939493965.8-16.8000000000005
1037404333.6-593.6
1132433567.4-324.400000000001
1244074123.2283.799999999999
1348144056.2757.799999999998
1439083669238.999999999999
1552504630.4619.6
1639373940.4-3.40000000000056
1740044062.2-58.2000000000005
1855604837.6722.4
1939223802120.000000000000
2037593990.2-231.200000000000
214138406572.9999999999998
2246344432.8201.199999999999
2339963666.6329.4
2443084222.485.5999999999997
2541434802.4-659.400000000002
2644294415.213.7999999999996
2752195376.6-157.6
2849294686.6242.400000000000
2957554808.4946.6
3055925583.88.20000000000019
3141634548.2-385.2
3249624736.4225.6
3352084811.2396.8
3447555179-424
3544914412.878.2
3657324968.6763.4
3757314901.6829.399999999998
3850404514.4525.6
3961025475.8626.2
4049044785.8118.2
4153694907.6461.4
4255785683-105.000000000000
4346194647.4-28.4000000000001
4447314835.6-104.600000000000
4550114910.4100.600000000000
4652995278.220.8000000000001
4741464512-366
4846255067.8-442.8
4947365000.8-264.800000000001
5042194613.6-394.6
5151165575-459
5242054885-680
5341215006.8-885.8
5451035135.2-32.199999999999
5543004099.6200.4
5645784287.8290.200000000000
5738094362.6-553.6
5855264730.4795.6
5942473964.2282.800000000000
6038304520-690
6143944453-59.000000000001

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 3353 & 3956.99999999999 & -603.999999999992 \tabularnewline
2 & 3186 & 3569.8 & -383.8 \tabularnewline
3 & 3902 & 4531.2 & -629.200000000002 \tabularnewline
4 & 4164 & 3841.2 & 322.8 \tabularnewline
5 & 3499 & 3963 & -463.999999999999 \tabularnewline
6 & 4145 & 4738.4 & -593.400000000002 \tabularnewline
7 & 3796 & 3702.8 & 93.1999999999998 \tabularnewline
8 & 3711 & 3891 & -180.000000000000 \tabularnewline
9 & 3949 & 3965.8 & -16.8000000000005 \tabularnewline
10 & 3740 & 4333.6 & -593.6 \tabularnewline
11 & 3243 & 3567.4 & -324.400000000001 \tabularnewline
12 & 4407 & 4123.2 & 283.799999999999 \tabularnewline
13 & 4814 & 4056.2 & 757.799999999998 \tabularnewline
14 & 3908 & 3669 & 238.999999999999 \tabularnewline
15 & 5250 & 4630.4 & 619.6 \tabularnewline
16 & 3937 & 3940.4 & -3.40000000000056 \tabularnewline
17 & 4004 & 4062.2 & -58.2000000000005 \tabularnewline
18 & 5560 & 4837.6 & 722.4 \tabularnewline
19 & 3922 & 3802 & 120.000000000000 \tabularnewline
20 & 3759 & 3990.2 & -231.200000000000 \tabularnewline
21 & 4138 & 4065 & 72.9999999999998 \tabularnewline
22 & 4634 & 4432.8 & 201.199999999999 \tabularnewline
23 & 3996 & 3666.6 & 329.4 \tabularnewline
24 & 4308 & 4222.4 & 85.5999999999997 \tabularnewline
25 & 4143 & 4802.4 & -659.400000000002 \tabularnewline
26 & 4429 & 4415.2 & 13.7999999999996 \tabularnewline
27 & 5219 & 5376.6 & -157.6 \tabularnewline
28 & 4929 & 4686.6 & 242.400000000000 \tabularnewline
29 & 5755 & 4808.4 & 946.6 \tabularnewline
30 & 5592 & 5583.8 & 8.20000000000019 \tabularnewline
31 & 4163 & 4548.2 & -385.2 \tabularnewline
32 & 4962 & 4736.4 & 225.6 \tabularnewline
33 & 5208 & 4811.2 & 396.8 \tabularnewline
34 & 4755 & 5179 & -424 \tabularnewline
35 & 4491 & 4412.8 & 78.2 \tabularnewline
36 & 5732 & 4968.6 & 763.4 \tabularnewline
37 & 5731 & 4901.6 & 829.399999999998 \tabularnewline
38 & 5040 & 4514.4 & 525.6 \tabularnewline
39 & 6102 & 5475.8 & 626.2 \tabularnewline
40 & 4904 & 4785.8 & 118.2 \tabularnewline
41 & 5369 & 4907.6 & 461.4 \tabularnewline
42 & 5578 & 5683 & -105.000000000000 \tabularnewline
43 & 4619 & 4647.4 & -28.4000000000001 \tabularnewline
44 & 4731 & 4835.6 & -104.600000000000 \tabularnewline
45 & 5011 & 4910.4 & 100.600000000000 \tabularnewline
46 & 5299 & 5278.2 & 20.8000000000001 \tabularnewline
47 & 4146 & 4512 & -366 \tabularnewline
48 & 4625 & 5067.8 & -442.8 \tabularnewline
49 & 4736 & 5000.8 & -264.800000000001 \tabularnewline
50 & 4219 & 4613.6 & -394.6 \tabularnewline
51 & 5116 & 5575 & -459 \tabularnewline
52 & 4205 & 4885 & -680 \tabularnewline
53 & 4121 & 5006.8 & -885.8 \tabularnewline
54 & 5103 & 5135.2 & -32.199999999999 \tabularnewline
55 & 4300 & 4099.6 & 200.4 \tabularnewline
56 & 4578 & 4287.8 & 290.200000000000 \tabularnewline
57 & 3809 & 4362.6 & -553.6 \tabularnewline
58 & 5526 & 4730.4 & 795.6 \tabularnewline
59 & 4247 & 3964.2 & 282.800000000000 \tabularnewline
60 & 3830 & 4520 & -690 \tabularnewline
61 & 4394 & 4453 & -59.000000000001 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57668&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]3353[/C][C]3956.99999999999[/C][C]-603.999999999992[/C][/ROW]
[ROW][C]2[/C][C]3186[/C][C]3569.8[/C][C]-383.8[/C][/ROW]
[ROW][C]3[/C][C]3902[/C][C]4531.2[/C][C]-629.200000000002[/C][/ROW]
[ROW][C]4[/C][C]4164[/C][C]3841.2[/C][C]322.8[/C][/ROW]
[ROW][C]5[/C][C]3499[/C][C]3963[/C][C]-463.999999999999[/C][/ROW]
[ROW][C]6[/C][C]4145[/C][C]4738.4[/C][C]-593.400000000002[/C][/ROW]
[ROW][C]7[/C][C]3796[/C][C]3702.8[/C][C]93.1999999999998[/C][/ROW]
[ROW][C]8[/C][C]3711[/C][C]3891[/C][C]-180.000000000000[/C][/ROW]
[ROW][C]9[/C][C]3949[/C][C]3965.8[/C][C]-16.8000000000005[/C][/ROW]
[ROW][C]10[/C][C]3740[/C][C]4333.6[/C][C]-593.6[/C][/ROW]
[ROW][C]11[/C][C]3243[/C][C]3567.4[/C][C]-324.400000000001[/C][/ROW]
[ROW][C]12[/C][C]4407[/C][C]4123.2[/C][C]283.799999999999[/C][/ROW]
[ROW][C]13[/C][C]4814[/C][C]4056.2[/C][C]757.799999999998[/C][/ROW]
[ROW][C]14[/C][C]3908[/C][C]3669[/C][C]238.999999999999[/C][/ROW]
[ROW][C]15[/C][C]5250[/C][C]4630.4[/C][C]619.6[/C][/ROW]
[ROW][C]16[/C][C]3937[/C][C]3940.4[/C][C]-3.40000000000056[/C][/ROW]
[ROW][C]17[/C][C]4004[/C][C]4062.2[/C][C]-58.2000000000005[/C][/ROW]
[ROW][C]18[/C][C]5560[/C][C]4837.6[/C][C]722.4[/C][/ROW]
[ROW][C]19[/C][C]3922[/C][C]3802[/C][C]120.000000000000[/C][/ROW]
[ROW][C]20[/C][C]3759[/C][C]3990.2[/C][C]-231.200000000000[/C][/ROW]
[ROW][C]21[/C][C]4138[/C][C]4065[/C][C]72.9999999999998[/C][/ROW]
[ROW][C]22[/C][C]4634[/C][C]4432.8[/C][C]201.199999999999[/C][/ROW]
[ROW][C]23[/C][C]3996[/C][C]3666.6[/C][C]329.4[/C][/ROW]
[ROW][C]24[/C][C]4308[/C][C]4222.4[/C][C]85.5999999999997[/C][/ROW]
[ROW][C]25[/C][C]4143[/C][C]4802.4[/C][C]-659.400000000002[/C][/ROW]
[ROW][C]26[/C][C]4429[/C][C]4415.2[/C][C]13.7999999999996[/C][/ROW]
[ROW][C]27[/C][C]5219[/C][C]5376.6[/C][C]-157.6[/C][/ROW]
[ROW][C]28[/C][C]4929[/C][C]4686.6[/C][C]242.400000000000[/C][/ROW]
[ROW][C]29[/C][C]5755[/C][C]4808.4[/C][C]946.6[/C][/ROW]
[ROW][C]30[/C][C]5592[/C][C]5583.8[/C][C]8.20000000000019[/C][/ROW]
[ROW][C]31[/C][C]4163[/C][C]4548.2[/C][C]-385.2[/C][/ROW]
[ROW][C]32[/C][C]4962[/C][C]4736.4[/C][C]225.6[/C][/ROW]
[ROW][C]33[/C][C]5208[/C][C]4811.2[/C][C]396.8[/C][/ROW]
[ROW][C]34[/C][C]4755[/C][C]5179[/C][C]-424[/C][/ROW]
[ROW][C]35[/C][C]4491[/C][C]4412.8[/C][C]78.2[/C][/ROW]
[ROW][C]36[/C][C]5732[/C][C]4968.6[/C][C]763.4[/C][/ROW]
[ROW][C]37[/C][C]5731[/C][C]4901.6[/C][C]829.399999999998[/C][/ROW]
[ROW][C]38[/C][C]5040[/C][C]4514.4[/C][C]525.6[/C][/ROW]
[ROW][C]39[/C][C]6102[/C][C]5475.8[/C][C]626.2[/C][/ROW]
[ROW][C]40[/C][C]4904[/C][C]4785.8[/C][C]118.2[/C][/ROW]
[ROW][C]41[/C][C]5369[/C][C]4907.6[/C][C]461.4[/C][/ROW]
[ROW][C]42[/C][C]5578[/C][C]5683[/C][C]-105.000000000000[/C][/ROW]
[ROW][C]43[/C][C]4619[/C][C]4647.4[/C][C]-28.4000000000001[/C][/ROW]
[ROW][C]44[/C][C]4731[/C][C]4835.6[/C][C]-104.600000000000[/C][/ROW]
[ROW][C]45[/C][C]5011[/C][C]4910.4[/C][C]100.600000000000[/C][/ROW]
[ROW][C]46[/C][C]5299[/C][C]5278.2[/C][C]20.8000000000001[/C][/ROW]
[ROW][C]47[/C][C]4146[/C][C]4512[/C][C]-366[/C][/ROW]
[ROW][C]48[/C][C]4625[/C][C]5067.8[/C][C]-442.8[/C][/ROW]
[ROW][C]49[/C][C]4736[/C][C]5000.8[/C][C]-264.800000000001[/C][/ROW]
[ROW][C]50[/C][C]4219[/C][C]4613.6[/C][C]-394.6[/C][/ROW]
[ROW][C]51[/C][C]5116[/C][C]5575[/C][C]-459[/C][/ROW]
[ROW][C]52[/C][C]4205[/C][C]4885[/C][C]-680[/C][/ROW]
[ROW][C]53[/C][C]4121[/C][C]5006.8[/C][C]-885.8[/C][/ROW]
[ROW][C]54[/C][C]5103[/C][C]5135.2[/C][C]-32.199999999999[/C][/ROW]
[ROW][C]55[/C][C]4300[/C][C]4099.6[/C][C]200.4[/C][/ROW]
[ROW][C]56[/C][C]4578[/C][C]4287.8[/C][C]290.200000000000[/C][/ROW]
[ROW][C]57[/C][C]3809[/C][C]4362.6[/C][C]-553.6[/C][/ROW]
[ROW][C]58[/C][C]5526[/C][C]4730.4[/C][C]795.6[/C][/ROW]
[ROW][C]59[/C][C]4247[/C][C]3964.2[/C][C]282.800000000000[/C][/ROW]
[ROW][C]60[/C][C]3830[/C][C]4520[/C][C]-690[/C][/ROW]
[ROW][C]61[/C][C]4394[/C][C]4453[/C][C]-59.000000000001[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57668&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57668&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
133533956.99999999999-603.999999999992
231863569.8-383.8
339024531.2-629.200000000002
441643841.2322.8
534993963-463.999999999999
641454738.4-593.400000000002
737963702.893.1999999999998
837113891-180.000000000000
939493965.8-16.8000000000005
1037404333.6-593.6
1132433567.4-324.400000000001
1244074123.2283.799999999999
1348144056.2757.799999999998
1439083669238.999999999999
1552504630.4619.6
1639373940.4-3.40000000000056
1740044062.2-58.2000000000005
1855604837.6722.4
1939223802120.000000000000
2037593990.2-231.200000000000
214138406572.9999999999998
2246344432.8201.199999999999
2339963666.6329.4
2443084222.485.5999999999997
2541434802.4-659.400000000002
2644294415.213.7999999999996
2752195376.6-157.6
2849294686.6242.400000000000
2957554808.4946.6
3055925583.88.20000000000019
3141634548.2-385.2
3249624736.4225.6
3352084811.2396.8
3447555179-424
3544914412.878.2
3657324968.6763.4
3757314901.6829.399999999998
3850404514.4525.6
3961025475.8626.2
4049044785.8118.2
4153694907.6461.4
4255785683-105.000000000000
4346194647.4-28.4000000000001
4447314835.6-104.600000000000
4550114910.4100.600000000000
4652995278.220.8000000000001
4741464512-366
4846255067.8-442.8
4947365000.8-264.800000000001
5042194613.6-394.6
5151165575-459
5242054885-680
5341215006.8-885.8
5451035135.2-32.199999999999
5543004099.6200.4
5645784287.8290.200000000000
5738094362.6-553.6
5855264730.4795.6
5942473964.2282.800000000000
6038304520-690
6143944453-59.000000000001







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.6963925717273290.6072148565453420.303607428272671
180.6321739936979370.7356520126041260.367826006302063
190.5897341903641370.8205316192717260.410265809635863
200.5746086254449720.8507827491100560.425391374555028
210.4936421480708160.9872842961416310.506357851929184
220.3978531981740510.7957063963481020.602146801825949
230.2948837068027850.5897674136055690.705116293197215
240.3000688076205230.6001376152410460.699931192379477
250.3497079251262630.6994158502525250.650292074873738
260.3700643482556950.740128696511390.629935651744305
270.3873118599704170.7746237199408340.612688140029583
280.3259405687831520.6518811375663030.674059431216848
290.5203545437612780.9592909124774430.479645456238722
300.4408263627841690.8816527255683380.559173637215831
310.5290589304189220.9418821391621560.470941069581078
320.4894226636428790.9788453272857570.510577336357121
330.4023769311995040.8047538623990080.597623068800496
340.8520356117077810.2959287765844380.147964388292219
350.9343336078868320.1313327842263360.0656663921131682
360.9252433783067150.1495132433865690.0747566216932845
370.886063809401390.2278723811972190.113936190598610
380.8233461260950970.3533077478098070.176653873904903
390.7337226530487350.5325546939025310.266277346951265
400.7154442994348610.5691114011302780.284555700565139
410.5971496393868070.8057007212263860.402850360613193
420.500888862389270.998222275221460.49911113761073
430.3668812222485040.7337624444970090.633118777751496
440.2503988484321160.5007976968642310.749601151567884

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
17 & 0.696392571727329 & 0.607214856545342 & 0.303607428272671 \tabularnewline
18 & 0.632173993697937 & 0.735652012604126 & 0.367826006302063 \tabularnewline
19 & 0.589734190364137 & 0.820531619271726 & 0.410265809635863 \tabularnewline
20 & 0.574608625444972 & 0.850782749110056 & 0.425391374555028 \tabularnewline
21 & 0.493642148070816 & 0.987284296141631 & 0.506357851929184 \tabularnewline
22 & 0.397853198174051 & 0.795706396348102 & 0.602146801825949 \tabularnewline
23 & 0.294883706802785 & 0.589767413605569 & 0.705116293197215 \tabularnewline
24 & 0.300068807620523 & 0.600137615241046 & 0.699931192379477 \tabularnewline
25 & 0.349707925126263 & 0.699415850252525 & 0.650292074873738 \tabularnewline
26 & 0.370064348255695 & 0.74012869651139 & 0.629935651744305 \tabularnewline
27 & 0.387311859970417 & 0.774623719940834 & 0.612688140029583 \tabularnewline
28 & 0.325940568783152 & 0.651881137566303 & 0.674059431216848 \tabularnewline
29 & 0.520354543761278 & 0.959290912477443 & 0.479645456238722 \tabularnewline
30 & 0.440826362784169 & 0.881652725568338 & 0.559173637215831 \tabularnewline
31 & 0.529058930418922 & 0.941882139162156 & 0.470941069581078 \tabularnewline
32 & 0.489422663642879 & 0.978845327285757 & 0.510577336357121 \tabularnewline
33 & 0.402376931199504 & 0.804753862399008 & 0.597623068800496 \tabularnewline
34 & 0.852035611707781 & 0.295928776584438 & 0.147964388292219 \tabularnewline
35 & 0.934333607886832 & 0.131332784226336 & 0.0656663921131682 \tabularnewline
36 & 0.925243378306715 & 0.149513243386569 & 0.0747566216932845 \tabularnewline
37 & 0.88606380940139 & 0.227872381197219 & 0.113936190598610 \tabularnewline
38 & 0.823346126095097 & 0.353307747809807 & 0.176653873904903 \tabularnewline
39 & 0.733722653048735 & 0.532554693902531 & 0.266277346951265 \tabularnewline
40 & 0.715444299434861 & 0.569111401130278 & 0.284555700565139 \tabularnewline
41 & 0.597149639386807 & 0.805700721226386 & 0.402850360613193 \tabularnewline
42 & 0.50088886238927 & 0.99822227522146 & 0.49911113761073 \tabularnewline
43 & 0.366881222248504 & 0.733762444497009 & 0.633118777751496 \tabularnewline
44 & 0.250398848432116 & 0.500797696864231 & 0.749601151567884 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57668&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]17[/C][C]0.696392571727329[/C][C]0.607214856545342[/C][C]0.303607428272671[/C][/ROW]
[ROW][C]18[/C][C]0.632173993697937[/C][C]0.735652012604126[/C][C]0.367826006302063[/C][/ROW]
[ROW][C]19[/C][C]0.589734190364137[/C][C]0.820531619271726[/C][C]0.410265809635863[/C][/ROW]
[ROW][C]20[/C][C]0.574608625444972[/C][C]0.850782749110056[/C][C]0.425391374555028[/C][/ROW]
[ROW][C]21[/C][C]0.493642148070816[/C][C]0.987284296141631[/C][C]0.506357851929184[/C][/ROW]
[ROW][C]22[/C][C]0.397853198174051[/C][C]0.795706396348102[/C][C]0.602146801825949[/C][/ROW]
[ROW][C]23[/C][C]0.294883706802785[/C][C]0.589767413605569[/C][C]0.705116293197215[/C][/ROW]
[ROW][C]24[/C][C]0.300068807620523[/C][C]0.600137615241046[/C][C]0.699931192379477[/C][/ROW]
[ROW][C]25[/C][C]0.349707925126263[/C][C]0.699415850252525[/C][C]0.650292074873738[/C][/ROW]
[ROW][C]26[/C][C]0.370064348255695[/C][C]0.74012869651139[/C][C]0.629935651744305[/C][/ROW]
[ROW][C]27[/C][C]0.387311859970417[/C][C]0.774623719940834[/C][C]0.612688140029583[/C][/ROW]
[ROW][C]28[/C][C]0.325940568783152[/C][C]0.651881137566303[/C][C]0.674059431216848[/C][/ROW]
[ROW][C]29[/C][C]0.520354543761278[/C][C]0.959290912477443[/C][C]0.479645456238722[/C][/ROW]
[ROW][C]30[/C][C]0.440826362784169[/C][C]0.881652725568338[/C][C]0.559173637215831[/C][/ROW]
[ROW][C]31[/C][C]0.529058930418922[/C][C]0.941882139162156[/C][C]0.470941069581078[/C][/ROW]
[ROW][C]32[/C][C]0.489422663642879[/C][C]0.978845327285757[/C][C]0.510577336357121[/C][/ROW]
[ROW][C]33[/C][C]0.402376931199504[/C][C]0.804753862399008[/C][C]0.597623068800496[/C][/ROW]
[ROW][C]34[/C][C]0.852035611707781[/C][C]0.295928776584438[/C][C]0.147964388292219[/C][/ROW]
[ROW][C]35[/C][C]0.934333607886832[/C][C]0.131332784226336[/C][C]0.0656663921131682[/C][/ROW]
[ROW][C]36[/C][C]0.925243378306715[/C][C]0.149513243386569[/C][C]0.0747566216932845[/C][/ROW]
[ROW][C]37[/C][C]0.88606380940139[/C][C]0.227872381197219[/C][C]0.113936190598610[/C][/ROW]
[ROW][C]38[/C][C]0.823346126095097[/C][C]0.353307747809807[/C][C]0.176653873904903[/C][/ROW]
[ROW][C]39[/C][C]0.733722653048735[/C][C]0.532554693902531[/C][C]0.266277346951265[/C][/ROW]
[ROW][C]40[/C][C]0.715444299434861[/C][C]0.569111401130278[/C][C]0.284555700565139[/C][/ROW]
[ROW][C]41[/C][C]0.597149639386807[/C][C]0.805700721226386[/C][C]0.402850360613193[/C][/ROW]
[ROW][C]42[/C][C]0.50088886238927[/C][C]0.99822227522146[/C][C]0.49911113761073[/C][/ROW]
[ROW][C]43[/C][C]0.366881222248504[/C][C]0.733762444497009[/C][C]0.633118777751496[/C][/ROW]
[ROW][C]44[/C][C]0.250398848432116[/C][C]0.500797696864231[/C][C]0.749601151567884[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57668&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57668&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
170.6963925717273290.6072148565453420.303607428272671
180.6321739936979370.7356520126041260.367826006302063
190.5897341903641370.8205316192717260.410265809635863
200.5746086254449720.8507827491100560.425391374555028
210.4936421480708160.9872842961416310.506357851929184
220.3978531981740510.7957063963481020.602146801825949
230.2948837068027850.5897674136055690.705116293197215
240.3000688076205230.6001376152410460.699931192379477
250.3497079251262630.6994158502525250.650292074873738
260.3700643482556950.740128696511390.629935651744305
270.3873118599704170.7746237199408340.612688140029583
280.3259405687831520.6518811375663030.674059431216848
290.5203545437612780.9592909124774430.479645456238722
300.4408263627841690.8816527255683380.559173637215831
310.5290589304189220.9418821391621560.470941069581078
320.4894226636428790.9788453272857570.510577336357121
330.4023769311995040.8047538623990080.597623068800496
340.8520356117077810.2959287765844380.147964388292219
350.9343336078868320.1313327842263360.0656663921131682
360.9252433783067150.1495132433865690.0747566216932845
370.886063809401390.2278723811972190.113936190598610
380.8233461260950970.3533077478098070.176653873904903
390.7337226530487350.5325546939025310.266277346951265
400.7154442994348610.5691114011302780.284555700565139
410.5971496393868070.8057007212263860.402850360613193
420.500888862389270.998222275221460.49911113761073
430.3668812222485040.7337624444970090.633118777751496
440.2503988484321160.5007976968642310.749601151567884







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

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

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

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

As an alternative you can also use a QR Code:  

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

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



Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = 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')
}