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, 18 Nov 2009 10:10:28 -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/18/t1258564624mxbhrpyn2asgicu.htm/, Retrieved Sat, 04 May 2024 16:37:07 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=57540, Retrieved Sat, 04 May 2024 16:37:07 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact215
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 14:03:14] [b98453cac15ba1066b407e146608df68]
-   PD      [Multiple Regression] [] [2009-11-18 17:10:28] [7dd0431c761b876151627bfbf92230c8] [Current]
Feedback Forum

Post a new message
Dataseries X:
8.9	1.6
8.8	1.8
8.3	1.6
7.5	1.5
7.2	1.5
7.4	1.3
8.8	1.4
9.3	1.4
9.3	1.3
8.7	1.3
8.2	1.2
8.3	1.1
8.5	1.4
8.6	1.2
8.5	1.5
8.2	1.1
8.1	1.3
7.9	1.5
8.6	1.1
8.7	1.4
8.7	1.3
8.5	1.5
8.4	1.6
8.5	1.7
8.7	1.1
8.7	1.6
8.6	1.3
8.5	1.7
8.3	1.6
8	1.7
8.2	1.9
8.1	1.8
8.1	1.9
8	1.6
7.9	1.5
7.9	1.6
8	1.6
8	1.7
7.9	2
8	2
7.7	1.9
7.2	1.7
7.5	1.8
7.3	1.9
7	1.7
7	2
7	2.1
7.2	2.4
7.3	2.5
7.1	2.5
6.8	2.6
6.4	2.2
6.1	2.5
6.5	2.8
7.7	2.8
7.9	2.9
7.5	3
6.9	3.1
6.6	2.9
6.9	2.7




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

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 3 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57540&T=0

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

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

As an alternative you can also use a QR Code:  

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

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







Multiple Linear Regression - Estimated Regression Equation
inflatie[t] = + 6.49479693937611 -0.59211300765156graad[t] + 0.0478987639788073M1[t] + 0.144214243672748M2[t] + 0.0539493819894059M3[t] -0.223684520306063M4[t] -0.305791642142437M5[t] -0.313160682754562M6[t] + 0.136845203060624M7[t] + 0.27605650382578M8[t] + 0.153160682754562M9[t] + 0.0355267804590934M10[t] -0.122895821071219M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
inflatie[t] =  +  6.49479693937611 -0.59211300765156graad[t] +  0.0478987639788073M1[t] +  0.144214243672748M2[t] +  0.0539493819894059M3[t] -0.223684520306063M4[t] -0.305791642142437M5[t] -0.313160682754562M6[t] +  0.136845203060624M7[t] +  0.27605650382578M8[t] +  0.153160682754562M9[t] +  0.0355267804590934M10[t] -0.122895821071219M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57540&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]inflatie[t] =  +  6.49479693937611 -0.59211300765156graad[t] +  0.0478987639788073M1[t] +  0.144214243672748M2[t] +  0.0539493819894059M3[t] -0.223684520306063M4[t] -0.305791642142437M5[t] -0.313160682754562M6[t] +  0.136845203060624M7[t] +  0.27605650382578M8[t] +  0.153160682754562M9[t] +  0.0355267804590934M10[t] -0.122895821071219M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57540&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57540&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
inflatie[t] = + 6.49479693937611 -0.59211300765156graad[t] + 0.0478987639788073M1[t] + 0.144214243672748M2[t] + 0.0539493819894059M3[t] -0.223684520306063M4[t] -0.305791642142437M5[t] -0.313160682754562M6[t] + 0.136845203060624M7[t] + 0.27605650382578M8[t] + 0.153160682754562M9[t] + 0.0355267804590934M10[t] -0.122895821071219M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)6.494796939376110.60391310.754500
graad-0.592113007651560.074532-7.944400
M10.04789876397880730.2488070.19250.8481690.424085
M20.1442142436727480.248360.58070.564240.28212
M30.05394938198940590.2465330.21880.8277280.413864
M4-0.2236845203060630.245788-0.91010.3674290.183715
M5-0.3057916421424370.246655-1.23980.221220.11061
M6-0.3131606827545620.24723-1.26670.2115130.105756
M70.1368452030606240.2475720.55270.5830540.291527
M80.276056503825780.2485791.11050.2724170.136209
M90.1531606827545620.247230.61950.5385750.269288
M100.03552678045909340.2458110.14450.8857010.44285
M11-0.1228958210712190.245992-0.49960.6196920.309846

\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) & 6.49479693937611 & 0.603913 & 10.7545 & 0 & 0 \tabularnewline
graad & -0.59211300765156 & 0.074532 & -7.9444 & 0 & 0 \tabularnewline
M1 & 0.0478987639788073 & 0.248807 & 0.1925 & 0.848169 & 0.424085 \tabularnewline
M2 & 0.144214243672748 & 0.24836 & 0.5807 & 0.56424 & 0.28212 \tabularnewline
M3 & 0.0539493819894059 & 0.246533 & 0.2188 & 0.827728 & 0.413864 \tabularnewline
M4 & -0.223684520306063 & 0.245788 & -0.9101 & 0.367429 & 0.183715 \tabularnewline
M5 & -0.305791642142437 & 0.246655 & -1.2398 & 0.22122 & 0.11061 \tabularnewline
M6 & -0.313160682754562 & 0.24723 & -1.2667 & 0.211513 & 0.105756 \tabularnewline
M7 & 0.136845203060624 & 0.247572 & 0.5527 & 0.583054 & 0.291527 \tabularnewline
M8 & 0.27605650382578 & 0.248579 & 1.1105 & 0.272417 & 0.136209 \tabularnewline
M9 & 0.153160682754562 & 0.24723 & 0.6195 & 0.538575 & 0.269288 \tabularnewline
M10 & 0.0355267804590934 & 0.245811 & 0.1445 & 0.885701 & 0.44285 \tabularnewline
M11 & -0.122895821071219 & 0.245992 & -0.4996 & 0.619692 & 0.309846 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57540&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]6.49479693937611[/C][C]0.603913[/C][C]10.7545[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]graad[/C][C]-0.59211300765156[/C][C]0.074532[/C][C]-7.9444[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]0.0478987639788073[/C][C]0.248807[/C][C]0.1925[/C][C]0.848169[/C][C]0.424085[/C][/ROW]
[ROW][C]M2[/C][C]0.144214243672748[/C][C]0.24836[/C][C]0.5807[/C][C]0.56424[/C][C]0.28212[/C][/ROW]
[ROW][C]M3[/C][C]0.0539493819894059[/C][C]0.246533[/C][C]0.2188[/C][C]0.827728[/C][C]0.413864[/C][/ROW]
[ROW][C]M4[/C][C]-0.223684520306063[/C][C]0.245788[/C][C]-0.9101[/C][C]0.367429[/C][C]0.183715[/C][/ROW]
[ROW][C]M5[/C][C]-0.305791642142437[/C][C]0.246655[/C][C]-1.2398[/C][C]0.22122[/C][C]0.11061[/C][/ROW]
[ROW][C]M6[/C][C]-0.313160682754562[/C][C]0.24723[/C][C]-1.2667[/C][C]0.211513[/C][C]0.105756[/C][/ROW]
[ROW][C]M7[/C][C]0.136845203060624[/C][C]0.247572[/C][C]0.5527[/C][C]0.583054[/C][C]0.291527[/C][/ROW]
[ROW][C]M8[/C][C]0.27605650382578[/C][C]0.248579[/C][C]1.1105[/C][C]0.272417[/C][C]0.136209[/C][/ROW]
[ROW][C]M9[/C][C]0.153160682754562[/C][C]0.24723[/C][C]0.6195[/C][C]0.538575[/C][C]0.269288[/C][/ROW]
[ROW][C]M10[/C][C]0.0355267804590934[/C][C]0.245811[/C][C]0.1445[/C][C]0.885701[/C][C]0.44285[/C][/ROW]
[ROW][C]M11[/C][C]-0.122895821071219[/C][C]0.245992[/C][C]-0.4996[/C][C]0.619692[/C][C]0.309846[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57540&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57540&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)6.494796939376110.60391310.754500
graad-0.592113007651560.074532-7.944400
M10.04789876397880730.2488070.19250.8481690.424085
M20.1442142436727480.248360.58070.564240.28212
M30.05394938198940590.2465330.21880.8277280.413864
M4-0.2236845203060630.245788-0.91010.3674290.183715
M5-0.3057916421424370.246655-1.23980.221220.11061
M6-0.3131606827545620.24723-1.26670.2115130.105756
M70.1368452030606240.2475720.55270.5830540.291527
M80.276056503825780.2485791.11050.2724170.136209
M90.1531606827545620.247230.61950.5385750.269288
M100.03552678045909340.2458110.14450.8857010.44285
M11-0.1228958210712190.245992-0.49960.6196920.309846







Multiple Linear Regression - Regression Statistics
Multiple R0.762889719864329
R-squared0.582000724674674
Adjusted R-squared0.475277505442676
F-TEST (value)5.45336552685413
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value1.05276384025910e-05
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.388596739751561
Sum Squared Residuals7.09734902884049

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.762889719864329 \tabularnewline
R-squared & 0.582000724674674 \tabularnewline
Adjusted R-squared & 0.475277505442676 \tabularnewline
F-TEST (value) & 5.45336552685413 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 1.05276384025910e-05 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.388596739751561 \tabularnewline
Sum Squared Residuals & 7.09734902884049 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57540&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.762889719864329[/C][/ROW]
[ROW][C]R-squared[/C][C]0.582000724674674[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.475277505442676[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]5.45336552685413[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]47[/C][/ROW]
[ROW][C]p-value[/C][C]1.05276384025910e-05[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]0.388596739751561[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]7.09734902884049[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57540&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57540&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.762889719864329
R-squared0.582000724674674
Adjusted R-squared0.475277505442676
F-TEST (value)5.45336552685413
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value1.05276384025910e-05
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.388596739751561
Sum Squared Residuals7.09734902884049







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
11.61.272889935256050.327110064743952
21.81.428416715715130.371583284284873
31.61.63420835785756-0.0342083578575625
41.51.83026486168334-0.330264861683343
51.51.92579164214244-0.425791642142438
61.31.8-0.5
71.41.421047675103-0.021047675103001
81.41.264202472042380.135797527957623
91.31.141306650971160.158693349028842
101.31.37894055326663-0.0789405532666269
111.21.51657445556210-0.316574455562096
121.11.58025897586816-0.480258975868157
131.41.50973513831665-0.109735138316653
141.21.54683931724544-0.346839317245438
151.51.51578575632725-0.0157857563272512
161.11.41578575632725-0.315785756327251
171.31.39288993525603-0.0928899352560326
181.51.50394349617422-0.00394349617421958
191.11.53947027663331-0.439470276633314
201.41.61947027663331-0.219470276633314
211.31.49657445556210-0.196574455562095
221.51.497363154796940.00263684520306104
231.61.398151854031780.201848145968217
241.71.461836374337850.238163625662154
251.11.39131253678634-0.291312536786341
261.61.487628016480280.112371983519718
271.31.45657445556210-0.156574455562095
281.71.238151854031780.461848145968217
291.61.274467333725720.32553266627428
301.71.444732195409060.255267804590936
311.91.776315479693940.123684520306062
321.81.97473808122425-0.174738081224250
331.91.851842260153030.0481577398469687
341.61.79341965862272-0.193419658622719
351.51.69420835785756-0.194208357857563
361.61.81710417892878-0.217104178928781
371.61.80579164214243-0.205791642142433
381.71.90210712183637-0.202107121836374
3921.871053560918190.128946439081813
4021.534208357857560.465791642142437
411.91.629735138316660.270264861683343
421.71.91842260153031-0.218422601530312
431.82.19079458505003-0.39079458505003
441.92.4484284873455-0.548428487345498
451.72.50316656856975-0.803166568569748
4622.38553266627428-0.38553266627428
472.12.22711006474397-0.127110064743967
482.42.231583284284870.168416715715126
492.52.220270747498530.279729252501475
502.52.435008828722780.0649911712772213
512.62.522377869334900.0776221306650962
522.22.48158917010006-0.281589170100059
532.52.57711595055915-0.0771159505591534
542.82.332901706886400.467098293113596
552.82.072371983519720.727628016480282
562.92.093160682754560.806839317245438
5732.207110064743970.792889935256033
583.12.444743967039440.655256032960565
592.92.463955267804590.436044732195408
602.72.409217186580340.290782813419658

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 1.6 & 1.27288993525605 & 0.327110064743952 \tabularnewline
2 & 1.8 & 1.42841671571513 & 0.371583284284873 \tabularnewline
3 & 1.6 & 1.63420835785756 & -0.0342083578575625 \tabularnewline
4 & 1.5 & 1.83026486168334 & -0.330264861683343 \tabularnewline
5 & 1.5 & 1.92579164214244 & -0.425791642142438 \tabularnewline
6 & 1.3 & 1.8 & -0.5 \tabularnewline
7 & 1.4 & 1.421047675103 & -0.021047675103001 \tabularnewline
8 & 1.4 & 1.26420247204238 & 0.135797527957623 \tabularnewline
9 & 1.3 & 1.14130665097116 & 0.158693349028842 \tabularnewline
10 & 1.3 & 1.37894055326663 & -0.0789405532666269 \tabularnewline
11 & 1.2 & 1.51657445556210 & -0.316574455562096 \tabularnewline
12 & 1.1 & 1.58025897586816 & -0.480258975868157 \tabularnewline
13 & 1.4 & 1.50973513831665 & -0.109735138316653 \tabularnewline
14 & 1.2 & 1.54683931724544 & -0.346839317245438 \tabularnewline
15 & 1.5 & 1.51578575632725 & -0.0157857563272512 \tabularnewline
16 & 1.1 & 1.41578575632725 & -0.315785756327251 \tabularnewline
17 & 1.3 & 1.39288993525603 & -0.0928899352560326 \tabularnewline
18 & 1.5 & 1.50394349617422 & -0.00394349617421958 \tabularnewline
19 & 1.1 & 1.53947027663331 & -0.439470276633314 \tabularnewline
20 & 1.4 & 1.61947027663331 & -0.219470276633314 \tabularnewline
21 & 1.3 & 1.49657445556210 & -0.196574455562095 \tabularnewline
22 & 1.5 & 1.49736315479694 & 0.00263684520306104 \tabularnewline
23 & 1.6 & 1.39815185403178 & 0.201848145968217 \tabularnewline
24 & 1.7 & 1.46183637433785 & 0.238163625662154 \tabularnewline
25 & 1.1 & 1.39131253678634 & -0.291312536786341 \tabularnewline
26 & 1.6 & 1.48762801648028 & 0.112371983519718 \tabularnewline
27 & 1.3 & 1.45657445556210 & -0.156574455562095 \tabularnewline
28 & 1.7 & 1.23815185403178 & 0.461848145968217 \tabularnewline
29 & 1.6 & 1.27446733372572 & 0.32553266627428 \tabularnewline
30 & 1.7 & 1.44473219540906 & 0.255267804590936 \tabularnewline
31 & 1.9 & 1.77631547969394 & 0.123684520306062 \tabularnewline
32 & 1.8 & 1.97473808122425 & -0.174738081224250 \tabularnewline
33 & 1.9 & 1.85184226015303 & 0.0481577398469687 \tabularnewline
34 & 1.6 & 1.79341965862272 & -0.193419658622719 \tabularnewline
35 & 1.5 & 1.69420835785756 & -0.194208357857563 \tabularnewline
36 & 1.6 & 1.81710417892878 & -0.217104178928781 \tabularnewline
37 & 1.6 & 1.80579164214243 & -0.205791642142433 \tabularnewline
38 & 1.7 & 1.90210712183637 & -0.202107121836374 \tabularnewline
39 & 2 & 1.87105356091819 & 0.128946439081813 \tabularnewline
40 & 2 & 1.53420835785756 & 0.465791642142437 \tabularnewline
41 & 1.9 & 1.62973513831666 & 0.270264861683343 \tabularnewline
42 & 1.7 & 1.91842260153031 & -0.218422601530312 \tabularnewline
43 & 1.8 & 2.19079458505003 & -0.39079458505003 \tabularnewline
44 & 1.9 & 2.4484284873455 & -0.548428487345498 \tabularnewline
45 & 1.7 & 2.50316656856975 & -0.803166568569748 \tabularnewline
46 & 2 & 2.38553266627428 & -0.38553266627428 \tabularnewline
47 & 2.1 & 2.22711006474397 & -0.127110064743967 \tabularnewline
48 & 2.4 & 2.23158328428487 & 0.168416715715126 \tabularnewline
49 & 2.5 & 2.22027074749853 & 0.279729252501475 \tabularnewline
50 & 2.5 & 2.43500882872278 & 0.0649911712772213 \tabularnewline
51 & 2.6 & 2.52237786933490 & 0.0776221306650962 \tabularnewline
52 & 2.2 & 2.48158917010006 & -0.281589170100059 \tabularnewline
53 & 2.5 & 2.57711595055915 & -0.0771159505591534 \tabularnewline
54 & 2.8 & 2.33290170688640 & 0.467098293113596 \tabularnewline
55 & 2.8 & 2.07237198351972 & 0.727628016480282 \tabularnewline
56 & 2.9 & 2.09316068275456 & 0.806839317245438 \tabularnewline
57 & 3 & 2.20711006474397 & 0.792889935256033 \tabularnewline
58 & 3.1 & 2.44474396703944 & 0.655256032960565 \tabularnewline
59 & 2.9 & 2.46395526780459 & 0.436044732195408 \tabularnewline
60 & 2.7 & 2.40921718658034 & 0.290782813419658 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57540&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]1.6[/C][C]1.27288993525605[/C][C]0.327110064743952[/C][/ROW]
[ROW][C]2[/C][C]1.8[/C][C]1.42841671571513[/C][C]0.371583284284873[/C][/ROW]
[ROW][C]3[/C][C]1.6[/C][C]1.63420835785756[/C][C]-0.0342083578575625[/C][/ROW]
[ROW][C]4[/C][C]1.5[/C][C]1.83026486168334[/C][C]-0.330264861683343[/C][/ROW]
[ROW][C]5[/C][C]1.5[/C][C]1.92579164214244[/C][C]-0.425791642142438[/C][/ROW]
[ROW][C]6[/C][C]1.3[/C][C]1.8[/C][C]-0.5[/C][/ROW]
[ROW][C]7[/C][C]1.4[/C][C]1.421047675103[/C][C]-0.021047675103001[/C][/ROW]
[ROW][C]8[/C][C]1.4[/C][C]1.26420247204238[/C][C]0.135797527957623[/C][/ROW]
[ROW][C]9[/C][C]1.3[/C][C]1.14130665097116[/C][C]0.158693349028842[/C][/ROW]
[ROW][C]10[/C][C]1.3[/C][C]1.37894055326663[/C][C]-0.0789405532666269[/C][/ROW]
[ROW][C]11[/C][C]1.2[/C][C]1.51657445556210[/C][C]-0.316574455562096[/C][/ROW]
[ROW][C]12[/C][C]1.1[/C][C]1.58025897586816[/C][C]-0.480258975868157[/C][/ROW]
[ROW][C]13[/C][C]1.4[/C][C]1.50973513831665[/C][C]-0.109735138316653[/C][/ROW]
[ROW][C]14[/C][C]1.2[/C][C]1.54683931724544[/C][C]-0.346839317245438[/C][/ROW]
[ROW][C]15[/C][C]1.5[/C][C]1.51578575632725[/C][C]-0.0157857563272512[/C][/ROW]
[ROW][C]16[/C][C]1.1[/C][C]1.41578575632725[/C][C]-0.315785756327251[/C][/ROW]
[ROW][C]17[/C][C]1.3[/C][C]1.39288993525603[/C][C]-0.0928899352560326[/C][/ROW]
[ROW][C]18[/C][C]1.5[/C][C]1.50394349617422[/C][C]-0.00394349617421958[/C][/ROW]
[ROW][C]19[/C][C]1.1[/C][C]1.53947027663331[/C][C]-0.439470276633314[/C][/ROW]
[ROW][C]20[/C][C]1.4[/C][C]1.61947027663331[/C][C]-0.219470276633314[/C][/ROW]
[ROW][C]21[/C][C]1.3[/C][C]1.49657445556210[/C][C]-0.196574455562095[/C][/ROW]
[ROW][C]22[/C][C]1.5[/C][C]1.49736315479694[/C][C]0.00263684520306104[/C][/ROW]
[ROW][C]23[/C][C]1.6[/C][C]1.39815185403178[/C][C]0.201848145968217[/C][/ROW]
[ROW][C]24[/C][C]1.7[/C][C]1.46183637433785[/C][C]0.238163625662154[/C][/ROW]
[ROW][C]25[/C][C]1.1[/C][C]1.39131253678634[/C][C]-0.291312536786341[/C][/ROW]
[ROW][C]26[/C][C]1.6[/C][C]1.48762801648028[/C][C]0.112371983519718[/C][/ROW]
[ROW][C]27[/C][C]1.3[/C][C]1.45657445556210[/C][C]-0.156574455562095[/C][/ROW]
[ROW][C]28[/C][C]1.7[/C][C]1.23815185403178[/C][C]0.461848145968217[/C][/ROW]
[ROW][C]29[/C][C]1.6[/C][C]1.27446733372572[/C][C]0.32553266627428[/C][/ROW]
[ROW][C]30[/C][C]1.7[/C][C]1.44473219540906[/C][C]0.255267804590936[/C][/ROW]
[ROW][C]31[/C][C]1.9[/C][C]1.77631547969394[/C][C]0.123684520306062[/C][/ROW]
[ROW][C]32[/C][C]1.8[/C][C]1.97473808122425[/C][C]-0.174738081224250[/C][/ROW]
[ROW][C]33[/C][C]1.9[/C][C]1.85184226015303[/C][C]0.0481577398469687[/C][/ROW]
[ROW][C]34[/C][C]1.6[/C][C]1.79341965862272[/C][C]-0.193419658622719[/C][/ROW]
[ROW][C]35[/C][C]1.5[/C][C]1.69420835785756[/C][C]-0.194208357857563[/C][/ROW]
[ROW][C]36[/C][C]1.6[/C][C]1.81710417892878[/C][C]-0.217104178928781[/C][/ROW]
[ROW][C]37[/C][C]1.6[/C][C]1.80579164214243[/C][C]-0.205791642142433[/C][/ROW]
[ROW][C]38[/C][C]1.7[/C][C]1.90210712183637[/C][C]-0.202107121836374[/C][/ROW]
[ROW][C]39[/C][C]2[/C][C]1.87105356091819[/C][C]0.128946439081813[/C][/ROW]
[ROW][C]40[/C][C]2[/C][C]1.53420835785756[/C][C]0.465791642142437[/C][/ROW]
[ROW][C]41[/C][C]1.9[/C][C]1.62973513831666[/C][C]0.270264861683343[/C][/ROW]
[ROW][C]42[/C][C]1.7[/C][C]1.91842260153031[/C][C]-0.218422601530312[/C][/ROW]
[ROW][C]43[/C][C]1.8[/C][C]2.19079458505003[/C][C]-0.39079458505003[/C][/ROW]
[ROW][C]44[/C][C]1.9[/C][C]2.4484284873455[/C][C]-0.548428487345498[/C][/ROW]
[ROW][C]45[/C][C]1.7[/C][C]2.50316656856975[/C][C]-0.803166568569748[/C][/ROW]
[ROW][C]46[/C][C]2[/C][C]2.38553266627428[/C][C]-0.38553266627428[/C][/ROW]
[ROW][C]47[/C][C]2.1[/C][C]2.22711006474397[/C][C]-0.127110064743967[/C][/ROW]
[ROW][C]48[/C][C]2.4[/C][C]2.23158328428487[/C][C]0.168416715715126[/C][/ROW]
[ROW][C]49[/C][C]2.5[/C][C]2.22027074749853[/C][C]0.279729252501475[/C][/ROW]
[ROW][C]50[/C][C]2.5[/C][C]2.43500882872278[/C][C]0.0649911712772213[/C][/ROW]
[ROW][C]51[/C][C]2.6[/C][C]2.52237786933490[/C][C]0.0776221306650962[/C][/ROW]
[ROW][C]52[/C][C]2.2[/C][C]2.48158917010006[/C][C]-0.281589170100059[/C][/ROW]
[ROW][C]53[/C][C]2.5[/C][C]2.57711595055915[/C][C]-0.0771159505591534[/C][/ROW]
[ROW][C]54[/C][C]2.8[/C][C]2.33290170688640[/C][C]0.467098293113596[/C][/ROW]
[ROW][C]55[/C][C]2.8[/C][C]2.07237198351972[/C][C]0.727628016480282[/C][/ROW]
[ROW][C]56[/C][C]2.9[/C][C]2.09316068275456[/C][C]0.806839317245438[/C][/ROW]
[ROW][C]57[/C][C]3[/C][C]2.20711006474397[/C][C]0.792889935256033[/C][/ROW]
[ROW][C]58[/C][C]3.1[/C][C]2.44474396703944[/C][C]0.655256032960565[/C][/ROW]
[ROW][C]59[/C][C]2.9[/C][C]2.46395526780459[/C][C]0.436044732195408[/C][/ROW]
[ROW][C]60[/C][C]2.7[/C][C]2.40921718658034[/C][C]0.290782813419658[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57540&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57540&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
11.61.272889935256050.327110064743952
21.81.428416715715130.371583284284873
31.61.63420835785756-0.0342083578575625
41.51.83026486168334-0.330264861683343
51.51.92579164214244-0.425791642142438
61.31.8-0.5
71.41.421047675103-0.021047675103001
81.41.264202472042380.135797527957623
91.31.141306650971160.158693349028842
101.31.37894055326663-0.0789405532666269
111.21.51657445556210-0.316574455562096
121.11.58025897586816-0.480258975868157
131.41.50973513831665-0.109735138316653
141.21.54683931724544-0.346839317245438
151.51.51578575632725-0.0157857563272512
161.11.41578575632725-0.315785756327251
171.31.39288993525603-0.0928899352560326
181.51.50394349617422-0.00394349617421958
191.11.53947027663331-0.439470276633314
201.41.61947027663331-0.219470276633314
211.31.49657445556210-0.196574455562095
221.51.497363154796940.00263684520306104
231.61.398151854031780.201848145968217
241.71.461836374337850.238163625662154
251.11.39131253678634-0.291312536786341
261.61.487628016480280.112371983519718
271.31.45657445556210-0.156574455562095
281.71.238151854031780.461848145968217
291.61.274467333725720.32553266627428
301.71.444732195409060.255267804590936
311.91.776315479693940.123684520306062
321.81.97473808122425-0.174738081224250
331.91.851842260153030.0481577398469687
341.61.79341965862272-0.193419658622719
351.51.69420835785756-0.194208357857563
361.61.81710417892878-0.217104178928781
371.61.80579164214243-0.205791642142433
381.71.90210712183637-0.202107121836374
3921.871053560918190.128946439081813
4021.534208357857560.465791642142437
411.91.629735138316660.270264861683343
421.71.91842260153031-0.218422601530312
431.82.19079458505003-0.39079458505003
441.92.4484284873455-0.548428487345498
451.72.50316656856975-0.803166568569748
4622.38553266627428-0.38553266627428
472.12.22711006474397-0.127110064743967
482.42.231583284284870.168416715715126
492.52.220270747498530.279729252501475
502.52.435008828722780.0649911712772213
512.62.522377869334900.0776221306650962
522.22.48158917010006-0.281589170100059
532.52.57711595055915-0.0771159505591534
542.82.332901706886400.467098293113596
552.82.072371983519720.727628016480282
562.92.093160682754560.806839317245438
5732.207110064743970.792889935256033
583.12.444743967039440.655256032960565
592.92.463955267804590.436044732195408
602.72.409217186580340.290782813419658







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.3405233667630100.6810467335260190.65947663323699
170.1906316721187880.3812633442375750.809368327881212
180.1208724967874260.2417449935748520.879127503212574
190.09186137889410340.1837227577882070.908138621105897
200.04664485794657520.09328971589315030.953355142053425
210.02215733654317690.04431467308635380.977842663456823
220.01130520980232530.02261041960465070.988694790197675
230.01005070475254130.02010140950508250.989949295247459
240.01618669345124110.03237338690248220.98381330654876
250.01558843068287290.03117686136574570.984411569317127
260.00780121510077990.01560243020155980.99219878489922
270.005008619818468090.01001723963693620.994991380181532
280.004114148129514840.008228296259029680.995885851870485
290.001983776943420230.003967553886840450.99801622305658
300.001101712196429770.002203424392859530.99889828780357
310.002737649540044870.005475299080089750.997262350459955
320.002153940061986710.004307880123973410.997846059938013
330.001957840441348730.003915680882697470.998042159558651
340.001036998612689640.002073997225379290.99896300138731
350.0005628967154052220.001125793430810440.999437103284595
360.0003659645426300080.0007319290852600160.99963403545737
370.0002264727000346840.0004529454000693690.999773527299965
380.0001167066199129090.0002334132398258190.999883293380087
398.8398809469723e-050.0001767976189394460.99991160119053
408.23543010185547e-050.0001647086020371090.999917645698981
415.48794215708293e-050.0001097588431416590.999945120578429
420.0003159314554920300.0006318629109840610.999684068544508
430.0002997674063778220.0005995348127556430.999700232593622
440.0001854215755436370.0003708431510872740.999814578424456

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.340523366763010 & 0.681046733526019 & 0.65947663323699 \tabularnewline
17 & 0.190631672118788 & 0.381263344237575 & 0.809368327881212 \tabularnewline
18 & 0.120872496787426 & 0.241744993574852 & 0.879127503212574 \tabularnewline
19 & 0.0918613788941034 & 0.183722757788207 & 0.908138621105897 \tabularnewline
20 & 0.0466448579465752 & 0.0932897158931503 & 0.953355142053425 \tabularnewline
21 & 0.0221573365431769 & 0.0443146730863538 & 0.977842663456823 \tabularnewline
22 & 0.0113052098023253 & 0.0226104196046507 & 0.988694790197675 \tabularnewline
23 & 0.0100507047525413 & 0.0201014095050825 & 0.989949295247459 \tabularnewline
24 & 0.0161866934512411 & 0.0323733869024822 & 0.98381330654876 \tabularnewline
25 & 0.0155884306828729 & 0.0311768613657457 & 0.984411569317127 \tabularnewline
26 & 0.0078012151007799 & 0.0156024302015598 & 0.99219878489922 \tabularnewline
27 & 0.00500861981846809 & 0.0100172396369362 & 0.994991380181532 \tabularnewline
28 & 0.00411414812951484 & 0.00822829625902968 & 0.995885851870485 \tabularnewline
29 & 0.00198377694342023 & 0.00396755388684045 & 0.99801622305658 \tabularnewline
30 & 0.00110171219642977 & 0.00220342439285953 & 0.99889828780357 \tabularnewline
31 & 0.00273764954004487 & 0.00547529908008975 & 0.997262350459955 \tabularnewline
32 & 0.00215394006198671 & 0.00430788012397341 & 0.997846059938013 \tabularnewline
33 & 0.00195784044134873 & 0.00391568088269747 & 0.998042159558651 \tabularnewline
34 & 0.00103699861268964 & 0.00207399722537929 & 0.99896300138731 \tabularnewline
35 & 0.000562896715405222 & 0.00112579343081044 & 0.999437103284595 \tabularnewline
36 & 0.000365964542630008 & 0.000731929085260016 & 0.99963403545737 \tabularnewline
37 & 0.000226472700034684 & 0.000452945400069369 & 0.999773527299965 \tabularnewline
38 & 0.000116706619912909 & 0.000233413239825819 & 0.999883293380087 \tabularnewline
39 & 8.8398809469723e-05 & 0.000176797618939446 & 0.99991160119053 \tabularnewline
40 & 8.23543010185547e-05 & 0.000164708602037109 & 0.999917645698981 \tabularnewline
41 & 5.48794215708293e-05 & 0.000109758843141659 & 0.999945120578429 \tabularnewline
42 & 0.000315931455492030 & 0.000631862910984061 & 0.999684068544508 \tabularnewline
43 & 0.000299767406377822 & 0.000599534812755643 & 0.999700232593622 \tabularnewline
44 & 0.000185421575543637 & 0.000370843151087274 & 0.999814578424456 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57540&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]16[/C][C]0.340523366763010[/C][C]0.681046733526019[/C][C]0.65947663323699[/C][/ROW]
[ROW][C]17[/C][C]0.190631672118788[/C][C]0.381263344237575[/C][C]0.809368327881212[/C][/ROW]
[ROW][C]18[/C][C]0.120872496787426[/C][C]0.241744993574852[/C][C]0.879127503212574[/C][/ROW]
[ROW][C]19[/C][C]0.0918613788941034[/C][C]0.183722757788207[/C][C]0.908138621105897[/C][/ROW]
[ROW][C]20[/C][C]0.0466448579465752[/C][C]0.0932897158931503[/C][C]0.953355142053425[/C][/ROW]
[ROW][C]21[/C][C]0.0221573365431769[/C][C]0.0443146730863538[/C][C]0.977842663456823[/C][/ROW]
[ROW][C]22[/C][C]0.0113052098023253[/C][C]0.0226104196046507[/C][C]0.988694790197675[/C][/ROW]
[ROW][C]23[/C][C]0.0100507047525413[/C][C]0.0201014095050825[/C][C]0.989949295247459[/C][/ROW]
[ROW][C]24[/C][C]0.0161866934512411[/C][C]0.0323733869024822[/C][C]0.98381330654876[/C][/ROW]
[ROW][C]25[/C][C]0.0155884306828729[/C][C]0.0311768613657457[/C][C]0.984411569317127[/C][/ROW]
[ROW][C]26[/C][C]0.0078012151007799[/C][C]0.0156024302015598[/C][C]0.99219878489922[/C][/ROW]
[ROW][C]27[/C][C]0.00500861981846809[/C][C]0.0100172396369362[/C][C]0.994991380181532[/C][/ROW]
[ROW][C]28[/C][C]0.00411414812951484[/C][C]0.00822829625902968[/C][C]0.995885851870485[/C][/ROW]
[ROW][C]29[/C][C]0.00198377694342023[/C][C]0.00396755388684045[/C][C]0.99801622305658[/C][/ROW]
[ROW][C]30[/C][C]0.00110171219642977[/C][C]0.00220342439285953[/C][C]0.99889828780357[/C][/ROW]
[ROW][C]31[/C][C]0.00273764954004487[/C][C]0.00547529908008975[/C][C]0.997262350459955[/C][/ROW]
[ROW][C]32[/C][C]0.00215394006198671[/C][C]0.00430788012397341[/C][C]0.997846059938013[/C][/ROW]
[ROW][C]33[/C][C]0.00195784044134873[/C][C]0.00391568088269747[/C][C]0.998042159558651[/C][/ROW]
[ROW][C]34[/C][C]0.00103699861268964[/C][C]0.00207399722537929[/C][C]0.99896300138731[/C][/ROW]
[ROW][C]35[/C][C]0.000562896715405222[/C][C]0.00112579343081044[/C][C]0.999437103284595[/C][/ROW]
[ROW][C]36[/C][C]0.000365964542630008[/C][C]0.000731929085260016[/C][C]0.99963403545737[/C][/ROW]
[ROW][C]37[/C][C]0.000226472700034684[/C][C]0.000452945400069369[/C][C]0.999773527299965[/C][/ROW]
[ROW][C]38[/C][C]0.000116706619912909[/C][C]0.000233413239825819[/C][C]0.999883293380087[/C][/ROW]
[ROW][C]39[/C][C]8.8398809469723e-05[/C][C]0.000176797618939446[/C][C]0.99991160119053[/C][/ROW]
[ROW][C]40[/C][C]8.23543010185547e-05[/C][C]0.000164708602037109[/C][C]0.999917645698981[/C][/ROW]
[ROW][C]41[/C][C]5.48794215708293e-05[/C][C]0.000109758843141659[/C][C]0.999945120578429[/C][/ROW]
[ROW][C]42[/C][C]0.000315931455492030[/C][C]0.000631862910984061[/C][C]0.999684068544508[/C][/ROW]
[ROW][C]43[/C][C]0.000299767406377822[/C][C]0.000599534812755643[/C][C]0.999700232593622[/C][/ROW]
[ROW][C]44[/C][C]0.000185421575543637[/C][C]0.000370843151087274[/C][C]0.999814578424456[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57540&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57540&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
160.3405233667630100.6810467335260190.65947663323699
170.1906316721187880.3812633442375750.809368327881212
180.1208724967874260.2417449935748520.879127503212574
190.09186137889410340.1837227577882070.908138621105897
200.04664485794657520.09328971589315030.953355142053425
210.02215733654317690.04431467308635380.977842663456823
220.01130520980232530.02261041960465070.988694790197675
230.01005070475254130.02010140950508250.989949295247459
240.01618669345124110.03237338690248220.98381330654876
250.01558843068287290.03117686136574570.984411569317127
260.00780121510077990.01560243020155980.99219878489922
270.005008619818468090.01001723963693620.994991380181532
280.004114148129514840.008228296259029680.995885851870485
290.001983776943420230.003967553886840450.99801622305658
300.001101712196429770.002203424392859530.99889828780357
310.002737649540044870.005475299080089750.997262350459955
320.002153940061986710.004307880123973410.997846059938013
330.001957840441348730.003915680882697470.998042159558651
340.001036998612689640.002073997225379290.99896300138731
350.0005628967154052220.001125793430810440.999437103284595
360.0003659645426300080.0007319290852600160.99963403545737
370.0002264727000346840.0004529454000693690.999773527299965
380.0001167066199129090.0002334132398258190.999883293380087
398.8398809469723e-050.0001767976189394460.99991160119053
408.23543010185547e-050.0001647086020371090.999917645698981
415.48794215708293e-050.0001097588431416590.999945120578429
420.0003159314554920300.0006318629109840610.999684068544508
430.0002997674063778220.0005995348127556430.999700232593622
440.0001854215755436370.0003708431510872740.999814578424456







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level170.586206896551724NOK
5% type I error level240.827586206896552NOK
10% type I error level250.862068965517241NOK

\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 & 17 & 0.586206896551724 & NOK \tabularnewline
5% type I error level & 24 & 0.827586206896552 & NOK \tabularnewline
10% type I error level & 25 & 0.862068965517241 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57540&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]17[/C][C]0.586206896551724[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]24[/C][C]0.827586206896552[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]25[/C][C]0.862068965517241[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57540&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57540&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 level170.586206896551724NOK
5% type I error level240.827586206896552NOK
10% type I error level250.862068965517241NOK



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