Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationThu, 19 Nov 2009 13:33:39 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Nov/19/t1258662875r2p54445uch6abd.htm/, Retrieved Thu, 25 Apr 2024 21:21:04 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=57938, Retrieved Thu, 25 Apr 2024 21:21:04 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact121
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] [multi 2e link] [2009-11-19 20:33:39] [244731fa3e7e6c85774b8c0902c58f85] [Current]
Feedback Forum

Post a new message
Dataseries X:
0	6,3
0	6,2
0	6,1
0	6,3
0	6,5
0	6,6
0	6,5
0	6,2
0	6,2
0	5,9
0	6,1
0	6,1
0	6,1
0	6,1
0	6,1
0	6,4
0	6,7
0	6,9
0	7
0	7
0	6,8
0	6,4
0	5,9
0	5,5
0	5,5
0	5,6
0	5,8
0	5,9
0	6,1
0	6,1
0	6
0	6
0	5,9
0	5,5
0	5,6
0	5,4
0	5,2
0	5,2
0	5,2
0	5,5
1	5,8
1	5,8
1	5,5
1	5,3
1	5,1
1	5,2
1	5,8
1	5,8
1	5,5
1	5
1	4,9
1	5,3
1	6,1
1	6,5
1	6,8
1	6,6
1	6,4
1	6,4




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

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

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

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

As an alternative you can also use a QR Code:  

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

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







Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 5.8031512605042 -0.412605042016806X[t] -0.000630252100846359M1[t] -0.100630252100840M2[t] -0.100630252100840M3[t] + 0.159369747899159M4[t] + 0.60189075630252M5[t] + 0.741890756302521M6[t] + 0.721890756302521M7[t] + 0.581890756302521M8[t] + 0.441890756302521M9[t] + 0.241890756302521M10[t] + 0.15M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  5.8031512605042 -0.412605042016806X[t] -0.000630252100846359M1[t] -0.100630252100840M2[t] -0.100630252100840M3[t] +  0.159369747899159M4[t] +  0.60189075630252M5[t] +  0.741890756302521M6[t] +  0.721890756302521M7[t] +  0.581890756302521M8[t] +  0.441890756302521M9[t] +  0.241890756302521M10[t] +  0.15M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57938&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  5.8031512605042 -0.412605042016806X[t] -0.000630252100846359M1[t] -0.100630252100840M2[t] -0.100630252100840M3[t] +  0.159369747899159M4[t] +  0.60189075630252M5[t] +  0.741890756302521M6[t] +  0.721890756302521M7[t] +  0.581890756302521M8[t] +  0.441890756302521M9[t] +  0.241890756302521M10[t] +  0.15M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57938&T=1

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

As an alternative you can also use a QR Code:  

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

Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 5.8031512605042 -0.412605042016806X[t] -0.000630252100846359M1[t] -0.100630252100840M2[t] -0.100630252100840M3[t] + 0.159369747899159M4[t] + 0.60189075630252M5[t] + 0.741890756302521M6[t] + 0.721890756302521M7[t] + 0.581890756302521M8[t] + 0.441890756302521M9[t] + 0.241890756302521M10[t] + 0.15M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)5.80315126050420.23422824.775600
X-0.4126050420168060.134394-3.07010.0036210.001811
M1-0.0006302521008463590.311073-0.0020.9983920.499196
M2-0.1006302521008400.311073-0.32350.747820.37391
M3-0.1006302521008400.311073-0.32350.747820.37391
M40.1593697478991590.3110730.51230.610930.305465
M50.601890756302520.3116531.93130.0597610.02988
M60.7418907563025210.3116532.38050.0215840.010792
M70.7218907563025210.3116532.31630.0251520.012576
M80.5818907563025210.3116531.86710.0684080.034204
M90.4418907563025210.3116531.41790.163110.081555
M100.2418907563025210.3116530.77620.4417180.220859
M110.150.3278230.45760.6494670.324734

\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) & 5.8031512605042 & 0.234228 & 24.7756 & 0 & 0 \tabularnewline
X & -0.412605042016806 & 0.134394 & -3.0701 & 0.003621 & 0.001811 \tabularnewline
M1 & -0.000630252100846359 & 0.311073 & -0.002 & 0.998392 & 0.499196 \tabularnewline
M2 & -0.100630252100840 & 0.311073 & -0.3235 & 0.74782 & 0.37391 \tabularnewline
M3 & -0.100630252100840 & 0.311073 & -0.3235 & 0.74782 & 0.37391 \tabularnewline
M4 & 0.159369747899159 & 0.311073 & 0.5123 & 0.61093 & 0.305465 \tabularnewline
M5 & 0.60189075630252 & 0.311653 & 1.9313 & 0.059761 & 0.02988 \tabularnewline
M6 & 0.741890756302521 & 0.311653 & 2.3805 & 0.021584 & 0.010792 \tabularnewline
M7 & 0.721890756302521 & 0.311653 & 2.3163 & 0.025152 & 0.012576 \tabularnewline
M8 & 0.581890756302521 & 0.311653 & 1.8671 & 0.068408 & 0.034204 \tabularnewline
M9 & 0.441890756302521 & 0.311653 & 1.4179 & 0.16311 & 0.081555 \tabularnewline
M10 & 0.241890756302521 & 0.311653 & 0.7762 & 0.441718 & 0.220859 \tabularnewline
M11 & 0.15 & 0.327823 & 0.4576 & 0.649467 & 0.324734 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57938&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]5.8031512605042[/C][C]0.234228[/C][C]24.7756[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]X[/C][C]-0.412605042016806[/C][C]0.134394[/C][C]-3.0701[/C][C]0.003621[/C][C]0.001811[/C][/ROW]
[ROW][C]M1[/C][C]-0.000630252100846359[/C][C]0.311073[/C][C]-0.002[/C][C]0.998392[/C][C]0.499196[/C][/ROW]
[ROW][C]M2[/C][C]-0.100630252100840[/C][C]0.311073[/C][C]-0.3235[/C][C]0.74782[/C][C]0.37391[/C][/ROW]
[ROW][C]M3[/C][C]-0.100630252100840[/C][C]0.311073[/C][C]-0.3235[/C][C]0.74782[/C][C]0.37391[/C][/ROW]
[ROW][C]M4[/C][C]0.159369747899159[/C][C]0.311073[/C][C]0.5123[/C][C]0.61093[/C][C]0.305465[/C][/ROW]
[ROW][C]M5[/C][C]0.60189075630252[/C][C]0.311653[/C][C]1.9313[/C][C]0.059761[/C][C]0.02988[/C][/ROW]
[ROW][C]M6[/C][C]0.741890756302521[/C][C]0.311653[/C][C]2.3805[/C][C]0.021584[/C][C]0.010792[/C][/ROW]
[ROW][C]M7[/C][C]0.721890756302521[/C][C]0.311653[/C][C]2.3163[/C][C]0.025152[/C][C]0.012576[/C][/ROW]
[ROW][C]M8[/C][C]0.581890756302521[/C][C]0.311653[/C][C]1.8671[/C][C]0.068408[/C][C]0.034204[/C][/ROW]
[ROW][C]M9[/C][C]0.441890756302521[/C][C]0.311653[/C][C]1.4179[/C][C]0.16311[/C][C]0.081555[/C][/ROW]
[ROW][C]M10[/C][C]0.241890756302521[/C][C]0.311653[/C][C]0.7762[/C][C]0.441718[/C][C]0.220859[/C][/ROW]
[ROW][C]M11[/C][C]0.15[/C][C]0.327823[/C][C]0.4576[/C][C]0.649467[/C][C]0.324734[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57938&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57938&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)5.80315126050420.23422824.775600
X-0.4126050420168060.134394-3.07010.0036210.001811
M1-0.0006302521008463590.311073-0.0020.9983920.499196
M2-0.1006302521008400.311073-0.32350.747820.37391
M3-0.1006302521008400.311073-0.32350.747820.37391
M40.1593697478991590.3110730.51230.610930.305465
M50.601890756302520.3116531.93130.0597610.02988
M60.7418907563025210.3116532.38050.0215840.010792
M70.7218907563025210.3116532.31630.0251520.012576
M80.5818907563025210.3116531.86710.0684080.034204
M90.4418907563025210.3116531.41790.163110.081555
M100.2418907563025210.3116530.77620.4417180.220859
M110.150.3278230.45760.6494670.324734







Multiple Linear Regression - Regression Statistics
Multiple R0.629006732730117
R-squared0.395649469819817
Adjusted R-squared0.234489328438435
F-TEST (value)2.45500820754135
F-TEST (DF numerator)12
F-TEST (DF denominator)45
p-value0.0147483021027165
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.463611648873337
Sum Squared Residuals9.67210924369745

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.629006732730117 \tabularnewline
R-squared & 0.395649469819817 \tabularnewline
Adjusted R-squared & 0.234489328438435 \tabularnewline
F-TEST (value) & 2.45500820754135 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 45 \tabularnewline
p-value & 0.0147483021027165 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.463611648873337 \tabularnewline
Sum Squared Residuals & 9.67210924369745 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57938&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.629006732730117[/C][/ROW]
[ROW][C]R-squared[/C][C]0.395649469819817[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.234489328438435[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]2.45500820754135[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]45[/C][/ROW]
[ROW][C]p-value[/C][C]0.0147483021027165[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]0.463611648873337[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]9.67210924369745[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57938&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57938&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.629006732730117
R-squared0.395649469819817
Adjusted R-squared0.234489328438435
F-TEST (value)2.45500820754135
F-TEST (DF numerator)12
F-TEST (DF denominator)45
p-value0.0147483021027165
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.463611648873337
Sum Squared Residuals9.67210924369745







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
16.35.802521008403390.497478991596615
26.25.702521008403360.497478991596639
36.15.702521008403360.397478991596638
46.35.962521008403360.337478991596638
56.56.405042016806720.0949579831932773
66.66.545042016806720.0549579831932784
76.56.52504201680672-0.0250420168067217
86.26.38504201680672-0.185042016806723
96.26.24504201680672-0.0450420168067223
105.96.04504201680672-0.145042016806723
116.15.95315126050420.146848739495799
126.15.80315126050420.296848739495798
136.15.802521008403350.297478991596645
146.15.702521008403360.397478991596639
156.15.702521008403360.397478991596639
166.45.962521008403360.437478991596639
176.76.405042016806720.294957983193278
186.96.545042016806720.354957983193278
1976.525042016806720.474957983193277
2076.385042016806720.614957983193277
216.86.245042016806720.554957983193277
226.46.045042016806720.354957983193278
235.95.9531512605042-0.0531512605042011
245.55.8031512605042-0.303151260504202
255.55.80252100840335-0.302521008403355
265.65.70252100840336-0.102521008403362
275.85.702521008403360.0974789915966388
285.95.96252100840336-0.0625210084033609
296.16.40504201680672-0.305042016806723
306.16.54504201680672-0.445042016806723
3166.52504201680672-0.525042016806723
3266.38504201680672-0.385042016806722
335.96.24504201680672-0.345042016806722
345.56.04504201680672-0.545042016806723
355.65.9531512605042-0.353151260504202
365.45.8031512605042-0.403151260504201
375.25.80252100840335-0.602521008403355
385.25.70252100840336-0.502521008403361
395.25.70252100840336-0.502521008403361
405.55.96252100840336-0.462521008403361
415.85.99243697478992-0.192436974789916
425.86.13243697478992-0.332436974789916
435.56.11243697478992-0.612436974789917
445.35.97243697478992-0.672436974789916
455.15.83243697478992-0.732436974789917
465.25.63243697478992-0.432436974789916
475.85.54054621848740.259453781512605
485.85.39054621848740.409453781512605
495.55.389915966386550.110084033613451
5055.28991596638655-0.289915966386555
514.95.28991596638655-0.389915966386555
525.35.54991596638656-0.249915966386555
536.15.992436974789920.107563025210084
546.56.132436974789920.367563025210084
556.86.112436974789920.687563025210083
566.65.972436974789920.627563025210084
576.45.832436974789920.567563025210084
586.45.632436974789920.767563025210084

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 6.3 & 5.80252100840339 & 0.497478991596615 \tabularnewline
2 & 6.2 & 5.70252100840336 & 0.497478991596639 \tabularnewline
3 & 6.1 & 5.70252100840336 & 0.397478991596638 \tabularnewline
4 & 6.3 & 5.96252100840336 & 0.337478991596638 \tabularnewline
5 & 6.5 & 6.40504201680672 & 0.0949579831932773 \tabularnewline
6 & 6.6 & 6.54504201680672 & 0.0549579831932784 \tabularnewline
7 & 6.5 & 6.52504201680672 & -0.0250420168067217 \tabularnewline
8 & 6.2 & 6.38504201680672 & -0.185042016806723 \tabularnewline
9 & 6.2 & 6.24504201680672 & -0.0450420168067223 \tabularnewline
10 & 5.9 & 6.04504201680672 & -0.145042016806723 \tabularnewline
11 & 6.1 & 5.9531512605042 & 0.146848739495799 \tabularnewline
12 & 6.1 & 5.8031512605042 & 0.296848739495798 \tabularnewline
13 & 6.1 & 5.80252100840335 & 0.297478991596645 \tabularnewline
14 & 6.1 & 5.70252100840336 & 0.397478991596639 \tabularnewline
15 & 6.1 & 5.70252100840336 & 0.397478991596639 \tabularnewline
16 & 6.4 & 5.96252100840336 & 0.437478991596639 \tabularnewline
17 & 6.7 & 6.40504201680672 & 0.294957983193278 \tabularnewline
18 & 6.9 & 6.54504201680672 & 0.354957983193278 \tabularnewline
19 & 7 & 6.52504201680672 & 0.474957983193277 \tabularnewline
20 & 7 & 6.38504201680672 & 0.614957983193277 \tabularnewline
21 & 6.8 & 6.24504201680672 & 0.554957983193277 \tabularnewline
22 & 6.4 & 6.04504201680672 & 0.354957983193278 \tabularnewline
23 & 5.9 & 5.9531512605042 & -0.0531512605042011 \tabularnewline
24 & 5.5 & 5.8031512605042 & -0.303151260504202 \tabularnewline
25 & 5.5 & 5.80252100840335 & -0.302521008403355 \tabularnewline
26 & 5.6 & 5.70252100840336 & -0.102521008403362 \tabularnewline
27 & 5.8 & 5.70252100840336 & 0.0974789915966388 \tabularnewline
28 & 5.9 & 5.96252100840336 & -0.0625210084033609 \tabularnewline
29 & 6.1 & 6.40504201680672 & -0.305042016806723 \tabularnewline
30 & 6.1 & 6.54504201680672 & -0.445042016806723 \tabularnewline
31 & 6 & 6.52504201680672 & -0.525042016806723 \tabularnewline
32 & 6 & 6.38504201680672 & -0.385042016806722 \tabularnewline
33 & 5.9 & 6.24504201680672 & -0.345042016806722 \tabularnewline
34 & 5.5 & 6.04504201680672 & -0.545042016806723 \tabularnewline
35 & 5.6 & 5.9531512605042 & -0.353151260504202 \tabularnewline
36 & 5.4 & 5.8031512605042 & -0.403151260504201 \tabularnewline
37 & 5.2 & 5.80252100840335 & -0.602521008403355 \tabularnewline
38 & 5.2 & 5.70252100840336 & -0.502521008403361 \tabularnewline
39 & 5.2 & 5.70252100840336 & -0.502521008403361 \tabularnewline
40 & 5.5 & 5.96252100840336 & -0.462521008403361 \tabularnewline
41 & 5.8 & 5.99243697478992 & -0.192436974789916 \tabularnewline
42 & 5.8 & 6.13243697478992 & -0.332436974789916 \tabularnewline
43 & 5.5 & 6.11243697478992 & -0.612436974789917 \tabularnewline
44 & 5.3 & 5.97243697478992 & -0.672436974789916 \tabularnewline
45 & 5.1 & 5.83243697478992 & -0.732436974789917 \tabularnewline
46 & 5.2 & 5.63243697478992 & -0.432436974789916 \tabularnewline
47 & 5.8 & 5.5405462184874 & 0.259453781512605 \tabularnewline
48 & 5.8 & 5.3905462184874 & 0.409453781512605 \tabularnewline
49 & 5.5 & 5.38991596638655 & 0.110084033613451 \tabularnewline
50 & 5 & 5.28991596638655 & -0.289915966386555 \tabularnewline
51 & 4.9 & 5.28991596638655 & -0.389915966386555 \tabularnewline
52 & 5.3 & 5.54991596638656 & -0.249915966386555 \tabularnewline
53 & 6.1 & 5.99243697478992 & 0.107563025210084 \tabularnewline
54 & 6.5 & 6.13243697478992 & 0.367563025210084 \tabularnewline
55 & 6.8 & 6.11243697478992 & 0.687563025210083 \tabularnewline
56 & 6.6 & 5.97243697478992 & 0.627563025210084 \tabularnewline
57 & 6.4 & 5.83243697478992 & 0.567563025210084 \tabularnewline
58 & 6.4 & 5.63243697478992 & 0.767563025210084 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57938&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]6.3[/C][C]5.80252100840339[/C][C]0.497478991596615[/C][/ROW]
[ROW][C]2[/C][C]6.2[/C][C]5.70252100840336[/C][C]0.497478991596639[/C][/ROW]
[ROW][C]3[/C][C]6.1[/C][C]5.70252100840336[/C][C]0.397478991596638[/C][/ROW]
[ROW][C]4[/C][C]6.3[/C][C]5.96252100840336[/C][C]0.337478991596638[/C][/ROW]
[ROW][C]5[/C][C]6.5[/C][C]6.40504201680672[/C][C]0.0949579831932773[/C][/ROW]
[ROW][C]6[/C][C]6.6[/C][C]6.54504201680672[/C][C]0.0549579831932784[/C][/ROW]
[ROW][C]7[/C][C]6.5[/C][C]6.52504201680672[/C][C]-0.0250420168067217[/C][/ROW]
[ROW][C]8[/C][C]6.2[/C][C]6.38504201680672[/C][C]-0.185042016806723[/C][/ROW]
[ROW][C]9[/C][C]6.2[/C][C]6.24504201680672[/C][C]-0.0450420168067223[/C][/ROW]
[ROW][C]10[/C][C]5.9[/C][C]6.04504201680672[/C][C]-0.145042016806723[/C][/ROW]
[ROW][C]11[/C][C]6.1[/C][C]5.9531512605042[/C][C]0.146848739495799[/C][/ROW]
[ROW][C]12[/C][C]6.1[/C][C]5.8031512605042[/C][C]0.296848739495798[/C][/ROW]
[ROW][C]13[/C][C]6.1[/C][C]5.80252100840335[/C][C]0.297478991596645[/C][/ROW]
[ROW][C]14[/C][C]6.1[/C][C]5.70252100840336[/C][C]0.397478991596639[/C][/ROW]
[ROW][C]15[/C][C]6.1[/C][C]5.70252100840336[/C][C]0.397478991596639[/C][/ROW]
[ROW][C]16[/C][C]6.4[/C][C]5.96252100840336[/C][C]0.437478991596639[/C][/ROW]
[ROW][C]17[/C][C]6.7[/C][C]6.40504201680672[/C][C]0.294957983193278[/C][/ROW]
[ROW][C]18[/C][C]6.9[/C][C]6.54504201680672[/C][C]0.354957983193278[/C][/ROW]
[ROW][C]19[/C][C]7[/C][C]6.52504201680672[/C][C]0.474957983193277[/C][/ROW]
[ROW][C]20[/C][C]7[/C][C]6.38504201680672[/C][C]0.614957983193277[/C][/ROW]
[ROW][C]21[/C][C]6.8[/C][C]6.24504201680672[/C][C]0.554957983193277[/C][/ROW]
[ROW][C]22[/C][C]6.4[/C][C]6.04504201680672[/C][C]0.354957983193278[/C][/ROW]
[ROW][C]23[/C][C]5.9[/C][C]5.9531512605042[/C][C]-0.0531512605042011[/C][/ROW]
[ROW][C]24[/C][C]5.5[/C][C]5.8031512605042[/C][C]-0.303151260504202[/C][/ROW]
[ROW][C]25[/C][C]5.5[/C][C]5.80252100840335[/C][C]-0.302521008403355[/C][/ROW]
[ROW][C]26[/C][C]5.6[/C][C]5.70252100840336[/C][C]-0.102521008403362[/C][/ROW]
[ROW][C]27[/C][C]5.8[/C][C]5.70252100840336[/C][C]0.0974789915966388[/C][/ROW]
[ROW][C]28[/C][C]5.9[/C][C]5.96252100840336[/C][C]-0.0625210084033609[/C][/ROW]
[ROW][C]29[/C][C]6.1[/C][C]6.40504201680672[/C][C]-0.305042016806723[/C][/ROW]
[ROW][C]30[/C][C]6.1[/C][C]6.54504201680672[/C][C]-0.445042016806723[/C][/ROW]
[ROW][C]31[/C][C]6[/C][C]6.52504201680672[/C][C]-0.525042016806723[/C][/ROW]
[ROW][C]32[/C][C]6[/C][C]6.38504201680672[/C][C]-0.385042016806722[/C][/ROW]
[ROW][C]33[/C][C]5.9[/C][C]6.24504201680672[/C][C]-0.345042016806722[/C][/ROW]
[ROW][C]34[/C][C]5.5[/C][C]6.04504201680672[/C][C]-0.545042016806723[/C][/ROW]
[ROW][C]35[/C][C]5.6[/C][C]5.9531512605042[/C][C]-0.353151260504202[/C][/ROW]
[ROW][C]36[/C][C]5.4[/C][C]5.8031512605042[/C][C]-0.403151260504201[/C][/ROW]
[ROW][C]37[/C][C]5.2[/C][C]5.80252100840335[/C][C]-0.602521008403355[/C][/ROW]
[ROW][C]38[/C][C]5.2[/C][C]5.70252100840336[/C][C]-0.502521008403361[/C][/ROW]
[ROW][C]39[/C][C]5.2[/C][C]5.70252100840336[/C][C]-0.502521008403361[/C][/ROW]
[ROW][C]40[/C][C]5.5[/C][C]5.96252100840336[/C][C]-0.462521008403361[/C][/ROW]
[ROW][C]41[/C][C]5.8[/C][C]5.99243697478992[/C][C]-0.192436974789916[/C][/ROW]
[ROW][C]42[/C][C]5.8[/C][C]6.13243697478992[/C][C]-0.332436974789916[/C][/ROW]
[ROW][C]43[/C][C]5.5[/C][C]6.11243697478992[/C][C]-0.612436974789917[/C][/ROW]
[ROW][C]44[/C][C]5.3[/C][C]5.97243697478992[/C][C]-0.672436974789916[/C][/ROW]
[ROW][C]45[/C][C]5.1[/C][C]5.83243697478992[/C][C]-0.732436974789917[/C][/ROW]
[ROW][C]46[/C][C]5.2[/C][C]5.63243697478992[/C][C]-0.432436974789916[/C][/ROW]
[ROW][C]47[/C][C]5.8[/C][C]5.5405462184874[/C][C]0.259453781512605[/C][/ROW]
[ROW][C]48[/C][C]5.8[/C][C]5.3905462184874[/C][C]0.409453781512605[/C][/ROW]
[ROW][C]49[/C][C]5.5[/C][C]5.38991596638655[/C][C]0.110084033613451[/C][/ROW]
[ROW][C]50[/C][C]5[/C][C]5.28991596638655[/C][C]-0.289915966386555[/C][/ROW]
[ROW][C]51[/C][C]4.9[/C][C]5.28991596638655[/C][C]-0.389915966386555[/C][/ROW]
[ROW][C]52[/C][C]5.3[/C][C]5.54991596638656[/C][C]-0.249915966386555[/C][/ROW]
[ROW][C]53[/C][C]6.1[/C][C]5.99243697478992[/C][C]0.107563025210084[/C][/ROW]
[ROW][C]54[/C][C]6.5[/C][C]6.13243697478992[/C][C]0.367563025210084[/C][/ROW]
[ROW][C]55[/C][C]6.8[/C][C]6.11243697478992[/C][C]0.687563025210083[/C][/ROW]
[ROW][C]56[/C][C]6.6[/C][C]5.97243697478992[/C][C]0.627563025210084[/C][/ROW]
[ROW][C]57[/C][C]6.4[/C][C]5.83243697478992[/C][C]0.567563025210084[/C][/ROW]
[ROW][C]58[/C][C]6.4[/C][C]5.63243697478992[/C][C]0.767563025210084[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57938&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57938&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
16.35.802521008403390.497478991596615
26.25.702521008403360.497478991596639
36.15.702521008403360.397478991596638
46.35.962521008403360.337478991596638
56.56.405042016806720.0949579831932773
66.66.545042016806720.0549579831932784
76.56.52504201680672-0.0250420168067217
86.26.38504201680672-0.185042016806723
96.26.24504201680672-0.0450420168067223
105.96.04504201680672-0.145042016806723
116.15.95315126050420.146848739495799
126.15.80315126050420.296848739495798
136.15.802521008403350.297478991596645
146.15.702521008403360.397478991596639
156.15.702521008403360.397478991596639
166.45.962521008403360.437478991596639
176.76.405042016806720.294957983193278
186.96.545042016806720.354957983193278
1976.525042016806720.474957983193277
2076.385042016806720.614957983193277
216.86.245042016806720.554957983193277
226.46.045042016806720.354957983193278
235.95.9531512605042-0.0531512605042011
245.55.8031512605042-0.303151260504202
255.55.80252100840335-0.302521008403355
265.65.70252100840336-0.102521008403362
275.85.702521008403360.0974789915966388
285.95.96252100840336-0.0625210084033609
296.16.40504201680672-0.305042016806723
306.16.54504201680672-0.445042016806723
3166.52504201680672-0.525042016806723
3266.38504201680672-0.385042016806722
335.96.24504201680672-0.345042016806722
345.56.04504201680672-0.545042016806723
355.65.9531512605042-0.353151260504202
365.45.8031512605042-0.403151260504201
375.25.80252100840335-0.602521008403355
385.25.70252100840336-0.502521008403361
395.25.70252100840336-0.502521008403361
405.55.96252100840336-0.462521008403361
415.85.99243697478992-0.192436974789916
425.86.13243697478992-0.332436974789916
435.56.11243697478992-0.612436974789917
445.35.97243697478992-0.672436974789916
455.15.83243697478992-0.732436974789917
465.25.63243697478992-0.432436974789916
475.85.54054621848740.259453781512605
485.85.39054621848740.409453781512605
495.55.389915966386550.110084033613451
5055.28991596638655-0.289915966386555
514.95.28991596638655-0.389915966386555
525.35.54991596638656-0.249915966386555
536.15.992436974789920.107563025210084
546.56.132436974789920.367563025210084
556.86.112436974789920.687563025210083
566.65.972436974789920.627563025210084
576.45.832436974789920.567563025210084
586.45.632436974789920.767563025210084







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.01132083332795070.02264166665590150.98867916667205
170.005147892524808990.01029578504961800.99485210747519
180.00484841024943930.00969682049887860.99515158975056
190.01352357819777980.02704715639555970.98647642180222
200.0760964614574030.1521929229148060.923903538542597
210.1139854442672350.2279708885344710.886014555732765
220.1190101489549970.2380202979099940.880989851045003
230.07521082539572130.1504216507914430.924789174604279
240.07802402264208350.1560480452841670.921975977357916
250.1093592073222380.2187184146444760.890640792677762
260.1158282812164120.2316565624328250.884171718783588
270.1085785888164810.2171571776329620.89142141118352
280.1026282318638160.2052564637276330.897371768136184
290.08949712698113490.1789942539622700.910502873018865
300.09006662107555180.1801332421511040.909933378924448
310.09863502394494950.1972700478898990.90136497605505
320.08518405409510670.1703681081902130.914815945904893
330.07281023136008260.1456204627201650.927189768639917
340.06362870289198420.1272574057839680.936371297108016
350.04268166688621870.08536333377243750.957318333113781
360.03015156362608040.06030312725216070.96984843637392
370.03049470195255040.06098940390510080.96950529804745
380.02498528281266650.04997056562533310.975014717187333
390.01949855574594800.03899711149189590.980501444254052
400.01243438511476070.02486877022952140.98756561488524
410.005405327096616720.01081065419323340.994594672903383
420.00275550122175460.00551100244350920.997244498778245

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.0113208333279507 & 0.0226416666559015 & 0.98867916667205 \tabularnewline
17 & 0.00514789252480899 & 0.0102957850496180 & 0.99485210747519 \tabularnewline
18 & 0.0048484102494393 & 0.0096968204988786 & 0.99515158975056 \tabularnewline
19 & 0.0135235781977798 & 0.0270471563955597 & 0.98647642180222 \tabularnewline
20 & 0.076096461457403 & 0.152192922914806 & 0.923903538542597 \tabularnewline
21 & 0.113985444267235 & 0.227970888534471 & 0.886014555732765 \tabularnewline
22 & 0.119010148954997 & 0.238020297909994 & 0.880989851045003 \tabularnewline
23 & 0.0752108253957213 & 0.150421650791443 & 0.924789174604279 \tabularnewline
24 & 0.0780240226420835 & 0.156048045284167 & 0.921975977357916 \tabularnewline
25 & 0.109359207322238 & 0.218718414644476 & 0.890640792677762 \tabularnewline
26 & 0.115828281216412 & 0.231656562432825 & 0.884171718783588 \tabularnewline
27 & 0.108578588816481 & 0.217157177632962 & 0.89142141118352 \tabularnewline
28 & 0.102628231863816 & 0.205256463727633 & 0.897371768136184 \tabularnewline
29 & 0.0894971269811349 & 0.178994253962270 & 0.910502873018865 \tabularnewline
30 & 0.0900666210755518 & 0.180133242151104 & 0.909933378924448 \tabularnewline
31 & 0.0986350239449495 & 0.197270047889899 & 0.90136497605505 \tabularnewline
32 & 0.0851840540951067 & 0.170368108190213 & 0.914815945904893 \tabularnewline
33 & 0.0728102313600826 & 0.145620462720165 & 0.927189768639917 \tabularnewline
34 & 0.0636287028919842 & 0.127257405783968 & 0.936371297108016 \tabularnewline
35 & 0.0426816668862187 & 0.0853633337724375 & 0.957318333113781 \tabularnewline
36 & 0.0301515636260804 & 0.0603031272521607 & 0.96984843637392 \tabularnewline
37 & 0.0304947019525504 & 0.0609894039051008 & 0.96950529804745 \tabularnewline
38 & 0.0249852828126665 & 0.0499705656253331 & 0.975014717187333 \tabularnewline
39 & 0.0194985557459480 & 0.0389971114918959 & 0.980501444254052 \tabularnewline
40 & 0.0124343851147607 & 0.0248687702295214 & 0.98756561488524 \tabularnewline
41 & 0.00540532709661672 & 0.0108106541932334 & 0.994594672903383 \tabularnewline
42 & 0.0027555012217546 & 0.0055110024435092 & 0.997244498778245 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57938&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.0113208333279507[/C][C]0.0226416666559015[/C][C]0.98867916667205[/C][/ROW]
[ROW][C]17[/C][C]0.00514789252480899[/C][C]0.0102957850496180[/C][C]0.99485210747519[/C][/ROW]
[ROW][C]18[/C][C]0.0048484102494393[/C][C]0.0096968204988786[/C][C]0.99515158975056[/C][/ROW]
[ROW][C]19[/C][C]0.0135235781977798[/C][C]0.0270471563955597[/C][C]0.98647642180222[/C][/ROW]
[ROW][C]20[/C][C]0.076096461457403[/C][C]0.152192922914806[/C][C]0.923903538542597[/C][/ROW]
[ROW][C]21[/C][C]0.113985444267235[/C][C]0.227970888534471[/C][C]0.886014555732765[/C][/ROW]
[ROW][C]22[/C][C]0.119010148954997[/C][C]0.238020297909994[/C][C]0.880989851045003[/C][/ROW]
[ROW][C]23[/C][C]0.0752108253957213[/C][C]0.150421650791443[/C][C]0.924789174604279[/C][/ROW]
[ROW][C]24[/C][C]0.0780240226420835[/C][C]0.156048045284167[/C][C]0.921975977357916[/C][/ROW]
[ROW][C]25[/C][C]0.109359207322238[/C][C]0.218718414644476[/C][C]0.890640792677762[/C][/ROW]
[ROW][C]26[/C][C]0.115828281216412[/C][C]0.231656562432825[/C][C]0.884171718783588[/C][/ROW]
[ROW][C]27[/C][C]0.108578588816481[/C][C]0.217157177632962[/C][C]0.89142141118352[/C][/ROW]
[ROW][C]28[/C][C]0.102628231863816[/C][C]0.205256463727633[/C][C]0.897371768136184[/C][/ROW]
[ROW][C]29[/C][C]0.0894971269811349[/C][C]0.178994253962270[/C][C]0.910502873018865[/C][/ROW]
[ROW][C]30[/C][C]0.0900666210755518[/C][C]0.180133242151104[/C][C]0.909933378924448[/C][/ROW]
[ROW][C]31[/C][C]0.0986350239449495[/C][C]0.197270047889899[/C][C]0.90136497605505[/C][/ROW]
[ROW][C]32[/C][C]0.0851840540951067[/C][C]0.170368108190213[/C][C]0.914815945904893[/C][/ROW]
[ROW][C]33[/C][C]0.0728102313600826[/C][C]0.145620462720165[/C][C]0.927189768639917[/C][/ROW]
[ROW][C]34[/C][C]0.0636287028919842[/C][C]0.127257405783968[/C][C]0.936371297108016[/C][/ROW]
[ROW][C]35[/C][C]0.0426816668862187[/C][C]0.0853633337724375[/C][C]0.957318333113781[/C][/ROW]
[ROW][C]36[/C][C]0.0301515636260804[/C][C]0.0603031272521607[/C][C]0.96984843637392[/C][/ROW]
[ROW][C]37[/C][C]0.0304947019525504[/C][C]0.0609894039051008[/C][C]0.96950529804745[/C][/ROW]
[ROW][C]38[/C][C]0.0249852828126665[/C][C]0.0499705656253331[/C][C]0.975014717187333[/C][/ROW]
[ROW][C]39[/C][C]0.0194985557459480[/C][C]0.0389971114918959[/C][C]0.980501444254052[/C][/ROW]
[ROW][C]40[/C][C]0.0124343851147607[/C][C]0.0248687702295214[/C][C]0.98756561488524[/C][/ROW]
[ROW][C]41[/C][C]0.00540532709661672[/C][C]0.0108106541932334[/C][C]0.994594672903383[/C][/ROW]
[ROW][C]42[/C][C]0.0027555012217546[/C][C]0.0055110024435092[/C][C]0.997244498778245[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57938&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57938&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.01132083332795070.02264166665590150.98867916667205
170.005147892524808990.01029578504961800.99485210747519
180.00484841024943930.00969682049887860.99515158975056
190.01352357819777980.02704715639555970.98647642180222
200.0760964614574030.1521929229148060.923903538542597
210.1139854442672350.2279708885344710.886014555732765
220.1190101489549970.2380202979099940.880989851045003
230.07521082539572130.1504216507914430.924789174604279
240.07802402264208350.1560480452841670.921975977357916
250.1093592073222380.2187184146444760.890640792677762
260.1158282812164120.2316565624328250.884171718783588
270.1085785888164810.2171571776329620.89142141118352
280.1026282318638160.2052564637276330.897371768136184
290.08949712698113490.1789942539622700.910502873018865
300.09006662107555180.1801332421511040.909933378924448
310.09863502394494950.1972700478898990.90136497605505
320.08518405409510670.1703681081902130.914815945904893
330.07281023136008260.1456204627201650.927189768639917
340.06362870289198420.1272574057839680.936371297108016
350.04268166688621870.08536333377243750.957318333113781
360.03015156362608040.06030312725216070.96984843637392
370.03049470195255040.06098940390510080.96950529804745
380.02498528281266650.04997056562533310.975014717187333
390.01949855574594800.03899711149189590.980501444254052
400.01243438511476070.02486877022952140.98756561488524
410.005405327096616720.01081065419323340.994594672903383
420.00275550122175460.00551100244350920.997244498778245







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level20.0740740740740741NOK
5% type I error level90.333333333333333NOK
10% type I error level120.444444444444444NOK

\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 & 2 & 0.0740740740740741 & NOK \tabularnewline
5% type I error level & 9 & 0.333333333333333 & NOK \tabularnewline
10% type I error level & 12 & 0.444444444444444 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57938&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]2[/C][C]0.0740740740740741[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]9[/C][C]0.333333333333333[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]12[/C][C]0.444444444444444[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57938&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57938&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 level20.0740740740740741NOK
5% type I error level90.333333333333333NOK
10% type I error level120.444444444444444NOK



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