Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationWed, 18 Nov 2009 08:16:02 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Nov/18/t1258557400qphyxrw7uia0zx6.htm/, Retrieved Sun, 05 May 2024 17:41:40 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=57473, Retrieved Sun, 05 May 2024 17:41:40 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact197
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Q1 The Seatbeltlaw] [2007-11-14 19:27:43] [8cd6641b921d30ebe00b648d1481bba0]
- RM D  [Multiple Regression] [Seatbelt] [2009-11-12 14:14:11] [b98453cac15ba1066b407e146608df68]
-    D      [Multiple Regression] [] [2009-11-18 15:16:02] [873be88d67c17ca20f1ec7e5d8eb10d1] [Current]
Feedback Forum

Post a new message
Dataseries X:
7.2	97.78	7.5	8.3	8.9
7.4	97.69	7.2	7.5	8.8
8.8	96.67	7.4	7.2	8.3
9.3	98.29	8.8	7.4	7.5
9.3	98.2	9.3	8.8	7.2
8.7	98.71	9.3	9.3	7.4
8.2	98.54	8.7	9.3	8.8
8.3	98.2	8.2	8.7	9.3
8.5	96.92	8.3	8.2	9.3
8.6	99.06	8.5	8.3	8.7
8.5	99.65	8.6	8.5	8.2
8.2	99.82	8.5	8.6	8.3
8.1	99.99	8.2	8.5	8.5
7.9	100.33	8.1	8.2	8.6
8.6	99.31	7.9	8.1	8.5
8.7	101.1	8.6	7.9	8.2
8.7	101.1	8.7	8.6	8.1
8.5	100.93	8.7	8.7	7.9
8.4	100.85	8.5	8.7	8.6
8.5	100.93	8.4	8.5	8.7
8.7	99.6	8.5	8.4	8.7
8.7	101.88	8.7	8.5	8.5
8.6	101.81	8.7	8.7	8.4
8.5	102.38	8.6	8.7	8.5
8.3	102.74	8.5	8.6	8.7
8	102.82	8.3	8.5	8.7
8.2	101.72	8	8.3	8.6
8.1	103.47	8.2	8	8.5
8.1	102.98	8.1	8.2	8.3
8	102.68	8.1	8.1	8
7.9	102.9	8	8.1	8.2
7.9	103.03	7.9	8	8.1
8	101.29	7.9	7.9	8.1
8	103.69	8	7.9	8
7.9	103.68	8	8	7.9
8	104.2	7.9	8	7.9
7.7	104.08	8	7.9	8
7.2	104.16	7.7	8	8
7.5	103.05	7.2	7.7	7.9
7.3	104.66	7.5	7.2	8
7	104.46	7.3	7.5	7.7
7	104.95	7	7.3	7.2
7	105.85	7	7	7.5
7.2	106.23	7	7	7.3
7.3	104.86	7.2	7	7
7.1	107.44	7.3	7.2	7
6.8	108.23	7.1	7.3	7
6.4	108.45	6.8	7.1	7.2
6.1	109.39	6.4	6.8	7.3
6.5	110.15	6.1	6.4	7.1
7.7	109.13	6.5	6.1	6.8
7.9	110.28	7.7	6.5	6.4
7.5	110.17	7.9	7.7	6.1
6.9	109.99	7.5	7.9	6.5
6.6	109.26	6.9	7.5	7.7
6.9	109.11	6.6	6.9	7.9




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

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

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

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

As an alternative you can also use a QR Code:  

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

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







Multiple Linear Regression - Estimated Regression Equation
Y[t] = -3.92515432159056 + 0.0512518252555557X[t] + 1.51663485005415Y1[t] -0.91199180830936Y2[t] + 0.278978156355666Y4[t] -0.142293504458614M1[t] -0.115723656701091M2[t] + 0.67913254261951M3[t] -0.426949905291582M4[t] + 0.0675867935318781M5[t] + 0.106854305203872M6[t] + 0.0377162842122586M7[t] + 0.195531686682516M8[t] + 0.128227851596769M9[t] -0.0737310721580348M10[t] + 0.000156731586821268M11[t] -0.0170088270929127t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  -3.92515432159056 +  0.0512518252555557X[t] +  1.51663485005415Y1[t] -0.91199180830936Y2[t] +  0.278978156355666Y4[t] -0.142293504458614M1[t] -0.115723656701091M2[t] +  0.67913254261951M3[t] -0.426949905291582M4[t] +  0.0675867935318781M5[t] +  0.106854305203872M6[t] +  0.0377162842122586M7[t] +  0.195531686682516M8[t] +  0.128227851596769M9[t] -0.0737310721580348M10[t] +  0.000156731586821268M11[t] -0.0170088270929127t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57473&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  -3.92515432159056 +  0.0512518252555557X[t] +  1.51663485005415Y1[t] -0.91199180830936Y2[t] +  0.278978156355666Y4[t] -0.142293504458614M1[t] -0.115723656701091M2[t] +  0.67913254261951M3[t] -0.426949905291582M4[t] +  0.0675867935318781M5[t] +  0.106854305203872M6[t] +  0.0377162842122586M7[t] +  0.195531686682516M8[t] +  0.128227851596769M9[t] -0.0737310721580348M10[t] +  0.000156731586821268M11[t] -0.0170088270929127t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57473&T=1

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

As an alternative you can also use a QR Code:  

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

Multiple Linear Regression - Estimated Regression Equation
Y[t] = -3.92515432159056 + 0.0512518252555557X[t] + 1.51663485005415Y1[t] -0.91199180830936Y2[t] + 0.278978156355666Y4[t] -0.142293504458614M1[t] -0.115723656701091M2[t] + 0.67913254261951M3[t] -0.426949905291582M4[t] + 0.0675867935318781M5[t] + 0.106854305203872M6[t] + 0.0377162842122586M7[t] + 0.195531686682516M8[t] + 0.128227851596769M9[t] -0.0737310721580348M10[t] + 0.000156731586821268M11[t] -0.0170088270929127t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)-3.925154321590563.178199-1.2350.224210.112105
X0.05125182525555570.0294581.73990.0897720.044886
Y11.516634850054150.09913715.298400
Y2-0.911991808309360.110388-8.261700
Y40.2789781563556660.0681774.0920.0002080.000104
M1-0.1422935044586140.101081-1.40770.1671340.083567
M2-0.1157236567010910.103819-1.11470.2718140.135907
M30.679132542619510.1098946.179900
M4-0.4269499052915820.130658-3.26770.0022670.001133
M50.06758679353187810.1039880.64990.5195380.259769
M60.1068543052038720.1084520.98530.3305660.165283
M70.03771628421225860.0993790.37950.7063610.35318
M80.1955316866825160.1022141.9130.0631150.031558
M90.1282278515967690.1262951.01530.3162170.158109
M10-0.07373107215803480.108096-0.68210.4992130.249607
M110.0001567315868212680.1042280.00150.9988080.499404
t-0.01700882709291270.006222-2.73350.0093730.004686

\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) & -3.92515432159056 & 3.178199 & -1.235 & 0.22421 & 0.112105 \tabularnewline
X & 0.0512518252555557 & 0.029458 & 1.7399 & 0.089772 & 0.044886 \tabularnewline
Y1 & 1.51663485005415 & 0.099137 & 15.2984 & 0 & 0 \tabularnewline
Y2 & -0.91199180830936 & 0.110388 & -8.2617 & 0 & 0 \tabularnewline
Y4 & 0.278978156355666 & 0.068177 & 4.092 & 0.000208 & 0.000104 \tabularnewline
M1 & -0.142293504458614 & 0.101081 & -1.4077 & 0.167134 & 0.083567 \tabularnewline
M2 & -0.115723656701091 & 0.103819 & -1.1147 & 0.271814 & 0.135907 \tabularnewline
M3 & 0.67913254261951 & 0.109894 & 6.1799 & 0 & 0 \tabularnewline
M4 & -0.426949905291582 & 0.130658 & -3.2677 & 0.002267 & 0.001133 \tabularnewline
M5 & 0.0675867935318781 & 0.103988 & 0.6499 & 0.519538 & 0.259769 \tabularnewline
M6 & 0.106854305203872 & 0.108452 & 0.9853 & 0.330566 & 0.165283 \tabularnewline
M7 & 0.0377162842122586 & 0.099379 & 0.3795 & 0.706361 & 0.35318 \tabularnewline
M8 & 0.195531686682516 & 0.102214 & 1.913 & 0.063115 & 0.031558 \tabularnewline
M9 & 0.128227851596769 & 0.126295 & 1.0153 & 0.316217 & 0.158109 \tabularnewline
M10 & -0.0737310721580348 & 0.108096 & -0.6821 & 0.499213 & 0.249607 \tabularnewline
M11 & 0.000156731586821268 & 0.104228 & 0.0015 & 0.998808 & 0.499404 \tabularnewline
t & -0.0170088270929127 & 0.006222 & -2.7335 & 0.009373 & 0.004686 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57473&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]-3.92515432159056[/C][C]3.178199[/C][C]-1.235[/C][C]0.22421[/C][C]0.112105[/C][/ROW]
[ROW][C]X[/C][C]0.0512518252555557[/C][C]0.029458[/C][C]1.7399[/C][C]0.089772[/C][C]0.044886[/C][/ROW]
[ROW][C]Y1[/C][C]1.51663485005415[/C][C]0.099137[/C][C]15.2984[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Y2[/C][C]-0.91199180830936[/C][C]0.110388[/C][C]-8.2617[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Y4[/C][C]0.278978156355666[/C][C]0.068177[/C][C]4.092[/C][C]0.000208[/C][C]0.000104[/C][/ROW]
[ROW][C]M1[/C][C]-0.142293504458614[/C][C]0.101081[/C][C]-1.4077[/C][C]0.167134[/C][C]0.083567[/C][/ROW]
[ROW][C]M2[/C][C]-0.115723656701091[/C][C]0.103819[/C][C]-1.1147[/C][C]0.271814[/C][C]0.135907[/C][/ROW]
[ROW][C]M3[/C][C]0.67913254261951[/C][C]0.109894[/C][C]6.1799[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M4[/C][C]-0.426949905291582[/C][C]0.130658[/C][C]-3.2677[/C][C]0.002267[/C][C]0.001133[/C][/ROW]
[ROW][C]M5[/C][C]0.0675867935318781[/C][C]0.103988[/C][C]0.6499[/C][C]0.519538[/C][C]0.259769[/C][/ROW]
[ROW][C]M6[/C][C]0.106854305203872[/C][C]0.108452[/C][C]0.9853[/C][C]0.330566[/C][C]0.165283[/C][/ROW]
[ROW][C]M7[/C][C]0.0377162842122586[/C][C]0.099379[/C][C]0.3795[/C][C]0.706361[/C][C]0.35318[/C][/ROW]
[ROW][C]M8[/C][C]0.195531686682516[/C][C]0.102214[/C][C]1.913[/C][C]0.063115[/C][C]0.031558[/C][/ROW]
[ROW][C]M9[/C][C]0.128227851596769[/C][C]0.126295[/C][C]1.0153[/C][C]0.316217[/C][C]0.158109[/C][/ROW]
[ROW][C]M10[/C][C]-0.0737310721580348[/C][C]0.108096[/C][C]-0.6821[/C][C]0.499213[/C][C]0.249607[/C][/ROW]
[ROW][C]M11[/C][C]0.000156731586821268[/C][C]0.104228[/C][C]0.0015[/C][C]0.998808[/C][C]0.499404[/C][/ROW]
[ROW][C]t[/C][C]-0.0170088270929127[/C][C]0.006222[/C][C]-2.7335[/C][C]0.009373[/C][C]0.004686[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57473&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57473&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)-3.925154321590563.178199-1.2350.224210.112105
X0.05125182525555570.0294581.73990.0897720.044886
Y11.516634850054150.09913715.298400
Y2-0.911991808309360.110388-8.261700
Y40.2789781563556660.0681774.0920.0002080.000104
M1-0.1422935044586140.101081-1.40770.1671340.083567
M2-0.1157236567010910.103819-1.11470.2718140.135907
M30.679132542619510.1098946.179900
M4-0.4269499052915820.130658-3.26770.0022670.001133
M50.06758679353187810.1039880.64990.5195380.259769
M60.1068543052038720.1084520.98530.3305660.165283
M70.03771628421225860.0993790.37950.7063610.35318
M80.1955316866825160.1022141.9130.0631150.031558
M90.1282278515967690.1262951.01530.3162170.158109
M10-0.07373107215803480.108096-0.68210.4992130.249607
M110.0001567315868212680.1042280.00150.9988080.499404
t-0.01700882709291270.006222-2.73350.0093730.004686







Multiple Linear Regression - Regression Statistics
Multiple R0.986192861958267
R-squared0.972576360977437
Adjusted R-squared0.961325637275873
F-TEST (value)86.4456711208912
F-TEST (DF numerator)16
F-TEST (DF denominator)39
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.146278312041805
Sum Squared Residuals0.83449643837819

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.986192861958267 \tabularnewline
R-squared & 0.972576360977437 \tabularnewline
Adjusted R-squared & 0.961325637275873 \tabularnewline
F-TEST (value) & 86.4456711208912 \tabularnewline
F-TEST (DF numerator) & 16 \tabularnewline
F-TEST (DF denominator) & 39 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.146278312041805 \tabularnewline
Sum Squared Residuals & 0.83449643837819 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57473&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.986192861958267[/C][/ROW]
[ROW][C]R-squared[/C][C]0.972576360977437[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.961325637275873[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]86.4456711208912[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]16[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]39[/C][/ROW]
[ROW][C]p-value[/C][C]0[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]0.146278312041805[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]0.83449643837819[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57473&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57473&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.986192861958267
R-squared0.972576360977437
Adjusted R-squared0.961325637275873
F-TEST (value)86.4456711208912
F-TEST (DF numerator)16
F-TEST (DF denominator)39
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.146278312041805
Sum Squared Residuals0.83449643837819







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
17.27.21508177835-0.0150817783500001
27.47.4667353107373-0.0667353107373064
38.88.629741255530130.170258744469869
49.39.30738584076954-0.0073858407695366
59.39.178136494714360.121863505285645
68.78.82633333729022-0.126333337290224
78.28.21206218777769-0.0120621877776920
88.38.263809880704520.0361901192954789
98.58.72155427135885-0.221554271358849
108.68.65700632192451-0.0570063219245135
118.58.57389992064295-0.073899920642945
128.28.35048232205587-0.150482322055872
138.17.891897157883610.208102842116388
147.98.06871567225807-0.168715672258072
158.68.554260577909630.0457394220903664
168.78.683259379906150.0167406200938494
178.78.646158655190.0538413448100059
188.58.51270971737356-0.0127097173735626
198.48.314420462706730.0855795372932725
208.58.51795987639654-0.0179598763965408
218.78.608344952464340.0916550475356572
228.78.662563521108050.0374364788919462
238.68.505558692694670.0944413073053296
248.58.393841005040750.106158994959246
258.38.248320657677880.0516793423221192
2688.04985403518304-0.0498540351830433
278.28.47083449063968-0.270834490639679
288.17.986460606700970.113539393299032
298.18.049017606117870.0509823938821255
3088.06340647704453-0.0634064770445249
317.97.892667176781940.00733282321806117
327.97.95177436963246-0.0517743696324604
3387.869482712340070.130517287659930
3487.897285011475540.102714988524465
357.97.834554473408420.0654455265915794
3687.692376378856160.307623621143839
377.77.79768430974588-0.0976843097458844
387.27.26515584058376-0.0651558405837586
397.57.473495988607950.0265040113920546
407.37.37180432707188-0.0718043270718777
4177.17846387434098-0.178463874340975
4276.813754781763070.186245218236926
4377.13102556580805-0.131025565808055
447.27.23551220351138-0.0355122035113778
457.37.30061806383674-0.000618063836738301
467.17.1831451454919-0.0831451454918977
476.86.88598691325396-0.085986913253964
486.46.66330029404721-0.263300294047212
496.16.24701609634262-0.147016096342623
506.56.149539141237820.35046085876218
517.77.671667687312610.0283323126873895
527.97.95108984555147-0.0510898455514668
537.57.5482233696368-0.0482233696368014
546.96.883795686528620.016204313471385
556.66.549824606925590.050175393074413
566.96.83094366975510.0690563302449001

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 7.2 & 7.21508177835 & -0.0150817783500001 \tabularnewline
2 & 7.4 & 7.4667353107373 & -0.0667353107373064 \tabularnewline
3 & 8.8 & 8.62974125553013 & 0.170258744469869 \tabularnewline
4 & 9.3 & 9.30738584076954 & -0.0073858407695366 \tabularnewline
5 & 9.3 & 9.17813649471436 & 0.121863505285645 \tabularnewline
6 & 8.7 & 8.82633333729022 & -0.126333337290224 \tabularnewline
7 & 8.2 & 8.21206218777769 & -0.0120621877776920 \tabularnewline
8 & 8.3 & 8.26380988070452 & 0.0361901192954789 \tabularnewline
9 & 8.5 & 8.72155427135885 & -0.221554271358849 \tabularnewline
10 & 8.6 & 8.65700632192451 & -0.0570063219245135 \tabularnewline
11 & 8.5 & 8.57389992064295 & -0.073899920642945 \tabularnewline
12 & 8.2 & 8.35048232205587 & -0.150482322055872 \tabularnewline
13 & 8.1 & 7.89189715788361 & 0.208102842116388 \tabularnewline
14 & 7.9 & 8.06871567225807 & -0.168715672258072 \tabularnewline
15 & 8.6 & 8.55426057790963 & 0.0457394220903664 \tabularnewline
16 & 8.7 & 8.68325937990615 & 0.0167406200938494 \tabularnewline
17 & 8.7 & 8.64615865519 & 0.0538413448100059 \tabularnewline
18 & 8.5 & 8.51270971737356 & -0.0127097173735626 \tabularnewline
19 & 8.4 & 8.31442046270673 & 0.0855795372932725 \tabularnewline
20 & 8.5 & 8.51795987639654 & -0.0179598763965408 \tabularnewline
21 & 8.7 & 8.60834495246434 & 0.0916550475356572 \tabularnewline
22 & 8.7 & 8.66256352110805 & 0.0374364788919462 \tabularnewline
23 & 8.6 & 8.50555869269467 & 0.0944413073053296 \tabularnewline
24 & 8.5 & 8.39384100504075 & 0.106158994959246 \tabularnewline
25 & 8.3 & 8.24832065767788 & 0.0516793423221192 \tabularnewline
26 & 8 & 8.04985403518304 & -0.0498540351830433 \tabularnewline
27 & 8.2 & 8.47083449063968 & -0.270834490639679 \tabularnewline
28 & 8.1 & 7.98646060670097 & 0.113539393299032 \tabularnewline
29 & 8.1 & 8.04901760611787 & 0.0509823938821255 \tabularnewline
30 & 8 & 8.06340647704453 & -0.0634064770445249 \tabularnewline
31 & 7.9 & 7.89266717678194 & 0.00733282321806117 \tabularnewline
32 & 7.9 & 7.95177436963246 & -0.0517743696324604 \tabularnewline
33 & 8 & 7.86948271234007 & 0.130517287659930 \tabularnewline
34 & 8 & 7.89728501147554 & 0.102714988524465 \tabularnewline
35 & 7.9 & 7.83455447340842 & 0.0654455265915794 \tabularnewline
36 & 8 & 7.69237637885616 & 0.307623621143839 \tabularnewline
37 & 7.7 & 7.79768430974588 & -0.0976843097458844 \tabularnewline
38 & 7.2 & 7.26515584058376 & -0.0651558405837586 \tabularnewline
39 & 7.5 & 7.47349598860795 & 0.0265040113920546 \tabularnewline
40 & 7.3 & 7.37180432707188 & -0.0718043270718777 \tabularnewline
41 & 7 & 7.17846387434098 & -0.178463874340975 \tabularnewline
42 & 7 & 6.81375478176307 & 0.186245218236926 \tabularnewline
43 & 7 & 7.13102556580805 & -0.131025565808055 \tabularnewline
44 & 7.2 & 7.23551220351138 & -0.0355122035113778 \tabularnewline
45 & 7.3 & 7.30061806383674 & -0.000618063836738301 \tabularnewline
46 & 7.1 & 7.1831451454919 & -0.0831451454918977 \tabularnewline
47 & 6.8 & 6.88598691325396 & -0.085986913253964 \tabularnewline
48 & 6.4 & 6.66330029404721 & -0.263300294047212 \tabularnewline
49 & 6.1 & 6.24701609634262 & -0.147016096342623 \tabularnewline
50 & 6.5 & 6.14953914123782 & 0.35046085876218 \tabularnewline
51 & 7.7 & 7.67166768731261 & 0.0283323126873895 \tabularnewline
52 & 7.9 & 7.95108984555147 & -0.0510898455514668 \tabularnewline
53 & 7.5 & 7.5482233696368 & -0.0482233696368014 \tabularnewline
54 & 6.9 & 6.88379568652862 & 0.016204313471385 \tabularnewline
55 & 6.6 & 6.54982460692559 & 0.050175393074413 \tabularnewline
56 & 6.9 & 6.8309436697551 & 0.0690563302449001 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57473&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]7.2[/C][C]7.21508177835[/C][C]-0.0150817783500001[/C][/ROW]
[ROW][C]2[/C][C]7.4[/C][C]7.4667353107373[/C][C]-0.0667353107373064[/C][/ROW]
[ROW][C]3[/C][C]8.8[/C][C]8.62974125553013[/C][C]0.170258744469869[/C][/ROW]
[ROW][C]4[/C][C]9.3[/C][C]9.30738584076954[/C][C]-0.0073858407695366[/C][/ROW]
[ROW][C]5[/C][C]9.3[/C][C]9.17813649471436[/C][C]0.121863505285645[/C][/ROW]
[ROW][C]6[/C][C]8.7[/C][C]8.82633333729022[/C][C]-0.126333337290224[/C][/ROW]
[ROW][C]7[/C][C]8.2[/C][C]8.21206218777769[/C][C]-0.0120621877776920[/C][/ROW]
[ROW][C]8[/C][C]8.3[/C][C]8.26380988070452[/C][C]0.0361901192954789[/C][/ROW]
[ROW][C]9[/C][C]8.5[/C][C]8.72155427135885[/C][C]-0.221554271358849[/C][/ROW]
[ROW][C]10[/C][C]8.6[/C][C]8.65700632192451[/C][C]-0.0570063219245135[/C][/ROW]
[ROW][C]11[/C][C]8.5[/C][C]8.57389992064295[/C][C]-0.073899920642945[/C][/ROW]
[ROW][C]12[/C][C]8.2[/C][C]8.35048232205587[/C][C]-0.150482322055872[/C][/ROW]
[ROW][C]13[/C][C]8.1[/C][C]7.89189715788361[/C][C]0.208102842116388[/C][/ROW]
[ROW][C]14[/C][C]7.9[/C][C]8.06871567225807[/C][C]-0.168715672258072[/C][/ROW]
[ROW][C]15[/C][C]8.6[/C][C]8.55426057790963[/C][C]0.0457394220903664[/C][/ROW]
[ROW][C]16[/C][C]8.7[/C][C]8.68325937990615[/C][C]0.0167406200938494[/C][/ROW]
[ROW][C]17[/C][C]8.7[/C][C]8.64615865519[/C][C]0.0538413448100059[/C][/ROW]
[ROW][C]18[/C][C]8.5[/C][C]8.51270971737356[/C][C]-0.0127097173735626[/C][/ROW]
[ROW][C]19[/C][C]8.4[/C][C]8.31442046270673[/C][C]0.0855795372932725[/C][/ROW]
[ROW][C]20[/C][C]8.5[/C][C]8.51795987639654[/C][C]-0.0179598763965408[/C][/ROW]
[ROW][C]21[/C][C]8.7[/C][C]8.60834495246434[/C][C]0.0916550475356572[/C][/ROW]
[ROW][C]22[/C][C]8.7[/C][C]8.66256352110805[/C][C]0.0374364788919462[/C][/ROW]
[ROW][C]23[/C][C]8.6[/C][C]8.50555869269467[/C][C]0.0944413073053296[/C][/ROW]
[ROW][C]24[/C][C]8.5[/C][C]8.39384100504075[/C][C]0.106158994959246[/C][/ROW]
[ROW][C]25[/C][C]8.3[/C][C]8.24832065767788[/C][C]0.0516793423221192[/C][/ROW]
[ROW][C]26[/C][C]8[/C][C]8.04985403518304[/C][C]-0.0498540351830433[/C][/ROW]
[ROW][C]27[/C][C]8.2[/C][C]8.47083449063968[/C][C]-0.270834490639679[/C][/ROW]
[ROW][C]28[/C][C]8.1[/C][C]7.98646060670097[/C][C]0.113539393299032[/C][/ROW]
[ROW][C]29[/C][C]8.1[/C][C]8.04901760611787[/C][C]0.0509823938821255[/C][/ROW]
[ROW][C]30[/C][C]8[/C][C]8.06340647704453[/C][C]-0.0634064770445249[/C][/ROW]
[ROW][C]31[/C][C]7.9[/C][C]7.89266717678194[/C][C]0.00733282321806117[/C][/ROW]
[ROW][C]32[/C][C]7.9[/C][C]7.95177436963246[/C][C]-0.0517743696324604[/C][/ROW]
[ROW][C]33[/C][C]8[/C][C]7.86948271234007[/C][C]0.130517287659930[/C][/ROW]
[ROW][C]34[/C][C]8[/C][C]7.89728501147554[/C][C]0.102714988524465[/C][/ROW]
[ROW][C]35[/C][C]7.9[/C][C]7.83455447340842[/C][C]0.0654455265915794[/C][/ROW]
[ROW][C]36[/C][C]8[/C][C]7.69237637885616[/C][C]0.307623621143839[/C][/ROW]
[ROW][C]37[/C][C]7.7[/C][C]7.79768430974588[/C][C]-0.0976843097458844[/C][/ROW]
[ROW][C]38[/C][C]7.2[/C][C]7.26515584058376[/C][C]-0.0651558405837586[/C][/ROW]
[ROW][C]39[/C][C]7.5[/C][C]7.47349598860795[/C][C]0.0265040113920546[/C][/ROW]
[ROW][C]40[/C][C]7.3[/C][C]7.37180432707188[/C][C]-0.0718043270718777[/C][/ROW]
[ROW][C]41[/C][C]7[/C][C]7.17846387434098[/C][C]-0.178463874340975[/C][/ROW]
[ROW][C]42[/C][C]7[/C][C]6.81375478176307[/C][C]0.186245218236926[/C][/ROW]
[ROW][C]43[/C][C]7[/C][C]7.13102556580805[/C][C]-0.131025565808055[/C][/ROW]
[ROW][C]44[/C][C]7.2[/C][C]7.23551220351138[/C][C]-0.0355122035113778[/C][/ROW]
[ROW][C]45[/C][C]7.3[/C][C]7.30061806383674[/C][C]-0.000618063836738301[/C][/ROW]
[ROW][C]46[/C][C]7.1[/C][C]7.1831451454919[/C][C]-0.0831451454918977[/C][/ROW]
[ROW][C]47[/C][C]6.8[/C][C]6.88598691325396[/C][C]-0.085986913253964[/C][/ROW]
[ROW][C]48[/C][C]6.4[/C][C]6.66330029404721[/C][C]-0.263300294047212[/C][/ROW]
[ROW][C]49[/C][C]6.1[/C][C]6.24701609634262[/C][C]-0.147016096342623[/C][/ROW]
[ROW][C]50[/C][C]6.5[/C][C]6.14953914123782[/C][C]0.35046085876218[/C][/ROW]
[ROW][C]51[/C][C]7.7[/C][C]7.67166768731261[/C][C]0.0283323126873895[/C][/ROW]
[ROW][C]52[/C][C]7.9[/C][C]7.95108984555147[/C][C]-0.0510898455514668[/C][/ROW]
[ROW][C]53[/C][C]7.5[/C][C]7.5482233696368[/C][C]-0.0482233696368014[/C][/ROW]
[ROW][C]54[/C][C]6.9[/C][C]6.88379568652862[/C][C]0.016204313471385[/C][/ROW]
[ROW][C]55[/C][C]6.6[/C][C]6.54982460692559[/C][C]0.050175393074413[/C][/ROW]
[ROW][C]56[/C][C]6.9[/C][C]6.8309436697551[/C][C]0.0690563302449001[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57473&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57473&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
17.27.21508177835-0.0150817783500001
27.47.4667353107373-0.0667353107373064
38.88.629741255530130.170258744469869
49.39.30738584076954-0.0073858407695366
59.39.178136494714360.121863505285645
68.78.82633333729022-0.126333337290224
78.28.21206218777769-0.0120621877776920
88.38.263809880704520.0361901192954789
98.58.72155427135885-0.221554271358849
108.68.65700632192451-0.0570063219245135
118.58.57389992064295-0.073899920642945
128.28.35048232205587-0.150482322055872
138.17.891897157883610.208102842116388
147.98.06871567225807-0.168715672258072
158.68.554260577909630.0457394220903664
168.78.683259379906150.0167406200938494
178.78.646158655190.0538413448100059
188.58.51270971737356-0.0127097173735626
198.48.314420462706730.0855795372932725
208.58.51795987639654-0.0179598763965408
218.78.608344952464340.0916550475356572
228.78.662563521108050.0374364788919462
238.68.505558692694670.0944413073053296
248.58.393841005040750.106158994959246
258.38.248320657677880.0516793423221192
2688.04985403518304-0.0498540351830433
278.28.47083449063968-0.270834490639679
288.17.986460606700970.113539393299032
298.18.049017606117870.0509823938821255
3088.06340647704453-0.0634064770445249
317.97.892667176781940.00733282321806117
327.97.95177436963246-0.0517743696324604
3387.869482712340070.130517287659930
3487.897285011475540.102714988524465
357.97.834554473408420.0654455265915794
3687.692376378856160.307623621143839
377.77.79768430974588-0.0976843097458844
387.27.26515584058376-0.0651558405837586
397.57.473495988607950.0265040113920546
407.37.37180432707188-0.0718043270718777
4177.17846387434098-0.178463874340975
4276.813754781763070.186245218236926
4377.13102556580805-0.131025565808055
447.27.23551220351138-0.0355122035113778
457.37.30061806383674-0.000618063836738301
467.17.1831451454919-0.0831451454918977
476.86.88598691325396-0.085986913253964
486.46.66330029404721-0.263300294047212
496.16.24701609634262-0.147016096342623
506.56.149539141237820.35046085876218
517.77.671667687312610.0283323126873895
527.97.95108984555147-0.0510898455514668
537.57.5482233696368-0.0482233696368014
546.96.883795686528620.016204313471385
556.66.549824606925590.050175393074413
566.96.83094366975510.0690563302449001







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
200.1185970394808650.2371940789617290.881402960519135
210.1586419433682550.317283886736510.841358056631745
220.08519168584335060.1703833716867010.91480831415665
230.03755343201305330.07510686402610660.962446567986947
240.0613723483513530.1227446967027060.938627651648647
250.03188573211196790.06377146422393590.968114267888032
260.01689459587690790.03378919175381580.983105404123092
270.2829560974383290.5659121948766590.71704390256167
280.194847895356710.389695790713420.80515210464329
290.1564320841275820.3128641682551630.843567915872418
300.1809036132766430.3618072265532860.819096386723357
310.1401968538540470.2803937077080940.859803146145953
320.1234838676335370.2469677352670750.876516132366463
330.095532463632690.191064927265380.90446753636731
340.06625228657139560.1325045731427910.933747713428604
350.03357353921491520.06714707842983030.966426460785085
360.1788377486765530.3576754973531060.821162251323447

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
20 & 0.118597039480865 & 0.237194078961729 & 0.881402960519135 \tabularnewline
21 & 0.158641943368255 & 0.31728388673651 & 0.841358056631745 \tabularnewline
22 & 0.0851916858433506 & 0.170383371686701 & 0.91480831415665 \tabularnewline
23 & 0.0375534320130533 & 0.0751068640261066 & 0.962446567986947 \tabularnewline
24 & 0.061372348351353 & 0.122744696702706 & 0.938627651648647 \tabularnewline
25 & 0.0318857321119679 & 0.0637714642239359 & 0.968114267888032 \tabularnewline
26 & 0.0168945958769079 & 0.0337891917538158 & 0.983105404123092 \tabularnewline
27 & 0.282956097438329 & 0.565912194876659 & 0.71704390256167 \tabularnewline
28 & 0.19484789535671 & 0.38969579071342 & 0.80515210464329 \tabularnewline
29 & 0.156432084127582 & 0.312864168255163 & 0.843567915872418 \tabularnewline
30 & 0.180903613276643 & 0.361807226553286 & 0.819096386723357 \tabularnewline
31 & 0.140196853854047 & 0.280393707708094 & 0.859803146145953 \tabularnewline
32 & 0.123483867633537 & 0.246967735267075 & 0.876516132366463 \tabularnewline
33 & 0.09553246363269 & 0.19106492726538 & 0.90446753636731 \tabularnewline
34 & 0.0662522865713956 & 0.132504573142791 & 0.933747713428604 \tabularnewline
35 & 0.0335735392149152 & 0.0671470784298303 & 0.966426460785085 \tabularnewline
36 & 0.178837748676553 & 0.357675497353106 & 0.821162251323447 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57473&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]20[/C][C]0.118597039480865[/C][C]0.237194078961729[/C][C]0.881402960519135[/C][/ROW]
[ROW][C]21[/C][C]0.158641943368255[/C][C]0.31728388673651[/C][C]0.841358056631745[/C][/ROW]
[ROW][C]22[/C][C]0.0851916858433506[/C][C]0.170383371686701[/C][C]0.91480831415665[/C][/ROW]
[ROW][C]23[/C][C]0.0375534320130533[/C][C]0.0751068640261066[/C][C]0.962446567986947[/C][/ROW]
[ROW][C]24[/C][C]0.061372348351353[/C][C]0.122744696702706[/C][C]0.938627651648647[/C][/ROW]
[ROW][C]25[/C][C]0.0318857321119679[/C][C]0.0637714642239359[/C][C]0.968114267888032[/C][/ROW]
[ROW][C]26[/C][C]0.0168945958769079[/C][C]0.0337891917538158[/C][C]0.983105404123092[/C][/ROW]
[ROW][C]27[/C][C]0.282956097438329[/C][C]0.565912194876659[/C][C]0.71704390256167[/C][/ROW]
[ROW][C]28[/C][C]0.19484789535671[/C][C]0.38969579071342[/C][C]0.80515210464329[/C][/ROW]
[ROW][C]29[/C][C]0.156432084127582[/C][C]0.312864168255163[/C][C]0.843567915872418[/C][/ROW]
[ROW][C]30[/C][C]0.180903613276643[/C][C]0.361807226553286[/C][C]0.819096386723357[/C][/ROW]
[ROW][C]31[/C][C]0.140196853854047[/C][C]0.280393707708094[/C][C]0.859803146145953[/C][/ROW]
[ROW][C]32[/C][C]0.123483867633537[/C][C]0.246967735267075[/C][C]0.876516132366463[/C][/ROW]
[ROW][C]33[/C][C]0.09553246363269[/C][C]0.19106492726538[/C][C]0.90446753636731[/C][/ROW]
[ROW][C]34[/C][C]0.0662522865713956[/C][C]0.132504573142791[/C][C]0.933747713428604[/C][/ROW]
[ROW][C]35[/C][C]0.0335735392149152[/C][C]0.0671470784298303[/C][C]0.966426460785085[/C][/ROW]
[ROW][C]36[/C][C]0.178837748676553[/C][C]0.357675497353106[/C][C]0.821162251323447[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57473&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57473&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
200.1185970394808650.2371940789617290.881402960519135
210.1586419433682550.317283886736510.841358056631745
220.08519168584335060.1703833716867010.91480831415665
230.03755343201305330.07510686402610660.962446567986947
240.0613723483513530.1227446967027060.938627651648647
250.03188573211196790.06377146422393590.968114267888032
260.01689459587690790.03378919175381580.983105404123092
270.2829560974383290.5659121948766590.71704390256167
280.194847895356710.389695790713420.80515210464329
290.1564320841275820.3128641682551630.843567915872418
300.1809036132766430.3618072265532860.819096386723357
310.1401968538540470.2803937077080940.859803146145953
320.1234838676335370.2469677352670750.876516132366463
330.095532463632690.191064927265380.90446753636731
340.06625228657139560.1325045731427910.933747713428604
350.03357353921491520.06714707842983030.966426460785085
360.1788377486765530.3576754973531060.821162251323447







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level10.0588235294117647NOK
10% type I error level40.235294117647059NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57473&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 level10.0588235294117647NOK
10% type I error level40.235294117647059NOK



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