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 computationTue, 16 Dec 2008 14:01: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/2008/Dec/16/t122946146068sjvq4cpn9k1py.htm/, Retrieved Thu, 16 May 2024 00:22:27 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=34204, Retrieved Thu, 16 May 2024 00:22:27 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact112
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [Paper H4 Mannen M...] [2008-12-16 21:01:39] [5e9e099b83e50415d7642e10d74756e4] [Current]
Feedback Forum

Post a new message
Dataseries X:
269645	0
267037	0
258113	0
262813	0
267413	0
267366	0
264777	0
258863	0
254844	0
254868	0
277267	0
285351	0
286602	0
283042	0
276687	0
277915	0
277128	0
277103	0
275037	0
270150	0
267140	0
264993	0
287259	0
291186	0
292300	0
288186	0
281477	0
282656	1
280190	1
280408	1
276836	1
275216	1
274352	1
271311	1
289802	1
290726	1
292300	1
278506	1
269826	1
265861	1
269034	1
264176	1
255198	1
253353	1
246057	1
235372	1
258556	1
260993	1
254663	1
250643	1
243422	1
247105	1
248541	1
245039	1
237080	1
237085	1
225554	1
226839	1
247934	1
248333	1
246969	1
245098	1
246263	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time6 seconds
R Server'George Udny Yule' @ 72.249.76.132

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

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]6 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34204&T=0

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

As an alternative you can also use a QR Code:  

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

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time6 seconds
R Server'George Udny Yule' @ 72.249.76.132







Multiple Linear Regression - Estimated Regression Equation
Mannen[t] = + 298214.333333333 + 12494.8194444444Dummy[t] -4543.12708333343M1[t] -8693.36527777776M2[t] -13969.7701388889M3[t] -14801.8944444444M4[t] -12766.4326388888M5[t] -13564.9708333333M6[t] -17753.5090277777M7[t] -19761.4472222222M8[t] -24261.1854166666M9[t] -26329.7236111111M10[t] -3998.46180555552M11[t] -844.261805555553t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Mannen[t] =  +  298214.333333333 +  12494.8194444444Dummy[t] -4543.12708333343M1[t] -8693.36527777776M2[t] -13969.7701388889M3[t] -14801.8944444444M4[t] -12766.4326388888M5[t] -13564.9708333333M6[t] -17753.5090277777M7[t] -19761.4472222222M8[t] -24261.1854166666M9[t] -26329.7236111111M10[t] -3998.46180555552M11[t] -844.261805555553t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34204&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Mannen[t] =  +  298214.333333333 +  12494.8194444444Dummy[t] -4543.12708333343M1[t] -8693.36527777776M2[t] -13969.7701388889M3[t] -14801.8944444444M4[t] -12766.4326388888M5[t] -13564.9708333333M6[t] -17753.5090277777M7[t] -19761.4472222222M8[t] -24261.1854166666M9[t] -26329.7236111111M10[t] -3998.46180555552M11[t] -844.261805555553t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34204&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34204&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
Mannen[t] = + 298214.333333333 + 12494.8194444444Dummy[t] -4543.12708333343M1[t] -8693.36527777776M2[t] -13969.7701388889M3[t] -14801.8944444444M4[t] -12766.4326388888M5[t] -13564.9708333333M6[t] -17753.5090277777M7[t] -19761.4472222222M8[t] -24261.1854166666M9[t] -26329.7236111111M10[t] -3998.46180555552M11[t] -844.261805555553t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)298214.3333333336725.53734344.340600
Dummy12494.81944444446529.1782461.91370.0615110.030755
M1-4543.127083333437710.044-0.58920.5584020.279201
M2-8693.365277777767704.585647-1.12830.2646720.132336
M3-13969.77013888897703.250795-1.81350.0758830.037941
M4-14801.89444444448164.106964-1.8130.0759530.037976
M5-12766.43263888888134.8545-1.56930.1230020.061501
M6-13564.97083333338109.417011-1.67270.1007520.050376
M7-17753.50902777778087.830493-2.19510.0329250.016462
M8-19761.44722222228070.125849-2.44870.0179620.008981
M9-24261.18541666668056.328671-3.01140.0041040.002052
M10-26329.72361111118046.459059-3.27220.0019590.00098
M11-3998.461805555528040.531477-0.49730.621210.310605
t-844.261805555553178.285311-4.73551.9e-051e-05

\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) & 298214.333333333 & 6725.537343 & 44.3406 & 0 & 0 \tabularnewline
Dummy & 12494.8194444444 & 6529.178246 & 1.9137 & 0.061511 & 0.030755 \tabularnewline
M1 & -4543.12708333343 & 7710.044 & -0.5892 & 0.558402 & 0.279201 \tabularnewline
M2 & -8693.36527777776 & 7704.585647 & -1.1283 & 0.264672 & 0.132336 \tabularnewline
M3 & -13969.7701388889 & 7703.250795 & -1.8135 & 0.075883 & 0.037941 \tabularnewline
M4 & -14801.8944444444 & 8164.106964 & -1.813 & 0.075953 & 0.037976 \tabularnewline
M5 & -12766.4326388888 & 8134.8545 & -1.5693 & 0.123002 & 0.061501 \tabularnewline
M6 & -13564.9708333333 & 8109.417011 & -1.6727 & 0.100752 & 0.050376 \tabularnewline
M7 & -17753.5090277777 & 8087.830493 & -2.1951 & 0.032925 & 0.016462 \tabularnewline
M8 & -19761.4472222222 & 8070.125849 & -2.4487 & 0.017962 & 0.008981 \tabularnewline
M9 & -24261.1854166666 & 8056.328671 & -3.0114 & 0.004104 & 0.002052 \tabularnewline
M10 & -26329.7236111111 & 8046.459059 & -3.2722 & 0.001959 & 0.00098 \tabularnewline
M11 & -3998.46180555552 & 8040.531477 & -0.4973 & 0.62121 & 0.310605 \tabularnewline
t & -844.261805555553 & 178.285311 & -4.7355 & 1.9e-05 & 1e-05 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34204&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]298214.333333333[/C][C]6725.537343[/C][C]44.3406[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Dummy[/C][C]12494.8194444444[/C][C]6529.178246[/C][C]1.9137[/C][C]0.061511[/C][C]0.030755[/C][/ROW]
[ROW][C]M1[/C][C]-4543.12708333343[/C][C]7710.044[/C][C]-0.5892[/C][C]0.558402[/C][C]0.279201[/C][/ROW]
[ROW][C]M2[/C][C]-8693.36527777776[/C][C]7704.585647[/C][C]-1.1283[/C][C]0.264672[/C][C]0.132336[/C][/ROW]
[ROW][C]M3[/C][C]-13969.7701388889[/C][C]7703.250795[/C][C]-1.8135[/C][C]0.075883[/C][C]0.037941[/C][/ROW]
[ROW][C]M4[/C][C]-14801.8944444444[/C][C]8164.106964[/C][C]-1.813[/C][C]0.075953[/C][C]0.037976[/C][/ROW]
[ROW][C]M5[/C][C]-12766.4326388888[/C][C]8134.8545[/C][C]-1.5693[/C][C]0.123002[/C][C]0.061501[/C][/ROW]
[ROW][C]M6[/C][C]-13564.9708333333[/C][C]8109.417011[/C][C]-1.6727[/C][C]0.100752[/C][C]0.050376[/C][/ROW]
[ROW][C]M7[/C][C]-17753.5090277777[/C][C]8087.830493[/C][C]-2.1951[/C][C]0.032925[/C][C]0.016462[/C][/ROW]
[ROW][C]M8[/C][C]-19761.4472222222[/C][C]8070.125849[/C][C]-2.4487[/C][C]0.017962[/C][C]0.008981[/C][/ROW]
[ROW][C]M9[/C][C]-24261.1854166666[/C][C]8056.328671[/C][C]-3.0114[/C][C]0.004104[/C][C]0.002052[/C][/ROW]
[ROW][C]M10[/C][C]-26329.7236111111[/C][C]8046.459059[/C][C]-3.2722[/C][C]0.001959[/C][C]0.00098[/C][/ROW]
[ROW][C]M11[/C][C]-3998.46180555552[/C][C]8040.531477[/C][C]-0.4973[/C][C]0.62121[/C][C]0.310605[/C][/ROW]
[ROW][C]t[/C][C]-844.261805555553[/C][C]178.285311[/C][C]-4.7355[/C][C]1.9e-05[/C][C]1e-05[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34204&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34204&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)298214.3333333336725.53734344.340600
Dummy12494.81944444446529.1782461.91370.0615110.030755
M1-4543.127083333437710.044-0.58920.5584020.279201
M2-8693.365277777767704.585647-1.12830.2646720.132336
M3-13969.77013888897703.250795-1.81350.0758830.037941
M4-14801.89444444448164.106964-1.8130.0759530.037976
M5-12766.43263888888134.8545-1.56930.1230020.061501
M6-13564.97083333338109.417011-1.67270.1007520.050376
M7-17753.50902777778087.830493-2.19510.0329250.016462
M8-19761.44722222228070.125849-2.44870.0179620.008981
M9-24261.18541666668056.328671-3.01140.0041040.002052
M10-26329.72361111118046.459059-3.27220.0019590.00098
M11-3998.461805555528040.531477-0.49730.621210.310605
t-844.261805555553178.285311-4.73551.9e-051e-05







Multiple Linear Regression - Regression Statistics
Multiple R0.749397988144867
R-squared0.561597344635575
Adjusted R-squared0.445286436069503
F-TEST (value)4.8284150778218
F-TEST (DF numerator)13
F-TEST (DF denominator)49
p-value2.50802456935872e-05
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation12710.0708874232
Sum Squared Residuals7915749196.20282

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.749397988144867 \tabularnewline
R-squared & 0.561597344635575 \tabularnewline
Adjusted R-squared & 0.445286436069503 \tabularnewline
F-TEST (value) & 4.8284150778218 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 49 \tabularnewline
p-value & 2.50802456935872e-05 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 12710.0708874232 \tabularnewline
Sum Squared Residuals & 7915749196.20282 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34204&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.749397988144867[/C][/ROW]
[ROW][C]R-squared[/C][C]0.561597344635575[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.445286436069503[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]4.8284150778218[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]49[/C][/ROW]
[ROW][C]p-value[/C][C]2.50802456935872e-05[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]12710.0708874232[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]7915749196.20282[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34204&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34204&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.749397988144867
R-squared0.561597344635575
Adjusted R-squared0.445286436069503
F-TEST (value)4.8284150778218
F-TEST (DF numerator)13
F-TEST (DF denominator)49
p-value2.50802456935872e-05
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation12710.0708874232
Sum Squared Residuals7915749196.20282







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1269645292826.944444445-23181.9444444451
2267037287832.444444444-20795.4444444445
3258113281711.777777778-23598.7777777777
4262813280035.391666667-17222.3916666666
5267413281226.591666667-13813.5916666666
6267366279583.791666667-12217.7916666666
7264777274550.991666667-9773.99166666666
8258863271698.791666667-12835.7916666667
9254844266354.791666667-11510.7916666666
10254868263441.991666667-8573.99166666663
11277267284928.991666667-7661.99166666662
12285351288083.191666667-2732.19166666659
13286602282695.8027777783906.19722222237
14283042277701.3027777785340.69722222223
15276687271580.6361111115106.36388888891
16277915269904.258010.75
17277128271095.456032.54999999999
18277103269452.657650.34999999999
19275037264419.8510617.15
20270150261567.658582.35
21267140256223.6510916.35
22264993253310.8511682.15
23287259274797.8512461.1500000000
24291186277952.0513233.95
25292300272564.66111111119735.338888889
26288186267570.16111111120615.8388888889
27281477261449.49444444420027.5055555555
28282656272267.92777777810388.0722222223
29280190273459.1277777786730.87222222225
30280408271816.3277777788591.67222222225
31276836266783.52777777810052.4722222223
32275216263931.32777777811284.6722222223
33274352258587.32777777815764.6722222223
34271311255674.52777777815636.4722222223
35289802277161.52777777812640.4722222223
36290726280315.72777777810410.2722222223
37292300274928.33888888917371.6611111113
38278506269933.8388888898572.16111111113
39269826263813.1722222226012.82777777779
40265861262136.7861111113724.21388888888
41269034263327.9861111115706.01388888887
42264176261685.1861111112490.81388888888
43255198256652.386111111-1454.38611111111
44253353253800.186111111-447.186111111114
45246057248456.186111111-2399.18611111111
46235372245543.386111111-10171.3861111111
47258556267030.386111111-8474.38611111112
48260993270184.586111111-9191.58611111109
49254663264797.197222222-10134.1972222221
50250643259802.697222222-9159.69722222223
51243422253682.030555556-10260.0305555556
52247105252005.644444444-4900.64444444449
53248541253196.844444444-4655.8444444445
54245039251554.044444445-6515.0444444445
55237080246521.244444444-9441.24444444449
56237085243669.044444445-6584.04444444449
57225554238325.044444445-12771.0444444445
58226839235412.244444444-8573.2444444445
59247934256899.244444444-8965.2444444445
60248333260053.444444444-11720.4444444445
61246969254666.055555555-7697.05555555549
62245098249671.555555556-4573.5555555556
63246263243550.8888888892712.11111111105

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 269645 & 292826.944444445 & -23181.9444444451 \tabularnewline
2 & 267037 & 287832.444444444 & -20795.4444444445 \tabularnewline
3 & 258113 & 281711.777777778 & -23598.7777777777 \tabularnewline
4 & 262813 & 280035.391666667 & -17222.3916666666 \tabularnewline
5 & 267413 & 281226.591666667 & -13813.5916666666 \tabularnewline
6 & 267366 & 279583.791666667 & -12217.7916666666 \tabularnewline
7 & 264777 & 274550.991666667 & -9773.99166666666 \tabularnewline
8 & 258863 & 271698.791666667 & -12835.7916666667 \tabularnewline
9 & 254844 & 266354.791666667 & -11510.7916666666 \tabularnewline
10 & 254868 & 263441.991666667 & -8573.99166666663 \tabularnewline
11 & 277267 & 284928.991666667 & -7661.99166666662 \tabularnewline
12 & 285351 & 288083.191666667 & -2732.19166666659 \tabularnewline
13 & 286602 & 282695.802777778 & 3906.19722222237 \tabularnewline
14 & 283042 & 277701.302777778 & 5340.69722222223 \tabularnewline
15 & 276687 & 271580.636111111 & 5106.36388888891 \tabularnewline
16 & 277915 & 269904.25 & 8010.75 \tabularnewline
17 & 277128 & 271095.45 & 6032.54999999999 \tabularnewline
18 & 277103 & 269452.65 & 7650.34999999999 \tabularnewline
19 & 275037 & 264419.85 & 10617.15 \tabularnewline
20 & 270150 & 261567.65 & 8582.35 \tabularnewline
21 & 267140 & 256223.65 & 10916.35 \tabularnewline
22 & 264993 & 253310.85 & 11682.15 \tabularnewline
23 & 287259 & 274797.85 & 12461.1500000000 \tabularnewline
24 & 291186 & 277952.05 & 13233.95 \tabularnewline
25 & 292300 & 272564.661111111 & 19735.338888889 \tabularnewline
26 & 288186 & 267570.161111111 & 20615.8388888889 \tabularnewline
27 & 281477 & 261449.494444444 & 20027.5055555555 \tabularnewline
28 & 282656 & 272267.927777778 & 10388.0722222223 \tabularnewline
29 & 280190 & 273459.127777778 & 6730.87222222225 \tabularnewline
30 & 280408 & 271816.327777778 & 8591.67222222225 \tabularnewline
31 & 276836 & 266783.527777778 & 10052.4722222223 \tabularnewline
32 & 275216 & 263931.327777778 & 11284.6722222223 \tabularnewline
33 & 274352 & 258587.327777778 & 15764.6722222223 \tabularnewline
34 & 271311 & 255674.527777778 & 15636.4722222223 \tabularnewline
35 & 289802 & 277161.527777778 & 12640.4722222223 \tabularnewline
36 & 290726 & 280315.727777778 & 10410.2722222223 \tabularnewline
37 & 292300 & 274928.338888889 & 17371.6611111113 \tabularnewline
38 & 278506 & 269933.838888889 & 8572.16111111113 \tabularnewline
39 & 269826 & 263813.172222222 & 6012.82777777779 \tabularnewline
40 & 265861 & 262136.786111111 & 3724.21388888888 \tabularnewline
41 & 269034 & 263327.986111111 & 5706.01388888887 \tabularnewline
42 & 264176 & 261685.186111111 & 2490.81388888888 \tabularnewline
43 & 255198 & 256652.386111111 & -1454.38611111111 \tabularnewline
44 & 253353 & 253800.186111111 & -447.186111111114 \tabularnewline
45 & 246057 & 248456.186111111 & -2399.18611111111 \tabularnewline
46 & 235372 & 245543.386111111 & -10171.3861111111 \tabularnewline
47 & 258556 & 267030.386111111 & -8474.38611111112 \tabularnewline
48 & 260993 & 270184.586111111 & -9191.58611111109 \tabularnewline
49 & 254663 & 264797.197222222 & -10134.1972222221 \tabularnewline
50 & 250643 & 259802.697222222 & -9159.69722222223 \tabularnewline
51 & 243422 & 253682.030555556 & -10260.0305555556 \tabularnewline
52 & 247105 & 252005.644444444 & -4900.64444444449 \tabularnewline
53 & 248541 & 253196.844444444 & -4655.8444444445 \tabularnewline
54 & 245039 & 251554.044444445 & -6515.0444444445 \tabularnewline
55 & 237080 & 246521.244444444 & -9441.24444444449 \tabularnewline
56 & 237085 & 243669.044444445 & -6584.04444444449 \tabularnewline
57 & 225554 & 238325.044444445 & -12771.0444444445 \tabularnewline
58 & 226839 & 235412.244444444 & -8573.2444444445 \tabularnewline
59 & 247934 & 256899.244444444 & -8965.2444444445 \tabularnewline
60 & 248333 & 260053.444444444 & -11720.4444444445 \tabularnewline
61 & 246969 & 254666.055555555 & -7697.05555555549 \tabularnewline
62 & 245098 & 249671.555555556 & -4573.5555555556 \tabularnewline
63 & 246263 & 243550.888888889 & 2712.11111111105 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34204&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]269645[/C][C]292826.944444445[/C][C]-23181.9444444451[/C][/ROW]
[ROW][C]2[/C][C]267037[/C][C]287832.444444444[/C][C]-20795.4444444445[/C][/ROW]
[ROW][C]3[/C][C]258113[/C][C]281711.777777778[/C][C]-23598.7777777777[/C][/ROW]
[ROW][C]4[/C][C]262813[/C][C]280035.391666667[/C][C]-17222.3916666666[/C][/ROW]
[ROW][C]5[/C][C]267413[/C][C]281226.591666667[/C][C]-13813.5916666666[/C][/ROW]
[ROW][C]6[/C][C]267366[/C][C]279583.791666667[/C][C]-12217.7916666666[/C][/ROW]
[ROW][C]7[/C][C]264777[/C][C]274550.991666667[/C][C]-9773.99166666666[/C][/ROW]
[ROW][C]8[/C][C]258863[/C][C]271698.791666667[/C][C]-12835.7916666667[/C][/ROW]
[ROW][C]9[/C][C]254844[/C][C]266354.791666667[/C][C]-11510.7916666666[/C][/ROW]
[ROW][C]10[/C][C]254868[/C][C]263441.991666667[/C][C]-8573.99166666663[/C][/ROW]
[ROW][C]11[/C][C]277267[/C][C]284928.991666667[/C][C]-7661.99166666662[/C][/ROW]
[ROW][C]12[/C][C]285351[/C][C]288083.191666667[/C][C]-2732.19166666659[/C][/ROW]
[ROW][C]13[/C][C]286602[/C][C]282695.802777778[/C][C]3906.19722222237[/C][/ROW]
[ROW][C]14[/C][C]283042[/C][C]277701.302777778[/C][C]5340.69722222223[/C][/ROW]
[ROW][C]15[/C][C]276687[/C][C]271580.636111111[/C][C]5106.36388888891[/C][/ROW]
[ROW][C]16[/C][C]277915[/C][C]269904.25[/C][C]8010.75[/C][/ROW]
[ROW][C]17[/C][C]277128[/C][C]271095.45[/C][C]6032.54999999999[/C][/ROW]
[ROW][C]18[/C][C]277103[/C][C]269452.65[/C][C]7650.34999999999[/C][/ROW]
[ROW][C]19[/C][C]275037[/C][C]264419.85[/C][C]10617.15[/C][/ROW]
[ROW][C]20[/C][C]270150[/C][C]261567.65[/C][C]8582.35[/C][/ROW]
[ROW][C]21[/C][C]267140[/C][C]256223.65[/C][C]10916.35[/C][/ROW]
[ROW][C]22[/C][C]264993[/C][C]253310.85[/C][C]11682.15[/C][/ROW]
[ROW][C]23[/C][C]287259[/C][C]274797.85[/C][C]12461.1500000000[/C][/ROW]
[ROW][C]24[/C][C]291186[/C][C]277952.05[/C][C]13233.95[/C][/ROW]
[ROW][C]25[/C][C]292300[/C][C]272564.661111111[/C][C]19735.338888889[/C][/ROW]
[ROW][C]26[/C][C]288186[/C][C]267570.161111111[/C][C]20615.8388888889[/C][/ROW]
[ROW][C]27[/C][C]281477[/C][C]261449.494444444[/C][C]20027.5055555555[/C][/ROW]
[ROW][C]28[/C][C]282656[/C][C]272267.927777778[/C][C]10388.0722222223[/C][/ROW]
[ROW][C]29[/C][C]280190[/C][C]273459.127777778[/C][C]6730.87222222225[/C][/ROW]
[ROW][C]30[/C][C]280408[/C][C]271816.327777778[/C][C]8591.67222222225[/C][/ROW]
[ROW][C]31[/C][C]276836[/C][C]266783.527777778[/C][C]10052.4722222223[/C][/ROW]
[ROW][C]32[/C][C]275216[/C][C]263931.327777778[/C][C]11284.6722222223[/C][/ROW]
[ROW][C]33[/C][C]274352[/C][C]258587.327777778[/C][C]15764.6722222223[/C][/ROW]
[ROW][C]34[/C][C]271311[/C][C]255674.527777778[/C][C]15636.4722222223[/C][/ROW]
[ROW][C]35[/C][C]289802[/C][C]277161.527777778[/C][C]12640.4722222223[/C][/ROW]
[ROW][C]36[/C][C]290726[/C][C]280315.727777778[/C][C]10410.2722222223[/C][/ROW]
[ROW][C]37[/C][C]292300[/C][C]274928.338888889[/C][C]17371.6611111113[/C][/ROW]
[ROW][C]38[/C][C]278506[/C][C]269933.838888889[/C][C]8572.16111111113[/C][/ROW]
[ROW][C]39[/C][C]269826[/C][C]263813.172222222[/C][C]6012.82777777779[/C][/ROW]
[ROW][C]40[/C][C]265861[/C][C]262136.786111111[/C][C]3724.21388888888[/C][/ROW]
[ROW][C]41[/C][C]269034[/C][C]263327.986111111[/C][C]5706.01388888887[/C][/ROW]
[ROW][C]42[/C][C]264176[/C][C]261685.186111111[/C][C]2490.81388888888[/C][/ROW]
[ROW][C]43[/C][C]255198[/C][C]256652.386111111[/C][C]-1454.38611111111[/C][/ROW]
[ROW][C]44[/C][C]253353[/C][C]253800.186111111[/C][C]-447.186111111114[/C][/ROW]
[ROW][C]45[/C][C]246057[/C][C]248456.186111111[/C][C]-2399.18611111111[/C][/ROW]
[ROW][C]46[/C][C]235372[/C][C]245543.386111111[/C][C]-10171.3861111111[/C][/ROW]
[ROW][C]47[/C][C]258556[/C][C]267030.386111111[/C][C]-8474.38611111112[/C][/ROW]
[ROW][C]48[/C][C]260993[/C][C]270184.586111111[/C][C]-9191.58611111109[/C][/ROW]
[ROW][C]49[/C][C]254663[/C][C]264797.197222222[/C][C]-10134.1972222221[/C][/ROW]
[ROW][C]50[/C][C]250643[/C][C]259802.697222222[/C][C]-9159.69722222223[/C][/ROW]
[ROW][C]51[/C][C]243422[/C][C]253682.030555556[/C][C]-10260.0305555556[/C][/ROW]
[ROW][C]52[/C][C]247105[/C][C]252005.644444444[/C][C]-4900.64444444449[/C][/ROW]
[ROW][C]53[/C][C]248541[/C][C]253196.844444444[/C][C]-4655.8444444445[/C][/ROW]
[ROW][C]54[/C][C]245039[/C][C]251554.044444445[/C][C]-6515.0444444445[/C][/ROW]
[ROW][C]55[/C][C]237080[/C][C]246521.244444444[/C][C]-9441.24444444449[/C][/ROW]
[ROW][C]56[/C][C]237085[/C][C]243669.044444445[/C][C]-6584.04444444449[/C][/ROW]
[ROW][C]57[/C][C]225554[/C][C]238325.044444445[/C][C]-12771.0444444445[/C][/ROW]
[ROW][C]58[/C][C]226839[/C][C]235412.244444444[/C][C]-8573.2444444445[/C][/ROW]
[ROW][C]59[/C][C]247934[/C][C]256899.244444444[/C][C]-8965.2444444445[/C][/ROW]
[ROW][C]60[/C][C]248333[/C][C]260053.444444444[/C][C]-11720.4444444445[/C][/ROW]
[ROW][C]61[/C][C]246969[/C][C]254666.055555555[/C][C]-7697.05555555549[/C][/ROW]
[ROW][C]62[/C][C]245098[/C][C]249671.555555556[/C][C]-4573.5555555556[/C][/ROW]
[ROW][C]63[/C][C]246263[/C][C]243550.888888889[/C][C]2712.11111111105[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34204&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34204&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
1269645292826.944444445-23181.9444444451
2267037287832.444444444-20795.4444444445
3258113281711.777777778-23598.7777777777
4262813280035.391666667-17222.3916666666
5267413281226.591666667-13813.5916666666
6267366279583.791666667-12217.7916666666
7264777274550.991666667-9773.99166666666
8258863271698.791666667-12835.7916666667
9254844266354.791666667-11510.7916666666
10254868263441.991666667-8573.99166666663
11277267284928.991666667-7661.99166666662
12285351288083.191666667-2732.19166666659
13286602282695.8027777783906.19722222237
14283042277701.3027777785340.69722222223
15276687271580.6361111115106.36388888891
16277915269904.258010.75
17277128271095.456032.54999999999
18277103269452.657650.34999999999
19275037264419.8510617.15
20270150261567.658582.35
21267140256223.6510916.35
22264993253310.8511682.15
23287259274797.8512461.1500000000
24291186277952.0513233.95
25292300272564.66111111119735.338888889
26288186267570.16111111120615.8388888889
27281477261449.49444444420027.5055555555
28282656272267.92777777810388.0722222223
29280190273459.1277777786730.87222222225
30280408271816.3277777788591.67222222225
31276836266783.52777777810052.4722222223
32275216263931.32777777811284.6722222223
33274352258587.32777777815764.6722222223
34271311255674.52777777815636.4722222223
35289802277161.52777777812640.4722222223
36290726280315.72777777810410.2722222223
37292300274928.33888888917371.6611111113
38278506269933.8388888898572.16111111113
39269826263813.1722222226012.82777777779
40265861262136.7861111113724.21388888888
41269034263327.9861111115706.01388888887
42264176261685.1861111112490.81388888888
43255198256652.386111111-1454.38611111111
44253353253800.186111111-447.186111111114
45246057248456.186111111-2399.18611111111
46235372245543.386111111-10171.3861111111
47258556267030.386111111-8474.38611111112
48260993270184.586111111-9191.58611111109
49254663264797.197222222-10134.1972222221
50250643259802.697222222-9159.69722222223
51243422253682.030555556-10260.0305555556
52247105252005.644444444-4900.64444444449
53248541253196.844444444-4655.8444444445
54245039251554.044444445-6515.0444444445
55237080246521.244444444-9441.24444444449
56237085243669.044444445-6584.04444444449
57225554238325.044444445-12771.0444444445
58226839235412.244444444-8573.2444444445
59247934256899.244444444-8965.2444444445
60248333260053.444444444-11720.4444444445
61246969254666.055555555-7697.05555555549
62245098249671.555555556-4573.5555555556
63246263243550.8888888892712.11111111105







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.1131813673095280.2263627346190550.886818632690472
180.09486806521790090.1897361304358020.9051319347821
190.05817206771195150.1163441354239030.941827932288049
200.03180960745057670.06361921490115330.968190392549423
210.01437071265186690.02874142530373370.985629287348133
220.00803920789637230.01607841579274460.991960792103628
230.004338308212550050.00867661642510010.99566169178745
240.006462000123192210.01292400024638440.993537999876808
250.004200207349113140.008400414698226280.995799792650887
260.00286947649644750.0057389529928950.997130523503553
270.001407018131371360.002814036262742720.998592981868629
280.0005562653693214160.001112530738642830.999443734630679
290.0003835483685491370.0007670967370982730.99961645163145
300.0001647872894869170.0003295745789738350.999835212710513
317.02665180447784e-050.0001405330360895570.999929733481955
322.65088410980220e-055.30176821960439e-050.999973491158902
332.65083203751321e-055.30166407502642e-050.999973491679625
342.52337979192162e-055.04675958384324e-050.999974766202081
352.18773658567291e-054.37547317134581e-050.999978122634143
360.0001087604272818680.0002175208545637370.999891239572718
370.002195801724535330.004391603449070670.997804198275465
380.06302398056229590.1260479611245920.936976019437704
390.1712063615306930.3424127230613850.828793638469307
400.4798350715486350.959670143097270.520164928451365
410.6215068048274690.7569863903450620.378493195172531
420.7374924333088240.5250151333823520.262507566691176
430.8242673145998670.3514653708002660.175732685400133
440.8258048557081630.3483902885836730.174195144291837
450.9238492767213830.1523014465572340.076150723278617
460.8726327047983930.2547345904032150.127367295201607

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
17 & 0.113181367309528 & 0.226362734619055 & 0.886818632690472 \tabularnewline
18 & 0.0948680652179009 & 0.189736130435802 & 0.9051319347821 \tabularnewline
19 & 0.0581720677119515 & 0.116344135423903 & 0.941827932288049 \tabularnewline
20 & 0.0318096074505767 & 0.0636192149011533 & 0.968190392549423 \tabularnewline
21 & 0.0143707126518669 & 0.0287414253037337 & 0.985629287348133 \tabularnewline
22 & 0.0080392078963723 & 0.0160784157927446 & 0.991960792103628 \tabularnewline
23 & 0.00433830821255005 & 0.0086766164251001 & 0.99566169178745 \tabularnewline
24 & 0.00646200012319221 & 0.0129240002463844 & 0.993537999876808 \tabularnewline
25 & 0.00420020734911314 & 0.00840041469822628 & 0.995799792650887 \tabularnewline
26 & 0.0028694764964475 & 0.005738952992895 & 0.997130523503553 \tabularnewline
27 & 0.00140701813137136 & 0.00281403626274272 & 0.998592981868629 \tabularnewline
28 & 0.000556265369321416 & 0.00111253073864283 & 0.999443734630679 \tabularnewline
29 & 0.000383548368549137 & 0.000767096737098273 & 0.99961645163145 \tabularnewline
30 & 0.000164787289486917 & 0.000329574578973835 & 0.999835212710513 \tabularnewline
31 & 7.02665180447784e-05 & 0.000140533036089557 & 0.999929733481955 \tabularnewline
32 & 2.65088410980220e-05 & 5.30176821960439e-05 & 0.999973491158902 \tabularnewline
33 & 2.65083203751321e-05 & 5.30166407502642e-05 & 0.999973491679625 \tabularnewline
34 & 2.52337979192162e-05 & 5.04675958384324e-05 & 0.999974766202081 \tabularnewline
35 & 2.18773658567291e-05 & 4.37547317134581e-05 & 0.999978122634143 \tabularnewline
36 & 0.000108760427281868 & 0.000217520854563737 & 0.999891239572718 \tabularnewline
37 & 0.00219580172453533 & 0.00439160344907067 & 0.997804198275465 \tabularnewline
38 & 0.0630239805622959 & 0.126047961124592 & 0.936976019437704 \tabularnewline
39 & 0.171206361530693 & 0.342412723061385 & 0.828793638469307 \tabularnewline
40 & 0.479835071548635 & 0.95967014309727 & 0.520164928451365 \tabularnewline
41 & 0.621506804827469 & 0.756986390345062 & 0.378493195172531 \tabularnewline
42 & 0.737492433308824 & 0.525015133382352 & 0.262507566691176 \tabularnewline
43 & 0.824267314599867 & 0.351465370800266 & 0.175732685400133 \tabularnewline
44 & 0.825804855708163 & 0.348390288583673 & 0.174195144291837 \tabularnewline
45 & 0.923849276721383 & 0.152301446557234 & 0.076150723278617 \tabularnewline
46 & 0.872632704798393 & 0.254734590403215 & 0.127367295201607 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34204&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]17[/C][C]0.113181367309528[/C][C]0.226362734619055[/C][C]0.886818632690472[/C][/ROW]
[ROW][C]18[/C][C]0.0948680652179009[/C][C]0.189736130435802[/C][C]0.9051319347821[/C][/ROW]
[ROW][C]19[/C][C]0.0581720677119515[/C][C]0.116344135423903[/C][C]0.941827932288049[/C][/ROW]
[ROW][C]20[/C][C]0.0318096074505767[/C][C]0.0636192149011533[/C][C]0.968190392549423[/C][/ROW]
[ROW][C]21[/C][C]0.0143707126518669[/C][C]0.0287414253037337[/C][C]0.985629287348133[/C][/ROW]
[ROW][C]22[/C][C]0.0080392078963723[/C][C]0.0160784157927446[/C][C]0.991960792103628[/C][/ROW]
[ROW][C]23[/C][C]0.00433830821255005[/C][C]0.0086766164251001[/C][C]0.99566169178745[/C][/ROW]
[ROW][C]24[/C][C]0.00646200012319221[/C][C]0.0129240002463844[/C][C]0.993537999876808[/C][/ROW]
[ROW][C]25[/C][C]0.00420020734911314[/C][C]0.00840041469822628[/C][C]0.995799792650887[/C][/ROW]
[ROW][C]26[/C][C]0.0028694764964475[/C][C]0.005738952992895[/C][C]0.997130523503553[/C][/ROW]
[ROW][C]27[/C][C]0.00140701813137136[/C][C]0.00281403626274272[/C][C]0.998592981868629[/C][/ROW]
[ROW][C]28[/C][C]0.000556265369321416[/C][C]0.00111253073864283[/C][C]0.999443734630679[/C][/ROW]
[ROW][C]29[/C][C]0.000383548368549137[/C][C]0.000767096737098273[/C][C]0.99961645163145[/C][/ROW]
[ROW][C]30[/C][C]0.000164787289486917[/C][C]0.000329574578973835[/C][C]0.999835212710513[/C][/ROW]
[ROW][C]31[/C][C]7.02665180447784e-05[/C][C]0.000140533036089557[/C][C]0.999929733481955[/C][/ROW]
[ROW][C]32[/C][C]2.65088410980220e-05[/C][C]5.30176821960439e-05[/C][C]0.999973491158902[/C][/ROW]
[ROW][C]33[/C][C]2.65083203751321e-05[/C][C]5.30166407502642e-05[/C][C]0.999973491679625[/C][/ROW]
[ROW][C]34[/C][C]2.52337979192162e-05[/C][C]5.04675958384324e-05[/C][C]0.999974766202081[/C][/ROW]
[ROW][C]35[/C][C]2.18773658567291e-05[/C][C]4.37547317134581e-05[/C][C]0.999978122634143[/C][/ROW]
[ROW][C]36[/C][C]0.000108760427281868[/C][C]0.000217520854563737[/C][C]0.999891239572718[/C][/ROW]
[ROW][C]37[/C][C]0.00219580172453533[/C][C]0.00439160344907067[/C][C]0.997804198275465[/C][/ROW]
[ROW][C]38[/C][C]0.0630239805622959[/C][C]0.126047961124592[/C][C]0.936976019437704[/C][/ROW]
[ROW][C]39[/C][C]0.171206361530693[/C][C]0.342412723061385[/C][C]0.828793638469307[/C][/ROW]
[ROW][C]40[/C][C]0.479835071548635[/C][C]0.95967014309727[/C][C]0.520164928451365[/C][/ROW]
[ROW][C]41[/C][C]0.621506804827469[/C][C]0.756986390345062[/C][C]0.378493195172531[/C][/ROW]
[ROW][C]42[/C][C]0.737492433308824[/C][C]0.525015133382352[/C][C]0.262507566691176[/C][/ROW]
[ROW][C]43[/C][C]0.824267314599867[/C][C]0.351465370800266[/C][C]0.175732685400133[/C][/ROW]
[ROW][C]44[/C][C]0.825804855708163[/C][C]0.348390288583673[/C][C]0.174195144291837[/C][/ROW]
[ROW][C]45[/C][C]0.923849276721383[/C][C]0.152301446557234[/C][C]0.076150723278617[/C][/ROW]
[ROW][C]46[/C][C]0.872632704798393[/C][C]0.254734590403215[/C][C]0.127367295201607[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34204&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34204&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
170.1131813673095280.2263627346190550.886818632690472
180.09486806521790090.1897361304358020.9051319347821
190.05817206771195150.1163441354239030.941827932288049
200.03180960745057670.06361921490115330.968190392549423
210.01437071265186690.02874142530373370.985629287348133
220.00803920789637230.01607841579274460.991960792103628
230.004338308212550050.00867661642510010.99566169178745
240.006462000123192210.01292400024638440.993537999876808
250.004200207349113140.008400414698226280.995799792650887
260.00286947649644750.0057389529928950.997130523503553
270.001407018131371360.002814036262742720.998592981868629
280.0005562653693214160.001112530738642830.999443734630679
290.0003835483685491370.0007670967370982730.99961645163145
300.0001647872894869170.0003295745789738350.999835212710513
317.02665180447784e-050.0001405330360895570.999929733481955
322.65088410980220e-055.30176821960439e-050.999973491158902
332.65083203751321e-055.30166407502642e-050.999973491679625
342.52337979192162e-055.04675958384324e-050.999974766202081
352.18773658567291e-054.37547317134581e-050.999978122634143
360.0001087604272818680.0002175208545637370.999891239572718
370.002195801724535330.004391603449070670.997804198275465
380.06302398056229590.1260479611245920.936976019437704
390.1712063615306930.3424127230613850.828793638469307
400.4798350715486350.959670143097270.520164928451365
410.6215068048274690.7569863903450620.378493195172531
420.7374924333088240.5250151333823520.262507566691176
430.8242673145998670.3514653708002660.175732685400133
440.8258048557081630.3483902885836730.174195144291837
450.9238492767213830.1523014465572340.076150723278617
460.8726327047983930.2547345904032150.127367295201607







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level140.466666666666667NOK
5% type I error level170.566666666666667NOK
10% type I error level180.6NOK

\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 & 14 & 0.466666666666667 & NOK \tabularnewline
5% type I error level & 17 & 0.566666666666667 & NOK \tabularnewline
10% type I error level & 18 & 0.6 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34204&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]14[/C][C]0.466666666666667[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]17[/C][C]0.566666666666667[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]18[/C][C]0.6[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34204&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34204&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 level140.466666666666667NOK
5% type I error level170.566666666666667NOK
10% type I error level180.6NOK



Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
R code (references can be found in the software module):
library(lattice)
library(lmtest)
n25 <- 25 #minimum number of obs. for Goldfeld-Quandt test
par1 <- as.numeric(par1)
x <- t(y)
k <- length(x[1,])
n <- length(x[,1])
x1 <- cbind(x[,par1], x[,1:k!=par1])
mycolnames <- c(colnames(x)[par1], colnames(x)[1:k!=par1])
colnames(x1) <- mycolnames #colnames(x)[par1]
x <- x1
if (par3 == 'First Differences'){
x2 <- array(0, dim=c(n-1,k), dimnames=list(1:(n-1), paste('(1-B)',colnames(x),sep='')))
for (i in 1:n-1) {
for (j in 1:k) {
x2[i,j] <- x[i+1,j] - x[i,j]
}
}
x <- x2
}
if (par2 == 'Include Monthly Dummies'){
x2 <- array(0, dim=c(n,11), dimnames=list(1:n, paste('M', seq(1:11), sep ='')))
for (i in 1:11){
x2[seq(i,n,12),i] <- 1
}
x <- cbind(x, x2)
}
if (par2 == 'Include Quarterly Dummies'){
x2 <- array(0, dim=c(n,3), dimnames=list(1:n, paste('Q', seq(1:3), sep ='')))
for (i in 1:3){
x2[seq(i,n,4),i] <- 1
}
x <- cbind(x, x2)
}
k <- length(x[1,])
if (par3 == 'Linear Trend'){
x <- cbind(x, c(1:n))
colnames(x)[k+1] <- 't'
}
x
k <- length(x[1,])
df <- as.data.frame(x)
(mylm <- lm(df))
(mysum <- summary(mylm))
if (n > n25) {
kp3 <- k + 3
nmkm3 <- n - k - 3
gqarr <- array(NA, dim=c(nmkm3-kp3+1,3))
numgqtests <- 0
numsignificant1 <- 0
numsignificant5 <- 0
numsignificant10 <- 0
for (mypoint in kp3:nmkm3) {
j <- 0
numgqtests <- numgqtests + 1
for (myalt in c('greater', 'two.sided', 'less')) {
j <- j + 1
gqarr[mypoint-kp3+1,j] <- gqtest(mylm, point=mypoint, alternative=myalt)$p.value
}
if (gqarr[mypoint-kp3+1,2] < 0.01) numsignificant1 <- numsignificant1 + 1
if (gqarr[mypoint-kp3+1,2] < 0.05) numsignificant5 <- numsignificant5 + 1
if (gqarr[mypoint-kp3+1,2] < 0.10) numsignificant10 <- numsignificant10 + 1
}
gqarr
}
bitmap(file='test0.png')
plot(x[,1], type='l', main='Actuals and Interpolation', ylab='value of Actuals and Interpolation (dots)', xlab='time or index')
points(x[,1]-mysum$resid)
grid()
dev.off()
bitmap(file='test1.png')
plot(mysum$resid, type='b', pch=19, main='Residuals', ylab='value of Residuals', xlab='time or index')
grid()
dev.off()
bitmap(file='test2.png')
hist(mysum$resid, main='Residual Histogram', xlab='values of Residuals')
grid()
dev.off()
bitmap(file='test3.png')
densityplot(~mysum$resid,col='black',main='Residual Density Plot', xlab='values of Residuals')
dev.off()
bitmap(file='test4.png')
qqnorm(mysum$resid, main='Residual Normal Q-Q Plot')
qqline(mysum$resid)
grid()
dev.off()
(myerror <- as.ts(mysum$resid))
bitmap(file='test5.png')
dum <- cbind(lag(myerror,k=1),myerror)
dum
dum1 <- dum[2:length(myerror),]
dum1
z <- as.data.frame(dum1)
z
plot(z,main=paste('Residual Lag plot, lowess, and regression line'), ylab='values of Residuals', xlab='lagged values of Residuals')
lines(lowess(z))
abline(lm(z))
grid()
dev.off()
bitmap(file='test6.png')
acf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Autocorrelation Function')
grid()
dev.off()
bitmap(file='test7.png')
pacf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Partial Autocorrelation Function')
grid()
dev.off()
bitmap(file='test8.png')
opar <- par(mfrow = c(2,2), oma = c(0, 0, 1.1, 0))
plot(mylm, las = 1, sub='Residual Diagnostics')
par(opar)
dev.off()
if (n > n25) {
bitmap(file='test9.png')
plot(kp3:nmkm3,gqarr[,2], main='Goldfeld-Quandt test',ylab='2-sided p-value',xlab='breakpoint')
grid()
dev.off()
}
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Estimated Regression Equation', 1, TRUE)
a<-table.row.end(a)
myeq <- colnames(x)[1]
myeq <- paste(myeq, '[t] = ', sep='')
for (i in 1:k){
if (mysum$coefficients[i,1] > 0) myeq <- paste(myeq, '+', '')
myeq <- paste(myeq, mysum$coefficients[i,1], sep=' ')
if (rownames(mysum$coefficients)[i] != '(Intercept)') {
myeq <- paste(myeq, rownames(mysum$coefficients)[i], sep='')
if (rownames(mysum$coefficients)[i] != 't') myeq <- paste(myeq, '[t]', sep='')
}
}
myeq <- paste(myeq, ' + e[t]')
a<-table.row.start(a)
a<-table.element(a, myeq)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable1.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,hyperlink('ols1.htm','Multiple Linear Regression - Ordinary Least Squares',''), 6, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Variable',header=TRUE)
a<-table.element(a,'Parameter',header=TRUE)
a<-table.element(a,'S.D.',header=TRUE)
a<-table.element(a,'T-STAT
H0: parameter = 0',header=TRUE)
a<-table.element(a,'2-tail p-value',header=TRUE)
a<-table.element(a,'1-tail p-value',header=TRUE)
a<-table.row.end(a)
for (i in 1:k){
a<-table.row.start(a)
a<-table.element(a,rownames(mysum$coefficients)[i],header=TRUE)
a<-table.element(a,mysum$coefficients[i,1])
a<-table.element(a, round(mysum$coefficients[i,2],6))
a<-table.element(a, round(mysum$coefficients[i,3],4))
a<-table.element(a, round(mysum$coefficients[i,4],6))
a<-table.element(a, round(mysum$coefficients[i,4]/2,6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable2.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Regression Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple R',1,TRUE)
a<-table.element(a, sqrt(mysum$r.squared))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'R-squared',1,TRUE)
a<-table.element(a, mysum$r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Adjusted R-squared',1,TRUE)
a<-table.element(a, mysum$adj.r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (value)',1,TRUE)
a<-table.element(a, mysum$fstatistic[1])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF numerator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[2])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF denominator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[3])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'p-value',1,TRUE)
a<-table.element(a, 1-pf(mysum$fstatistic[1],mysum$fstatistic[2],mysum$fstatistic[3]))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Residual Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Residual Standard Deviation',1,TRUE)
a<-table.element(a, mysum$sigma)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Sum Squared Residuals',1,TRUE)
a<-table.element(a, sum(myerror*myerror))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable3.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Actuals, Interpolation, and Residuals', 4, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Time or Index', 1, TRUE)
a<-table.element(a, 'Actuals', 1, TRUE)
a<-table.element(a, 'Interpolation
Forecast', 1, TRUE)
a<-table.element(a, 'Residuals
Prediction Error', 1, TRUE)
a<-table.row.end(a)
for (i in 1:n) {
a<-table.row.start(a)
a<-table.element(a,i, 1, TRUE)
a<-table.element(a,x[i])
a<-table.element(a,x[i]-mysum$resid[i])
a<-table.element(a,mysum$resid[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable4.tab')
if (n > n25) {
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'p-values',header=TRUE)
a<-table.element(a,'Alternative Hypothesis',3,header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'breakpoint index',header=TRUE)
a<-table.element(a,'greater',header=TRUE)
a<-table.element(a,'2-sided',header=TRUE)
a<-table.element(a,'less',header=TRUE)
a<-table.row.end(a)
for (mypoint in kp3:nmkm3) {
a<-table.row.start(a)
a<-table.element(a,mypoint,header=TRUE)
a<-table.element(a,gqarr[mypoint-kp3+1,1])
a<-table.element(a,gqarr[mypoint-kp3+1,2])
a<-table.element(a,gqarr[mypoint-kp3+1,3])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable5.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Description',header=TRUE)
a<-table.element(a,'# significant tests',header=TRUE)
a<-table.element(a,'% significant tests',header=TRUE)
a<-table.element(a,'OK/NOK',header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'1% type I error level',header=TRUE)
a<-table.element(a,numsignificant1)
a<-table.element(a,numsignificant1/numgqtests)
if (numsignificant1/numgqtests < 0.01) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'5% type I error level',header=TRUE)
a<-table.element(a,numsignificant5)
a<-table.element(a,numsignificant5/numgqtests)
if (numsignificant5/numgqtests < 0.05) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'10% type I error level',header=TRUE)
a<-table.element(a,numsignificant10)
a<-table.element(a,numsignificant10/numgqtests)
if (numsignificant10/numgqtests < 0.1) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable6.tab')
}