Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationWed, 29 Dec 2010 15:22:47 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2010/Dec/29/t1293644310k9gur43xm559dtc.htm/, Retrieved Fri, 03 May 2024 10:39:02 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=116990, Retrieved Fri, 03 May 2024 10:39:02 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact109
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [multiple regression] [2010-12-29 15:22:47] [95610e892c4b5c84ff80f4c898567a9d] [Current]
Feedback Forum

Post a new message
Dataseries X:
0.3	575093
-0.1	557560
-1	564478
-1.2	580523
-0.8	596594
-1.7	586570
-1.1	536214
-0.4	523597
0.6	536535
0.6	536322
1.9	532638
2.3	528222
2.6	516141
3.1	501866
4.7	506174
5.5	517945
5.4	533590
5.9	528379
5.8	477580
5.2	469357
4.2	490243
4.4	492622
3.6	507561
3.5	516922
3.1	514258
2.9	509846
2.2	527070
1.5	541657
1.1	564591
1.4	555362
1.3	498662
1.3	511038
1.8	525919
1.8	531673
1.8	548854
1.7	560576
1.6	557274
1.5	565742
1.2	587625
1.2	619916
1.6	625809
1.6	619567
1.9	572942
2.2	572775
2	574205
1.7	579799
2.4	590072
2.6	593408
2.9	597141
2.6	595404
2.5	612117
3.2	628232
3.1	628884
3.1	620735
2.9	569028
2.5	567456
2.8	573100
3.1	584428
2.6	589379
2.3	590865




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=116990&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 time9 seconds
R Server'George Udny Yule' @ 72.249.76.132







Multiple Linear Regression - Estimated Regression Equation
Inflatie[t] = + 12.3609333973041 -1.77078103731875e-05werkloosheid[t] -0.48655143657754M1[t] -0.690988560596528M2[t] -0.533540989740383M3[t] -0.0919352793046248M4[t] + 0.164790611852818M5[t] + 0.00718321744277767M6[t] -0.800118945772382M7[t] -0.836253503619908M8[t] -0.518708712658703M9[t] -0.390729227600558M10[t] -0.0961046274218843M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Inflatie[t] =  +  12.3609333973041 -1.77078103731875e-05werkloosheid[t] -0.48655143657754M1[t] -0.690988560596528M2[t] -0.533540989740383M3[t] -0.0919352793046248M4[t] +  0.164790611852818M5[t] +  0.00718321744277767M6[t] -0.800118945772382M7[t] -0.836253503619908M8[t] -0.518708712658703M9[t] -0.390729227600558M10[t] -0.0961046274218843M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=116990&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Inflatie[t] =  +  12.3609333973041 -1.77078103731875e-05werkloosheid[t] -0.48655143657754M1[t] -0.690988560596528M2[t] -0.533540989740383M3[t] -0.0919352793046248M4[t] +  0.164790611852818M5[t] +  0.00718321744277767M6[t] -0.800118945772382M7[t] -0.836253503619908M8[t] -0.518708712658703M9[t] -0.390729227600558M10[t] -0.0961046274218843M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=116990&T=1

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

As an alternative you can also use a QR Code:  

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

Multiple Linear Regression - Estimated Regression Equation
Inflatie[t] = + 12.3609333973041 -1.77078103731875e-05werkloosheid[t] -0.48655143657754M1[t] -0.690988560596528M2[t] -0.533540989740383M3[t] -0.0919352793046248M4[t] + 0.164790611852818M5[t] + 0.00718321744277767M6[t] -0.800118945772382M7[t] -0.836253503619908M8[t] -0.518708712658703M9[t] -0.390729227600558M10[t] -0.0961046274218843M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)12.36093339730413.6116963.42250.0012950.000647
werkloosheid-1.77078103731875e-056e-06-2.80240.0073460.003673
M1-0.486551436577541.10716-0.43950.6623430.331172
M2-0.6909885605965281.109066-0.6230.5362720.268136
M3-0.5335409897403831.106547-0.48220.6319250.315962
M4-0.09193527930462481.113456-0.08260.9345460.467273
M50.1647906118528181.1247120.14650.8841390.44207
M60.007183217442777671.1169580.00640.9948960.497448
M7-0.8001189457723821.119692-0.71460.4783980.239199
M8-0.8362535036199081.121738-0.74550.4596830.229841
M9-0.5187087126587031.112336-0.46630.6431380.321569
M10-0.3907292276005581.109566-0.35210.7263030.363151
M11-0.09610462742188431.10684-0.08680.9311770.465589

\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) & 12.3609333973041 & 3.611696 & 3.4225 & 0.001295 & 0.000647 \tabularnewline
werkloosheid & -1.77078103731875e-05 & 6e-06 & -2.8024 & 0.007346 & 0.003673 \tabularnewline
M1 & -0.48655143657754 & 1.10716 & -0.4395 & 0.662343 & 0.331172 \tabularnewline
M2 & -0.690988560596528 & 1.109066 & -0.623 & 0.536272 & 0.268136 \tabularnewline
M3 & -0.533540989740383 & 1.106547 & -0.4822 & 0.631925 & 0.315962 \tabularnewline
M4 & -0.0919352793046248 & 1.113456 & -0.0826 & 0.934546 & 0.467273 \tabularnewline
M5 & 0.164790611852818 & 1.124712 & 0.1465 & 0.884139 & 0.44207 \tabularnewline
M6 & 0.00718321744277767 & 1.116958 & 0.0064 & 0.994896 & 0.497448 \tabularnewline
M7 & -0.800118945772382 & 1.119692 & -0.7146 & 0.478398 & 0.239199 \tabularnewline
M8 & -0.836253503619908 & 1.121738 & -0.7455 & 0.459683 & 0.229841 \tabularnewline
M9 & -0.518708712658703 & 1.112336 & -0.4663 & 0.643138 & 0.321569 \tabularnewline
M10 & -0.390729227600558 & 1.109566 & -0.3521 & 0.726303 & 0.363151 \tabularnewline
M11 & -0.0961046274218843 & 1.10684 & -0.0868 & 0.931177 & 0.465589 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=116990&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]12.3609333973041[/C][C]3.611696[/C][C]3.4225[/C][C]0.001295[/C][C]0.000647[/C][/ROW]
[ROW][C]werkloosheid[/C][C]-1.77078103731875e-05[/C][C]6e-06[/C][C]-2.8024[/C][C]0.007346[/C][C]0.003673[/C][/ROW]
[ROW][C]M1[/C][C]-0.48655143657754[/C][C]1.10716[/C][C]-0.4395[/C][C]0.662343[/C][C]0.331172[/C][/ROW]
[ROW][C]M2[/C][C]-0.690988560596528[/C][C]1.109066[/C][C]-0.623[/C][C]0.536272[/C][C]0.268136[/C][/ROW]
[ROW][C]M3[/C][C]-0.533540989740383[/C][C]1.106547[/C][C]-0.4822[/C][C]0.631925[/C][C]0.315962[/C][/ROW]
[ROW][C]M4[/C][C]-0.0919352793046248[/C][C]1.113456[/C][C]-0.0826[/C][C]0.934546[/C][C]0.467273[/C][/ROW]
[ROW][C]M5[/C][C]0.164790611852818[/C][C]1.124712[/C][C]0.1465[/C][C]0.884139[/C][C]0.44207[/C][/ROW]
[ROW][C]M6[/C][C]0.00718321744277767[/C][C]1.116958[/C][C]0.0064[/C][C]0.994896[/C][C]0.497448[/C][/ROW]
[ROW][C]M7[/C][C]-0.800118945772382[/C][C]1.119692[/C][C]-0.7146[/C][C]0.478398[/C][C]0.239199[/C][/ROW]
[ROW][C]M8[/C][C]-0.836253503619908[/C][C]1.121738[/C][C]-0.7455[/C][C]0.459683[/C][C]0.229841[/C][/ROW]
[ROW][C]M9[/C][C]-0.518708712658703[/C][C]1.112336[/C][C]-0.4663[/C][C]0.643138[/C][C]0.321569[/C][/ROW]
[ROW][C]M10[/C][C]-0.390729227600558[/C][C]1.109566[/C][C]-0.3521[/C][C]0.726303[/C][C]0.363151[/C][/ROW]
[ROW][C]M11[/C][C]-0.0961046274218843[/C][C]1.10684[/C][C]-0.0868[/C][C]0.931177[/C][C]0.465589[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=116990&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=116990&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)12.36093339730413.6116963.42250.0012950.000647
werkloosheid-1.77078103731875e-056e-06-2.80240.0073460.003673
M1-0.486551436577541.10716-0.43950.6623430.331172
M2-0.6909885605965281.109066-0.6230.5362720.268136
M3-0.5335409897403831.106547-0.48220.6319250.315962
M4-0.09193527930462481.113456-0.08260.9345460.467273
M50.1647906118528181.1247120.14650.8841390.44207
M60.007183217442777671.1169580.00640.9948960.497448
M7-0.8001189457723821.119692-0.71460.4783980.239199
M8-0.8362535036199081.121738-0.74550.4596830.229841
M9-0.5187087126587031.112336-0.46630.6431380.321569
M10-0.3907292276005581.109566-0.35210.7263030.363151
M11-0.09610462742188431.10684-0.08680.9311770.465589







Multiple Linear Regression - Regression Statistics
Multiple R0.389828112452004
R-squared0.151965957257892
Adjusted R-squared-0.0645533728039227
F-TEST (value)0.701858615646496
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0.741509942005791
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.74954127568227
Sum Squared Residuals143.862049739850

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.389828112452004 \tabularnewline
R-squared & 0.151965957257892 \tabularnewline
Adjusted R-squared & -0.0645533728039227 \tabularnewline
F-TEST (value) & 0.701858615646496 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 0.741509942005791 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 1.74954127568227 \tabularnewline
Sum Squared Residuals & 143.862049739850 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=116990&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.389828112452004[/C][/ROW]
[ROW][C]R-squared[/C][C]0.151965957257892[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]-0.0645533728039227[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]0.701858615646496[/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]0.741509942005791[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]1.74954127568227[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]143.862049739850[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=116990&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=116990&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.389828112452004
R-squared0.151965957257892
Adjusted R-squared-0.0645533728039227
F-TEST (value)0.701858615646496
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0.741509942005791
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.74954127568227
Sum Squared Residuals143.862049739850







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
10.31.69074416977903-1.39074416977903
2-0.11.79677808503315-1.89677808503315
3-11.83172302372759-2.83172302372759
4-1.21.98920691672555-3.18920691672555
5-0.81.96135058737549-2.76135058737549
6-1.71.98124628414629-3.68124628414628
7-1.12.06563862008336-3.16563862008336
8-0.42.25292350571434-2.65292350571434
90.62.34136464606725-1.74136464606724
100.62.47311589473488-1.87311589473488
111.92.83297606832837-0.932976068328375
122.33.00727838635826-0.707278386358255
132.62.73465500689919-0.134655006899194
143.12.782996875957460.317003124042542
154.72.864159199725911.83584080027409
165.53.097326274258882.40267372574112
175.43.07701347212782.32298652787220
185.93.011681477572442.88831852242756
195.83.103918373504842.69608162649516
205.23.213395140356031.98660485964397
214.23.161094603862841.03890539613716
224.43.246947208043171.15305279195683
233.63.27703482905680.322965170943201
243.53.207376643575280.292623356424725
253.12.767998813831910.332001186168095
262.92.641688549179420.258311450820578
272.22.49413679416779-0.294136794167785
281.52.67743867468986-1.17743867468986
291.12.52805364274862-1.42805364274862
301.42.53387163027272-1.13387163027272
311.32.73060231521730-1.43060231521730
321.32.4753158961912-1.17531589619120
331.82.52935076098900-0.729350760989003
341.82.55543950515983-0.755439505159827
351.82.54582621531677-0.745826215316766
361.72.43435988954415-0.734359889544146
371.62.00627964281887-0.406279642818871
381.51.65189278055973-0.151892780559731
391.21.42184033701941-0.221840337019414
401.21.29164314269457-0.0916431426945725
411.61.444016907322820.155983092677179
421.61.396941665262220.203058334737784
431.91.415266160696930.484733839303074
442.21.382088807181720.817911192818278
4521.674311429309270.32568857069073
461.71.70323342313980-0.00323342313980343
472.41.815945687354720.584054312645279
482.61.852977059371650.747022940628348
492.91.300322366671001.59967763332900
502.61.126643709270241.47335629072976
512.50.9881406453593041.51185935464070
523.21.144384991631152.05561500836885
533.11.389565390425271.71043460957473
543.11.376258942746331.72374105725367
552.91.484574530497581.41542546950242
562.51.476276650556711.02372334944329
572.81.693878559771641.10612144022836
583.11.621263968922321.47873603107768
592.61.828217199943340.77178280005666
602.31.898008021150670.401991978849332

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 0.3 & 1.69074416977903 & -1.39074416977903 \tabularnewline
2 & -0.1 & 1.79677808503315 & -1.89677808503315 \tabularnewline
3 & -1 & 1.83172302372759 & -2.83172302372759 \tabularnewline
4 & -1.2 & 1.98920691672555 & -3.18920691672555 \tabularnewline
5 & -0.8 & 1.96135058737549 & -2.76135058737549 \tabularnewline
6 & -1.7 & 1.98124628414629 & -3.68124628414628 \tabularnewline
7 & -1.1 & 2.06563862008336 & -3.16563862008336 \tabularnewline
8 & -0.4 & 2.25292350571434 & -2.65292350571434 \tabularnewline
9 & 0.6 & 2.34136464606725 & -1.74136464606724 \tabularnewline
10 & 0.6 & 2.47311589473488 & -1.87311589473488 \tabularnewline
11 & 1.9 & 2.83297606832837 & -0.932976068328375 \tabularnewline
12 & 2.3 & 3.00727838635826 & -0.707278386358255 \tabularnewline
13 & 2.6 & 2.73465500689919 & -0.134655006899194 \tabularnewline
14 & 3.1 & 2.78299687595746 & 0.317003124042542 \tabularnewline
15 & 4.7 & 2.86415919972591 & 1.83584080027409 \tabularnewline
16 & 5.5 & 3.09732627425888 & 2.40267372574112 \tabularnewline
17 & 5.4 & 3.0770134721278 & 2.32298652787220 \tabularnewline
18 & 5.9 & 3.01168147757244 & 2.88831852242756 \tabularnewline
19 & 5.8 & 3.10391837350484 & 2.69608162649516 \tabularnewline
20 & 5.2 & 3.21339514035603 & 1.98660485964397 \tabularnewline
21 & 4.2 & 3.16109460386284 & 1.03890539613716 \tabularnewline
22 & 4.4 & 3.24694720804317 & 1.15305279195683 \tabularnewline
23 & 3.6 & 3.2770348290568 & 0.322965170943201 \tabularnewline
24 & 3.5 & 3.20737664357528 & 0.292623356424725 \tabularnewline
25 & 3.1 & 2.76799881383191 & 0.332001186168095 \tabularnewline
26 & 2.9 & 2.64168854917942 & 0.258311450820578 \tabularnewline
27 & 2.2 & 2.49413679416779 & -0.294136794167785 \tabularnewline
28 & 1.5 & 2.67743867468986 & -1.17743867468986 \tabularnewline
29 & 1.1 & 2.52805364274862 & -1.42805364274862 \tabularnewline
30 & 1.4 & 2.53387163027272 & -1.13387163027272 \tabularnewline
31 & 1.3 & 2.73060231521730 & -1.43060231521730 \tabularnewline
32 & 1.3 & 2.4753158961912 & -1.17531589619120 \tabularnewline
33 & 1.8 & 2.52935076098900 & -0.729350760989003 \tabularnewline
34 & 1.8 & 2.55543950515983 & -0.755439505159827 \tabularnewline
35 & 1.8 & 2.54582621531677 & -0.745826215316766 \tabularnewline
36 & 1.7 & 2.43435988954415 & -0.734359889544146 \tabularnewline
37 & 1.6 & 2.00627964281887 & -0.406279642818871 \tabularnewline
38 & 1.5 & 1.65189278055973 & -0.151892780559731 \tabularnewline
39 & 1.2 & 1.42184033701941 & -0.221840337019414 \tabularnewline
40 & 1.2 & 1.29164314269457 & -0.0916431426945725 \tabularnewline
41 & 1.6 & 1.44401690732282 & 0.155983092677179 \tabularnewline
42 & 1.6 & 1.39694166526222 & 0.203058334737784 \tabularnewline
43 & 1.9 & 1.41526616069693 & 0.484733839303074 \tabularnewline
44 & 2.2 & 1.38208880718172 & 0.817911192818278 \tabularnewline
45 & 2 & 1.67431142930927 & 0.32568857069073 \tabularnewline
46 & 1.7 & 1.70323342313980 & -0.00323342313980343 \tabularnewline
47 & 2.4 & 1.81594568735472 & 0.584054312645279 \tabularnewline
48 & 2.6 & 1.85297705937165 & 0.747022940628348 \tabularnewline
49 & 2.9 & 1.30032236667100 & 1.59967763332900 \tabularnewline
50 & 2.6 & 1.12664370927024 & 1.47335629072976 \tabularnewline
51 & 2.5 & 0.988140645359304 & 1.51185935464070 \tabularnewline
52 & 3.2 & 1.14438499163115 & 2.05561500836885 \tabularnewline
53 & 3.1 & 1.38956539042527 & 1.71043460957473 \tabularnewline
54 & 3.1 & 1.37625894274633 & 1.72374105725367 \tabularnewline
55 & 2.9 & 1.48457453049758 & 1.41542546950242 \tabularnewline
56 & 2.5 & 1.47627665055671 & 1.02372334944329 \tabularnewline
57 & 2.8 & 1.69387855977164 & 1.10612144022836 \tabularnewline
58 & 3.1 & 1.62126396892232 & 1.47873603107768 \tabularnewline
59 & 2.6 & 1.82821719994334 & 0.77178280005666 \tabularnewline
60 & 2.3 & 1.89800802115067 & 0.401991978849332 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=116990&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]0.3[/C][C]1.69074416977903[/C][C]-1.39074416977903[/C][/ROW]
[ROW][C]2[/C][C]-0.1[/C][C]1.79677808503315[/C][C]-1.89677808503315[/C][/ROW]
[ROW][C]3[/C][C]-1[/C][C]1.83172302372759[/C][C]-2.83172302372759[/C][/ROW]
[ROW][C]4[/C][C]-1.2[/C][C]1.98920691672555[/C][C]-3.18920691672555[/C][/ROW]
[ROW][C]5[/C][C]-0.8[/C][C]1.96135058737549[/C][C]-2.76135058737549[/C][/ROW]
[ROW][C]6[/C][C]-1.7[/C][C]1.98124628414629[/C][C]-3.68124628414628[/C][/ROW]
[ROW][C]7[/C][C]-1.1[/C][C]2.06563862008336[/C][C]-3.16563862008336[/C][/ROW]
[ROW][C]8[/C][C]-0.4[/C][C]2.25292350571434[/C][C]-2.65292350571434[/C][/ROW]
[ROW][C]9[/C][C]0.6[/C][C]2.34136464606725[/C][C]-1.74136464606724[/C][/ROW]
[ROW][C]10[/C][C]0.6[/C][C]2.47311589473488[/C][C]-1.87311589473488[/C][/ROW]
[ROW][C]11[/C][C]1.9[/C][C]2.83297606832837[/C][C]-0.932976068328375[/C][/ROW]
[ROW][C]12[/C][C]2.3[/C][C]3.00727838635826[/C][C]-0.707278386358255[/C][/ROW]
[ROW][C]13[/C][C]2.6[/C][C]2.73465500689919[/C][C]-0.134655006899194[/C][/ROW]
[ROW][C]14[/C][C]3.1[/C][C]2.78299687595746[/C][C]0.317003124042542[/C][/ROW]
[ROW][C]15[/C][C]4.7[/C][C]2.86415919972591[/C][C]1.83584080027409[/C][/ROW]
[ROW][C]16[/C][C]5.5[/C][C]3.09732627425888[/C][C]2.40267372574112[/C][/ROW]
[ROW][C]17[/C][C]5.4[/C][C]3.0770134721278[/C][C]2.32298652787220[/C][/ROW]
[ROW][C]18[/C][C]5.9[/C][C]3.01168147757244[/C][C]2.88831852242756[/C][/ROW]
[ROW][C]19[/C][C]5.8[/C][C]3.10391837350484[/C][C]2.69608162649516[/C][/ROW]
[ROW][C]20[/C][C]5.2[/C][C]3.21339514035603[/C][C]1.98660485964397[/C][/ROW]
[ROW][C]21[/C][C]4.2[/C][C]3.16109460386284[/C][C]1.03890539613716[/C][/ROW]
[ROW][C]22[/C][C]4.4[/C][C]3.24694720804317[/C][C]1.15305279195683[/C][/ROW]
[ROW][C]23[/C][C]3.6[/C][C]3.2770348290568[/C][C]0.322965170943201[/C][/ROW]
[ROW][C]24[/C][C]3.5[/C][C]3.20737664357528[/C][C]0.292623356424725[/C][/ROW]
[ROW][C]25[/C][C]3.1[/C][C]2.76799881383191[/C][C]0.332001186168095[/C][/ROW]
[ROW][C]26[/C][C]2.9[/C][C]2.64168854917942[/C][C]0.258311450820578[/C][/ROW]
[ROW][C]27[/C][C]2.2[/C][C]2.49413679416779[/C][C]-0.294136794167785[/C][/ROW]
[ROW][C]28[/C][C]1.5[/C][C]2.67743867468986[/C][C]-1.17743867468986[/C][/ROW]
[ROW][C]29[/C][C]1.1[/C][C]2.52805364274862[/C][C]-1.42805364274862[/C][/ROW]
[ROW][C]30[/C][C]1.4[/C][C]2.53387163027272[/C][C]-1.13387163027272[/C][/ROW]
[ROW][C]31[/C][C]1.3[/C][C]2.73060231521730[/C][C]-1.43060231521730[/C][/ROW]
[ROW][C]32[/C][C]1.3[/C][C]2.4753158961912[/C][C]-1.17531589619120[/C][/ROW]
[ROW][C]33[/C][C]1.8[/C][C]2.52935076098900[/C][C]-0.729350760989003[/C][/ROW]
[ROW][C]34[/C][C]1.8[/C][C]2.55543950515983[/C][C]-0.755439505159827[/C][/ROW]
[ROW][C]35[/C][C]1.8[/C][C]2.54582621531677[/C][C]-0.745826215316766[/C][/ROW]
[ROW][C]36[/C][C]1.7[/C][C]2.43435988954415[/C][C]-0.734359889544146[/C][/ROW]
[ROW][C]37[/C][C]1.6[/C][C]2.00627964281887[/C][C]-0.406279642818871[/C][/ROW]
[ROW][C]38[/C][C]1.5[/C][C]1.65189278055973[/C][C]-0.151892780559731[/C][/ROW]
[ROW][C]39[/C][C]1.2[/C][C]1.42184033701941[/C][C]-0.221840337019414[/C][/ROW]
[ROW][C]40[/C][C]1.2[/C][C]1.29164314269457[/C][C]-0.0916431426945725[/C][/ROW]
[ROW][C]41[/C][C]1.6[/C][C]1.44401690732282[/C][C]0.155983092677179[/C][/ROW]
[ROW][C]42[/C][C]1.6[/C][C]1.39694166526222[/C][C]0.203058334737784[/C][/ROW]
[ROW][C]43[/C][C]1.9[/C][C]1.41526616069693[/C][C]0.484733839303074[/C][/ROW]
[ROW][C]44[/C][C]2.2[/C][C]1.38208880718172[/C][C]0.817911192818278[/C][/ROW]
[ROW][C]45[/C][C]2[/C][C]1.67431142930927[/C][C]0.32568857069073[/C][/ROW]
[ROW][C]46[/C][C]1.7[/C][C]1.70323342313980[/C][C]-0.00323342313980343[/C][/ROW]
[ROW][C]47[/C][C]2.4[/C][C]1.81594568735472[/C][C]0.584054312645279[/C][/ROW]
[ROW][C]48[/C][C]2.6[/C][C]1.85297705937165[/C][C]0.747022940628348[/C][/ROW]
[ROW][C]49[/C][C]2.9[/C][C]1.30032236667100[/C][C]1.59967763332900[/C][/ROW]
[ROW][C]50[/C][C]2.6[/C][C]1.12664370927024[/C][C]1.47335629072976[/C][/ROW]
[ROW][C]51[/C][C]2.5[/C][C]0.988140645359304[/C][C]1.51185935464070[/C][/ROW]
[ROW][C]52[/C][C]3.2[/C][C]1.14438499163115[/C][C]2.05561500836885[/C][/ROW]
[ROW][C]53[/C][C]3.1[/C][C]1.38956539042527[/C][C]1.71043460957473[/C][/ROW]
[ROW][C]54[/C][C]3.1[/C][C]1.37625894274633[/C][C]1.72374105725367[/C][/ROW]
[ROW][C]55[/C][C]2.9[/C][C]1.48457453049758[/C][C]1.41542546950242[/C][/ROW]
[ROW][C]56[/C][C]2.5[/C][C]1.47627665055671[/C][C]1.02372334944329[/C][/ROW]
[ROW][C]57[/C][C]2.8[/C][C]1.69387855977164[/C][C]1.10612144022836[/C][/ROW]
[ROW][C]58[/C][C]3.1[/C][C]1.62126396892232[/C][C]1.47873603107768[/C][/ROW]
[ROW][C]59[/C][C]2.6[/C][C]1.82821719994334[/C][C]0.77178280005666[/C][/ROW]
[ROW][C]60[/C][C]2.3[/C][C]1.89800802115067[/C][C]0.401991978849332[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=116990&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=116990&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
10.31.69074416977903-1.39074416977903
2-0.11.79677808503315-1.89677808503315
3-11.83172302372759-2.83172302372759
4-1.21.98920691672555-3.18920691672555
5-0.81.96135058737549-2.76135058737549
6-1.71.98124628414629-3.68124628414628
7-1.12.06563862008336-3.16563862008336
8-0.42.25292350571434-2.65292350571434
90.62.34136464606725-1.74136464606724
100.62.47311589473488-1.87311589473488
111.92.83297606832837-0.932976068328375
122.33.00727838635826-0.707278386358255
132.62.73465500689919-0.134655006899194
143.12.782996875957460.317003124042542
154.72.864159199725911.83584080027409
165.53.097326274258882.40267372574112
175.43.07701347212782.32298652787220
185.93.011681477572442.88831852242756
195.83.103918373504842.69608162649516
205.23.213395140356031.98660485964397
214.23.161094603862841.03890539613716
224.43.246947208043171.15305279195683
233.63.27703482905680.322965170943201
243.53.207376643575280.292623356424725
253.12.767998813831910.332001186168095
262.92.641688549179420.258311450820578
272.22.49413679416779-0.294136794167785
281.52.67743867468986-1.17743867468986
291.12.52805364274862-1.42805364274862
301.42.53387163027272-1.13387163027272
311.32.73060231521730-1.43060231521730
321.32.4753158961912-1.17531589619120
331.82.52935076098900-0.729350760989003
341.82.55543950515983-0.755439505159827
351.82.54582621531677-0.745826215316766
361.72.43435988954415-0.734359889544146
371.62.00627964281887-0.406279642818871
381.51.65189278055973-0.151892780559731
391.21.42184033701941-0.221840337019414
401.21.29164314269457-0.0916431426945725
411.61.444016907322820.155983092677179
421.61.396941665262220.203058334737784
431.91.415266160696930.484733839303074
442.21.382088807181720.817911192818278
4521.674311429309270.32568857069073
461.71.70323342313980-0.00323342313980343
472.41.815945687354720.584054312645279
482.61.852977059371650.747022940628348
492.91.300322366671001.59967763332900
502.61.126643709270241.47335629072976
512.50.9881406453593041.51185935464070
523.21.144384991631152.05561500836885
533.11.389565390425271.71043460957473
543.11.376258942746331.72374105725367
552.91.484574530497581.41542546950242
562.51.476276650556711.02372334944329
572.81.693878559771641.10612144022836
583.11.621263968922321.47873603107768
592.61.828217199943340.77178280005666
602.31.898008021150670.401991978849332







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.6574568133395890.6850863733208220.342543186660411
170.6012965931203750.797406813759250.398703406879625
180.7791768517605610.4416462964788770.220823148239439
190.8472388181779110.3055223636441770.152761181822089
200.8785977712179570.2428044575640860.121402228782043
210.8788286600338750.2423426799322510.121171339966125
220.9090134858324470.1819730283351060.0909865141675531
230.9147831038233580.1704337923532840.085216896176642
240.930255287164820.1394894256703590.0697447128351793
250.9502057191957180.09958856160856470.0497942808042823
260.9665115970473810.06697680590523760.0334884029526188
270.9750823999546480.0498352000907040.024917600045352
280.9769625046271640.04607499074567170.0230374953728359
290.970354588365290.05929082326941960.0296454116347098
300.9569042432343270.08619151353134620.0430957567656731
310.9584228651844890.08315426963102290.0415771348155114
320.9315986915335360.1368026169329270.0684013084664637
330.9028137554003060.1943724891993880.097186244599694
340.8861408613226080.2277182773547850.113859138677392
350.8834940605914740.2330118788170530.116505939408526
360.8854948945936260.2290102108127470.114505105406374
370.8619223519882870.2761552960234260.138077648011713
380.8965354301732590.2069291396534820.103464569826741
390.9334702925435470.1330594149129060.0665297074564531
400.9545734132336550.09085317353268920.0454265867663446
410.9634313074157930.07313738516841350.0365686925842068
420.974580358206650.05083928358670010.0254196417933501
430.9744218247235280.05115635055294480.0255781752764724
440.9671707522312860.06565849553742860.0328292477687143

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.657456813339589 & 0.685086373320822 & 0.342543186660411 \tabularnewline
17 & 0.601296593120375 & 0.79740681375925 & 0.398703406879625 \tabularnewline
18 & 0.779176851760561 & 0.441646296478877 & 0.220823148239439 \tabularnewline
19 & 0.847238818177911 & 0.305522363644177 & 0.152761181822089 \tabularnewline
20 & 0.878597771217957 & 0.242804457564086 & 0.121402228782043 \tabularnewline
21 & 0.878828660033875 & 0.242342679932251 & 0.121171339966125 \tabularnewline
22 & 0.909013485832447 & 0.181973028335106 & 0.0909865141675531 \tabularnewline
23 & 0.914783103823358 & 0.170433792353284 & 0.085216896176642 \tabularnewline
24 & 0.93025528716482 & 0.139489425670359 & 0.0697447128351793 \tabularnewline
25 & 0.950205719195718 & 0.0995885616085647 & 0.0497942808042823 \tabularnewline
26 & 0.966511597047381 & 0.0669768059052376 & 0.0334884029526188 \tabularnewline
27 & 0.975082399954648 & 0.049835200090704 & 0.024917600045352 \tabularnewline
28 & 0.976962504627164 & 0.0460749907456717 & 0.0230374953728359 \tabularnewline
29 & 0.97035458836529 & 0.0592908232694196 & 0.0296454116347098 \tabularnewline
30 & 0.956904243234327 & 0.0861915135313462 & 0.0430957567656731 \tabularnewline
31 & 0.958422865184489 & 0.0831542696310229 & 0.0415771348155114 \tabularnewline
32 & 0.931598691533536 & 0.136802616932927 & 0.0684013084664637 \tabularnewline
33 & 0.902813755400306 & 0.194372489199388 & 0.097186244599694 \tabularnewline
34 & 0.886140861322608 & 0.227718277354785 & 0.113859138677392 \tabularnewline
35 & 0.883494060591474 & 0.233011878817053 & 0.116505939408526 \tabularnewline
36 & 0.885494894593626 & 0.229010210812747 & 0.114505105406374 \tabularnewline
37 & 0.861922351988287 & 0.276155296023426 & 0.138077648011713 \tabularnewline
38 & 0.896535430173259 & 0.206929139653482 & 0.103464569826741 \tabularnewline
39 & 0.933470292543547 & 0.133059414912906 & 0.0665297074564531 \tabularnewline
40 & 0.954573413233655 & 0.0908531735326892 & 0.0454265867663446 \tabularnewline
41 & 0.963431307415793 & 0.0731373851684135 & 0.0365686925842068 \tabularnewline
42 & 0.97458035820665 & 0.0508392835867001 & 0.0254196417933501 \tabularnewline
43 & 0.974421824723528 & 0.0511563505529448 & 0.0255781752764724 \tabularnewline
44 & 0.967170752231286 & 0.0656584955374286 & 0.0328292477687143 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=116990&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.657456813339589[/C][C]0.685086373320822[/C][C]0.342543186660411[/C][/ROW]
[ROW][C]17[/C][C]0.601296593120375[/C][C]0.79740681375925[/C][C]0.398703406879625[/C][/ROW]
[ROW][C]18[/C][C]0.779176851760561[/C][C]0.441646296478877[/C][C]0.220823148239439[/C][/ROW]
[ROW][C]19[/C][C]0.847238818177911[/C][C]0.305522363644177[/C][C]0.152761181822089[/C][/ROW]
[ROW][C]20[/C][C]0.878597771217957[/C][C]0.242804457564086[/C][C]0.121402228782043[/C][/ROW]
[ROW][C]21[/C][C]0.878828660033875[/C][C]0.242342679932251[/C][C]0.121171339966125[/C][/ROW]
[ROW][C]22[/C][C]0.909013485832447[/C][C]0.181973028335106[/C][C]0.0909865141675531[/C][/ROW]
[ROW][C]23[/C][C]0.914783103823358[/C][C]0.170433792353284[/C][C]0.085216896176642[/C][/ROW]
[ROW][C]24[/C][C]0.93025528716482[/C][C]0.139489425670359[/C][C]0.0697447128351793[/C][/ROW]
[ROW][C]25[/C][C]0.950205719195718[/C][C]0.0995885616085647[/C][C]0.0497942808042823[/C][/ROW]
[ROW][C]26[/C][C]0.966511597047381[/C][C]0.0669768059052376[/C][C]0.0334884029526188[/C][/ROW]
[ROW][C]27[/C][C]0.975082399954648[/C][C]0.049835200090704[/C][C]0.024917600045352[/C][/ROW]
[ROW][C]28[/C][C]0.976962504627164[/C][C]0.0460749907456717[/C][C]0.0230374953728359[/C][/ROW]
[ROW][C]29[/C][C]0.97035458836529[/C][C]0.0592908232694196[/C][C]0.0296454116347098[/C][/ROW]
[ROW][C]30[/C][C]0.956904243234327[/C][C]0.0861915135313462[/C][C]0.0430957567656731[/C][/ROW]
[ROW][C]31[/C][C]0.958422865184489[/C][C]0.0831542696310229[/C][C]0.0415771348155114[/C][/ROW]
[ROW][C]32[/C][C]0.931598691533536[/C][C]0.136802616932927[/C][C]0.0684013084664637[/C][/ROW]
[ROW][C]33[/C][C]0.902813755400306[/C][C]0.194372489199388[/C][C]0.097186244599694[/C][/ROW]
[ROW][C]34[/C][C]0.886140861322608[/C][C]0.227718277354785[/C][C]0.113859138677392[/C][/ROW]
[ROW][C]35[/C][C]0.883494060591474[/C][C]0.233011878817053[/C][C]0.116505939408526[/C][/ROW]
[ROW][C]36[/C][C]0.885494894593626[/C][C]0.229010210812747[/C][C]0.114505105406374[/C][/ROW]
[ROW][C]37[/C][C]0.861922351988287[/C][C]0.276155296023426[/C][C]0.138077648011713[/C][/ROW]
[ROW][C]38[/C][C]0.896535430173259[/C][C]0.206929139653482[/C][C]0.103464569826741[/C][/ROW]
[ROW][C]39[/C][C]0.933470292543547[/C][C]0.133059414912906[/C][C]0.0665297074564531[/C][/ROW]
[ROW][C]40[/C][C]0.954573413233655[/C][C]0.0908531735326892[/C][C]0.0454265867663446[/C][/ROW]
[ROW][C]41[/C][C]0.963431307415793[/C][C]0.0731373851684135[/C][C]0.0365686925842068[/C][/ROW]
[ROW][C]42[/C][C]0.97458035820665[/C][C]0.0508392835867001[/C][C]0.0254196417933501[/C][/ROW]
[ROW][C]43[/C][C]0.974421824723528[/C][C]0.0511563505529448[/C][C]0.0255781752764724[/C][/ROW]
[ROW][C]44[/C][C]0.967170752231286[/C][C]0.0656584955374286[/C][C]0.0328292477687143[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=116990&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=116990&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.6574568133395890.6850863733208220.342543186660411
170.6012965931203750.797406813759250.398703406879625
180.7791768517605610.4416462964788770.220823148239439
190.8472388181779110.3055223636441770.152761181822089
200.8785977712179570.2428044575640860.121402228782043
210.8788286600338750.2423426799322510.121171339966125
220.9090134858324470.1819730283351060.0909865141675531
230.9147831038233580.1704337923532840.085216896176642
240.930255287164820.1394894256703590.0697447128351793
250.9502057191957180.09958856160856470.0497942808042823
260.9665115970473810.06697680590523760.0334884029526188
270.9750823999546480.0498352000907040.024917600045352
280.9769625046271640.04607499074567170.0230374953728359
290.970354588365290.05929082326941960.0296454116347098
300.9569042432343270.08619151353134620.0430957567656731
310.9584228651844890.08315426963102290.0415771348155114
320.9315986915335360.1368026169329270.0684013084664637
330.9028137554003060.1943724891993880.097186244599694
340.8861408613226080.2277182773547850.113859138677392
350.8834940605914740.2330118788170530.116505939408526
360.8854948945936260.2290102108127470.114505105406374
370.8619223519882870.2761552960234260.138077648011713
380.8965354301732590.2069291396534820.103464569826741
390.9334702925435470.1330594149129060.0665297074564531
400.9545734132336550.09085317353268920.0454265867663446
410.9634313074157930.07313738516841350.0365686925842068
420.974580358206650.05083928358670010.0254196417933501
430.9744218247235280.05115635055294480.0255781752764724
440.9671707522312860.06565849553742860.0328292477687143







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

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

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



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