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 00:57:27 -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/t1258618150mlcqf20cubxuwro.htm/, Retrieved Sat, 20 Apr 2024 08:05:55 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=57644, Retrieved Sat, 20 Apr 2024 08:05:55 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact186
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] [] [2009-11-19 07:57:27] [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=57644&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=57644&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57644&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] = + 4928.62068965517 -768.870689655172X[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  4928.62068965517 -768.870689655172X[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57644&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  4928.62068965517 -768.870689655172X[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57644&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57644&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] = + 4928.62068965517 -768.870689655172X[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)4928.62068965517108.11690545.58600
X-768.870689655172149.273782-5.15073e-062e-06

\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) & 4928.62068965517 & 108.116905 & 45.586 & 0 & 0 \tabularnewline
X & -768.870689655172 & 149.273782 & -5.1507 & 3e-06 & 2e-06 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57644&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]4928.62068965517[/C][C]108.116905[/C][C]45.586[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]X[/C][C]-768.870689655172[/C][C]149.273782[/C][C]-5.1507[/C][C]3e-06[/C][C]2e-06[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57644&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57644&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)4928.62068965517108.11690545.58600
X-768.870689655172149.273782-5.15073e-062e-06







Multiple Linear Regression - Regression Statistics
Multiple R0.556942268030847
R-squared0.310184689919343
Adjusted R-squared0.298492905002722
F-TEST (value)26.5301399342694
F-TEST (DF numerator)1
F-TEST (DF denominator)59
p-value3.13940417195901e-06
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation582.227354212241
Sum Squared Residuals20000332.8275862

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.556942268030847 \tabularnewline
R-squared & 0.310184689919343 \tabularnewline
Adjusted R-squared & 0.298492905002722 \tabularnewline
F-TEST (value) & 26.5301399342694 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 59 \tabularnewline
p-value & 3.13940417195901e-06 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 582.227354212241 \tabularnewline
Sum Squared Residuals & 20000332.8275862 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57644&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.556942268030847[/C][/ROW]
[ROW][C]R-squared[/C][C]0.310184689919343[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.298492905002722[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]26.5301399342694[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]1[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]59[/C][/ROW]
[ROW][C]p-value[/C][C]3.13940417195901e-06[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]582.227354212241[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]20000332.8275862[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57644&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57644&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.556942268030847
R-squared0.310184689919343
Adjusted R-squared0.298492905002722
F-TEST (value)26.5301399342694
F-TEST (DF numerator)1
F-TEST (DF denominator)59
p-value3.13940417195901e-06
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation582.227354212241
Sum Squared Residuals20000332.8275862







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
133534159.74999999999-806.74999999999
231864159.75-973.75
339024159.75-257.750000000000
441644159.754.24999999999969
534994159.75-660.75
641454159.75-14.7500000000003
737964159.75-363.750
837114159.75-448.75
939494159.75-210.750000000000
1037404159.75-419.75
1132434159.75-916.75
1244074159.75247.250000000000
1348144159.75654.25
1439084159.75-251.750000000000
1552504159.751090.25
1639374159.75-222.750000000000
1740044159.75-155.750000000000
1855604159.751400.25
1939224159.75-237.750000000000
2037594159.75-400.750000000000
2141384159.75-21.7500000000003
2246344159.75474.25
2339964159.75-163.750000000000
2443084159.75148.250000000000
2541434928.62068965517-785.620689655173
2644294928.62068965517-499.620689655173
2752194928.62068965517290.379310344827
2849294928.620689655170.379310344827474
2957554928.62068965517826.379310344827
3055924928.62068965517663.379310344827
3141634928.62068965517-765.620689655173
3249624928.6206896551733.3793103448275
3352084928.62068965517279.379310344827
3447554928.62068965517-173.620689655173
3544914928.62068965517-437.620689655173
3657324928.62068965517803.379310344827
3757314928.62068965517802.379310344827
3850404928.62068965517111.379310344827
3961024928.620689655171173.37931034483
4049044928.62068965517-24.6206896551725
4153694928.62068965517440.379310344827
4255784928.62068965517649.379310344827
4346194928.62068965517-309.620689655173
4447314928.62068965517-197.620689655173
4550114928.6206896551782.3793103448275
4652994928.62068965517370.379310344827
4741464928.62068965517-782.620689655173
4846254928.62068965517-303.620689655173
4947364928.62068965517-192.620689655173
5042194928.62068965517-709.620689655173
5151164928.62068965517187.379310344827
5242054928.62068965517-723.620689655173
5341214928.62068965517-807.620689655173
5451034159.75943.25
5543004159.75140.250000000000
5645784159.75418.25
5738094159.75-350.750
5855264159.751366.25
5942474159.7587.2499999999997
6038304159.75-329.750000000000
6143944159.75234.250000000000

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 3353 & 4159.74999999999 & -806.74999999999 \tabularnewline
2 & 3186 & 4159.75 & -973.75 \tabularnewline
3 & 3902 & 4159.75 & -257.750000000000 \tabularnewline
4 & 4164 & 4159.75 & 4.24999999999969 \tabularnewline
5 & 3499 & 4159.75 & -660.75 \tabularnewline
6 & 4145 & 4159.75 & -14.7500000000003 \tabularnewline
7 & 3796 & 4159.75 & -363.750 \tabularnewline
8 & 3711 & 4159.75 & -448.75 \tabularnewline
9 & 3949 & 4159.75 & -210.750000000000 \tabularnewline
10 & 3740 & 4159.75 & -419.75 \tabularnewline
11 & 3243 & 4159.75 & -916.75 \tabularnewline
12 & 4407 & 4159.75 & 247.250000000000 \tabularnewline
13 & 4814 & 4159.75 & 654.25 \tabularnewline
14 & 3908 & 4159.75 & -251.750000000000 \tabularnewline
15 & 5250 & 4159.75 & 1090.25 \tabularnewline
16 & 3937 & 4159.75 & -222.750000000000 \tabularnewline
17 & 4004 & 4159.75 & -155.750000000000 \tabularnewline
18 & 5560 & 4159.75 & 1400.25 \tabularnewline
19 & 3922 & 4159.75 & -237.750000000000 \tabularnewline
20 & 3759 & 4159.75 & -400.750000000000 \tabularnewline
21 & 4138 & 4159.75 & -21.7500000000003 \tabularnewline
22 & 4634 & 4159.75 & 474.25 \tabularnewline
23 & 3996 & 4159.75 & -163.750000000000 \tabularnewline
24 & 4308 & 4159.75 & 148.250000000000 \tabularnewline
25 & 4143 & 4928.62068965517 & -785.620689655173 \tabularnewline
26 & 4429 & 4928.62068965517 & -499.620689655173 \tabularnewline
27 & 5219 & 4928.62068965517 & 290.379310344827 \tabularnewline
28 & 4929 & 4928.62068965517 & 0.379310344827474 \tabularnewline
29 & 5755 & 4928.62068965517 & 826.379310344827 \tabularnewline
30 & 5592 & 4928.62068965517 & 663.379310344827 \tabularnewline
31 & 4163 & 4928.62068965517 & -765.620689655173 \tabularnewline
32 & 4962 & 4928.62068965517 & 33.3793103448275 \tabularnewline
33 & 5208 & 4928.62068965517 & 279.379310344827 \tabularnewline
34 & 4755 & 4928.62068965517 & -173.620689655173 \tabularnewline
35 & 4491 & 4928.62068965517 & -437.620689655173 \tabularnewline
36 & 5732 & 4928.62068965517 & 803.379310344827 \tabularnewline
37 & 5731 & 4928.62068965517 & 802.379310344827 \tabularnewline
38 & 5040 & 4928.62068965517 & 111.379310344827 \tabularnewline
39 & 6102 & 4928.62068965517 & 1173.37931034483 \tabularnewline
40 & 4904 & 4928.62068965517 & -24.6206896551725 \tabularnewline
41 & 5369 & 4928.62068965517 & 440.379310344827 \tabularnewline
42 & 5578 & 4928.62068965517 & 649.379310344827 \tabularnewline
43 & 4619 & 4928.62068965517 & -309.620689655173 \tabularnewline
44 & 4731 & 4928.62068965517 & -197.620689655173 \tabularnewline
45 & 5011 & 4928.62068965517 & 82.3793103448275 \tabularnewline
46 & 5299 & 4928.62068965517 & 370.379310344827 \tabularnewline
47 & 4146 & 4928.62068965517 & -782.620689655173 \tabularnewline
48 & 4625 & 4928.62068965517 & -303.620689655173 \tabularnewline
49 & 4736 & 4928.62068965517 & -192.620689655173 \tabularnewline
50 & 4219 & 4928.62068965517 & -709.620689655173 \tabularnewline
51 & 5116 & 4928.62068965517 & 187.379310344827 \tabularnewline
52 & 4205 & 4928.62068965517 & -723.620689655173 \tabularnewline
53 & 4121 & 4928.62068965517 & -807.620689655173 \tabularnewline
54 & 5103 & 4159.75 & 943.25 \tabularnewline
55 & 4300 & 4159.75 & 140.250000000000 \tabularnewline
56 & 4578 & 4159.75 & 418.25 \tabularnewline
57 & 3809 & 4159.75 & -350.750 \tabularnewline
58 & 5526 & 4159.75 & 1366.25 \tabularnewline
59 & 4247 & 4159.75 & 87.2499999999997 \tabularnewline
60 & 3830 & 4159.75 & -329.750000000000 \tabularnewline
61 & 4394 & 4159.75 & 234.250000000000 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57644&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]4159.74999999999[/C][C]-806.74999999999[/C][/ROW]
[ROW][C]2[/C][C]3186[/C][C]4159.75[/C][C]-973.75[/C][/ROW]
[ROW][C]3[/C][C]3902[/C][C]4159.75[/C][C]-257.750000000000[/C][/ROW]
[ROW][C]4[/C][C]4164[/C][C]4159.75[/C][C]4.24999999999969[/C][/ROW]
[ROW][C]5[/C][C]3499[/C][C]4159.75[/C][C]-660.75[/C][/ROW]
[ROW][C]6[/C][C]4145[/C][C]4159.75[/C][C]-14.7500000000003[/C][/ROW]
[ROW][C]7[/C][C]3796[/C][C]4159.75[/C][C]-363.750[/C][/ROW]
[ROW][C]8[/C][C]3711[/C][C]4159.75[/C][C]-448.75[/C][/ROW]
[ROW][C]9[/C][C]3949[/C][C]4159.75[/C][C]-210.750000000000[/C][/ROW]
[ROW][C]10[/C][C]3740[/C][C]4159.75[/C][C]-419.75[/C][/ROW]
[ROW][C]11[/C][C]3243[/C][C]4159.75[/C][C]-916.75[/C][/ROW]
[ROW][C]12[/C][C]4407[/C][C]4159.75[/C][C]247.250000000000[/C][/ROW]
[ROW][C]13[/C][C]4814[/C][C]4159.75[/C][C]654.25[/C][/ROW]
[ROW][C]14[/C][C]3908[/C][C]4159.75[/C][C]-251.750000000000[/C][/ROW]
[ROW][C]15[/C][C]5250[/C][C]4159.75[/C][C]1090.25[/C][/ROW]
[ROW][C]16[/C][C]3937[/C][C]4159.75[/C][C]-222.750000000000[/C][/ROW]
[ROW][C]17[/C][C]4004[/C][C]4159.75[/C][C]-155.750000000000[/C][/ROW]
[ROW][C]18[/C][C]5560[/C][C]4159.75[/C][C]1400.25[/C][/ROW]
[ROW][C]19[/C][C]3922[/C][C]4159.75[/C][C]-237.750000000000[/C][/ROW]
[ROW][C]20[/C][C]3759[/C][C]4159.75[/C][C]-400.750000000000[/C][/ROW]
[ROW][C]21[/C][C]4138[/C][C]4159.75[/C][C]-21.7500000000003[/C][/ROW]
[ROW][C]22[/C][C]4634[/C][C]4159.75[/C][C]474.25[/C][/ROW]
[ROW][C]23[/C][C]3996[/C][C]4159.75[/C][C]-163.750000000000[/C][/ROW]
[ROW][C]24[/C][C]4308[/C][C]4159.75[/C][C]148.250000000000[/C][/ROW]
[ROW][C]25[/C][C]4143[/C][C]4928.62068965517[/C][C]-785.620689655173[/C][/ROW]
[ROW][C]26[/C][C]4429[/C][C]4928.62068965517[/C][C]-499.620689655173[/C][/ROW]
[ROW][C]27[/C][C]5219[/C][C]4928.62068965517[/C][C]290.379310344827[/C][/ROW]
[ROW][C]28[/C][C]4929[/C][C]4928.62068965517[/C][C]0.379310344827474[/C][/ROW]
[ROW][C]29[/C][C]5755[/C][C]4928.62068965517[/C][C]826.379310344827[/C][/ROW]
[ROW][C]30[/C][C]5592[/C][C]4928.62068965517[/C][C]663.379310344827[/C][/ROW]
[ROW][C]31[/C][C]4163[/C][C]4928.62068965517[/C][C]-765.620689655173[/C][/ROW]
[ROW][C]32[/C][C]4962[/C][C]4928.62068965517[/C][C]33.3793103448275[/C][/ROW]
[ROW][C]33[/C][C]5208[/C][C]4928.62068965517[/C][C]279.379310344827[/C][/ROW]
[ROW][C]34[/C][C]4755[/C][C]4928.62068965517[/C][C]-173.620689655173[/C][/ROW]
[ROW][C]35[/C][C]4491[/C][C]4928.62068965517[/C][C]-437.620689655173[/C][/ROW]
[ROW][C]36[/C][C]5732[/C][C]4928.62068965517[/C][C]803.379310344827[/C][/ROW]
[ROW][C]37[/C][C]5731[/C][C]4928.62068965517[/C][C]802.379310344827[/C][/ROW]
[ROW][C]38[/C][C]5040[/C][C]4928.62068965517[/C][C]111.379310344827[/C][/ROW]
[ROW][C]39[/C][C]6102[/C][C]4928.62068965517[/C][C]1173.37931034483[/C][/ROW]
[ROW][C]40[/C][C]4904[/C][C]4928.62068965517[/C][C]-24.6206896551725[/C][/ROW]
[ROW][C]41[/C][C]5369[/C][C]4928.62068965517[/C][C]440.379310344827[/C][/ROW]
[ROW][C]42[/C][C]5578[/C][C]4928.62068965517[/C][C]649.379310344827[/C][/ROW]
[ROW][C]43[/C][C]4619[/C][C]4928.62068965517[/C][C]-309.620689655173[/C][/ROW]
[ROW][C]44[/C][C]4731[/C][C]4928.62068965517[/C][C]-197.620689655173[/C][/ROW]
[ROW][C]45[/C][C]5011[/C][C]4928.62068965517[/C][C]82.3793103448275[/C][/ROW]
[ROW][C]46[/C][C]5299[/C][C]4928.62068965517[/C][C]370.379310344827[/C][/ROW]
[ROW][C]47[/C][C]4146[/C][C]4928.62068965517[/C][C]-782.620689655173[/C][/ROW]
[ROW][C]48[/C][C]4625[/C][C]4928.62068965517[/C][C]-303.620689655173[/C][/ROW]
[ROW][C]49[/C][C]4736[/C][C]4928.62068965517[/C][C]-192.620689655173[/C][/ROW]
[ROW][C]50[/C][C]4219[/C][C]4928.62068965517[/C][C]-709.620689655173[/C][/ROW]
[ROW][C]51[/C][C]5116[/C][C]4928.62068965517[/C][C]187.379310344827[/C][/ROW]
[ROW][C]52[/C][C]4205[/C][C]4928.62068965517[/C][C]-723.620689655173[/C][/ROW]
[ROW][C]53[/C][C]4121[/C][C]4928.62068965517[/C][C]-807.620689655173[/C][/ROW]
[ROW][C]54[/C][C]5103[/C][C]4159.75[/C][C]943.25[/C][/ROW]
[ROW][C]55[/C][C]4300[/C][C]4159.75[/C][C]140.250000000000[/C][/ROW]
[ROW][C]56[/C][C]4578[/C][C]4159.75[/C][C]418.25[/C][/ROW]
[ROW][C]57[/C][C]3809[/C][C]4159.75[/C][C]-350.750[/C][/ROW]
[ROW][C]58[/C][C]5526[/C][C]4159.75[/C][C]1366.25[/C][/ROW]
[ROW][C]59[/C][C]4247[/C][C]4159.75[/C][C]87.2499999999997[/C][/ROW]
[ROW][C]60[/C][C]3830[/C][C]4159.75[/C][C]-329.750000000000[/C][/ROW]
[ROW][C]61[/C][C]4394[/C][C]4159.75[/C][C]234.250000000000[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57644&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57644&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
133534159.74999999999-806.74999999999
231864159.75-973.75
339024159.75-257.750000000000
441644159.754.24999999999969
534994159.75-660.75
641454159.75-14.7500000000003
737964159.75-363.750
837114159.75-448.75
939494159.75-210.750000000000
1037404159.75-419.75
1132434159.75-916.75
1244074159.75247.250000000000
1348144159.75654.25
1439084159.75-251.750000000000
1552504159.751090.25
1639374159.75-222.750000000000
1740044159.75-155.750000000000
1855604159.751400.25
1939224159.75-237.750000000000
2037594159.75-400.750000000000
2141384159.75-21.7500000000003
2246344159.75474.25
2339964159.75-163.750000000000
2443084159.75148.250000000000
2541434928.62068965517-785.620689655173
2644294928.62068965517-499.620689655173
2752194928.62068965517290.379310344827
2849294928.620689655170.379310344827474
2957554928.62068965517826.379310344827
3055924928.62068965517663.379310344827
3141634928.62068965517-765.620689655173
3249624928.6206896551733.3793103448275
3352084928.62068965517279.379310344827
3447554928.62068965517-173.620689655173
3544914928.62068965517-437.620689655173
3657324928.62068965517803.379310344827
3757314928.62068965517802.379310344827
3850404928.62068965517111.379310344827
3961024928.620689655171173.37931034483
4049044928.62068965517-24.6206896551725
4153694928.62068965517440.379310344827
4255784928.62068965517649.379310344827
4346194928.62068965517-309.620689655173
4447314928.62068965517-197.620689655173
4550114928.6206896551782.3793103448275
4652994928.62068965517370.379310344827
4741464928.62068965517-782.620689655173
4846254928.62068965517-303.620689655173
4947364928.62068965517-192.620689655173
5042194928.62068965517-709.620689655173
5151164928.62068965517187.379310344827
5242054928.62068965517-723.620689655173
5341214928.62068965517-807.620689655173
5451034159.75943.25
5543004159.75140.250000000000
5645784159.75418.25
5738094159.75-350.750
5855264159.751366.25
5942474159.7587.2499999999997
6038304159.75-329.750000000000
6143944159.75234.250000000000







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.4218284477418180.8436568954836350.578171552258183
60.378133581487660.756267162975320.62186641851234
70.2471396814829260.4942793629658520.752860318517074
80.1524252450594420.3048504901188840.847574754940558
90.09835470247151620.1967094049430320.901645297528484
100.05627188490001520.1125437698000300.943728115099985
110.07382301084401660.1476460216880330.926176989155983
120.1176450589805740.2352901179611480.882354941019426
130.2992960526701740.5985921053403470.700703947329826
140.229430531345490.458861062690980.77056946865451
150.5993531500817580.8012936998364840.400646849918242
160.5227620323325110.9544759353349780.477237967667489
170.4458244127167020.8916488254334050.554175587283298
180.8321936574264040.3356126851471910.167806342573595
190.7871620319275460.4256759361449080.212837968072454
200.7575948539592640.4848102920814710.242405146040736
210.6983718661183070.6032562677633870.301628133881693
220.6765415893992260.6469168212015490.323458410600774
230.6193536650902580.7612926698194840.380646334909742
240.5542880522455270.8914238955089460.445711947754473
250.536257500450660.927484999098680.46374249954934
260.4930340014659340.9860680029318680.506965998534066
270.4999028769356010.9998057538712020.500097123064399
280.4346347347552620.8692694695105240.565365265244738
290.5375104476435940.9249791047128120.462489552356406
300.5567673811295160.8864652377409670.443232618870484
310.6129823569850270.7740352860299470.387017643014973
320.5390747792564210.9218504414871580.460925220743579
330.4809439019578970.9618878039157940.519056098042103
340.4121200880139330.8242401760278650.587879911986067
350.3789699575825110.7579399151650210.62103004241749
360.4459679761301530.8919359522603060.554032023869847
370.5171117440707650.965776511858470.482888255929235
380.4438388665421690.8876777330843390.556161133457831
390.7134728306329570.5730543387340850.286527169367043
400.6465139370790510.7069721258418970.353486062920949
410.6473745952338110.7052508095323780.352625404766189
420.740195080147950.51960983970410.25980491985205
430.6809037939534480.6381924120931030.319096206046552
440.610481522731780.7790369545364390.389518477268219
450.5637905188405610.8724189623188770.436209481159439
460.6248351404411680.7503297191176640.375164859558832
470.6100644788988080.7798710422023850.389935521101192
480.5286141407404830.9427717185190330.471385859259517
490.45464948806710.90929897613420.5453505119329
500.3978353883843770.7956707767687540.602164611615623
510.4553855766884140.9107711533768270.544614423311586
520.3715698210291750.7431396420583490.628430178970825
530.2890845828195840.5781691656391680.710915417180416
540.3276055044847440.6552110089694880.672394495515256
550.2140730344950840.4281460689901680.785926965504916
560.127920192803550.25584038560710.87207980719645

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.421828447741818 & 0.843656895483635 & 0.578171552258183 \tabularnewline
6 & 0.37813358148766 & 0.75626716297532 & 0.62186641851234 \tabularnewline
7 & 0.247139681482926 & 0.494279362965852 & 0.752860318517074 \tabularnewline
8 & 0.152425245059442 & 0.304850490118884 & 0.847574754940558 \tabularnewline
9 & 0.0983547024715162 & 0.196709404943032 & 0.901645297528484 \tabularnewline
10 & 0.0562718849000152 & 0.112543769800030 & 0.943728115099985 \tabularnewline
11 & 0.0738230108440166 & 0.147646021688033 & 0.926176989155983 \tabularnewline
12 & 0.117645058980574 & 0.235290117961148 & 0.882354941019426 \tabularnewline
13 & 0.299296052670174 & 0.598592105340347 & 0.700703947329826 \tabularnewline
14 & 0.22943053134549 & 0.45886106269098 & 0.77056946865451 \tabularnewline
15 & 0.599353150081758 & 0.801293699836484 & 0.400646849918242 \tabularnewline
16 & 0.522762032332511 & 0.954475935334978 & 0.477237967667489 \tabularnewline
17 & 0.445824412716702 & 0.891648825433405 & 0.554175587283298 \tabularnewline
18 & 0.832193657426404 & 0.335612685147191 & 0.167806342573595 \tabularnewline
19 & 0.787162031927546 & 0.425675936144908 & 0.212837968072454 \tabularnewline
20 & 0.757594853959264 & 0.484810292081471 & 0.242405146040736 \tabularnewline
21 & 0.698371866118307 & 0.603256267763387 & 0.301628133881693 \tabularnewline
22 & 0.676541589399226 & 0.646916821201549 & 0.323458410600774 \tabularnewline
23 & 0.619353665090258 & 0.761292669819484 & 0.380646334909742 \tabularnewline
24 & 0.554288052245527 & 0.891423895508946 & 0.445711947754473 \tabularnewline
25 & 0.53625750045066 & 0.92748499909868 & 0.46374249954934 \tabularnewline
26 & 0.493034001465934 & 0.986068002931868 & 0.506965998534066 \tabularnewline
27 & 0.499902876935601 & 0.999805753871202 & 0.500097123064399 \tabularnewline
28 & 0.434634734755262 & 0.869269469510524 & 0.565365265244738 \tabularnewline
29 & 0.537510447643594 & 0.924979104712812 & 0.462489552356406 \tabularnewline
30 & 0.556767381129516 & 0.886465237740967 & 0.443232618870484 \tabularnewline
31 & 0.612982356985027 & 0.774035286029947 & 0.387017643014973 \tabularnewline
32 & 0.539074779256421 & 0.921850441487158 & 0.460925220743579 \tabularnewline
33 & 0.480943901957897 & 0.961887803915794 & 0.519056098042103 \tabularnewline
34 & 0.412120088013933 & 0.824240176027865 & 0.587879911986067 \tabularnewline
35 & 0.378969957582511 & 0.757939915165021 & 0.62103004241749 \tabularnewline
36 & 0.445967976130153 & 0.891935952260306 & 0.554032023869847 \tabularnewline
37 & 0.517111744070765 & 0.96577651185847 & 0.482888255929235 \tabularnewline
38 & 0.443838866542169 & 0.887677733084339 & 0.556161133457831 \tabularnewline
39 & 0.713472830632957 & 0.573054338734085 & 0.286527169367043 \tabularnewline
40 & 0.646513937079051 & 0.706972125841897 & 0.353486062920949 \tabularnewline
41 & 0.647374595233811 & 0.705250809532378 & 0.352625404766189 \tabularnewline
42 & 0.74019508014795 & 0.5196098397041 & 0.25980491985205 \tabularnewline
43 & 0.680903793953448 & 0.638192412093103 & 0.319096206046552 \tabularnewline
44 & 0.61048152273178 & 0.779036954536439 & 0.389518477268219 \tabularnewline
45 & 0.563790518840561 & 0.872418962318877 & 0.436209481159439 \tabularnewline
46 & 0.624835140441168 & 0.750329719117664 & 0.375164859558832 \tabularnewline
47 & 0.610064478898808 & 0.779871042202385 & 0.389935521101192 \tabularnewline
48 & 0.528614140740483 & 0.942771718519033 & 0.471385859259517 \tabularnewline
49 & 0.4546494880671 & 0.9092989761342 & 0.5453505119329 \tabularnewline
50 & 0.397835388384377 & 0.795670776768754 & 0.602164611615623 \tabularnewline
51 & 0.455385576688414 & 0.910771153376827 & 0.544614423311586 \tabularnewline
52 & 0.371569821029175 & 0.743139642058349 & 0.628430178970825 \tabularnewline
53 & 0.289084582819584 & 0.578169165639168 & 0.710915417180416 \tabularnewline
54 & 0.327605504484744 & 0.655211008969488 & 0.672394495515256 \tabularnewline
55 & 0.214073034495084 & 0.428146068990168 & 0.785926965504916 \tabularnewline
56 & 0.12792019280355 & 0.2558403856071 & 0.87207980719645 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57644&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.421828447741818[/C][C]0.843656895483635[/C][C]0.578171552258183[/C][/ROW]
[ROW][C]6[/C][C]0.37813358148766[/C][C]0.75626716297532[/C][C]0.62186641851234[/C][/ROW]
[ROW][C]7[/C][C]0.247139681482926[/C][C]0.494279362965852[/C][C]0.752860318517074[/C][/ROW]
[ROW][C]8[/C][C]0.152425245059442[/C][C]0.304850490118884[/C][C]0.847574754940558[/C][/ROW]
[ROW][C]9[/C][C]0.0983547024715162[/C][C]0.196709404943032[/C][C]0.901645297528484[/C][/ROW]
[ROW][C]10[/C][C]0.0562718849000152[/C][C]0.112543769800030[/C][C]0.943728115099985[/C][/ROW]
[ROW][C]11[/C][C]0.0738230108440166[/C][C]0.147646021688033[/C][C]0.926176989155983[/C][/ROW]
[ROW][C]12[/C][C]0.117645058980574[/C][C]0.235290117961148[/C][C]0.882354941019426[/C][/ROW]
[ROW][C]13[/C][C]0.299296052670174[/C][C]0.598592105340347[/C][C]0.700703947329826[/C][/ROW]
[ROW][C]14[/C][C]0.22943053134549[/C][C]0.45886106269098[/C][C]0.77056946865451[/C][/ROW]
[ROW][C]15[/C][C]0.599353150081758[/C][C]0.801293699836484[/C][C]0.400646849918242[/C][/ROW]
[ROW][C]16[/C][C]0.522762032332511[/C][C]0.954475935334978[/C][C]0.477237967667489[/C][/ROW]
[ROW][C]17[/C][C]0.445824412716702[/C][C]0.891648825433405[/C][C]0.554175587283298[/C][/ROW]
[ROW][C]18[/C][C]0.832193657426404[/C][C]0.335612685147191[/C][C]0.167806342573595[/C][/ROW]
[ROW][C]19[/C][C]0.787162031927546[/C][C]0.425675936144908[/C][C]0.212837968072454[/C][/ROW]
[ROW][C]20[/C][C]0.757594853959264[/C][C]0.484810292081471[/C][C]0.242405146040736[/C][/ROW]
[ROW][C]21[/C][C]0.698371866118307[/C][C]0.603256267763387[/C][C]0.301628133881693[/C][/ROW]
[ROW][C]22[/C][C]0.676541589399226[/C][C]0.646916821201549[/C][C]0.323458410600774[/C][/ROW]
[ROW][C]23[/C][C]0.619353665090258[/C][C]0.761292669819484[/C][C]0.380646334909742[/C][/ROW]
[ROW][C]24[/C][C]0.554288052245527[/C][C]0.891423895508946[/C][C]0.445711947754473[/C][/ROW]
[ROW][C]25[/C][C]0.53625750045066[/C][C]0.92748499909868[/C][C]0.46374249954934[/C][/ROW]
[ROW][C]26[/C][C]0.493034001465934[/C][C]0.986068002931868[/C][C]0.506965998534066[/C][/ROW]
[ROW][C]27[/C][C]0.499902876935601[/C][C]0.999805753871202[/C][C]0.500097123064399[/C][/ROW]
[ROW][C]28[/C][C]0.434634734755262[/C][C]0.869269469510524[/C][C]0.565365265244738[/C][/ROW]
[ROW][C]29[/C][C]0.537510447643594[/C][C]0.924979104712812[/C][C]0.462489552356406[/C][/ROW]
[ROW][C]30[/C][C]0.556767381129516[/C][C]0.886465237740967[/C][C]0.443232618870484[/C][/ROW]
[ROW][C]31[/C][C]0.612982356985027[/C][C]0.774035286029947[/C][C]0.387017643014973[/C][/ROW]
[ROW][C]32[/C][C]0.539074779256421[/C][C]0.921850441487158[/C][C]0.460925220743579[/C][/ROW]
[ROW][C]33[/C][C]0.480943901957897[/C][C]0.961887803915794[/C][C]0.519056098042103[/C][/ROW]
[ROW][C]34[/C][C]0.412120088013933[/C][C]0.824240176027865[/C][C]0.587879911986067[/C][/ROW]
[ROW][C]35[/C][C]0.378969957582511[/C][C]0.757939915165021[/C][C]0.62103004241749[/C][/ROW]
[ROW][C]36[/C][C]0.445967976130153[/C][C]0.891935952260306[/C][C]0.554032023869847[/C][/ROW]
[ROW][C]37[/C][C]0.517111744070765[/C][C]0.96577651185847[/C][C]0.482888255929235[/C][/ROW]
[ROW][C]38[/C][C]0.443838866542169[/C][C]0.887677733084339[/C][C]0.556161133457831[/C][/ROW]
[ROW][C]39[/C][C]0.713472830632957[/C][C]0.573054338734085[/C][C]0.286527169367043[/C][/ROW]
[ROW][C]40[/C][C]0.646513937079051[/C][C]0.706972125841897[/C][C]0.353486062920949[/C][/ROW]
[ROW][C]41[/C][C]0.647374595233811[/C][C]0.705250809532378[/C][C]0.352625404766189[/C][/ROW]
[ROW][C]42[/C][C]0.74019508014795[/C][C]0.5196098397041[/C][C]0.25980491985205[/C][/ROW]
[ROW][C]43[/C][C]0.680903793953448[/C][C]0.638192412093103[/C][C]0.319096206046552[/C][/ROW]
[ROW][C]44[/C][C]0.61048152273178[/C][C]0.779036954536439[/C][C]0.389518477268219[/C][/ROW]
[ROW][C]45[/C][C]0.563790518840561[/C][C]0.872418962318877[/C][C]0.436209481159439[/C][/ROW]
[ROW][C]46[/C][C]0.624835140441168[/C][C]0.750329719117664[/C][C]0.375164859558832[/C][/ROW]
[ROW][C]47[/C][C]0.610064478898808[/C][C]0.779871042202385[/C][C]0.389935521101192[/C][/ROW]
[ROW][C]48[/C][C]0.528614140740483[/C][C]0.942771718519033[/C][C]0.471385859259517[/C][/ROW]
[ROW][C]49[/C][C]0.4546494880671[/C][C]0.9092989761342[/C][C]0.5453505119329[/C][/ROW]
[ROW][C]50[/C][C]0.397835388384377[/C][C]0.795670776768754[/C][C]0.602164611615623[/C][/ROW]
[ROW][C]51[/C][C]0.455385576688414[/C][C]0.910771153376827[/C][C]0.544614423311586[/C][/ROW]
[ROW][C]52[/C][C]0.371569821029175[/C][C]0.743139642058349[/C][C]0.628430178970825[/C][/ROW]
[ROW][C]53[/C][C]0.289084582819584[/C][C]0.578169165639168[/C][C]0.710915417180416[/C][/ROW]
[ROW][C]54[/C][C]0.327605504484744[/C][C]0.655211008969488[/C][C]0.672394495515256[/C][/ROW]
[ROW][C]55[/C][C]0.214073034495084[/C][C]0.428146068990168[/C][C]0.785926965504916[/C][/ROW]
[ROW][C]56[/C][C]0.12792019280355[/C][C]0.2558403856071[/C][C]0.87207980719645[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57644&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57644&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.4218284477418180.8436568954836350.578171552258183
60.378133581487660.756267162975320.62186641851234
70.2471396814829260.4942793629658520.752860318517074
80.1524252450594420.3048504901188840.847574754940558
90.09835470247151620.1967094049430320.901645297528484
100.05627188490001520.1125437698000300.943728115099985
110.07382301084401660.1476460216880330.926176989155983
120.1176450589805740.2352901179611480.882354941019426
130.2992960526701740.5985921053403470.700703947329826
140.229430531345490.458861062690980.77056946865451
150.5993531500817580.8012936998364840.400646849918242
160.5227620323325110.9544759353349780.477237967667489
170.4458244127167020.8916488254334050.554175587283298
180.8321936574264040.3356126851471910.167806342573595
190.7871620319275460.4256759361449080.212837968072454
200.7575948539592640.4848102920814710.242405146040736
210.6983718661183070.6032562677633870.301628133881693
220.6765415893992260.6469168212015490.323458410600774
230.6193536650902580.7612926698194840.380646334909742
240.5542880522455270.8914238955089460.445711947754473
250.536257500450660.927484999098680.46374249954934
260.4930340014659340.9860680029318680.506965998534066
270.4999028769356010.9998057538712020.500097123064399
280.4346347347552620.8692694695105240.565365265244738
290.5375104476435940.9249791047128120.462489552356406
300.5567673811295160.8864652377409670.443232618870484
310.6129823569850270.7740352860299470.387017643014973
320.5390747792564210.9218504414871580.460925220743579
330.4809439019578970.9618878039157940.519056098042103
340.4121200880139330.8242401760278650.587879911986067
350.3789699575825110.7579399151650210.62103004241749
360.4459679761301530.8919359522603060.554032023869847
370.5171117440707650.965776511858470.482888255929235
380.4438388665421690.8876777330843390.556161133457831
390.7134728306329570.5730543387340850.286527169367043
400.6465139370790510.7069721258418970.353486062920949
410.6473745952338110.7052508095323780.352625404766189
420.740195080147950.51960983970410.25980491985205
430.6809037939534480.6381924120931030.319096206046552
440.610481522731780.7790369545364390.389518477268219
450.5637905188405610.8724189623188770.436209481159439
460.6248351404411680.7503297191176640.375164859558832
470.6100644788988080.7798710422023850.389935521101192
480.5286141407404830.9427717185190330.471385859259517
490.45464948806710.90929897613420.5453505119329
500.3978353883843770.7956707767687540.602164611615623
510.4553855766884140.9107711533768270.544614423311586
520.3715698210291750.7431396420583490.628430178970825
530.2890845828195840.5781691656391680.710915417180416
540.3276055044847440.6552110089694880.672394495515256
550.2140730344950840.4281460689901680.785926965504916
560.127920192803550.25584038560710.87207980719645







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=57644&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=57644&T=6

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