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 computationMon, 14 Dec 2009 02:45:15 -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/Dec/14/t1260784017kia6sd6al2894b5.htm/, Retrieved Sun, 05 May 2024 17:59:39 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=67477, Retrieved Sun, 05 May 2024 17:59:39 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact188
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]
-    D      [Multiple Regression] [] [2009-12-14 09:45:15] [d39d4e1021a28f94dc953cf77db656ab] [Current]
Feedback Forum

Post a new message
Dataseries X:
95,1	121,8
97,0	127,6
112,7	129,9
102,9	128,0
97,4	123,5
111,4	124,0
87,4	127,4
96,8	127,6
114,1	128,4
110,3	131,4
103,9	135,1
101,6	134,0
94,6	144,5
95,9	147,3
104,7	150,9
102,8	148,7
98,1	141,4
113,9	138,9
80,9	139,8
95,7	145,6
113,2	147,9
105,9	148,5
108,8	151,1
102,3	157,5
99,0	167,5
100,7	172,3
115,5	173,5
100,7	187,5
109,9	205,5
114,6	195,1
85,4	204,5
100,5	204,5
114,8	201,7
116,5	207,0
112,9	206,6
102,0	210,6
106,0	211,1
105,3	215,0
118,8	223,9
106,1	238,2
109,3	238,9
117,2	229,6
92,5	232,2
104,2	222,1
112,5	221,6
122,4	227,3
113,3	221,0
100,0	213,6
110,7	243,4
112,8	253,8
109,8	265,3
117,3	268,2
109,1	268,5
115,9	266,9
96,0	268,4
99,8	250,8
116,8	231,2
115,7	192,0
99,4	171,4
94,3	160,0




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=67477&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=67477&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67477&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
TIP[t] = + 86.9342920390978 + 0.074829895859896Grondstofprijzen[t] + 0.851428662433061M1[t] + 1.69687103936924M2[t] + 11.2453066121398M3[t] + 4.49972857657918M4[t] + 3.19197352654093M5[t] + 13.3806808412480M6[t] -13.0457135880132M7[t] -1.76095183998124M8[t] + 13.4153745476239M9[t] + 13.6635376352546M10[t] + 7.4778231978662M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
TIP[t] =  +  86.9342920390978 +  0.074829895859896Grondstofprijzen[t] +  0.851428662433061M1[t] +  1.69687103936924M2[t] +  11.2453066121398M3[t] +  4.49972857657918M4[t] +  3.19197352654093M5[t] +  13.3806808412480M6[t] -13.0457135880132M7[t] -1.76095183998124M8[t] +  13.4153745476239M9[t] +  13.6635376352546M10[t] +  7.4778231978662M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67477&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]TIP[t] =  +  86.9342920390978 +  0.074829895859896Grondstofprijzen[t] +  0.851428662433061M1[t] +  1.69687103936924M2[t] +  11.2453066121398M3[t] +  4.49972857657918M4[t] +  3.19197352654093M5[t] +  13.3806808412480M6[t] -13.0457135880132M7[t] -1.76095183998124M8[t] +  13.4153745476239M9[t] +  13.6635376352546M10[t] +  7.4778231978662M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67477&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67477&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
TIP[t] = + 86.9342920390978 + 0.074829895859896Grondstofprijzen[t] + 0.851428662433061M1[t] + 1.69687103936924M2[t] + 11.2453066121398M3[t] + 4.49972857657918M4[t] + 3.19197352654093M5[t] + 13.3806808412480M6[t] -13.0457135880132M7[t] -1.76095183998124M8[t] + 13.4153745476239M9[t] + 13.6635376352546M10[t] + 7.4778231978662M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)86.93429203909782.56575533.882500
Grondstofprijzen0.0748298958598960.0108436.901100
M10.8514286624330612.4400930.34890.7286980.364349
M21.696871039369242.4415050.6950.4904710.245235
M311.24530661213982.4443664.60053.2e-051.6e-05
M44.499728576579182.4486041.83770.0724370.036218
M53.191973526540932.4499661.30290.1989680.099484
M613.38068084124802.4459175.47062e-061e-06
M7-13.04571358801322.448917-5.32713e-061e-06
M8-1.760951839981242.44534-0.72010.4750140.237507
M913.41537454762392.4428645.49172e-061e-06
M1013.66353763525462.4408365.59791e-061e-06
M117.47782319786622.4400273.06460.0036040.001802

\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) & 86.9342920390978 & 2.565755 & 33.8825 & 0 & 0 \tabularnewline
Grondstofprijzen & 0.074829895859896 & 0.010843 & 6.9011 & 0 & 0 \tabularnewline
M1 & 0.851428662433061 & 2.440093 & 0.3489 & 0.728698 & 0.364349 \tabularnewline
M2 & 1.69687103936924 & 2.441505 & 0.695 & 0.490471 & 0.245235 \tabularnewline
M3 & 11.2453066121398 & 2.444366 & 4.6005 & 3.2e-05 & 1.6e-05 \tabularnewline
M4 & 4.49972857657918 & 2.448604 & 1.8377 & 0.072437 & 0.036218 \tabularnewline
M5 & 3.19197352654093 & 2.449966 & 1.3029 & 0.198968 & 0.099484 \tabularnewline
M6 & 13.3806808412480 & 2.445917 & 5.4706 & 2e-06 & 1e-06 \tabularnewline
M7 & -13.0457135880132 & 2.448917 & -5.3271 & 3e-06 & 1e-06 \tabularnewline
M8 & -1.76095183998124 & 2.44534 & -0.7201 & 0.475014 & 0.237507 \tabularnewline
M9 & 13.4153745476239 & 2.442864 & 5.4917 & 2e-06 & 1e-06 \tabularnewline
M10 & 13.6635376352546 & 2.440836 & 5.5979 & 1e-06 & 1e-06 \tabularnewline
M11 & 7.4778231978662 & 2.440027 & 3.0646 & 0.003604 & 0.001802 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67477&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]86.9342920390978[/C][C]2.565755[/C][C]33.8825[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Grondstofprijzen[/C][C]0.074829895859896[/C][C]0.010843[/C][C]6.9011[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]0.851428662433061[/C][C]2.440093[/C][C]0.3489[/C][C]0.728698[/C][C]0.364349[/C][/ROW]
[ROW][C]M2[/C][C]1.69687103936924[/C][C]2.441505[/C][C]0.695[/C][C]0.490471[/C][C]0.245235[/C][/ROW]
[ROW][C]M3[/C][C]11.2453066121398[/C][C]2.444366[/C][C]4.6005[/C][C]3.2e-05[/C][C]1.6e-05[/C][/ROW]
[ROW][C]M4[/C][C]4.49972857657918[/C][C]2.448604[/C][C]1.8377[/C][C]0.072437[/C][C]0.036218[/C][/ROW]
[ROW][C]M5[/C][C]3.19197352654093[/C][C]2.449966[/C][C]1.3029[/C][C]0.198968[/C][C]0.099484[/C][/ROW]
[ROW][C]M6[/C][C]13.3806808412480[/C][C]2.445917[/C][C]5.4706[/C][C]2e-06[/C][C]1e-06[/C][/ROW]
[ROW][C]M7[/C][C]-13.0457135880132[/C][C]2.448917[/C][C]-5.3271[/C][C]3e-06[/C][C]1e-06[/C][/ROW]
[ROW][C]M8[/C][C]-1.76095183998124[/C][C]2.44534[/C][C]-0.7201[/C][C]0.475014[/C][C]0.237507[/C][/ROW]
[ROW][C]M9[/C][C]13.4153745476239[/C][C]2.442864[/C][C]5.4917[/C][C]2e-06[/C][C]1e-06[/C][/ROW]
[ROW][C]M10[/C][C]13.6635376352546[/C][C]2.440836[/C][C]5.5979[/C][C]1e-06[/C][C]1e-06[/C][/ROW]
[ROW][C]M11[/C][C]7.4778231978662[/C][C]2.440027[/C][C]3.0646[/C][C]0.003604[/C][C]0.001802[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67477&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67477&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)86.93429203909782.56575533.882500
Grondstofprijzen0.0748298958598960.0108436.901100
M10.8514286624330612.4400930.34890.7286980.364349
M21.696871039369242.4415050.6950.4904710.245235
M311.24530661213982.4443664.60053.2e-051.6e-05
M44.499728576579182.4486041.83770.0724370.036218
M53.191973526540932.4499661.30290.1989680.099484
M613.38068084124802.4459175.47062e-061e-06
M7-13.04571358801322.448917-5.32713e-061e-06
M8-1.760951839981242.44534-0.72010.4750140.237507
M913.41537454762392.4428645.49172e-061e-06
M1013.66353763525462.4408365.59791e-061e-06
M117.47782319786622.4400273.06460.0036040.001802







Multiple Linear Regression - Regression Statistics
Multiple R0.923914241746214
R-squared0.853617526101482
Adjusted R-squared0.816243277446542
F-TEST (value)22.8397240565969
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value1.22124532708767e-15
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation3.85788364468206
Sum Squared Residuals699.513512147551

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.923914241746214 \tabularnewline
R-squared & 0.853617526101482 \tabularnewline
Adjusted R-squared & 0.816243277446542 \tabularnewline
F-TEST (value) & 22.8397240565969 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 1.22124532708767e-15 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 3.85788364468206 \tabularnewline
Sum Squared Residuals & 699.513512147551 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67477&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.923914241746214[/C][/ROW]
[ROW][C]R-squared[/C][C]0.853617526101482[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.816243277446542[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]22.8397240565969[/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.22124532708767e-15[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]3.85788364468206[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]699.513512147551[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67477&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67477&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.923914241746214
R-squared0.853617526101482
Adjusted R-squared0.816243277446542
F-TEST (value)22.8397240565969
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value1.22124532708767e-15
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation3.85788364468206
Sum Squared Residuals699.513512147551







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
195.196.9000020172662-1.80000201726620
29798.1794577901898-1.17945779018977
3112.7107.9000021234384.79999787656189
4102.9101.0122472857441.88775271425634
597.499.3677577043359-1.96775770433587
6111.4109.5938799669731.80612003302704
787.483.42190718363543.97809281636463
896.894.72163491083932.07836508916070
9114.1109.9578252151324.14217478486757
10110.3110.430477990343-0.130477990342786
11103.9104.521634167636-0.621634167635952
12101.696.96149808432394.63850191567612
1394.698.5986406532859-3.99864065328586
1495.999.6536067386297-3.75360673862973
15104.7109.471429936496-4.77142993649593
16102.8102.5612261300440.238773869956475
1798.1100.707212840228-2.60721284022804
18113.9110.7088454152853.1911545847146
1980.984.3497978922981-3.44979789229808
2095.796.0685730363174-0.368573036317430
21113.2111.4170081844001.78299181559963
22105.9111.710069209547-5.810069209547
23108.8105.7189125013943.0810874986057
24102.398.72000063703143.57999936296857
2599100.319728258063-1.31972825806346
26100.7101.524354135127-0.824354135127135
27115.5111.1625855829304.33741441707042
28100.7105.464626089407-4.76462608940749
29109.9105.5038091648474.39619083515264
30114.6114.914285562612-0.31428556261157
3185.489.1912921544334-3.79129215443336
32100.5100.4760539024650.0239460975346947
33114.8115.442856581663-0.642856581662782
34116.5116.0876181173510.412381882649072
35112.9109.8719717216193.02802827838148
36102102.693468107192-0.693468107191909
37106103.5823117175552.41768828244508
38105.3104.7195906883450.580409311655302
39118.8114.9340123342683.86598766573166
40106.1109.258501809504-3.15850180950422
41109.3108.0031276865681.2968723134321
42117.2117.495916969778-0.295916969777974
4392.591.26408026975251.23591973024752
44104.2101.7930600695992.40693993040053
45112.5116.931971509275-4.43197150927471
46122.4117.6066650033074.79333499669319
47113.3110.9495222220012.35047777799897
48100102.917957794772-2.9179577947716
49110.7105.9993173538304.70068264617044
50112.8107.6229906477095.17700935229133
51109.8118.031970022868-8.23197002286804
52117.3111.5033986853015.7966013146989
53109.1110.218092604021-1.11809260402082
54115.9120.287072085352-4.38707208535209
559693.97292249988072.02707750011928
5699.8103.940678080778-4.14067808077849
57116.8117.650338509530-0.850338509529715
58115.7114.9651696794520.73483032054752
5999.4107.237959387350-7.83795938735018
6094.398.9070753766812-4.60707537668117

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 95.1 & 96.9000020172662 & -1.80000201726620 \tabularnewline
2 & 97 & 98.1794577901898 & -1.17945779018977 \tabularnewline
3 & 112.7 & 107.900002123438 & 4.79999787656189 \tabularnewline
4 & 102.9 & 101.012247285744 & 1.88775271425634 \tabularnewline
5 & 97.4 & 99.3677577043359 & -1.96775770433587 \tabularnewline
6 & 111.4 & 109.593879966973 & 1.80612003302704 \tabularnewline
7 & 87.4 & 83.4219071836354 & 3.97809281636463 \tabularnewline
8 & 96.8 & 94.7216349108393 & 2.07836508916070 \tabularnewline
9 & 114.1 & 109.957825215132 & 4.14217478486757 \tabularnewline
10 & 110.3 & 110.430477990343 & -0.130477990342786 \tabularnewline
11 & 103.9 & 104.521634167636 & -0.621634167635952 \tabularnewline
12 & 101.6 & 96.9614980843239 & 4.63850191567612 \tabularnewline
13 & 94.6 & 98.5986406532859 & -3.99864065328586 \tabularnewline
14 & 95.9 & 99.6536067386297 & -3.75360673862973 \tabularnewline
15 & 104.7 & 109.471429936496 & -4.77142993649593 \tabularnewline
16 & 102.8 & 102.561226130044 & 0.238773869956475 \tabularnewline
17 & 98.1 & 100.707212840228 & -2.60721284022804 \tabularnewline
18 & 113.9 & 110.708845415285 & 3.1911545847146 \tabularnewline
19 & 80.9 & 84.3497978922981 & -3.44979789229808 \tabularnewline
20 & 95.7 & 96.0685730363174 & -0.368573036317430 \tabularnewline
21 & 113.2 & 111.417008184400 & 1.78299181559963 \tabularnewline
22 & 105.9 & 111.710069209547 & -5.810069209547 \tabularnewline
23 & 108.8 & 105.718912501394 & 3.0810874986057 \tabularnewline
24 & 102.3 & 98.7200006370314 & 3.57999936296857 \tabularnewline
25 & 99 & 100.319728258063 & -1.31972825806346 \tabularnewline
26 & 100.7 & 101.524354135127 & -0.824354135127135 \tabularnewline
27 & 115.5 & 111.162585582930 & 4.33741441707042 \tabularnewline
28 & 100.7 & 105.464626089407 & -4.76462608940749 \tabularnewline
29 & 109.9 & 105.503809164847 & 4.39619083515264 \tabularnewline
30 & 114.6 & 114.914285562612 & -0.31428556261157 \tabularnewline
31 & 85.4 & 89.1912921544334 & -3.79129215443336 \tabularnewline
32 & 100.5 & 100.476053902465 & 0.0239460975346947 \tabularnewline
33 & 114.8 & 115.442856581663 & -0.642856581662782 \tabularnewline
34 & 116.5 & 116.087618117351 & 0.412381882649072 \tabularnewline
35 & 112.9 & 109.871971721619 & 3.02802827838148 \tabularnewline
36 & 102 & 102.693468107192 & -0.693468107191909 \tabularnewline
37 & 106 & 103.582311717555 & 2.41768828244508 \tabularnewline
38 & 105.3 & 104.719590688345 & 0.580409311655302 \tabularnewline
39 & 118.8 & 114.934012334268 & 3.86598766573166 \tabularnewline
40 & 106.1 & 109.258501809504 & -3.15850180950422 \tabularnewline
41 & 109.3 & 108.003127686568 & 1.2968723134321 \tabularnewline
42 & 117.2 & 117.495916969778 & -0.295916969777974 \tabularnewline
43 & 92.5 & 91.2640802697525 & 1.23591973024752 \tabularnewline
44 & 104.2 & 101.793060069599 & 2.40693993040053 \tabularnewline
45 & 112.5 & 116.931971509275 & -4.43197150927471 \tabularnewline
46 & 122.4 & 117.606665003307 & 4.79333499669319 \tabularnewline
47 & 113.3 & 110.949522222001 & 2.35047777799897 \tabularnewline
48 & 100 & 102.917957794772 & -2.9179577947716 \tabularnewline
49 & 110.7 & 105.999317353830 & 4.70068264617044 \tabularnewline
50 & 112.8 & 107.622990647709 & 5.17700935229133 \tabularnewline
51 & 109.8 & 118.031970022868 & -8.23197002286804 \tabularnewline
52 & 117.3 & 111.503398685301 & 5.7966013146989 \tabularnewline
53 & 109.1 & 110.218092604021 & -1.11809260402082 \tabularnewline
54 & 115.9 & 120.287072085352 & -4.38707208535209 \tabularnewline
55 & 96 & 93.9729224998807 & 2.02707750011928 \tabularnewline
56 & 99.8 & 103.940678080778 & -4.14067808077849 \tabularnewline
57 & 116.8 & 117.650338509530 & -0.850338509529715 \tabularnewline
58 & 115.7 & 114.965169679452 & 0.73483032054752 \tabularnewline
59 & 99.4 & 107.237959387350 & -7.83795938735018 \tabularnewline
60 & 94.3 & 98.9070753766812 & -4.60707537668117 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67477&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]95.1[/C][C]96.9000020172662[/C][C]-1.80000201726620[/C][/ROW]
[ROW][C]2[/C][C]97[/C][C]98.1794577901898[/C][C]-1.17945779018977[/C][/ROW]
[ROW][C]3[/C][C]112.7[/C][C]107.900002123438[/C][C]4.79999787656189[/C][/ROW]
[ROW][C]4[/C][C]102.9[/C][C]101.012247285744[/C][C]1.88775271425634[/C][/ROW]
[ROW][C]5[/C][C]97.4[/C][C]99.3677577043359[/C][C]-1.96775770433587[/C][/ROW]
[ROW][C]6[/C][C]111.4[/C][C]109.593879966973[/C][C]1.80612003302704[/C][/ROW]
[ROW][C]7[/C][C]87.4[/C][C]83.4219071836354[/C][C]3.97809281636463[/C][/ROW]
[ROW][C]8[/C][C]96.8[/C][C]94.7216349108393[/C][C]2.07836508916070[/C][/ROW]
[ROW][C]9[/C][C]114.1[/C][C]109.957825215132[/C][C]4.14217478486757[/C][/ROW]
[ROW][C]10[/C][C]110.3[/C][C]110.430477990343[/C][C]-0.130477990342786[/C][/ROW]
[ROW][C]11[/C][C]103.9[/C][C]104.521634167636[/C][C]-0.621634167635952[/C][/ROW]
[ROW][C]12[/C][C]101.6[/C][C]96.9614980843239[/C][C]4.63850191567612[/C][/ROW]
[ROW][C]13[/C][C]94.6[/C][C]98.5986406532859[/C][C]-3.99864065328586[/C][/ROW]
[ROW][C]14[/C][C]95.9[/C][C]99.6536067386297[/C][C]-3.75360673862973[/C][/ROW]
[ROW][C]15[/C][C]104.7[/C][C]109.471429936496[/C][C]-4.77142993649593[/C][/ROW]
[ROW][C]16[/C][C]102.8[/C][C]102.561226130044[/C][C]0.238773869956475[/C][/ROW]
[ROW][C]17[/C][C]98.1[/C][C]100.707212840228[/C][C]-2.60721284022804[/C][/ROW]
[ROW][C]18[/C][C]113.9[/C][C]110.708845415285[/C][C]3.1911545847146[/C][/ROW]
[ROW][C]19[/C][C]80.9[/C][C]84.3497978922981[/C][C]-3.44979789229808[/C][/ROW]
[ROW][C]20[/C][C]95.7[/C][C]96.0685730363174[/C][C]-0.368573036317430[/C][/ROW]
[ROW][C]21[/C][C]113.2[/C][C]111.417008184400[/C][C]1.78299181559963[/C][/ROW]
[ROW][C]22[/C][C]105.9[/C][C]111.710069209547[/C][C]-5.810069209547[/C][/ROW]
[ROW][C]23[/C][C]108.8[/C][C]105.718912501394[/C][C]3.0810874986057[/C][/ROW]
[ROW][C]24[/C][C]102.3[/C][C]98.7200006370314[/C][C]3.57999936296857[/C][/ROW]
[ROW][C]25[/C][C]99[/C][C]100.319728258063[/C][C]-1.31972825806346[/C][/ROW]
[ROW][C]26[/C][C]100.7[/C][C]101.524354135127[/C][C]-0.824354135127135[/C][/ROW]
[ROW][C]27[/C][C]115.5[/C][C]111.162585582930[/C][C]4.33741441707042[/C][/ROW]
[ROW][C]28[/C][C]100.7[/C][C]105.464626089407[/C][C]-4.76462608940749[/C][/ROW]
[ROW][C]29[/C][C]109.9[/C][C]105.503809164847[/C][C]4.39619083515264[/C][/ROW]
[ROW][C]30[/C][C]114.6[/C][C]114.914285562612[/C][C]-0.31428556261157[/C][/ROW]
[ROW][C]31[/C][C]85.4[/C][C]89.1912921544334[/C][C]-3.79129215443336[/C][/ROW]
[ROW][C]32[/C][C]100.5[/C][C]100.476053902465[/C][C]0.0239460975346947[/C][/ROW]
[ROW][C]33[/C][C]114.8[/C][C]115.442856581663[/C][C]-0.642856581662782[/C][/ROW]
[ROW][C]34[/C][C]116.5[/C][C]116.087618117351[/C][C]0.412381882649072[/C][/ROW]
[ROW][C]35[/C][C]112.9[/C][C]109.871971721619[/C][C]3.02802827838148[/C][/ROW]
[ROW][C]36[/C][C]102[/C][C]102.693468107192[/C][C]-0.693468107191909[/C][/ROW]
[ROW][C]37[/C][C]106[/C][C]103.582311717555[/C][C]2.41768828244508[/C][/ROW]
[ROW][C]38[/C][C]105.3[/C][C]104.719590688345[/C][C]0.580409311655302[/C][/ROW]
[ROW][C]39[/C][C]118.8[/C][C]114.934012334268[/C][C]3.86598766573166[/C][/ROW]
[ROW][C]40[/C][C]106.1[/C][C]109.258501809504[/C][C]-3.15850180950422[/C][/ROW]
[ROW][C]41[/C][C]109.3[/C][C]108.003127686568[/C][C]1.2968723134321[/C][/ROW]
[ROW][C]42[/C][C]117.2[/C][C]117.495916969778[/C][C]-0.295916969777974[/C][/ROW]
[ROW][C]43[/C][C]92.5[/C][C]91.2640802697525[/C][C]1.23591973024752[/C][/ROW]
[ROW][C]44[/C][C]104.2[/C][C]101.793060069599[/C][C]2.40693993040053[/C][/ROW]
[ROW][C]45[/C][C]112.5[/C][C]116.931971509275[/C][C]-4.43197150927471[/C][/ROW]
[ROW][C]46[/C][C]122.4[/C][C]117.606665003307[/C][C]4.79333499669319[/C][/ROW]
[ROW][C]47[/C][C]113.3[/C][C]110.949522222001[/C][C]2.35047777799897[/C][/ROW]
[ROW][C]48[/C][C]100[/C][C]102.917957794772[/C][C]-2.9179577947716[/C][/ROW]
[ROW][C]49[/C][C]110.7[/C][C]105.999317353830[/C][C]4.70068264617044[/C][/ROW]
[ROW][C]50[/C][C]112.8[/C][C]107.622990647709[/C][C]5.17700935229133[/C][/ROW]
[ROW][C]51[/C][C]109.8[/C][C]118.031970022868[/C][C]-8.23197002286804[/C][/ROW]
[ROW][C]52[/C][C]117.3[/C][C]111.503398685301[/C][C]5.7966013146989[/C][/ROW]
[ROW][C]53[/C][C]109.1[/C][C]110.218092604021[/C][C]-1.11809260402082[/C][/ROW]
[ROW][C]54[/C][C]115.9[/C][C]120.287072085352[/C][C]-4.38707208535209[/C][/ROW]
[ROW][C]55[/C][C]96[/C][C]93.9729224998807[/C][C]2.02707750011928[/C][/ROW]
[ROW][C]56[/C][C]99.8[/C][C]103.940678080778[/C][C]-4.14067808077849[/C][/ROW]
[ROW][C]57[/C][C]116.8[/C][C]117.650338509530[/C][C]-0.850338509529715[/C][/ROW]
[ROW][C]58[/C][C]115.7[/C][C]114.965169679452[/C][C]0.73483032054752[/C][/ROW]
[ROW][C]59[/C][C]99.4[/C][C]107.237959387350[/C][C]-7.83795938735018[/C][/ROW]
[ROW][C]60[/C][C]94.3[/C][C]98.9070753766812[/C][C]-4.60707537668117[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67477&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67477&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
195.196.9000020172662-1.80000201726620
29798.1794577901898-1.17945779018977
3112.7107.9000021234384.79999787656189
4102.9101.0122472857441.88775271425634
597.499.3677577043359-1.96775770433587
6111.4109.5938799669731.80612003302704
787.483.42190718363543.97809281636463
896.894.72163491083932.07836508916070
9114.1109.9578252151324.14217478486757
10110.3110.430477990343-0.130477990342786
11103.9104.521634167636-0.621634167635952
12101.696.96149808432394.63850191567612
1394.698.5986406532859-3.99864065328586
1495.999.6536067386297-3.75360673862973
15104.7109.471429936496-4.77142993649593
16102.8102.5612261300440.238773869956475
1798.1100.707212840228-2.60721284022804
18113.9110.7088454152853.1911545847146
1980.984.3497978922981-3.44979789229808
2095.796.0685730363174-0.368573036317430
21113.2111.4170081844001.78299181559963
22105.9111.710069209547-5.810069209547
23108.8105.7189125013943.0810874986057
24102.398.72000063703143.57999936296857
2599100.319728258063-1.31972825806346
26100.7101.524354135127-0.824354135127135
27115.5111.1625855829304.33741441707042
28100.7105.464626089407-4.76462608940749
29109.9105.5038091648474.39619083515264
30114.6114.914285562612-0.31428556261157
3185.489.1912921544334-3.79129215443336
32100.5100.4760539024650.0239460975346947
33114.8115.442856581663-0.642856581662782
34116.5116.0876181173510.412381882649072
35112.9109.8719717216193.02802827838148
36102102.693468107192-0.693468107191909
37106103.5823117175552.41768828244508
38105.3104.7195906883450.580409311655302
39118.8114.9340123342683.86598766573166
40106.1109.258501809504-3.15850180950422
41109.3108.0031276865681.2968723134321
42117.2117.495916969778-0.295916969777974
4392.591.26408026975251.23591973024752
44104.2101.7930600695992.40693993040053
45112.5116.931971509275-4.43197150927471
46122.4117.6066650033074.79333499669319
47113.3110.9495222220012.35047777799897
48100102.917957794772-2.9179577947716
49110.7105.9993173538304.70068264617044
50112.8107.6229906477095.17700935229133
51109.8118.031970022868-8.23197002286804
52117.3111.5033986853015.7966013146989
53109.1110.218092604021-1.11809260402082
54115.9120.287072085352-4.38707208535209
559693.97292249988072.02707750011928
5699.8103.940678080778-4.14067808077849
57116.8117.650338509530-0.850338509529715
58115.7114.9651696794520.73483032054752
5999.4107.237959387350-7.83795938735018
6094.398.9070753766812-4.60707537668117







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.2671507508415590.5343015016831180.732849249158441
170.1692749045576960.3385498091153930.830725095442304
180.1413295202225460.2826590404450930.858670479777453
190.1667957879958460.3335915759916920.833204212004154
200.09425094134857340.1885018826971470.905749058651427
210.05547241291550320.1109448258310060.944527587084497
220.04676237813250600.09352475626501190.953237621867494
230.07714939761340080.1542987952268020.9228506023866
240.06628443624762610.1325688724952520.933715563752374
250.08912229354194570.1782445870838910.910877706458054
260.08388704771641780.1677740954328360.916112952283582
270.1435139387841070.2870278775682140.856486061215893
280.1411150847335450.2822301694670890.858884915266455
290.2659367194352440.5318734388704880.734063280564756
300.2243316841112540.4486633682225090.775668315888746
310.1957426879322750.391485375864550.804257312067725
320.1382257394055410.2764514788110830.861774260594459
330.1041655400597170.2083310801194330.895834459940283
340.09013010124304470.1802602024860890.909869898756955
350.08331219651863940.1666243930372790.91668780348136
360.06601870893156840.1320374178631370.933981291068432
370.05929972235804820.1185994447160960.940700277641952
380.04377029908948760.08754059817897510.956229700910512
390.1851612567992740.3703225135985490.814838743200726
400.2466361964124940.4932723928249880.753363803587506
410.1943004653522590.3886009307045180.80569953464774
420.2196244373651330.4392488747302660.780375562634867
430.1431034224217020.2862068448434040.856896577578298
440.4601388639524930.9202777279049860.539861136047507

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.267150750841559 & 0.534301501683118 & 0.732849249158441 \tabularnewline
17 & 0.169274904557696 & 0.338549809115393 & 0.830725095442304 \tabularnewline
18 & 0.141329520222546 & 0.282659040445093 & 0.858670479777453 \tabularnewline
19 & 0.166795787995846 & 0.333591575991692 & 0.833204212004154 \tabularnewline
20 & 0.0942509413485734 & 0.188501882697147 & 0.905749058651427 \tabularnewline
21 & 0.0554724129155032 & 0.110944825831006 & 0.944527587084497 \tabularnewline
22 & 0.0467623781325060 & 0.0935247562650119 & 0.953237621867494 \tabularnewline
23 & 0.0771493976134008 & 0.154298795226802 & 0.9228506023866 \tabularnewline
24 & 0.0662844362476261 & 0.132568872495252 & 0.933715563752374 \tabularnewline
25 & 0.0891222935419457 & 0.178244587083891 & 0.910877706458054 \tabularnewline
26 & 0.0838870477164178 & 0.167774095432836 & 0.916112952283582 \tabularnewline
27 & 0.143513938784107 & 0.287027877568214 & 0.856486061215893 \tabularnewline
28 & 0.141115084733545 & 0.282230169467089 & 0.858884915266455 \tabularnewline
29 & 0.265936719435244 & 0.531873438870488 & 0.734063280564756 \tabularnewline
30 & 0.224331684111254 & 0.448663368222509 & 0.775668315888746 \tabularnewline
31 & 0.195742687932275 & 0.39148537586455 & 0.804257312067725 \tabularnewline
32 & 0.138225739405541 & 0.276451478811083 & 0.861774260594459 \tabularnewline
33 & 0.104165540059717 & 0.208331080119433 & 0.895834459940283 \tabularnewline
34 & 0.0901301012430447 & 0.180260202486089 & 0.909869898756955 \tabularnewline
35 & 0.0833121965186394 & 0.166624393037279 & 0.91668780348136 \tabularnewline
36 & 0.0660187089315684 & 0.132037417863137 & 0.933981291068432 \tabularnewline
37 & 0.0592997223580482 & 0.118599444716096 & 0.940700277641952 \tabularnewline
38 & 0.0437702990894876 & 0.0875405981789751 & 0.956229700910512 \tabularnewline
39 & 0.185161256799274 & 0.370322513598549 & 0.814838743200726 \tabularnewline
40 & 0.246636196412494 & 0.493272392824988 & 0.753363803587506 \tabularnewline
41 & 0.194300465352259 & 0.388600930704518 & 0.80569953464774 \tabularnewline
42 & 0.219624437365133 & 0.439248874730266 & 0.780375562634867 \tabularnewline
43 & 0.143103422421702 & 0.286206844843404 & 0.856896577578298 \tabularnewline
44 & 0.460138863952493 & 0.920277727904986 & 0.539861136047507 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67477&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.267150750841559[/C][C]0.534301501683118[/C][C]0.732849249158441[/C][/ROW]
[ROW][C]17[/C][C]0.169274904557696[/C][C]0.338549809115393[/C][C]0.830725095442304[/C][/ROW]
[ROW][C]18[/C][C]0.141329520222546[/C][C]0.282659040445093[/C][C]0.858670479777453[/C][/ROW]
[ROW][C]19[/C][C]0.166795787995846[/C][C]0.333591575991692[/C][C]0.833204212004154[/C][/ROW]
[ROW][C]20[/C][C]0.0942509413485734[/C][C]0.188501882697147[/C][C]0.905749058651427[/C][/ROW]
[ROW][C]21[/C][C]0.0554724129155032[/C][C]0.110944825831006[/C][C]0.944527587084497[/C][/ROW]
[ROW][C]22[/C][C]0.0467623781325060[/C][C]0.0935247562650119[/C][C]0.953237621867494[/C][/ROW]
[ROW][C]23[/C][C]0.0771493976134008[/C][C]0.154298795226802[/C][C]0.9228506023866[/C][/ROW]
[ROW][C]24[/C][C]0.0662844362476261[/C][C]0.132568872495252[/C][C]0.933715563752374[/C][/ROW]
[ROW][C]25[/C][C]0.0891222935419457[/C][C]0.178244587083891[/C][C]0.910877706458054[/C][/ROW]
[ROW][C]26[/C][C]0.0838870477164178[/C][C]0.167774095432836[/C][C]0.916112952283582[/C][/ROW]
[ROW][C]27[/C][C]0.143513938784107[/C][C]0.287027877568214[/C][C]0.856486061215893[/C][/ROW]
[ROW][C]28[/C][C]0.141115084733545[/C][C]0.282230169467089[/C][C]0.858884915266455[/C][/ROW]
[ROW][C]29[/C][C]0.265936719435244[/C][C]0.531873438870488[/C][C]0.734063280564756[/C][/ROW]
[ROW][C]30[/C][C]0.224331684111254[/C][C]0.448663368222509[/C][C]0.775668315888746[/C][/ROW]
[ROW][C]31[/C][C]0.195742687932275[/C][C]0.39148537586455[/C][C]0.804257312067725[/C][/ROW]
[ROW][C]32[/C][C]0.138225739405541[/C][C]0.276451478811083[/C][C]0.861774260594459[/C][/ROW]
[ROW][C]33[/C][C]0.104165540059717[/C][C]0.208331080119433[/C][C]0.895834459940283[/C][/ROW]
[ROW][C]34[/C][C]0.0901301012430447[/C][C]0.180260202486089[/C][C]0.909869898756955[/C][/ROW]
[ROW][C]35[/C][C]0.0833121965186394[/C][C]0.166624393037279[/C][C]0.91668780348136[/C][/ROW]
[ROW][C]36[/C][C]0.0660187089315684[/C][C]0.132037417863137[/C][C]0.933981291068432[/C][/ROW]
[ROW][C]37[/C][C]0.0592997223580482[/C][C]0.118599444716096[/C][C]0.940700277641952[/C][/ROW]
[ROW][C]38[/C][C]0.0437702990894876[/C][C]0.0875405981789751[/C][C]0.956229700910512[/C][/ROW]
[ROW][C]39[/C][C]0.185161256799274[/C][C]0.370322513598549[/C][C]0.814838743200726[/C][/ROW]
[ROW][C]40[/C][C]0.246636196412494[/C][C]0.493272392824988[/C][C]0.753363803587506[/C][/ROW]
[ROW][C]41[/C][C]0.194300465352259[/C][C]0.388600930704518[/C][C]0.80569953464774[/C][/ROW]
[ROW][C]42[/C][C]0.219624437365133[/C][C]0.439248874730266[/C][C]0.780375562634867[/C][/ROW]
[ROW][C]43[/C][C]0.143103422421702[/C][C]0.286206844843404[/C][C]0.856896577578298[/C][/ROW]
[ROW][C]44[/C][C]0.460138863952493[/C][C]0.920277727904986[/C][C]0.539861136047507[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67477&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67477&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.2671507508415590.5343015016831180.732849249158441
170.1692749045576960.3385498091153930.830725095442304
180.1413295202225460.2826590404450930.858670479777453
190.1667957879958460.3335915759916920.833204212004154
200.09425094134857340.1885018826971470.905749058651427
210.05547241291550320.1109448258310060.944527587084497
220.04676237813250600.09352475626501190.953237621867494
230.07714939761340080.1542987952268020.9228506023866
240.06628443624762610.1325688724952520.933715563752374
250.08912229354194570.1782445870838910.910877706458054
260.08388704771641780.1677740954328360.916112952283582
270.1435139387841070.2870278775682140.856486061215893
280.1411150847335450.2822301694670890.858884915266455
290.2659367194352440.5318734388704880.734063280564756
300.2243316841112540.4486633682225090.775668315888746
310.1957426879322750.391485375864550.804257312067725
320.1382257394055410.2764514788110830.861774260594459
330.1041655400597170.2083310801194330.895834459940283
340.09013010124304470.1802602024860890.909869898756955
350.08331219651863940.1666243930372790.91668780348136
360.06601870893156840.1320374178631370.933981291068432
370.05929972235804820.1185994447160960.940700277641952
380.04377029908948760.08754059817897510.956229700910512
390.1851612567992740.3703225135985490.814838743200726
400.2466361964124940.4932723928249880.753363803587506
410.1943004653522590.3886009307045180.80569953464774
420.2196244373651330.4392488747302660.780375562634867
430.1431034224217020.2862068448434040.856896577578298
440.4601388639524930.9202777279049860.539861136047507







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

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

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

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

As an alternative you can also use a QR Code:  

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

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



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