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 computationSat, 19 Dec 2009 15:04:51 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Dec/19/t1261260421ms1ebyd33800c0w.htm/, Retrieved Fri, 03 May 2024 20:30:44 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=69754, Retrieved Fri, 03 May 2024 20:30:44 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact118
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:10:54] [b98453cac15ba1066b407e146608df68]
-    D      [Multiple Regression] [] [2009-12-19 22:04:51] [7cc673c2b3a8ab442a3ec6ca430f2445] [Current]
Feedback Forum

Post a new message
Dataseries X:
19915	23322	20858	19761	19843	19915
19843	22558	21968	20858	19761	19843
19761	19185	23061	21968	20858	19761
20858	17869	22661	23061	21968	20858
21968	21515	22269	22661	23061	21968
23061	17686	21857	22269	22661	23061
22661	18044	21568	21857	22269	22661
22269	20398	21274	21568	21857	22269
21857	22894	20987	21274	21568	21857
21568	22016	19683	20987	21274	21568
21274	25325	19381	19683	20987	21274
20987	27683	19071	19381	19683	20987
19683	17333	20772	19071	19381	19683
19381	20190	22485	20772	19071	19381
19071	22589	24181	22485	20772	19071
20772	14588	23479	24181	22485	20772
22485	14296	22782	23479	24181	22485
24181	12237	22067	22782	23479	24181
23479	7607	21489	22067	22782	23479
22782	9303	20903	21489	22067	22782
22067	9226	20330	20903	21489	22067
21489	9351	19736	20330	20903	21489
20903	21266	19483	19736	20330	20903
20330	21377	19242	19483	19736	20330
19736	22034	20334	19242	19483	19736
19483	22483	21423	20334	19242	19483
19242	15122	22523	21423	20334	19242
20334	18982	21986	22523	21423	20334
21423	19653	21462	21986	22523	21423
22523	16653	20908	21462	21986	22523
21986	23528	20575	20908	21462	21986
21462	24612	20237	20575	20908	21462
20908	24733	19904	20237	20575	20908
20575	21839	19610	19904	20237	20575
20237	22421	19251	19610	19904	20237
19904	26543	18941	19251	19610	19904
19610	27067	20450	18941	19251	19610
19251	31403	21946	20450	18941	19251
18941	25762	23409	21946	20450	18941
20450	29359	22741	23409	21946	20450
21946	34174	22069	22741	23409	21946
23409	20163	21539	22069	22741	23409
22741	25226	21189	21539	22069	22741
22069	25077	20960	21189	21539	22069
21539	29764	20704	20960	21189	21539
21189	21372	19697	20704	20960	21189
20960	34136	19598	19697	20704	20960
20704	29126	19456	19598	19697	20704
19697	17279	20316	19456	19598	19697
19598	16163	21083	20316	19456	19598
19456	8058	22158	21083	20316	19456
20316	17888	21469	22158	21083	20316
21083	7642	20892	21469	22158	21083
22158	7458	20578	20892	21469	22158
21469	4639	20233	20578	20892	21469
20892	10276	19947	20233	20578	20892
20578	3129	20049	19947	20233	20578




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

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

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

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

As an alternative you can also use a QR Code:  

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

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







Multiple Linear Regression - Estimated Regression Equation
X[t] = + 2.04362166704046e-12 -1.25428476056712e-18Y[t] -1.60617115152988e-16X1[t] + 2.11123058088884e-17X2[t] + 2.26848378726862e-16X3[t] + 1X4[t] + 7.1580018752916e-14M1[t] + 2.97293809719776e-14M2[t] + 1.32453452311815e-13M3[t] + 1.43463365437473e-13M4[t] + 1.79833632064399e-13M5[t] -5.4261488220913e-14M6[t] + 6.15161158945954e-14M7[t] + 6.3849433766008e-14M8[t] + 5.70033632782832e-14M9[t] + 5.32317702906612e-14M10[t] + 4.67624993755304e-14M11[t] + 1.60471422649558e-16t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
X[t] =  +  2.04362166704046e-12 -1.25428476056712e-18Y[t] -1.60617115152988e-16X1[t] +  2.11123058088884e-17X2[t] +  2.26848378726862e-16X3[t] +  1X4[t] +  7.1580018752916e-14M1[t] +  2.97293809719776e-14M2[t] +  1.32453452311815e-13M3[t] +  1.43463365437473e-13M4[t] +  1.79833632064399e-13M5[t] -5.4261488220913e-14M6[t] +  6.15161158945954e-14M7[t] +  6.3849433766008e-14M8[t] +  5.70033632782832e-14M9[t] +  5.32317702906612e-14M10[t] +  4.67624993755304e-14M11[t] +  1.60471422649558e-16t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69754&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]X[t] =  +  2.04362166704046e-12 -1.25428476056712e-18Y[t] -1.60617115152988e-16X1[t] +  2.11123058088884e-17X2[t] +  2.26848378726862e-16X3[t] +  1X4[t] +  7.1580018752916e-14M1[t] +  2.97293809719776e-14M2[t] +  1.32453452311815e-13M3[t] +  1.43463365437473e-13M4[t] +  1.79833632064399e-13M5[t] -5.4261488220913e-14M6[t] +  6.15161158945954e-14M7[t] +  6.3849433766008e-14M8[t] +  5.70033632782832e-14M9[t] +  5.32317702906612e-14M10[t] +  4.67624993755304e-14M11[t] +  1.60471422649558e-16t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69754&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69754&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
X[t] = + 2.04362166704046e-12 -1.25428476056712e-18Y[t] -1.60617115152988e-16X1[t] + 2.11123058088884e-17X2[t] + 2.26848378726862e-16X3[t] + 1X4[t] + 7.1580018752916e-14M1[t] + 2.97293809719776e-14M2[t] + 1.32453452311815e-13M3[t] + 1.43463365437473e-13M4[t] + 1.79833632064399e-13M5[t] -5.4261488220913e-14M6[t] + 6.15161158945954e-14M7[t] + 6.3849433766008e-14M8[t] + 5.70033632782832e-14M9[t] + 5.32317702906612e-14M10[t] + 4.67624993755304e-14M11[t] + 1.60471422649558e-16t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)2.04362166704046e-1203.23660.002470.001235
Y-1.25428476056712e-180-0.7730.4441690.222084
X1-1.60617115152988e-160-2.96680.0051170.002559
X22.11123058088884e-1700.24470.8079410.403971
X32.26848378726862e-1602.59210.0133560.006678
X4101810768791926660800
M17.1580018752916e-1400.72450.473060.23653
M22.97293809719776e-1400.27880.7818450.390922
M31.32453452311815e-1300.92040.3630470.181523
M41.43463365437473e-1301.08010.2867450.143372
M51.79833632064399e-1301.32640.1924280.096214
M6-5.4261488220913e-140-0.57330.5697410.284871
M76.15161158945954e-1400.74220.4624170.231208
M86.3849433766008e-1400.88870.3796060.189803
M95.70033632782832e-1400.85190.3994810.199741
M105.32317702906612e-1400.82710.4132110.206605
M114.67624993755304e-1400.69030.4940720.247036
t1.60471422649558e-1600.20360.83970.41985

\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) & 2.04362166704046e-12 & 0 & 3.2366 & 0.00247 & 0.001235 \tabularnewline
Y & -1.25428476056712e-18 & 0 & -0.773 & 0.444169 & 0.222084 \tabularnewline
X1 & -1.60617115152988e-16 & 0 & -2.9668 & 0.005117 & 0.002559 \tabularnewline
X2 & 2.11123058088884e-17 & 0 & 0.2447 & 0.807941 & 0.403971 \tabularnewline
X3 & 2.26848378726862e-16 & 0 & 2.5921 & 0.013356 & 0.006678 \tabularnewline
X4 & 1 & 0 & 18107687919266608 & 0 & 0 \tabularnewline
M1 & 7.1580018752916e-14 & 0 & 0.7245 & 0.47306 & 0.23653 \tabularnewline
M2 & 2.97293809719776e-14 & 0 & 0.2788 & 0.781845 & 0.390922 \tabularnewline
M3 & 1.32453452311815e-13 & 0 & 0.9204 & 0.363047 & 0.181523 \tabularnewline
M4 & 1.43463365437473e-13 & 0 & 1.0801 & 0.286745 & 0.143372 \tabularnewline
M5 & 1.79833632064399e-13 & 0 & 1.3264 & 0.192428 & 0.096214 \tabularnewline
M6 & -5.4261488220913e-14 & 0 & -0.5733 & 0.569741 & 0.284871 \tabularnewline
M7 & 6.15161158945954e-14 & 0 & 0.7422 & 0.462417 & 0.231208 \tabularnewline
M8 & 6.3849433766008e-14 & 0 & 0.8887 & 0.379606 & 0.189803 \tabularnewline
M9 & 5.70033632782832e-14 & 0 & 0.8519 & 0.399481 & 0.199741 \tabularnewline
M10 & 5.32317702906612e-14 & 0 & 0.8271 & 0.413211 & 0.206605 \tabularnewline
M11 & 4.67624993755304e-14 & 0 & 0.6903 & 0.494072 & 0.247036 \tabularnewline
t & 1.60471422649558e-16 & 0 & 0.2036 & 0.8397 & 0.41985 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69754&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]2.04362166704046e-12[/C][C]0[/C][C]3.2366[/C][C]0.00247[/C][C]0.001235[/C][/ROW]
[ROW][C]Y[/C][C]-1.25428476056712e-18[/C][C]0[/C][C]-0.773[/C][C]0.444169[/C][C]0.222084[/C][/ROW]
[ROW][C]X1[/C][C]-1.60617115152988e-16[/C][C]0[/C][C]-2.9668[/C][C]0.005117[/C][C]0.002559[/C][/ROW]
[ROW][C]X2[/C][C]2.11123058088884e-17[/C][C]0[/C][C]0.2447[/C][C]0.807941[/C][C]0.403971[/C][/ROW]
[ROW][C]X3[/C][C]2.26848378726862e-16[/C][C]0[/C][C]2.5921[/C][C]0.013356[/C][C]0.006678[/C][/ROW]
[ROW][C]X4[/C][C]1[/C][C]0[/C][C]18107687919266608[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]7.1580018752916e-14[/C][C]0[/C][C]0.7245[/C][C]0.47306[/C][C]0.23653[/C][/ROW]
[ROW][C]M2[/C][C]2.97293809719776e-14[/C][C]0[/C][C]0.2788[/C][C]0.781845[/C][C]0.390922[/C][/ROW]
[ROW][C]M3[/C][C]1.32453452311815e-13[/C][C]0[/C][C]0.9204[/C][C]0.363047[/C][C]0.181523[/C][/ROW]
[ROW][C]M4[/C][C]1.43463365437473e-13[/C][C]0[/C][C]1.0801[/C][C]0.286745[/C][C]0.143372[/C][/ROW]
[ROW][C]M5[/C][C]1.79833632064399e-13[/C][C]0[/C][C]1.3264[/C][C]0.192428[/C][C]0.096214[/C][/ROW]
[ROW][C]M6[/C][C]-5.4261488220913e-14[/C][C]0[/C][C]-0.5733[/C][C]0.569741[/C][C]0.284871[/C][/ROW]
[ROW][C]M7[/C][C]6.15161158945954e-14[/C][C]0[/C][C]0.7422[/C][C]0.462417[/C][C]0.231208[/C][/ROW]
[ROW][C]M8[/C][C]6.3849433766008e-14[/C][C]0[/C][C]0.8887[/C][C]0.379606[/C][C]0.189803[/C][/ROW]
[ROW][C]M9[/C][C]5.70033632782832e-14[/C][C]0[/C][C]0.8519[/C][C]0.399481[/C][C]0.199741[/C][/ROW]
[ROW][C]M10[/C][C]5.32317702906612e-14[/C][C]0[/C][C]0.8271[/C][C]0.413211[/C][C]0.206605[/C][/ROW]
[ROW][C]M11[/C][C]4.67624993755304e-14[/C][C]0[/C][C]0.6903[/C][C]0.494072[/C][C]0.247036[/C][/ROW]
[ROW][C]t[/C][C]1.60471422649558e-16[/C][C]0[/C][C]0.2036[/C][C]0.8397[/C][C]0.41985[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69754&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69754&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)2.04362166704046e-1203.23660.002470.001235
Y-1.25428476056712e-180-0.7730.4441690.222084
X1-1.60617115152988e-160-2.96680.0051170.002559
X22.11123058088884e-1700.24470.8079410.403971
X32.26848378726862e-1602.59210.0133560.006678
X4101810768791926660800
M17.1580018752916e-1400.72450.473060.23653
M22.97293809719776e-1400.27880.7818450.390922
M31.32453452311815e-1300.92040.3630470.181523
M41.43463365437473e-1301.08010.2867450.143372
M51.79833632064399e-1301.32640.1924280.096214
M6-5.4261488220913e-140-0.57330.5697410.284871
M76.15161158945954e-1400.74220.4624170.231208
M86.3849433766008e-1400.88870.3796060.189803
M95.70033632782832e-1400.85190.3994810.199741
M105.32317702906612e-1400.82710.4132110.206605
M114.67624993755304e-1400.69030.4940720.247036
t1.60471422649558e-1600.20360.83970.41985







Multiple Linear Regression - Regression Statistics
Multiple R1
R-squared1
Adjusted R-squared1
F-TEST (value)9.74380097518605e+32
F-TEST (DF numerator)17
F-TEST (DF denominator)39
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation7.30982801620975e-14
Sum Squared Residuals2.08390983943603e-25

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 1 \tabularnewline
R-squared & 1 \tabularnewline
Adjusted R-squared & 1 \tabularnewline
F-TEST (value) & 9.74380097518605e+32 \tabularnewline
F-TEST (DF numerator) & 17 \tabularnewline
F-TEST (DF denominator) & 39 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 7.30982801620975e-14 \tabularnewline
Sum Squared Residuals & 2.08390983943603e-25 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69754&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]1[/C][/ROW]
[ROW][C]R-squared[/C][C]1[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]1[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]9.74380097518605e+32[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]17[/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]7.30982801620975e-14[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]2.08390983943603e-25[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69754&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69754&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 R1
R-squared1
Adjusted R-squared1
F-TEST (value)9.74380097518605e+32
F-TEST (DF numerator)17
F-TEST (DF denominator)39
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation7.30982801620975e-14
Sum Squared Residuals2.08390983943603e-25







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
119915199159.97451233687538e-14
21984319843-4.4795070234353e-14
31976119761-8.65405777815626e-16
420858208587.31363347793616e-14
521968219681.25669077138840e-13
62306123061-2.98598960624406e-13
72266122661-5.66137335050553e-14
82226922269-5.75214938409448e-14
921857218573.76915346846499e-14
1021568215689.3359979325785e-15
112127421274-9.41802798246106e-15
122098720987-8.78261424202749e-16
131968319683-1.66217754807049e-14
141938119381-2.15760783511525e-15
1519071190714.94557062149871e-14
1620772207729.88485510592267e-15
1722485224852.46374709454494e-14
182418124181-6.50282793132887e-15
1923479234792.43935877780389e-14
2022782227823.63956969277145e-14
212206722067-2.16025141091189e-14
2221489214898.91555044000284e-15
232090320903-7.36315017733117e-15
2420330203303.07203935897014e-14
251973619736-3.70825417921453e-14
2619483194831.21234479878692e-14
271924219242-1.68624140595082e-14
282033420334-3.66785903289817e-14
292142321423-3.14775407931187e-14
3022523225231.74801709910750e-13
3121986219861.77152830388388e-14
322146221462-1.47478788198794e-14
3320908209081.60575052116694e-14
342057520575-2.22906911763216e-14
352023720237-2.92160063086109e-15
3619904199047.11558471166247e-15
371961019610-2.80854547050318e-14
3819251192511.25595457905928e-14
391894118941-7.51410226134486e-15
402045020450-2.94381402206630e-14
412194621946-6.8700061858117e-15
4223409234091.33741317313296e-14
4322741227411.77413556396677e-14
4422069220694.35228657559619e-14
452153921539-3.15935612463126e-14
4621189211894.03914280374021e-15
4720960209601.97027787906533e-14
482070420704-3.69577168771609e-14
491969719697-1.79553513908720e-14
5019598195982.22696842910062e-14
511945619456-2.42137841163183e-14
522031620316-1.69044593356396e-14
532108321083-1.11959001105359e-13
5422158221581.16925946913656e-13
552146921469-3.23649295149026e-15
562089220892-7.64919002285214e-15
572057820578-5.52964540887872e-16

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 19915 & 19915 & 9.97451233687538e-14 \tabularnewline
2 & 19843 & 19843 & -4.4795070234353e-14 \tabularnewline
3 & 19761 & 19761 & -8.65405777815626e-16 \tabularnewline
4 & 20858 & 20858 & 7.31363347793616e-14 \tabularnewline
5 & 21968 & 21968 & 1.25669077138840e-13 \tabularnewline
6 & 23061 & 23061 & -2.98598960624406e-13 \tabularnewline
7 & 22661 & 22661 & -5.66137335050553e-14 \tabularnewline
8 & 22269 & 22269 & -5.75214938409448e-14 \tabularnewline
9 & 21857 & 21857 & 3.76915346846499e-14 \tabularnewline
10 & 21568 & 21568 & 9.3359979325785e-15 \tabularnewline
11 & 21274 & 21274 & -9.41802798246106e-15 \tabularnewline
12 & 20987 & 20987 & -8.78261424202749e-16 \tabularnewline
13 & 19683 & 19683 & -1.66217754807049e-14 \tabularnewline
14 & 19381 & 19381 & -2.15760783511525e-15 \tabularnewline
15 & 19071 & 19071 & 4.94557062149871e-14 \tabularnewline
16 & 20772 & 20772 & 9.88485510592267e-15 \tabularnewline
17 & 22485 & 22485 & 2.46374709454494e-14 \tabularnewline
18 & 24181 & 24181 & -6.50282793132887e-15 \tabularnewline
19 & 23479 & 23479 & 2.43935877780389e-14 \tabularnewline
20 & 22782 & 22782 & 3.63956969277145e-14 \tabularnewline
21 & 22067 & 22067 & -2.16025141091189e-14 \tabularnewline
22 & 21489 & 21489 & 8.91555044000284e-15 \tabularnewline
23 & 20903 & 20903 & -7.36315017733117e-15 \tabularnewline
24 & 20330 & 20330 & 3.07203935897014e-14 \tabularnewline
25 & 19736 & 19736 & -3.70825417921453e-14 \tabularnewline
26 & 19483 & 19483 & 1.21234479878692e-14 \tabularnewline
27 & 19242 & 19242 & -1.68624140595082e-14 \tabularnewline
28 & 20334 & 20334 & -3.66785903289817e-14 \tabularnewline
29 & 21423 & 21423 & -3.14775407931187e-14 \tabularnewline
30 & 22523 & 22523 & 1.74801709910750e-13 \tabularnewline
31 & 21986 & 21986 & 1.77152830388388e-14 \tabularnewline
32 & 21462 & 21462 & -1.47478788198794e-14 \tabularnewline
33 & 20908 & 20908 & 1.60575052116694e-14 \tabularnewline
34 & 20575 & 20575 & -2.22906911763216e-14 \tabularnewline
35 & 20237 & 20237 & -2.92160063086109e-15 \tabularnewline
36 & 19904 & 19904 & 7.11558471166247e-15 \tabularnewline
37 & 19610 & 19610 & -2.80854547050318e-14 \tabularnewline
38 & 19251 & 19251 & 1.25595457905928e-14 \tabularnewline
39 & 18941 & 18941 & -7.51410226134486e-15 \tabularnewline
40 & 20450 & 20450 & -2.94381402206630e-14 \tabularnewline
41 & 21946 & 21946 & -6.8700061858117e-15 \tabularnewline
42 & 23409 & 23409 & 1.33741317313296e-14 \tabularnewline
43 & 22741 & 22741 & 1.77413556396677e-14 \tabularnewline
44 & 22069 & 22069 & 4.35228657559619e-14 \tabularnewline
45 & 21539 & 21539 & -3.15935612463126e-14 \tabularnewline
46 & 21189 & 21189 & 4.03914280374021e-15 \tabularnewline
47 & 20960 & 20960 & 1.97027787906533e-14 \tabularnewline
48 & 20704 & 20704 & -3.69577168771609e-14 \tabularnewline
49 & 19697 & 19697 & -1.79553513908720e-14 \tabularnewline
50 & 19598 & 19598 & 2.22696842910062e-14 \tabularnewline
51 & 19456 & 19456 & -2.42137841163183e-14 \tabularnewline
52 & 20316 & 20316 & -1.69044593356396e-14 \tabularnewline
53 & 21083 & 21083 & -1.11959001105359e-13 \tabularnewline
54 & 22158 & 22158 & 1.16925946913656e-13 \tabularnewline
55 & 21469 & 21469 & -3.23649295149026e-15 \tabularnewline
56 & 20892 & 20892 & -7.64919002285214e-15 \tabularnewline
57 & 20578 & 20578 & -5.52964540887872e-16 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69754&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]19915[/C][C]19915[/C][C]9.97451233687538e-14[/C][/ROW]
[ROW][C]2[/C][C]19843[/C][C]19843[/C][C]-4.4795070234353e-14[/C][/ROW]
[ROW][C]3[/C][C]19761[/C][C]19761[/C][C]-8.65405777815626e-16[/C][/ROW]
[ROW][C]4[/C][C]20858[/C][C]20858[/C][C]7.31363347793616e-14[/C][/ROW]
[ROW][C]5[/C][C]21968[/C][C]21968[/C][C]1.25669077138840e-13[/C][/ROW]
[ROW][C]6[/C][C]23061[/C][C]23061[/C][C]-2.98598960624406e-13[/C][/ROW]
[ROW][C]7[/C][C]22661[/C][C]22661[/C][C]-5.66137335050553e-14[/C][/ROW]
[ROW][C]8[/C][C]22269[/C][C]22269[/C][C]-5.75214938409448e-14[/C][/ROW]
[ROW][C]9[/C][C]21857[/C][C]21857[/C][C]3.76915346846499e-14[/C][/ROW]
[ROW][C]10[/C][C]21568[/C][C]21568[/C][C]9.3359979325785e-15[/C][/ROW]
[ROW][C]11[/C][C]21274[/C][C]21274[/C][C]-9.41802798246106e-15[/C][/ROW]
[ROW][C]12[/C][C]20987[/C][C]20987[/C][C]-8.78261424202749e-16[/C][/ROW]
[ROW][C]13[/C][C]19683[/C][C]19683[/C][C]-1.66217754807049e-14[/C][/ROW]
[ROW][C]14[/C][C]19381[/C][C]19381[/C][C]-2.15760783511525e-15[/C][/ROW]
[ROW][C]15[/C][C]19071[/C][C]19071[/C][C]4.94557062149871e-14[/C][/ROW]
[ROW][C]16[/C][C]20772[/C][C]20772[/C][C]9.88485510592267e-15[/C][/ROW]
[ROW][C]17[/C][C]22485[/C][C]22485[/C][C]2.46374709454494e-14[/C][/ROW]
[ROW][C]18[/C][C]24181[/C][C]24181[/C][C]-6.50282793132887e-15[/C][/ROW]
[ROW][C]19[/C][C]23479[/C][C]23479[/C][C]2.43935877780389e-14[/C][/ROW]
[ROW][C]20[/C][C]22782[/C][C]22782[/C][C]3.63956969277145e-14[/C][/ROW]
[ROW][C]21[/C][C]22067[/C][C]22067[/C][C]-2.16025141091189e-14[/C][/ROW]
[ROW][C]22[/C][C]21489[/C][C]21489[/C][C]8.91555044000284e-15[/C][/ROW]
[ROW][C]23[/C][C]20903[/C][C]20903[/C][C]-7.36315017733117e-15[/C][/ROW]
[ROW][C]24[/C][C]20330[/C][C]20330[/C][C]3.07203935897014e-14[/C][/ROW]
[ROW][C]25[/C][C]19736[/C][C]19736[/C][C]-3.70825417921453e-14[/C][/ROW]
[ROW][C]26[/C][C]19483[/C][C]19483[/C][C]1.21234479878692e-14[/C][/ROW]
[ROW][C]27[/C][C]19242[/C][C]19242[/C][C]-1.68624140595082e-14[/C][/ROW]
[ROW][C]28[/C][C]20334[/C][C]20334[/C][C]-3.66785903289817e-14[/C][/ROW]
[ROW][C]29[/C][C]21423[/C][C]21423[/C][C]-3.14775407931187e-14[/C][/ROW]
[ROW][C]30[/C][C]22523[/C][C]22523[/C][C]1.74801709910750e-13[/C][/ROW]
[ROW][C]31[/C][C]21986[/C][C]21986[/C][C]1.77152830388388e-14[/C][/ROW]
[ROW][C]32[/C][C]21462[/C][C]21462[/C][C]-1.47478788198794e-14[/C][/ROW]
[ROW][C]33[/C][C]20908[/C][C]20908[/C][C]1.60575052116694e-14[/C][/ROW]
[ROW][C]34[/C][C]20575[/C][C]20575[/C][C]-2.22906911763216e-14[/C][/ROW]
[ROW][C]35[/C][C]20237[/C][C]20237[/C][C]-2.92160063086109e-15[/C][/ROW]
[ROW][C]36[/C][C]19904[/C][C]19904[/C][C]7.11558471166247e-15[/C][/ROW]
[ROW][C]37[/C][C]19610[/C][C]19610[/C][C]-2.80854547050318e-14[/C][/ROW]
[ROW][C]38[/C][C]19251[/C][C]19251[/C][C]1.25595457905928e-14[/C][/ROW]
[ROW][C]39[/C][C]18941[/C][C]18941[/C][C]-7.51410226134486e-15[/C][/ROW]
[ROW][C]40[/C][C]20450[/C][C]20450[/C][C]-2.94381402206630e-14[/C][/ROW]
[ROW][C]41[/C][C]21946[/C][C]21946[/C][C]-6.8700061858117e-15[/C][/ROW]
[ROW][C]42[/C][C]23409[/C][C]23409[/C][C]1.33741317313296e-14[/C][/ROW]
[ROW][C]43[/C][C]22741[/C][C]22741[/C][C]1.77413556396677e-14[/C][/ROW]
[ROW][C]44[/C][C]22069[/C][C]22069[/C][C]4.35228657559619e-14[/C][/ROW]
[ROW][C]45[/C][C]21539[/C][C]21539[/C][C]-3.15935612463126e-14[/C][/ROW]
[ROW][C]46[/C][C]21189[/C][C]21189[/C][C]4.03914280374021e-15[/C][/ROW]
[ROW][C]47[/C][C]20960[/C][C]20960[/C][C]1.97027787906533e-14[/C][/ROW]
[ROW][C]48[/C][C]20704[/C][C]20704[/C][C]-3.69577168771609e-14[/C][/ROW]
[ROW][C]49[/C][C]19697[/C][C]19697[/C][C]-1.79553513908720e-14[/C][/ROW]
[ROW][C]50[/C][C]19598[/C][C]19598[/C][C]2.22696842910062e-14[/C][/ROW]
[ROW][C]51[/C][C]19456[/C][C]19456[/C][C]-2.42137841163183e-14[/C][/ROW]
[ROW][C]52[/C][C]20316[/C][C]20316[/C][C]-1.69044593356396e-14[/C][/ROW]
[ROW][C]53[/C][C]21083[/C][C]21083[/C][C]-1.11959001105359e-13[/C][/ROW]
[ROW][C]54[/C][C]22158[/C][C]22158[/C][C]1.16925946913656e-13[/C][/ROW]
[ROW][C]55[/C][C]21469[/C][C]21469[/C][C]-3.23649295149026e-15[/C][/ROW]
[ROW][C]56[/C][C]20892[/C][C]20892[/C][C]-7.64919002285214e-15[/C][/ROW]
[ROW][C]57[/C][C]20578[/C][C]20578[/C][C]-5.52964540887872e-16[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69754&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69754&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
119915199159.97451233687538e-14
21984319843-4.4795070234353e-14
31976119761-8.65405777815626e-16
420858208587.31363347793616e-14
521968219681.25669077138840e-13
62306123061-2.98598960624406e-13
72266122661-5.66137335050553e-14
82226922269-5.75214938409448e-14
921857218573.76915346846499e-14
1021568215689.3359979325785e-15
112127421274-9.41802798246106e-15
122098720987-8.78261424202749e-16
131968319683-1.66217754807049e-14
141938119381-2.15760783511525e-15
1519071190714.94557062149871e-14
1620772207729.88485510592267e-15
1722485224852.46374709454494e-14
182418124181-6.50282793132887e-15
1923479234792.43935877780389e-14
2022782227823.63956969277145e-14
212206722067-2.16025141091189e-14
2221489214898.91555044000284e-15
232090320903-7.36315017733117e-15
2420330203303.07203935897014e-14
251973619736-3.70825417921453e-14
2619483194831.21234479878692e-14
271924219242-1.68624140595082e-14
282033420334-3.66785903289817e-14
292142321423-3.14775407931187e-14
3022523225231.74801709910750e-13
3121986219861.77152830388388e-14
322146221462-1.47478788198794e-14
3320908209081.60575052116694e-14
342057520575-2.22906911763216e-14
352023720237-2.92160063086109e-15
3619904199047.11558471166247e-15
371961019610-2.80854547050318e-14
3819251192511.25595457905928e-14
391894118941-7.51410226134486e-15
402045020450-2.94381402206630e-14
412194621946-6.8700061858117e-15
4223409234091.33741317313296e-14
4322741227411.77413556396677e-14
4422069220694.35228657559619e-14
452153921539-3.15935612463126e-14
4621189211894.03914280374021e-15
4720960209601.97027787906533e-14
482070420704-3.69577168771609e-14
491969719697-1.79553513908720e-14
5019598195982.22696842910062e-14
511945619456-2.42137841163183e-14
522031620316-1.69044593356396e-14
532108321083-1.11959001105359e-13
5422158221581.16925946913656e-13
552146921469-3.23649295149026e-15
562089220892-7.64919002285214e-15
572057820578-5.52964540887872e-16







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
210.0001396091624843220.0002792183249686450.999860390837516
220.9995574071841980.0008851856316040830.000442592815802041
230.9991352419864420.001729516027115380.00086475801355769
240.03224008829973370.06448017659946740.967759911700266
250.9940167074152980.01196658516940480.00598329258470238
260.009421125327900650.01884225065580130.9905788746721
270.3791910856325440.7583821712650890.620808914367456
280.07017388166204040.1403477633240810.92982611833796
290.8960700287331860.2078599425336280.103929971266814
300.2269704510886510.4539409021773020.77302954891135
310.9741625700591990.05167485988160230.0258374299408011
320.9954977233678850.009004553264229360.00450227663211468
331.49535279654373e-082.99070559308746e-080.999999985046472
349.7445985850895e-061.9489197170179e-050.999990255401415
350.08647345418305880.1729469083661180.913526545816941
360.9955895567961340.008820886407731590.00441044320386579

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
21 & 0.000139609162484322 & 0.000279218324968645 & 0.999860390837516 \tabularnewline
22 & 0.999557407184198 & 0.000885185631604083 & 0.000442592815802041 \tabularnewline
23 & 0.999135241986442 & 0.00172951602711538 & 0.00086475801355769 \tabularnewline
24 & 0.0322400882997337 & 0.0644801765994674 & 0.967759911700266 \tabularnewline
25 & 0.994016707415298 & 0.0119665851694048 & 0.00598329258470238 \tabularnewline
26 & 0.00942112532790065 & 0.0188422506558013 & 0.9905788746721 \tabularnewline
27 & 0.379191085632544 & 0.758382171265089 & 0.620808914367456 \tabularnewline
28 & 0.0701738816620404 & 0.140347763324081 & 0.92982611833796 \tabularnewline
29 & 0.896070028733186 & 0.207859942533628 & 0.103929971266814 \tabularnewline
30 & 0.226970451088651 & 0.453940902177302 & 0.77302954891135 \tabularnewline
31 & 0.974162570059199 & 0.0516748598816023 & 0.0258374299408011 \tabularnewline
32 & 0.995497723367885 & 0.00900455326422936 & 0.00450227663211468 \tabularnewline
33 & 1.49535279654373e-08 & 2.99070559308746e-08 & 0.999999985046472 \tabularnewline
34 & 9.7445985850895e-06 & 1.9489197170179e-05 & 0.999990255401415 \tabularnewline
35 & 0.0864734541830588 & 0.172946908366118 & 0.913526545816941 \tabularnewline
36 & 0.995589556796134 & 0.00882088640773159 & 0.00441044320386579 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69754&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]21[/C][C]0.000139609162484322[/C][C]0.000279218324968645[/C][C]0.999860390837516[/C][/ROW]
[ROW][C]22[/C][C]0.999557407184198[/C][C]0.000885185631604083[/C][C]0.000442592815802041[/C][/ROW]
[ROW][C]23[/C][C]0.999135241986442[/C][C]0.00172951602711538[/C][C]0.00086475801355769[/C][/ROW]
[ROW][C]24[/C][C]0.0322400882997337[/C][C]0.0644801765994674[/C][C]0.967759911700266[/C][/ROW]
[ROW][C]25[/C][C]0.994016707415298[/C][C]0.0119665851694048[/C][C]0.00598329258470238[/C][/ROW]
[ROW][C]26[/C][C]0.00942112532790065[/C][C]0.0188422506558013[/C][C]0.9905788746721[/C][/ROW]
[ROW][C]27[/C][C]0.379191085632544[/C][C]0.758382171265089[/C][C]0.620808914367456[/C][/ROW]
[ROW][C]28[/C][C]0.0701738816620404[/C][C]0.140347763324081[/C][C]0.92982611833796[/C][/ROW]
[ROW][C]29[/C][C]0.896070028733186[/C][C]0.207859942533628[/C][C]0.103929971266814[/C][/ROW]
[ROW][C]30[/C][C]0.226970451088651[/C][C]0.453940902177302[/C][C]0.77302954891135[/C][/ROW]
[ROW][C]31[/C][C]0.974162570059199[/C][C]0.0516748598816023[/C][C]0.0258374299408011[/C][/ROW]
[ROW][C]32[/C][C]0.995497723367885[/C][C]0.00900455326422936[/C][C]0.00450227663211468[/C][/ROW]
[ROW][C]33[/C][C]1.49535279654373e-08[/C][C]2.99070559308746e-08[/C][C]0.999999985046472[/C][/ROW]
[ROW][C]34[/C][C]9.7445985850895e-06[/C][C]1.9489197170179e-05[/C][C]0.999990255401415[/C][/ROW]
[ROW][C]35[/C][C]0.0864734541830588[/C][C]0.172946908366118[/C][C]0.913526545816941[/C][/ROW]
[ROW][C]36[/C][C]0.995589556796134[/C][C]0.00882088640773159[/C][C]0.00441044320386579[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69754&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69754&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
210.0001396091624843220.0002792183249686450.999860390837516
220.9995574071841980.0008851856316040830.000442592815802041
230.9991352419864420.001729516027115380.00086475801355769
240.03224008829973370.06448017659946740.967759911700266
250.9940167074152980.01196658516940480.00598329258470238
260.009421125327900650.01884225065580130.9905788746721
270.3791910856325440.7583821712650890.620808914367456
280.07017388166204040.1403477633240810.92982611833796
290.8960700287331860.2078599425336280.103929971266814
300.2269704510886510.4539409021773020.77302954891135
310.9741625700591990.05167485988160230.0258374299408011
320.9954977233678850.009004553264229360.00450227663211468
331.49535279654373e-082.99070559308746e-080.999999985046472
349.7445985850895e-061.9489197170179e-050.999990255401415
350.08647345418305880.1729469083661180.913526545816941
360.9955895567961340.008820886407731590.00441044320386579







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level70.4375NOK
5% type I error level90.5625NOK
10% type I error level110.6875NOK

\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 & 7 & 0.4375 & NOK \tabularnewline
5% type I error level & 9 & 0.5625 & NOK \tabularnewline
10% type I error level & 11 & 0.6875 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69754&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]7[/C][C]0.4375[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]9[/C][C]0.5625[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]11[/C][C]0.6875[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69754&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69754&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 level70.4375NOK
5% type I error level90.5625NOK
10% type I error level110.6875NOK



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