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 computationWed, 01 Dec 2010 18:10:05 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2010/Dec/01/t1291226898e3rjil450m2rge3.htm/, Retrieved Sun, 05 May 2024 02:49:04 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=104150, Retrieved Sun, 05 May 2024 02:49:04 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact124
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
F     [Multiple Regression] [WS8] [2010-12-01 15:46:47] [ec8d68d52c1e9c5e97bb689b42436a8c]
-   PD    [Multiple Regression] [Review] [2010-12-01 18:10:05] [cfd788255f1b1b5389e58d7f218c70bf] [Current]
Feedback Forum

Post a new message
Dataseries X:
102.38	0	102.37	101.76
102.86	0	102.38	102.37
102.87	0	102.86	102.38
102.92	0	102.87	102.86
102.95	0	102.92	102.87
103.02	0	102.95	102.92
104.08	0	103.02	102.95
104.16	0	104.08	103.02
104.24	0	104.16	104.08
104.33	0	104.24	104.16
104.73	0	104.33	104.24
104.86	0	104.73	104.33
105.03	0	104.86	104.73
105.62	0	105.03	104.86
105.63	0	105.62	105.03
105.63	0	105.63	105.62
105.94	0	105.63	105.63
106.61	0	105.94	105.63
107.69	0	106.61	105.94
107.78	0	107.69	106.61
107.93	0	107.78	107.69
108.48	0	107.93	107.78
108.14	0	108.48	107.93
108.48	0	108.14	108.48
108.48	0	108.48	108.14
108.89	0	108.48	108.48
108.93	0	108.89	108.48
109.21	0	108.93	108.89
109.47	0	109.21	108.93
109.8	0	109.47	109.21
111.73	0	109.8	109.47
111.85	0	111.73	109.8
112.12	0	111.85	111.73
112.15	0	112.12	111.85
112.17	0	112.15	112.12
112.67	1	112.17	112.15
112.8	1	112.67	112.17
113.44	1	112.8	112.67
113.53	1	113.44	112.8
114.53	1	113.53	113.44
114.51	1	114.53	113.53
115.05	1	114.51	114.53
116.67	1	115.05	114.51
117.07	1	116.67	115.05
116.92	1	117.07	116.67
117	1	116.92	117.07
117.02	1	117	116.92
117.35	1	117.02	117
117.36	1	117.35	117.02
117.82	1	117.36	117.35
117.88	1	117.82	117.36
118.24	1	117.88	117.82
118.5	1	118.24	117.88
118.8	1	118.5	118.24
119.76	1	118.8	118.5
120.09	1	119.76	118.8




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

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







Multiple Linear Regression - Estimated Regression Equation
Vrijetijdsbesteding[t] = + 23.2386693776659 + 0.328012898057582x[t] + 0.706706849753679`y-1`[t] + 0.0657834257010602`y-2`[t] -0.171640512276879M1[t] + 0.205094115152176M2[t] -0.190683624134502M3[t] + 0.0147835749451843M4[t] -0.127753109719908M5[t] + 0.0443784760656002M6[t] + 1.02445797837301M7[t] + 0.1945017340139M8[t] -0.00732604085153967M9[t] + 0.0380826032926670M10[t] -0.144087846353902M11[t] + 0.06890686556891t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Vrijetijdsbesteding[t] =  +  23.2386693776659 +  0.328012898057582x[t] +  0.706706849753679`y-1`[t] +  0.0657834257010602`y-2`[t] -0.171640512276879M1[t] +  0.205094115152176M2[t] -0.190683624134502M3[t] +  0.0147835749451843M4[t] -0.127753109719908M5[t] +  0.0443784760656002M6[t] +  1.02445797837301M7[t] +  0.1945017340139M8[t] -0.00732604085153967M9[t] +  0.0380826032926670M10[t] -0.144087846353902M11[t] +  0.06890686556891t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104150&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Vrijetijdsbesteding[t] =  +  23.2386693776659 +  0.328012898057582x[t] +  0.706706849753679`y-1`[t] +  0.0657834257010602`y-2`[t] -0.171640512276879M1[t] +  0.205094115152176M2[t] -0.190683624134502M3[t] +  0.0147835749451843M4[t] -0.127753109719908M5[t] +  0.0443784760656002M6[t] +  1.02445797837301M7[t] +  0.1945017340139M8[t] -0.00732604085153967M9[t] +  0.0380826032926670M10[t] -0.144087846353902M11[t] +  0.06890686556891t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104150&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104150&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
Vrijetijdsbesteding[t] = + 23.2386693776659 + 0.328012898057582x[t] + 0.706706849753679`y-1`[t] + 0.0657834257010602`y-2`[t] -0.171640512276879M1[t] + 0.205094115152176M2[t] -0.190683624134502M3[t] + 0.0147835749451843M4[t] -0.127753109719908M5[t] + 0.0443784760656002M6[t] + 1.02445797837301M7[t] + 0.1945017340139M8[t] -0.00732604085153967M9[t] + 0.0380826032926670M10[t] -0.144087846353902M11[t] + 0.06890686556891t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)23.23866937766597.4722223.110.0034420.001721
x0.3280128980575820.1545672.12210.0400680.020034
`y-1`0.7067068497536790.1488574.74752.6e-051.3e-05
`y-2`0.06578342570106020.1398880.47030.6407250.320363
M1-0.1716405122768790.154281-1.11250.2725570.136279
M20.2050941151521760.1454191.41040.1661620.083081
M3-0.1906836241345020.160855-1.18540.2428390.121419
M40.01478357494518430.1453010.10170.9194680.459734
M5-0.1277531097199080.15189-0.84110.4052990.202649
M60.04437847606560020.1473010.30130.7647630.382382
M71.024457978373010.1542416.641900
M80.19450173401390.2379140.81750.4184680.209234
M9-0.007326040851539670.169158-0.04330.9656710.482835
M100.03808260329266700.1635640.23280.817080.40854
M11-0.1440878463539020.162537-0.88650.3806520.190326
t0.068906865568910.0219243.14290.0031470.001573

\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) & 23.2386693776659 & 7.472222 & 3.11 & 0.003442 & 0.001721 \tabularnewline
x & 0.328012898057582 & 0.154567 & 2.1221 & 0.040068 & 0.020034 \tabularnewline
`y-1` & 0.706706849753679 & 0.148857 & 4.7475 & 2.6e-05 & 1.3e-05 \tabularnewline
`y-2` & 0.0657834257010602 & 0.139888 & 0.4703 & 0.640725 & 0.320363 \tabularnewline
M1 & -0.171640512276879 & 0.154281 & -1.1125 & 0.272557 & 0.136279 \tabularnewline
M2 & 0.205094115152176 & 0.145419 & 1.4104 & 0.166162 & 0.083081 \tabularnewline
M3 & -0.190683624134502 & 0.160855 & -1.1854 & 0.242839 & 0.121419 \tabularnewline
M4 & 0.0147835749451843 & 0.145301 & 0.1017 & 0.919468 & 0.459734 \tabularnewline
M5 & -0.127753109719908 & 0.15189 & -0.8411 & 0.405299 & 0.202649 \tabularnewline
M6 & 0.0443784760656002 & 0.147301 & 0.3013 & 0.764763 & 0.382382 \tabularnewline
M7 & 1.02445797837301 & 0.154241 & 6.6419 & 0 & 0 \tabularnewline
M8 & 0.1945017340139 & 0.237914 & 0.8175 & 0.418468 & 0.209234 \tabularnewline
M9 & -0.00732604085153967 & 0.169158 & -0.0433 & 0.965671 & 0.482835 \tabularnewline
M10 & 0.0380826032926670 & 0.163564 & 0.2328 & 0.81708 & 0.40854 \tabularnewline
M11 & -0.144087846353902 & 0.162537 & -0.8865 & 0.380652 & 0.190326 \tabularnewline
t & 0.06890686556891 & 0.021924 & 3.1429 & 0.003147 & 0.001573 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104150&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]23.2386693776659[/C][C]7.472222[/C][C]3.11[/C][C]0.003442[/C][C]0.001721[/C][/ROW]
[ROW][C]x[/C][C]0.328012898057582[/C][C]0.154567[/C][C]2.1221[/C][C]0.040068[/C][C]0.020034[/C][/ROW]
[ROW][C]`y-1`[/C][C]0.706706849753679[/C][C]0.148857[/C][C]4.7475[/C][C]2.6e-05[/C][C]1.3e-05[/C][/ROW]
[ROW][C]`y-2`[/C][C]0.0657834257010602[/C][C]0.139888[/C][C]0.4703[/C][C]0.640725[/C][C]0.320363[/C][/ROW]
[ROW][C]M1[/C][C]-0.171640512276879[/C][C]0.154281[/C][C]-1.1125[/C][C]0.272557[/C][C]0.136279[/C][/ROW]
[ROW][C]M2[/C][C]0.205094115152176[/C][C]0.145419[/C][C]1.4104[/C][C]0.166162[/C][C]0.083081[/C][/ROW]
[ROW][C]M3[/C][C]-0.190683624134502[/C][C]0.160855[/C][C]-1.1854[/C][C]0.242839[/C][C]0.121419[/C][/ROW]
[ROW][C]M4[/C][C]0.0147835749451843[/C][C]0.145301[/C][C]0.1017[/C][C]0.919468[/C][C]0.459734[/C][/ROW]
[ROW][C]M5[/C][C]-0.127753109719908[/C][C]0.15189[/C][C]-0.8411[/C][C]0.405299[/C][C]0.202649[/C][/ROW]
[ROW][C]M6[/C][C]0.0443784760656002[/C][C]0.147301[/C][C]0.3013[/C][C]0.764763[/C][C]0.382382[/C][/ROW]
[ROW][C]M7[/C][C]1.02445797837301[/C][C]0.154241[/C][C]6.6419[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M8[/C][C]0.1945017340139[/C][C]0.237914[/C][C]0.8175[/C][C]0.418468[/C][C]0.209234[/C][/ROW]
[ROW][C]M9[/C][C]-0.00732604085153967[/C][C]0.169158[/C][C]-0.0433[/C][C]0.965671[/C][C]0.482835[/C][/ROW]
[ROW][C]M10[/C][C]0.0380826032926670[/C][C]0.163564[/C][C]0.2328[/C][C]0.81708[/C][C]0.40854[/C][/ROW]
[ROW][C]M11[/C][C]-0.144087846353902[/C][C]0.162537[/C][C]-0.8865[/C][C]0.380652[/C][C]0.190326[/C][/ROW]
[ROW][C]t[/C][C]0.06890686556891[/C][C]0.021924[/C][C]3.1429[/C][C]0.003147[/C][C]0.001573[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104150&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104150&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)23.23866937766597.4722223.110.0034420.001721
x0.3280128980575820.1545672.12210.0400680.020034
`y-1`0.7067068497536790.1488574.74752.6e-051.3e-05
`y-2`0.06578342570106020.1398880.47030.6407250.320363
M1-0.1716405122768790.154281-1.11250.2725570.136279
M20.2050941151521760.1454191.41040.1661620.083081
M3-0.1906836241345020.160855-1.18540.2428390.121419
M40.01478357494518430.1453010.10170.9194680.459734
M5-0.1277531097199080.15189-0.84110.4052990.202649
M60.04437847606560020.1473010.30130.7647630.382382
M71.024457978373010.1542416.641900
M80.19450173401390.2379140.81750.4184680.209234
M9-0.007326040851539670.169158-0.04330.9656710.482835
M100.03808260329266700.1635640.23280.817080.40854
M11-0.1440878463539020.162537-0.88650.3806520.190326
t0.068906865568910.0219243.14290.0031470.001573







Multiple Linear Regression - Regression Statistics
Multiple R0.999427087849627
R-squared0.998854503927587
Adjusted R-squared0.998424942900431
F-TEST (value)2325.29126430064
F-TEST (DF numerator)15
F-TEST (DF denominator)40
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.216308063638897
Sum Squared Residuals1.87156713580837

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.999427087849627 \tabularnewline
R-squared & 0.998854503927587 \tabularnewline
Adjusted R-squared & 0.998424942900431 \tabularnewline
F-TEST (value) & 2325.29126430064 \tabularnewline
F-TEST (DF numerator) & 15 \tabularnewline
F-TEST (DF denominator) & 40 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.216308063638897 \tabularnewline
Sum Squared Residuals & 1.87156713580837 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104150&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.999427087849627[/C][/ROW]
[ROW][C]R-squared[/C][C]0.998854503927587[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.998424942900431[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]2325.29126430064[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]15[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]40[/C][/ROW]
[ROW][C]p-value[/C][C]0[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]0.216308063638897[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]1.87156713580837[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104150&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104150&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.999427087849627
R-squared0.998854503927587
Adjusted R-squared0.998424942900431
F-TEST (value)2325.29126430064
F-TEST (DF numerator)15
F-TEST (DF denominator)40
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.216308063638897
Sum Squared Residuals1.87156713580837







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1102.38102.1756373395820.204362660418009
2102.86102.6684737907550.191526209244890
3102.87102.6814800391760.188519960823865
4102.92102.994497216659-0.0744972166587715
5102.95102.956860574307-0.0068605743072809
6103.02103.222389402439-0.202389402439369
7104.08104.322818752569-0.242818752569475
8104.16104.315483474317-0.155483474317248
9104.24104.308829544244-0.0688295442441368
10104.33104.484944275994-0.154944275993627
11104.73104.4405469824500.289453017550119
12104.86104.942144942587-0.082144942587269
13105.03104.9575965566280.0724034433723023
14105.62105.5319300594250.0880699405750773
15105.63105.633199409431-0.00319940943101672
16105.63105.953452763741-0.323452763740769
17105.94105.8804807789020.0595192210984051
18106.61106.3405983536800.269401646320347
19107.69107.883471172858-0.193471172858273
20107.78107.929740087022-0.149740087021747
21107.93107.931468893960-0.00146889396019063
22108.48108.1577109394490.322289060550539
23108.14108.443003636591-0.303003636591486
24108.48108.4518989037340.0281010962663753
25108.48108.567079221204-0.0870792212035485
26108.89109.035087078940-0.145087078939877
27108.93108.997966013621-0.0679660136211085
28109.21109.327579556797-0.117579556797304
29109.47109.4544589926600.0155410073398196
30109.8109.897660584147-0.0976605841468559
31111.73111.1969639031240.53303609687584
32111.85111.8215672748400.0284327251600797
33112.12111.9004131991170.219586800883138
34112.15112.213433569348-0.0634335693476048
35112.17112.1391327157020.0308672842981526
36112.67112.696247965448-0.0262479654483509
37112.8112.948183412131-0.148183412131247
38113.44113.518588508448-0.0785885084477151
39113.53113.652561863913-0.122561863913436
40114.53114.0326409374890.497359062511456
41114.51114.671638476459-0.161638476459133
42115.05114.9643262165200.085673783480452
43116.67116.3936186147490.276381385251174
44117.07116.8129573824380.257042617561835
45116.92117.069288362679-0.149288362678811
46117117.103911215209-0.103911215209306
47117.02117.037316665257-0.0173166652567858
48117.35117.2697081882310.0802918117692447
49117.36117.401503470456-0.0415034704555154
50117.82117.875920562432-0.0559205624323758
51117.88117.8747926738580.00520732614169591
52118.24118.2218295253150.0181704746853892
53118.5118.4065611776720.093438822328189
54118.8118.855025443215-0.0550254432145738
55119.76120.133127556699-0.373127556699266
56120.09120.0702517813830.0197482186170809

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 102.38 & 102.175637339582 & 0.204362660418009 \tabularnewline
2 & 102.86 & 102.668473790755 & 0.191526209244890 \tabularnewline
3 & 102.87 & 102.681480039176 & 0.188519960823865 \tabularnewline
4 & 102.92 & 102.994497216659 & -0.0744972166587715 \tabularnewline
5 & 102.95 & 102.956860574307 & -0.0068605743072809 \tabularnewline
6 & 103.02 & 103.222389402439 & -0.202389402439369 \tabularnewline
7 & 104.08 & 104.322818752569 & -0.242818752569475 \tabularnewline
8 & 104.16 & 104.315483474317 & -0.155483474317248 \tabularnewline
9 & 104.24 & 104.308829544244 & -0.0688295442441368 \tabularnewline
10 & 104.33 & 104.484944275994 & -0.154944275993627 \tabularnewline
11 & 104.73 & 104.440546982450 & 0.289453017550119 \tabularnewline
12 & 104.86 & 104.942144942587 & -0.082144942587269 \tabularnewline
13 & 105.03 & 104.957596556628 & 0.0724034433723023 \tabularnewline
14 & 105.62 & 105.531930059425 & 0.0880699405750773 \tabularnewline
15 & 105.63 & 105.633199409431 & -0.00319940943101672 \tabularnewline
16 & 105.63 & 105.953452763741 & -0.323452763740769 \tabularnewline
17 & 105.94 & 105.880480778902 & 0.0595192210984051 \tabularnewline
18 & 106.61 & 106.340598353680 & 0.269401646320347 \tabularnewline
19 & 107.69 & 107.883471172858 & -0.193471172858273 \tabularnewline
20 & 107.78 & 107.929740087022 & -0.149740087021747 \tabularnewline
21 & 107.93 & 107.931468893960 & -0.00146889396019063 \tabularnewline
22 & 108.48 & 108.157710939449 & 0.322289060550539 \tabularnewline
23 & 108.14 & 108.443003636591 & -0.303003636591486 \tabularnewline
24 & 108.48 & 108.451898903734 & 0.0281010962663753 \tabularnewline
25 & 108.48 & 108.567079221204 & -0.0870792212035485 \tabularnewline
26 & 108.89 & 109.035087078940 & -0.145087078939877 \tabularnewline
27 & 108.93 & 108.997966013621 & -0.0679660136211085 \tabularnewline
28 & 109.21 & 109.327579556797 & -0.117579556797304 \tabularnewline
29 & 109.47 & 109.454458992660 & 0.0155410073398196 \tabularnewline
30 & 109.8 & 109.897660584147 & -0.0976605841468559 \tabularnewline
31 & 111.73 & 111.196963903124 & 0.53303609687584 \tabularnewline
32 & 111.85 & 111.821567274840 & 0.0284327251600797 \tabularnewline
33 & 112.12 & 111.900413199117 & 0.219586800883138 \tabularnewline
34 & 112.15 & 112.213433569348 & -0.0634335693476048 \tabularnewline
35 & 112.17 & 112.139132715702 & 0.0308672842981526 \tabularnewline
36 & 112.67 & 112.696247965448 & -0.0262479654483509 \tabularnewline
37 & 112.8 & 112.948183412131 & -0.148183412131247 \tabularnewline
38 & 113.44 & 113.518588508448 & -0.0785885084477151 \tabularnewline
39 & 113.53 & 113.652561863913 & -0.122561863913436 \tabularnewline
40 & 114.53 & 114.032640937489 & 0.497359062511456 \tabularnewline
41 & 114.51 & 114.671638476459 & -0.161638476459133 \tabularnewline
42 & 115.05 & 114.964326216520 & 0.085673783480452 \tabularnewline
43 & 116.67 & 116.393618614749 & 0.276381385251174 \tabularnewline
44 & 117.07 & 116.812957382438 & 0.257042617561835 \tabularnewline
45 & 116.92 & 117.069288362679 & -0.149288362678811 \tabularnewline
46 & 117 & 117.103911215209 & -0.103911215209306 \tabularnewline
47 & 117.02 & 117.037316665257 & -0.0173166652567858 \tabularnewline
48 & 117.35 & 117.269708188231 & 0.0802918117692447 \tabularnewline
49 & 117.36 & 117.401503470456 & -0.0415034704555154 \tabularnewline
50 & 117.82 & 117.875920562432 & -0.0559205624323758 \tabularnewline
51 & 117.88 & 117.874792673858 & 0.00520732614169591 \tabularnewline
52 & 118.24 & 118.221829525315 & 0.0181704746853892 \tabularnewline
53 & 118.5 & 118.406561177672 & 0.093438822328189 \tabularnewline
54 & 118.8 & 118.855025443215 & -0.0550254432145738 \tabularnewline
55 & 119.76 & 120.133127556699 & -0.373127556699266 \tabularnewline
56 & 120.09 & 120.070251781383 & 0.0197482186170809 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104150&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]102.38[/C][C]102.175637339582[/C][C]0.204362660418009[/C][/ROW]
[ROW][C]2[/C][C]102.86[/C][C]102.668473790755[/C][C]0.191526209244890[/C][/ROW]
[ROW][C]3[/C][C]102.87[/C][C]102.681480039176[/C][C]0.188519960823865[/C][/ROW]
[ROW][C]4[/C][C]102.92[/C][C]102.994497216659[/C][C]-0.0744972166587715[/C][/ROW]
[ROW][C]5[/C][C]102.95[/C][C]102.956860574307[/C][C]-0.0068605743072809[/C][/ROW]
[ROW][C]6[/C][C]103.02[/C][C]103.222389402439[/C][C]-0.202389402439369[/C][/ROW]
[ROW][C]7[/C][C]104.08[/C][C]104.322818752569[/C][C]-0.242818752569475[/C][/ROW]
[ROW][C]8[/C][C]104.16[/C][C]104.315483474317[/C][C]-0.155483474317248[/C][/ROW]
[ROW][C]9[/C][C]104.24[/C][C]104.308829544244[/C][C]-0.0688295442441368[/C][/ROW]
[ROW][C]10[/C][C]104.33[/C][C]104.484944275994[/C][C]-0.154944275993627[/C][/ROW]
[ROW][C]11[/C][C]104.73[/C][C]104.440546982450[/C][C]0.289453017550119[/C][/ROW]
[ROW][C]12[/C][C]104.86[/C][C]104.942144942587[/C][C]-0.082144942587269[/C][/ROW]
[ROW][C]13[/C][C]105.03[/C][C]104.957596556628[/C][C]0.0724034433723023[/C][/ROW]
[ROW][C]14[/C][C]105.62[/C][C]105.531930059425[/C][C]0.0880699405750773[/C][/ROW]
[ROW][C]15[/C][C]105.63[/C][C]105.633199409431[/C][C]-0.00319940943101672[/C][/ROW]
[ROW][C]16[/C][C]105.63[/C][C]105.953452763741[/C][C]-0.323452763740769[/C][/ROW]
[ROW][C]17[/C][C]105.94[/C][C]105.880480778902[/C][C]0.0595192210984051[/C][/ROW]
[ROW][C]18[/C][C]106.61[/C][C]106.340598353680[/C][C]0.269401646320347[/C][/ROW]
[ROW][C]19[/C][C]107.69[/C][C]107.883471172858[/C][C]-0.193471172858273[/C][/ROW]
[ROW][C]20[/C][C]107.78[/C][C]107.929740087022[/C][C]-0.149740087021747[/C][/ROW]
[ROW][C]21[/C][C]107.93[/C][C]107.931468893960[/C][C]-0.00146889396019063[/C][/ROW]
[ROW][C]22[/C][C]108.48[/C][C]108.157710939449[/C][C]0.322289060550539[/C][/ROW]
[ROW][C]23[/C][C]108.14[/C][C]108.443003636591[/C][C]-0.303003636591486[/C][/ROW]
[ROW][C]24[/C][C]108.48[/C][C]108.451898903734[/C][C]0.0281010962663753[/C][/ROW]
[ROW][C]25[/C][C]108.48[/C][C]108.567079221204[/C][C]-0.0870792212035485[/C][/ROW]
[ROW][C]26[/C][C]108.89[/C][C]109.035087078940[/C][C]-0.145087078939877[/C][/ROW]
[ROW][C]27[/C][C]108.93[/C][C]108.997966013621[/C][C]-0.0679660136211085[/C][/ROW]
[ROW][C]28[/C][C]109.21[/C][C]109.327579556797[/C][C]-0.117579556797304[/C][/ROW]
[ROW][C]29[/C][C]109.47[/C][C]109.454458992660[/C][C]0.0155410073398196[/C][/ROW]
[ROW][C]30[/C][C]109.8[/C][C]109.897660584147[/C][C]-0.0976605841468559[/C][/ROW]
[ROW][C]31[/C][C]111.73[/C][C]111.196963903124[/C][C]0.53303609687584[/C][/ROW]
[ROW][C]32[/C][C]111.85[/C][C]111.821567274840[/C][C]0.0284327251600797[/C][/ROW]
[ROW][C]33[/C][C]112.12[/C][C]111.900413199117[/C][C]0.219586800883138[/C][/ROW]
[ROW][C]34[/C][C]112.15[/C][C]112.213433569348[/C][C]-0.0634335693476048[/C][/ROW]
[ROW][C]35[/C][C]112.17[/C][C]112.139132715702[/C][C]0.0308672842981526[/C][/ROW]
[ROW][C]36[/C][C]112.67[/C][C]112.696247965448[/C][C]-0.0262479654483509[/C][/ROW]
[ROW][C]37[/C][C]112.8[/C][C]112.948183412131[/C][C]-0.148183412131247[/C][/ROW]
[ROW][C]38[/C][C]113.44[/C][C]113.518588508448[/C][C]-0.0785885084477151[/C][/ROW]
[ROW][C]39[/C][C]113.53[/C][C]113.652561863913[/C][C]-0.122561863913436[/C][/ROW]
[ROW][C]40[/C][C]114.53[/C][C]114.032640937489[/C][C]0.497359062511456[/C][/ROW]
[ROW][C]41[/C][C]114.51[/C][C]114.671638476459[/C][C]-0.161638476459133[/C][/ROW]
[ROW][C]42[/C][C]115.05[/C][C]114.964326216520[/C][C]0.085673783480452[/C][/ROW]
[ROW][C]43[/C][C]116.67[/C][C]116.393618614749[/C][C]0.276381385251174[/C][/ROW]
[ROW][C]44[/C][C]117.07[/C][C]116.812957382438[/C][C]0.257042617561835[/C][/ROW]
[ROW][C]45[/C][C]116.92[/C][C]117.069288362679[/C][C]-0.149288362678811[/C][/ROW]
[ROW][C]46[/C][C]117[/C][C]117.103911215209[/C][C]-0.103911215209306[/C][/ROW]
[ROW][C]47[/C][C]117.02[/C][C]117.037316665257[/C][C]-0.0173166652567858[/C][/ROW]
[ROW][C]48[/C][C]117.35[/C][C]117.269708188231[/C][C]0.0802918117692447[/C][/ROW]
[ROW][C]49[/C][C]117.36[/C][C]117.401503470456[/C][C]-0.0415034704555154[/C][/ROW]
[ROW][C]50[/C][C]117.82[/C][C]117.875920562432[/C][C]-0.0559205624323758[/C][/ROW]
[ROW][C]51[/C][C]117.88[/C][C]117.874792673858[/C][C]0.00520732614169591[/C][/ROW]
[ROW][C]52[/C][C]118.24[/C][C]118.221829525315[/C][C]0.0181704746853892[/C][/ROW]
[ROW][C]53[/C][C]118.5[/C][C]118.406561177672[/C][C]0.093438822328189[/C][/ROW]
[ROW][C]54[/C][C]118.8[/C][C]118.855025443215[/C][C]-0.0550254432145738[/C][/ROW]
[ROW][C]55[/C][C]119.76[/C][C]120.133127556699[/C][C]-0.373127556699266[/C][/ROW]
[ROW][C]56[/C][C]120.09[/C][C]120.070251781383[/C][C]0.0197482186170809[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104150&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104150&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
1102.38102.1756373395820.204362660418009
2102.86102.6684737907550.191526209244890
3102.87102.6814800391760.188519960823865
4102.92102.994497216659-0.0744972166587715
5102.95102.956860574307-0.0068605743072809
6103.02103.222389402439-0.202389402439369
7104.08104.322818752569-0.242818752569475
8104.16104.315483474317-0.155483474317248
9104.24104.308829544244-0.0688295442441368
10104.33104.484944275994-0.154944275993627
11104.73104.4405469824500.289453017550119
12104.86104.942144942587-0.082144942587269
13105.03104.9575965566280.0724034433723023
14105.62105.5319300594250.0880699405750773
15105.63105.633199409431-0.00319940943101672
16105.63105.953452763741-0.323452763740769
17105.94105.8804807789020.0595192210984051
18106.61106.3405983536800.269401646320347
19107.69107.883471172858-0.193471172858273
20107.78107.929740087022-0.149740087021747
21107.93107.931468893960-0.00146889396019063
22108.48108.1577109394490.322289060550539
23108.14108.443003636591-0.303003636591486
24108.48108.4518989037340.0281010962663753
25108.48108.567079221204-0.0870792212035485
26108.89109.035087078940-0.145087078939877
27108.93108.997966013621-0.0679660136211085
28109.21109.327579556797-0.117579556797304
29109.47109.4544589926600.0155410073398196
30109.8109.897660584147-0.0976605841468559
31111.73111.1969639031240.53303609687584
32111.85111.8215672748400.0284327251600797
33112.12111.9004131991170.219586800883138
34112.15112.213433569348-0.0634335693476048
35112.17112.1391327157020.0308672842981526
36112.67112.696247965448-0.0262479654483509
37112.8112.948183412131-0.148183412131247
38113.44113.518588508448-0.0785885084477151
39113.53113.652561863913-0.122561863913436
40114.53114.0326409374890.497359062511456
41114.51114.671638476459-0.161638476459133
42115.05114.9643262165200.085673783480452
43116.67116.3936186147490.276381385251174
44117.07116.8129573824380.257042617561835
45116.92117.069288362679-0.149288362678811
46117117.103911215209-0.103911215209306
47117.02117.037316665257-0.0173166652567858
48117.35117.2697081882310.0802918117692447
49117.36117.401503470456-0.0415034704555154
50117.82117.875920562432-0.0559205624323758
51117.88117.8747926738580.00520732614169591
52118.24118.2218295253150.0181704746853892
53118.5118.4065611776720.093438822328189
54118.8118.855025443215-0.0550254432145738
55119.76120.133127556699-0.373127556699266
56120.09120.0702517813830.0197482186170809







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
190.593275971842910.813448056314180.40672402815709
200.4611370309992290.9222740619984590.538862969000771
210.3167763255072310.6335526510144630.683223674492769
220.3865209794258820.7730419588517650.613479020574118
230.7585422889850180.4829154220299650.241457711014982
240.660343104652330.679313790695340.33965689534767
250.5830975186350390.8338049627299210.416902481364961
260.5284906270290930.9430187459418130.471509372970907
270.4315488090995790.8630976181991580.568451190900421
280.5876486217713830.8247027564572340.412351378228617
290.6049149507457740.7901700985084520.395085049254226
300.5939425683608670.8121148632782650.406057431639133
310.8488145593122460.3023708813755070.151185440687754
320.7942694937466780.4114610125066450.205730506253322
330.7212524624753840.5574950750492330.278747537524616
340.6458794623996480.7082410752007040.354120537600352
350.5018399698893910.9963200602212170.498160030110609
360.3514178503728150.702835700745630.648582149627185
370.2156836976328340.4313673952656690.784316302367166

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
19 & 0.59327597184291 & 0.81344805631418 & 0.40672402815709 \tabularnewline
20 & 0.461137030999229 & 0.922274061998459 & 0.538862969000771 \tabularnewline
21 & 0.316776325507231 & 0.633552651014463 & 0.683223674492769 \tabularnewline
22 & 0.386520979425882 & 0.773041958851765 & 0.613479020574118 \tabularnewline
23 & 0.758542288985018 & 0.482915422029965 & 0.241457711014982 \tabularnewline
24 & 0.66034310465233 & 0.67931379069534 & 0.33965689534767 \tabularnewline
25 & 0.583097518635039 & 0.833804962729921 & 0.416902481364961 \tabularnewline
26 & 0.528490627029093 & 0.943018745941813 & 0.471509372970907 \tabularnewline
27 & 0.431548809099579 & 0.863097618199158 & 0.568451190900421 \tabularnewline
28 & 0.587648621771383 & 0.824702756457234 & 0.412351378228617 \tabularnewline
29 & 0.604914950745774 & 0.790170098508452 & 0.395085049254226 \tabularnewline
30 & 0.593942568360867 & 0.812114863278265 & 0.406057431639133 \tabularnewline
31 & 0.848814559312246 & 0.302370881375507 & 0.151185440687754 \tabularnewline
32 & 0.794269493746678 & 0.411461012506645 & 0.205730506253322 \tabularnewline
33 & 0.721252462475384 & 0.557495075049233 & 0.278747537524616 \tabularnewline
34 & 0.645879462399648 & 0.708241075200704 & 0.354120537600352 \tabularnewline
35 & 0.501839969889391 & 0.996320060221217 & 0.498160030110609 \tabularnewline
36 & 0.351417850372815 & 0.70283570074563 & 0.648582149627185 \tabularnewline
37 & 0.215683697632834 & 0.431367395265669 & 0.784316302367166 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104150&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]19[/C][C]0.59327597184291[/C][C]0.81344805631418[/C][C]0.40672402815709[/C][/ROW]
[ROW][C]20[/C][C]0.461137030999229[/C][C]0.922274061998459[/C][C]0.538862969000771[/C][/ROW]
[ROW][C]21[/C][C]0.316776325507231[/C][C]0.633552651014463[/C][C]0.683223674492769[/C][/ROW]
[ROW][C]22[/C][C]0.386520979425882[/C][C]0.773041958851765[/C][C]0.613479020574118[/C][/ROW]
[ROW][C]23[/C][C]0.758542288985018[/C][C]0.482915422029965[/C][C]0.241457711014982[/C][/ROW]
[ROW][C]24[/C][C]0.66034310465233[/C][C]0.67931379069534[/C][C]0.33965689534767[/C][/ROW]
[ROW][C]25[/C][C]0.583097518635039[/C][C]0.833804962729921[/C][C]0.416902481364961[/C][/ROW]
[ROW][C]26[/C][C]0.528490627029093[/C][C]0.943018745941813[/C][C]0.471509372970907[/C][/ROW]
[ROW][C]27[/C][C]0.431548809099579[/C][C]0.863097618199158[/C][C]0.568451190900421[/C][/ROW]
[ROW][C]28[/C][C]0.587648621771383[/C][C]0.824702756457234[/C][C]0.412351378228617[/C][/ROW]
[ROW][C]29[/C][C]0.604914950745774[/C][C]0.790170098508452[/C][C]0.395085049254226[/C][/ROW]
[ROW][C]30[/C][C]0.593942568360867[/C][C]0.812114863278265[/C][C]0.406057431639133[/C][/ROW]
[ROW][C]31[/C][C]0.848814559312246[/C][C]0.302370881375507[/C][C]0.151185440687754[/C][/ROW]
[ROW][C]32[/C][C]0.794269493746678[/C][C]0.411461012506645[/C][C]0.205730506253322[/C][/ROW]
[ROW][C]33[/C][C]0.721252462475384[/C][C]0.557495075049233[/C][C]0.278747537524616[/C][/ROW]
[ROW][C]34[/C][C]0.645879462399648[/C][C]0.708241075200704[/C][C]0.354120537600352[/C][/ROW]
[ROW][C]35[/C][C]0.501839969889391[/C][C]0.996320060221217[/C][C]0.498160030110609[/C][/ROW]
[ROW][C]36[/C][C]0.351417850372815[/C][C]0.70283570074563[/C][C]0.648582149627185[/C][/ROW]
[ROW][C]37[/C][C]0.215683697632834[/C][C]0.431367395265669[/C][C]0.784316302367166[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104150&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104150&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
190.593275971842910.813448056314180.40672402815709
200.4611370309992290.9222740619984590.538862969000771
210.3167763255072310.6335526510144630.683223674492769
220.3865209794258820.7730419588517650.613479020574118
230.7585422889850180.4829154220299650.241457711014982
240.660343104652330.679313790695340.33965689534767
250.5830975186350390.8338049627299210.416902481364961
260.5284906270290930.9430187459418130.471509372970907
270.4315488090995790.8630976181991580.568451190900421
280.5876486217713830.8247027564572340.412351378228617
290.6049149507457740.7901700985084520.395085049254226
300.5939425683608670.8121148632782650.406057431639133
310.8488145593122460.3023708813755070.151185440687754
320.7942694937466780.4114610125066450.205730506253322
330.7212524624753840.5574950750492330.278747537524616
340.6458794623996480.7082410752007040.354120537600352
350.5018399698893910.9963200602212170.498160030110609
360.3514178503728150.702835700745630.648582149627185
370.2156836976328340.4313673952656690.784316302367166







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

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