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 15:32:40 -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/t1258583731dmw2akrhg7ri92a.htm/, Retrieved Sun, 05 May 2024 09:55:52 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=57634, Retrieved Sun, 05 May 2024 09:55:52 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact157
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:06:21] [b98453cac15ba1066b407e146608df68]
-    D      [Multiple Regression] [] [2009-11-18 22:32:40] [4f23cd6f600e6b4b5336072a0ca6bd10] [Current]
Feedback Forum

Post a new message
Dataseries X:
7.3	20.9	7.4	8.1	8.2
7.7	20.9	7.3	7.4	8.3
8	22.3	7.7	7.3	8.1
8	22.3	8	7.7	7.4
7.7	22.3	8	8	7.3
6.9	19.9	7.7	8	7.7
6.6	19.9	6.9	7.7	8
6.9	19.9	6.6	6.9	8
7.5	24.1	6.9	6.6	7.7
7.9	24.1	7.5	6.9	6.9
7.7	24.1	7.9	7.5	6.6
6.5	13.8	7.7	7.9	6.9
6.1	13.8	6.5	7.7	7.5
6.4	13.8	6.1	6.5	7.9
6.8	16.2	6.4	6.1	7.7
7.1	16.2	6.8	6.4	6.5
7.3	16.2	7.1	6.8	6.1
7.2	18.6	7.3	7.1	6.4
7	18.6	7.2	7.3	6.8
7	18.6	7	7.2	7.1
7	22.4	7	7	7.3
7.3	22.4	7	7	7.2
7.5	22.4	7.3	7	7
7.2	22.6	7.5	7.3	7
7.7	22.6	7.2	7.5	7
8	22.6	7.7	7.2	7.3
7.9	20	8	7.7	7.5
8	20	7.9	8	7.2
8	20	8	7.9	7.7
7.9	21.8	8	8	8
7.9	21.8	7.9	8	7.9
8	21.8	7.9	7.9	8
8.1	28.7	8	7.9	8
8.1	28.7	8.1	8	7.9
8.2	28.7	8.1	8.1	7.9
8	19.5	8.2	8.1	8
8.3	19.5	8	8.2	8.1
8.5	19.5	8.3	8	8.1
8.6	19.4	8.5	8.3	8.2
8.7	19.4	8.6	8.5	8
8.7	19.4	8.7	8.6	8.3
8.5	21.7	8.7	8.7	8.5
8.4	21.7	8.5	8.7	8.6
8.5	21.7	8.4	8.5	8.7
8.7	26.2	8.5	8.4	8.7
8.7	26.2	8.7	8.5	8.5
8.6	26.2	8.7	8.7	8.4
7.9	19.1	8.6	8.7	8.5
8.1	19.1	7.9	8.6	8.7
8.2	19.1	8.1	7.9	8.7
8.5	21.3	8.2	8.1	8.6
8.6	21.3	8.5	8.2	7.9
8.5	21.3	8.6	8.5	8.1
8.3	24.1	8.5	8.6	8.2
8.2	24.1	8.3	8.5	8.5
8.7	24.1	8.2	8.3	8.6




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57634&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] = + 0.547157098944361 + 0.0321674963811641X[t] + 1.33488233954830V3[t] -0.795642086510696V4[t] + 0.227809531092081V5[t] + 0.868738676572356M1[t] + 0.458688561229227M2[t] + 0.372250932452915M3[t] + 0.566569053536188M4[t] + 0.495916374206385M5[t] + 0.254352832302715M6[t] + 0.403918034920457M7[t] + 0.533870371726237M8[t] + 0.275340055011409M9[t] + 0.310975385977565M10[t] + 0.283747612908392M11[t] + 0.00681426277693805t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  0.547157098944361 +  0.0321674963811641X[t] +  1.33488233954830V3[t] -0.795642086510696V4[t] +  0.227809531092081V5[t] +  0.868738676572356M1[t] +  0.458688561229227M2[t] +  0.372250932452915M3[t] +  0.566569053536188M4[t] +  0.495916374206385M5[t] +  0.254352832302715M6[t] +  0.403918034920457M7[t] +  0.533870371726237M8[t] +  0.275340055011409M9[t] +  0.310975385977565M10[t] +  0.283747612908392M11[t] +  0.00681426277693805t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57634&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  0.547157098944361 +  0.0321674963811641X[t] +  1.33488233954830V3[t] -0.795642086510696V4[t] +  0.227809531092081V5[t] +  0.868738676572356M1[t] +  0.458688561229227M2[t] +  0.372250932452915M3[t] +  0.566569053536188M4[t] +  0.495916374206385M5[t] +  0.254352832302715M6[t] +  0.403918034920457M7[t] +  0.533870371726237M8[t] +  0.275340055011409M9[t] +  0.310975385977565M10[t] +  0.283747612908392M11[t] +  0.00681426277693805t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57634&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57634&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] = + 0.547157098944361 + 0.0321674963811641X[t] + 1.33488233954830V3[t] -0.795642086510696V4[t] + 0.227809531092081V5[t] + 0.868738676572356M1[t] + 0.458688561229227M2[t] + 0.372250932452915M3[t] + 0.566569053536188M4[t] + 0.495916374206385M5[t] + 0.254352832302715M6[t] + 0.403918034920457M7[t] + 0.533870371726237M8[t] + 0.275340055011409M9[t] + 0.310975385977565M10[t] + 0.283747612908392M11[t] + 0.00681426277693805t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)0.5471570989443610.3942211.38790.1730330.086516
X0.03216749638116410.0116242.76730.0085980.004299
V31.334882339548300.12386510.776900
V4-0.7956420865106960.128564-6.188700
V50.2278095310920810.0630043.61580.0008470.000424
M10.8687386765723560.122587.087100
M20.4586885612292270.1181643.88180.0003890.000195
M30.3722509324529150.1183813.14450.0031770.001589
M40.5665690535361880.1024595.52972e-061e-06
M50.4959163742063850.1010364.90831.7e-058e-06
M60.2543528323027150.1038752.44870.0189380.009469
M70.4039180349204570.1122053.59980.0008870.000444
M80.5338703717262370.1147754.65153.7e-051.9e-05
M90.2753400550114090.140521.95940.0572380.028619
M100.3109753859775650.1326022.34520.02420.0121
M110.2837476129083920.1287572.20370.0335140.016757
t0.006814262776938050.002013.38940.0016140.000807

\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) & 0.547157098944361 & 0.394221 & 1.3879 & 0.173033 & 0.086516 \tabularnewline
X & 0.0321674963811641 & 0.011624 & 2.7673 & 0.008598 & 0.004299 \tabularnewline
V3 & 1.33488233954830 & 0.123865 & 10.7769 & 0 & 0 \tabularnewline
V4 & -0.795642086510696 & 0.128564 & -6.1887 & 0 & 0 \tabularnewline
V5 & 0.227809531092081 & 0.063004 & 3.6158 & 0.000847 & 0.000424 \tabularnewline
M1 & 0.868738676572356 & 0.12258 & 7.0871 & 0 & 0 \tabularnewline
M2 & 0.458688561229227 & 0.118164 & 3.8818 & 0.000389 & 0.000195 \tabularnewline
M3 & 0.372250932452915 & 0.118381 & 3.1445 & 0.003177 & 0.001589 \tabularnewline
M4 & 0.566569053536188 & 0.102459 & 5.5297 & 2e-06 & 1e-06 \tabularnewline
M5 & 0.495916374206385 & 0.101036 & 4.9083 & 1.7e-05 & 8e-06 \tabularnewline
M6 & 0.254352832302715 & 0.103875 & 2.4487 & 0.018938 & 0.009469 \tabularnewline
M7 & 0.403918034920457 & 0.112205 & 3.5998 & 0.000887 & 0.000444 \tabularnewline
M8 & 0.533870371726237 & 0.114775 & 4.6515 & 3.7e-05 & 1.9e-05 \tabularnewline
M9 & 0.275340055011409 & 0.14052 & 1.9594 & 0.057238 & 0.028619 \tabularnewline
M10 & 0.310975385977565 & 0.132602 & 2.3452 & 0.0242 & 0.0121 \tabularnewline
M11 & 0.283747612908392 & 0.128757 & 2.2037 & 0.033514 & 0.016757 \tabularnewline
t & 0.00681426277693805 & 0.00201 & 3.3894 & 0.001614 & 0.000807 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57634&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]0.547157098944361[/C][C]0.394221[/C][C]1.3879[/C][C]0.173033[/C][C]0.086516[/C][/ROW]
[ROW][C]X[/C][C]0.0321674963811641[/C][C]0.011624[/C][C]2.7673[/C][C]0.008598[/C][C]0.004299[/C][/ROW]
[ROW][C]V3[/C][C]1.33488233954830[/C][C]0.123865[/C][C]10.7769[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]V4[/C][C]-0.795642086510696[/C][C]0.128564[/C][C]-6.1887[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]V5[/C][C]0.227809531092081[/C][C]0.063004[/C][C]3.6158[/C][C]0.000847[/C][C]0.000424[/C][/ROW]
[ROW][C]M1[/C][C]0.868738676572356[/C][C]0.12258[/C][C]7.0871[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M2[/C][C]0.458688561229227[/C][C]0.118164[/C][C]3.8818[/C][C]0.000389[/C][C]0.000195[/C][/ROW]
[ROW][C]M3[/C][C]0.372250932452915[/C][C]0.118381[/C][C]3.1445[/C][C]0.003177[/C][C]0.001589[/C][/ROW]
[ROW][C]M4[/C][C]0.566569053536188[/C][C]0.102459[/C][C]5.5297[/C][C]2e-06[/C][C]1e-06[/C][/ROW]
[ROW][C]M5[/C][C]0.495916374206385[/C][C]0.101036[/C][C]4.9083[/C][C]1.7e-05[/C][C]8e-06[/C][/ROW]
[ROW][C]M6[/C][C]0.254352832302715[/C][C]0.103875[/C][C]2.4487[/C][C]0.018938[/C][C]0.009469[/C][/ROW]
[ROW][C]M7[/C][C]0.403918034920457[/C][C]0.112205[/C][C]3.5998[/C][C]0.000887[/C][C]0.000444[/C][/ROW]
[ROW][C]M8[/C][C]0.533870371726237[/C][C]0.114775[/C][C]4.6515[/C][C]3.7e-05[/C][C]1.9e-05[/C][/ROW]
[ROW][C]M9[/C][C]0.275340055011409[/C][C]0.14052[/C][C]1.9594[/C][C]0.057238[/C][C]0.028619[/C][/ROW]
[ROW][C]M10[/C][C]0.310975385977565[/C][C]0.132602[/C][C]2.3452[/C][C]0.0242[/C][C]0.0121[/C][/ROW]
[ROW][C]M11[/C][C]0.283747612908392[/C][C]0.128757[/C][C]2.2037[/C][C]0.033514[/C][C]0.016757[/C][/ROW]
[ROW][C]t[/C][C]0.00681426277693805[/C][C]0.00201[/C][C]3.3894[/C][C]0.001614[/C][C]0.000807[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57634&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57634&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)0.5471570989443610.3942211.38790.1730330.086516
X0.03216749638116410.0116242.76730.0085980.004299
V31.334882339548300.12386510.776900
V4-0.7956420865106960.128564-6.188700
V50.2278095310920810.0630043.61580.0008470.000424
M10.8687386765723560.122587.087100
M20.4586885612292270.1181643.88180.0003890.000195
M30.3722509324529150.1183813.14450.0031770.001589
M40.5665690535361880.1024595.52972e-061e-06
M50.4959163742063850.1010364.90831.7e-058e-06
M60.2543528323027150.1038752.44870.0189380.009469
M70.4039180349204570.1122053.59980.0008870.000444
M80.5338703717262370.1147754.65153.7e-051.9e-05
M90.2753400550114090.140521.95940.0572380.028619
M100.3109753859775650.1326022.34520.02420.0121
M110.2837476129083920.1287572.20370.0335140.016757
t0.006814262776938050.002013.38940.0016140.000807







Multiple Linear Regression - Regression Statistics
Multiple R0.982536898781787
R-squared0.965378757467732
Adjusted R-squared0.951175170787828
F-TEST (value)67.967252161284
F-TEST (DF numerator)16
F-TEST (DF denominator)39
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.149118148521042
Sum Squared Residuals0.867212666515399

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.982536898781787 \tabularnewline
R-squared & 0.965378757467732 \tabularnewline
Adjusted R-squared & 0.951175170787828 \tabularnewline
F-TEST (value) & 67.967252161284 \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.149118148521042 \tabularnewline
Sum Squared Residuals & 0.867212666515399 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57634&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.982536898781787[/C][/ROW]
[ROW][C]R-squared[/C][C]0.965378757467732[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.951175170787828[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]67.967252161284[/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.149118148521042[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]0.867212666515399[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57634&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57634&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.982536898781787
R-squared0.965378757467732
Adjusted R-squared0.951175170787828
F-TEST (value)67.967252161284
F-TEST (DF numerator)16
F-TEST (DF denominator)39
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.149118148521042
Sum Squared Residuals0.867212666515399







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
17.37.39647727953587-0.0964772795358743
27.77.439483606681530.260516393318473
387.972849973867760.0271500261322408
488.09672355322372-0.0967235532237242
57.77.77141155760844-0.0714115576084428
66.97.15011939773926-0.250119397739259
76.66.545628476776130.0543715232238701
86.96.91844404370291-0.0184440437029134
97.57.372645943055990.127354056944011
107.97.795084689701190.104915310298811
117.77.76289600399423-0.0628960039942347
126.56.63774699795048-0.137746997950475
136.16.2072552657992-0.107255265799194
146.46.315960793663350.08403920633665
156.86.98669904922912-0.186699049229124
167.17.20972030564495-0.109720305644949
177.37.136965943915460.163034056084537
187.27.07604535738760.123954642612399
1977.03093198396214-0.0309319839621446
2077.0486291836139-0.0486291836138961
2177.12383993944499-0.123839939444986
227.37.143508580078870.156491419921128
237.57.477997865432710.0220021345672888
247.27.23578185653394-0.0357818565339417
257.77.55174167671660.148258323283394
2688.1229824792054-0.122982479205400
277.98.00792918744256-0.107929187442557
2887.768537852067110.231462147932895
2988.03165664366618-0.0316566436661801
307.97.84358750870210.0564124912979019
317.97.843697787032740.0563022129672599
3288.08280954837574-0.0828095483757363
338.18.1865374534227-0.0865374534227094
348.18.26013011936035-0.160130119360355
358.28.160152400417050.039847599582948
3687.743547270642920.256452729357076
378.38.29534048654070.00465951345930334
388.58.451697753141140.0483022468588625
398.68.41992243256930.180077567430695
408.78.549852726863790.150147273136209
418.78.608281194942310.0917188050576886
428.58.41351485505960.086485144940397
438.48.325698805653830.0743011943461689
448.58.51088654169307-0.0108865416930670
458.78.616976664076320.0830233359236845
468.78.80127661085958-0.101276610859583
478.68.5989537301560.00104626984399785
487.97.98292387487266-0.0829238748726598
498.18.049185291407630.0508147085923708
508.28.46987536730859-0.269875367308585
518.58.412599356891250.0874006431087455
528.68.77516556220043-0.175165562200431
538.58.6516846598676-0.151684659867602
548.38.31673288111144-0.0167328811114385
558.28.35404294657515-0.154042946575154
568.78.539230682614390.160769317385613

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 7.3 & 7.39647727953587 & -0.0964772795358743 \tabularnewline
2 & 7.7 & 7.43948360668153 & 0.260516393318473 \tabularnewline
3 & 8 & 7.97284997386776 & 0.0271500261322408 \tabularnewline
4 & 8 & 8.09672355322372 & -0.0967235532237242 \tabularnewline
5 & 7.7 & 7.77141155760844 & -0.0714115576084428 \tabularnewline
6 & 6.9 & 7.15011939773926 & -0.250119397739259 \tabularnewline
7 & 6.6 & 6.54562847677613 & 0.0543715232238701 \tabularnewline
8 & 6.9 & 6.91844404370291 & -0.0184440437029134 \tabularnewline
9 & 7.5 & 7.37264594305599 & 0.127354056944011 \tabularnewline
10 & 7.9 & 7.79508468970119 & 0.104915310298811 \tabularnewline
11 & 7.7 & 7.76289600399423 & -0.0628960039942347 \tabularnewline
12 & 6.5 & 6.63774699795048 & -0.137746997950475 \tabularnewline
13 & 6.1 & 6.2072552657992 & -0.107255265799194 \tabularnewline
14 & 6.4 & 6.31596079366335 & 0.08403920633665 \tabularnewline
15 & 6.8 & 6.98669904922912 & -0.186699049229124 \tabularnewline
16 & 7.1 & 7.20972030564495 & -0.109720305644949 \tabularnewline
17 & 7.3 & 7.13696594391546 & 0.163034056084537 \tabularnewline
18 & 7.2 & 7.0760453573876 & 0.123954642612399 \tabularnewline
19 & 7 & 7.03093198396214 & -0.0309319839621446 \tabularnewline
20 & 7 & 7.0486291836139 & -0.0486291836138961 \tabularnewline
21 & 7 & 7.12383993944499 & -0.123839939444986 \tabularnewline
22 & 7.3 & 7.14350858007887 & 0.156491419921128 \tabularnewline
23 & 7.5 & 7.47799786543271 & 0.0220021345672888 \tabularnewline
24 & 7.2 & 7.23578185653394 & -0.0357818565339417 \tabularnewline
25 & 7.7 & 7.5517416767166 & 0.148258323283394 \tabularnewline
26 & 8 & 8.1229824792054 & -0.122982479205400 \tabularnewline
27 & 7.9 & 8.00792918744256 & -0.107929187442557 \tabularnewline
28 & 8 & 7.76853785206711 & 0.231462147932895 \tabularnewline
29 & 8 & 8.03165664366618 & -0.0316566436661801 \tabularnewline
30 & 7.9 & 7.8435875087021 & 0.0564124912979019 \tabularnewline
31 & 7.9 & 7.84369778703274 & 0.0563022129672599 \tabularnewline
32 & 8 & 8.08280954837574 & -0.0828095483757363 \tabularnewline
33 & 8.1 & 8.1865374534227 & -0.0865374534227094 \tabularnewline
34 & 8.1 & 8.26013011936035 & -0.160130119360355 \tabularnewline
35 & 8.2 & 8.16015240041705 & 0.039847599582948 \tabularnewline
36 & 8 & 7.74354727064292 & 0.256452729357076 \tabularnewline
37 & 8.3 & 8.2953404865407 & 0.00465951345930334 \tabularnewline
38 & 8.5 & 8.45169775314114 & 0.0483022468588625 \tabularnewline
39 & 8.6 & 8.4199224325693 & 0.180077567430695 \tabularnewline
40 & 8.7 & 8.54985272686379 & 0.150147273136209 \tabularnewline
41 & 8.7 & 8.60828119494231 & 0.0917188050576886 \tabularnewline
42 & 8.5 & 8.4135148550596 & 0.086485144940397 \tabularnewline
43 & 8.4 & 8.32569880565383 & 0.0743011943461689 \tabularnewline
44 & 8.5 & 8.51088654169307 & -0.0108865416930670 \tabularnewline
45 & 8.7 & 8.61697666407632 & 0.0830233359236845 \tabularnewline
46 & 8.7 & 8.80127661085958 & -0.101276610859583 \tabularnewline
47 & 8.6 & 8.598953730156 & 0.00104626984399785 \tabularnewline
48 & 7.9 & 7.98292387487266 & -0.0829238748726598 \tabularnewline
49 & 8.1 & 8.04918529140763 & 0.0508147085923708 \tabularnewline
50 & 8.2 & 8.46987536730859 & -0.269875367308585 \tabularnewline
51 & 8.5 & 8.41259935689125 & 0.0874006431087455 \tabularnewline
52 & 8.6 & 8.77516556220043 & -0.175165562200431 \tabularnewline
53 & 8.5 & 8.6516846598676 & -0.151684659867602 \tabularnewline
54 & 8.3 & 8.31673288111144 & -0.0167328811114385 \tabularnewline
55 & 8.2 & 8.35404294657515 & -0.154042946575154 \tabularnewline
56 & 8.7 & 8.53923068261439 & 0.160769317385613 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57634&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.3[/C][C]7.39647727953587[/C][C]-0.0964772795358743[/C][/ROW]
[ROW][C]2[/C][C]7.7[/C][C]7.43948360668153[/C][C]0.260516393318473[/C][/ROW]
[ROW][C]3[/C][C]8[/C][C]7.97284997386776[/C][C]0.0271500261322408[/C][/ROW]
[ROW][C]4[/C][C]8[/C][C]8.09672355322372[/C][C]-0.0967235532237242[/C][/ROW]
[ROW][C]5[/C][C]7.7[/C][C]7.77141155760844[/C][C]-0.0714115576084428[/C][/ROW]
[ROW][C]6[/C][C]6.9[/C][C]7.15011939773926[/C][C]-0.250119397739259[/C][/ROW]
[ROW][C]7[/C][C]6.6[/C][C]6.54562847677613[/C][C]0.0543715232238701[/C][/ROW]
[ROW][C]8[/C][C]6.9[/C][C]6.91844404370291[/C][C]-0.0184440437029134[/C][/ROW]
[ROW][C]9[/C][C]7.5[/C][C]7.37264594305599[/C][C]0.127354056944011[/C][/ROW]
[ROW][C]10[/C][C]7.9[/C][C]7.79508468970119[/C][C]0.104915310298811[/C][/ROW]
[ROW][C]11[/C][C]7.7[/C][C]7.76289600399423[/C][C]-0.0628960039942347[/C][/ROW]
[ROW][C]12[/C][C]6.5[/C][C]6.63774699795048[/C][C]-0.137746997950475[/C][/ROW]
[ROW][C]13[/C][C]6.1[/C][C]6.2072552657992[/C][C]-0.107255265799194[/C][/ROW]
[ROW][C]14[/C][C]6.4[/C][C]6.31596079366335[/C][C]0.08403920633665[/C][/ROW]
[ROW][C]15[/C][C]6.8[/C][C]6.98669904922912[/C][C]-0.186699049229124[/C][/ROW]
[ROW][C]16[/C][C]7.1[/C][C]7.20972030564495[/C][C]-0.109720305644949[/C][/ROW]
[ROW][C]17[/C][C]7.3[/C][C]7.13696594391546[/C][C]0.163034056084537[/C][/ROW]
[ROW][C]18[/C][C]7.2[/C][C]7.0760453573876[/C][C]0.123954642612399[/C][/ROW]
[ROW][C]19[/C][C]7[/C][C]7.03093198396214[/C][C]-0.0309319839621446[/C][/ROW]
[ROW][C]20[/C][C]7[/C][C]7.0486291836139[/C][C]-0.0486291836138961[/C][/ROW]
[ROW][C]21[/C][C]7[/C][C]7.12383993944499[/C][C]-0.123839939444986[/C][/ROW]
[ROW][C]22[/C][C]7.3[/C][C]7.14350858007887[/C][C]0.156491419921128[/C][/ROW]
[ROW][C]23[/C][C]7.5[/C][C]7.47799786543271[/C][C]0.0220021345672888[/C][/ROW]
[ROW][C]24[/C][C]7.2[/C][C]7.23578185653394[/C][C]-0.0357818565339417[/C][/ROW]
[ROW][C]25[/C][C]7.7[/C][C]7.5517416767166[/C][C]0.148258323283394[/C][/ROW]
[ROW][C]26[/C][C]8[/C][C]8.1229824792054[/C][C]-0.122982479205400[/C][/ROW]
[ROW][C]27[/C][C]7.9[/C][C]8.00792918744256[/C][C]-0.107929187442557[/C][/ROW]
[ROW][C]28[/C][C]8[/C][C]7.76853785206711[/C][C]0.231462147932895[/C][/ROW]
[ROW][C]29[/C][C]8[/C][C]8.03165664366618[/C][C]-0.0316566436661801[/C][/ROW]
[ROW][C]30[/C][C]7.9[/C][C]7.8435875087021[/C][C]0.0564124912979019[/C][/ROW]
[ROW][C]31[/C][C]7.9[/C][C]7.84369778703274[/C][C]0.0563022129672599[/C][/ROW]
[ROW][C]32[/C][C]8[/C][C]8.08280954837574[/C][C]-0.0828095483757363[/C][/ROW]
[ROW][C]33[/C][C]8.1[/C][C]8.1865374534227[/C][C]-0.0865374534227094[/C][/ROW]
[ROW][C]34[/C][C]8.1[/C][C]8.26013011936035[/C][C]-0.160130119360355[/C][/ROW]
[ROW][C]35[/C][C]8.2[/C][C]8.16015240041705[/C][C]0.039847599582948[/C][/ROW]
[ROW][C]36[/C][C]8[/C][C]7.74354727064292[/C][C]0.256452729357076[/C][/ROW]
[ROW][C]37[/C][C]8.3[/C][C]8.2953404865407[/C][C]0.00465951345930334[/C][/ROW]
[ROW][C]38[/C][C]8.5[/C][C]8.45169775314114[/C][C]0.0483022468588625[/C][/ROW]
[ROW][C]39[/C][C]8.6[/C][C]8.4199224325693[/C][C]0.180077567430695[/C][/ROW]
[ROW][C]40[/C][C]8.7[/C][C]8.54985272686379[/C][C]0.150147273136209[/C][/ROW]
[ROW][C]41[/C][C]8.7[/C][C]8.60828119494231[/C][C]0.0917188050576886[/C][/ROW]
[ROW][C]42[/C][C]8.5[/C][C]8.4135148550596[/C][C]0.086485144940397[/C][/ROW]
[ROW][C]43[/C][C]8.4[/C][C]8.32569880565383[/C][C]0.0743011943461689[/C][/ROW]
[ROW][C]44[/C][C]8.5[/C][C]8.51088654169307[/C][C]-0.0108865416930670[/C][/ROW]
[ROW][C]45[/C][C]8.7[/C][C]8.61697666407632[/C][C]0.0830233359236845[/C][/ROW]
[ROW][C]46[/C][C]8.7[/C][C]8.80127661085958[/C][C]-0.101276610859583[/C][/ROW]
[ROW][C]47[/C][C]8.6[/C][C]8.598953730156[/C][C]0.00104626984399785[/C][/ROW]
[ROW][C]48[/C][C]7.9[/C][C]7.98292387487266[/C][C]-0.0829238748726598[/C][/ROW]
[ROW][C]49[/C][C]8.1[/C][C]8.04918529140763[/C][C]0.0508147085923708[/C][/ROW]
[ROW][C]50[/C][C]8.2[/C][C]8.46987536730859[/C][C]-0.269875367308585[/C][/ROW]
[ROW][C]51[/C][C]8.5[/C][C]8.41259935689125[/C][C]0.0874006431087455[/C][/ROW]
[ROW][C]52[/C][C]8.6[/C][C]8.77516556220043[/C][C]-0.175165562200431[/C][/ROW]
[ROW][C]53[/C][C]8.5[/C][C]8.6516846598676[/C][C]-0.151684659867602[/C][/ROW]
[ROW][C]54[/C][C]8.3[/C][C]8.31673288111144[/C][C]-0.0167328811114385[/C][/ROW]
[ROW][C]55[/C][C]8.2[/C][C]8.35404294657515[/C][C]-0.154042946575154[/C][/ROW]
[ROW][C]56[/C][C]8.7[/C][C]8.53923068261439[/C][C]0.160769317385613[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57634&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57634&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.37.39647727953587-0.0964772795358743
27.77.439483606681530.260516393318473
387.972849973867760.0271500261322408
488.09672355322372-0.0967235532237242
57.77.77141155760844-0.0714115576084428
66.97.15011939773926-0.250119397739259
76.66.545628476776130.0543715232238701
86.96.91844404370291-0.0184440437029134
97.57.372645943055990.127354056944011
107.97.795084689701190.104915310298811
117.77.76289600399423-0.0628960039942347
126.56.63774699795048-0.137746997950475
136.16.2072552657992-0.107255265799194
146.46.315960793663350.08403920633665
156.86.98669904922912-0.186699049229124
167.17.20972030564495-0.109720305644949
177.37.136965943915460.163034056084537
187.27.07604535738760.123954642612399
1977.03093198396214-0.0309319839621446
2077.0486291836139-0.0486291836138961
2177.12383993944499-0.123839939444986
227.37.143508580078870.156491419921128
237.57.477997865432710.0220021345672888
247.27.23578185653394-0.0357818565339417
257.77.55174167671660.148258323283394
2688.1229824792054-0.122982479205400
277.98.00792918744256-0.107929187442557
2887.768537852067110.231462147932895
2988.03165664366618-0.0316566436661801
307.97.84358750870210.0564124912979019
317.97.843697787032740.0563022129672599
3288.08280954837574-0.0828095483757363
338.18.1865374534227-0.0865374534227094
348.18.26013011936035-0.160130119360355
358.28.160152400417050.039847599582948
3687.743547270642920.256452729357076
378.38.29534048654070.00465951345930334
388.58.451697753141140.0483022468588625
398.68.41992243256930.180077567430695
408.78.549852726863790.150147273136209
418.78.608281194942310.0917188050576886
428.58.41351485505960.086485144940397
438.48.325698805653830.0743011943461689
448.58.51088654169307-0.0108865416930670
458.78.616976664076320.0830233359236845
468.78.80127661085958-0.101276610859583
478.68.5989537301560.00104626984399785
487.97.98292387487266-0.0829238748726598
498.18.049185291407630.0508147085923708
508.28.46987536730859-0.269875367308585
518.58.412599356891250.0874006431087455
528.68.77516556220043-0.175165562200431
538.58.6516846598676-0.151684659867602
548.38.31673288111144-0.0167328811114385
558.28.35404294657515-0.154042946575154
568.78.539230682614390.160769317385613







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
200.1056589872730380.2113179745460760.894341012726962
210.0445790936985180.0891581873970360.955420906301482
220.3358076290343970.6716152580687930.664192370965603
230.4335467071169210.8670934142338430.566453292883079
240.5130549110142090.9738901779715820.486945088985791
250.4390075469593460.8780150939186910.560992453040654
260.489569341877620.979138683755240.51043065812238
270.5823999079584010.8352001840831970.417600092041598
280.7524518105079220.4950963789841560.247548189492078
290.6456254616958850.708749076608230.354374538304115
300.549067451918940.9018650961621210.450932548081061
310.4624439925569080.9248879851138150.537556007443092
320.4263868853071790.8527737706143570.573613114692821
330.4113242609860090.8226485219720180.588675739013991
340.4760198375533740.9520396751067470.523980162446626
350.6815729611205810.6368540777588370.318427038879419
360.5828301574786470.8343396850427060.417169842521353

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
20 & 0.105658987273038 & 0.211317974546076 & 0.894341012726962 \tabularnewline
21 & 0.044579093698518 & 0.089158187397036 & 0.955420906301482 \tabularnewline
22 & 0.335807629034397 & 0.671615258068793 & 0.664192370965603 \tabularnewline
23 & 0.433546707116921 & 0.867093414233843 & 0.566453292883079 \tabularnewline
24 & 0.513054911014209 & 0.973890177971582 & 0.486945088985791 \tabularnewline
25 & 0.439007546959346 & 0.878015093918691 & 0.560992453040654 \tabularnewline
26 & 0.48956934187762 & 0.97913868375524 & 0.51043065812238 \tabularnewline
27 & 0.582399907958401 & 0.835200184083197 & 0.417600092041598 \tabularnewline
28 & 0.752451810507922 & 0.495096378984156 & 0.247548189492078 \tabularnewline
29 & 0.645625461695885 & 0.70874907660823 & 0.354374538304115 \tabularnewline
30 & 0.54906745191894 & 0.901865096162121 & 0.450932548081061 \tabularnewline
31 & 0.462443992556908 & 0.924887985113815 & 0.537556007443092 \tabularnewline
32 & 0.426386885307179 & 0.852773770614357 & 0.573613114692821 \tabularnewline
33 & 0.411324260986009 & 0.822648521972018 & 0.588675739013991 \tabularnewline
34 & 0.476019837553374 & 0.952039675106747 & 0.523980162446626 \tabularnewline
35 & 0.681572961120581 & 0.636854077758837 & 0.318427038879419 \tabularnewline
36 & 0.582830157478647 & 0.834339685042706 & 0.417169842521353 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57634&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.105658987273038[/C][C]0.211317974546076[/C][C]0.894341012726962[/C][/ROW]
[ROW][C]21[/C][C]0.044579093698518[/C][C]0.089158187397036[/C][C]0.955420906301482[/C][/ROW]
[ROW][C]22[/C][C]0.335807629034397[/C][C]0.671615258068793[/C][C]0.664192370965603[/C][/ROW]
[ROW][C]23[/C][C]0.433546707116921[/C][C]0.867093414233843[/C][C]0.566453292883079[/C][/ROW]
[ROW][C]24[/C][C]0.513054911014209[/C][C]0.973890177971582[/C][C]0.486945088985791[/C][/ROW]
[ROW][C]25[/C][C]0.439007546959346[/C][C]0.878015093918691[/C][C]0.560992453040654[/C][/ROW]
[ROW][C]26[/C][C]0.48956934187762[/C][C]0.97913868375524[/C][C]0.51043065812238[/C][/ROW]
[ROW][C]27[/C][C]0.582399907958401[/C][C]0.835200184083197[/C][C]0.417600092041598[/C][/ROW]
[ROW][C]28[/C][C]0.752451810507922[/C][C]0.495096378984156[/C][C]0.247548189492078[/C][/ROW]
[ROW][C]29[/C][C]0.645625461695885[/C][C]0.70874907660823[/C][C]0.354374538304115[/C][/ROW]
[ROW][C]30[/C][C]0.54906745191894[/C][C]0.901865096162121[/C][C]0.450932548081061[/C][/ROW]
[ROW][C]31[/C][C]0.462443992556908[/C][C]0.924887985113815[/C][C]0.537556007443092[/C][/ROW]
[ROW][C]32[/C][C]0.426386885307179[/C][C]0.852773770614357[/C][C]0.573613114692821[/C][/ROW]
[ROW][C]33[/C][C]0.411324260986009[/C][C]0.822648521972018[/C][C]0.588675739013991[/C][/ROW]
[ROW][C]34[/C][C]0.476019837553374[/C][C]0.952039675106747[/C][C]0.523980162446626[/C][/ROW]
[ROW][C]35[/C][C]0.681572961120581[/C][C]0.636854077758837[/C][C]0.318427038879419[/C][/ROW]
[ROW][C]36[/C][C]0.582830157478647[/C][C]0.834339685042706[/C][C]0.417169842521353[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57634&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57634&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.1056589872730380.2113179745460760.894341012726962
210.0445790936985180.0891581873970360.955420906301482
220.3358076290343970.6716152580687930.664192370965603
230.4335467071169210.8670934142338430.566453292883079
240.5130549110142090.9738901779715820.486945088985791
250.4390075469593460.8780150939186910.560992453040654
260.489569341877620.979138683755240.51043065812238
270.5823999079584010.8352001840831970.417600092041598
280.7524518105079220.4950963789841560.247548189492078
290.6456254616958850.708749076608230.354374538304115
300.549067451918940.9018650961621210.450932548081061
310.4624439925569080.9248879851138150.537556007443092
320.4263868853071790.8527737706143570.573613114692821
330.4113242609860090.8226485219720180.588675739013991
340.4760198375533740.9520396751067470.523980162446626
350.6815729611205810.6368540777588370.318427038879419
360.5828301574786470.8343396850427060.417169842521353







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

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

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

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

As an alternative you can also use a QR Code:  

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

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



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