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 12:39: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/Dec/19/t1261251637glkqpai8687xadt.htm/, Retrieved Fri, 03 May 2024 21:52:40 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=69739, Retrieved Fri, 03 May 2024 21:52:40 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact106
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-12-19 19:39:40] [7cc673c2b3a8ab442a3ec6ca430f2445] [Current]
Feedback Forum

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




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69739&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
X[t] = + 20936.5059672832 + 0.00318662866511115Y[t] -850.512275499433M1[t] -1054.14415230839M2[t] -1240.03096873281M3[t] + 23.7299392397103M4[t] + 1276.66641328505M5[t] + 2593.81819724512M6[t] + 2008.56947348187M7[t] + 1446.44019361042M8[t] + 958.429601616493M9[t] + 593.375779247383M10[t] + 255.982802727519M11[t] -17.0403940647126t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
X[t] =  +  20936.5059672832 +  0.00318662866511115Y[t] -850.512275499433M1[t] -1054.14415230839M2[t] -1240.03096873281M3[t] +  23.7299392397103M4[t] +  1276.66641328505M5[t] +  2593.81819724512M6[t] +  2008.56947348187M7[t] +  1446.44019361042M8[t] +  958.429601616493M9[t] +  593.375779247383M10[t] +  255.982802727519M11[t] -17.0403940647126t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69739&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]X[t] =  +  20936.5059672832 +  0.00318662866511115Y[t] -850.512275499433M1[t] -1054.14415230839M2[t] -1240.03096873281M3[t] +  23.7299392397103M4[t] +  1276.66641328505M5[t] +  2593.81819724512M6[t] +  2008.56947348187M7[t] +  1446.44019361042M8[t] +  958.429601616493M9[t] +  593.375779247383M10[t] +  255.982802727519M11[t] -17.0403940647126t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69739&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69739&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] = + 20936.5059672832 + 0.00318662866511115Y[t] -850.512275499433M1[t] -1054.14415230839M2[t] -1240.03096873281M3[t] + 23.7299392397103M4[t] + 1276.66641328505M5[t] + 2593.81819724512M6[t] + 2008.56947348187M7[t] + 1446.44019361042M8[t] + 958.429601616493M9[t] + 593.375779247383M10[t] + 255.982802727519M11[t] -17.0403940647126t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)20936.5059672832310.30919567.469800
Y0.003186628665111150.0081820.38950.6987290.349365
M1-850.512275499433280.800945-3.02890.0040170.002008
M2-1054.14415230839279.978203-3.76510.0004710.000236
M3-1240.03096873281282.619878-4.38766.6e-053.3e-05
M423.7299392397103280.5885040.08460.9329690.466484
M51276.66641328505280.458654.55213.9e-051.9e-05
M62593.81819724512286.511049.053100
M72008.56947348187284.4171837.062100
M81446.44019361042281.1050045.14565e-063e-06
M9958.429601616493280.8545943.41250.0013520.000676
M10593.375779247383279.6800052.12160.0392880.019644
M11255.982802727519278.1049470.92050.3621380.181069
t-17.04039406471263.406432-5.00249e-064e-06

\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) & 20936.5059672832 & 310.309195 & 67.4698 & 0 & 0 \tabularnewline
Y & 0.00318662866511115 & 0.008182 & 0.3895 & 0.698729 & 0.349365 \tabularnewline
M1 & -850.512275499433 & 280.800945 & -3.0289 & 0.004017 & 0.002008 \tabularnewline
M2 & -1054.14415230839 & 279.978203 & -3.7651 & 0.000471 & 0.000236 \tabularnewline
M3 & -1240.03096873281 & 282.619878 & -4.3876 & 6.6e-05 & 3.3e-05 \tabularnewline
M4 & 23.7299392397103 & 280.588504 & 0.0846 & 0.932969 & 0.466484 \tabularnewline
M5 & 1276.66641328505 & 280.45865 & 4.5521 & 3.9e-05 & 1.9e-05 \tabularnewline
M6 & 2593.81819724512 & 286.51104 & 9.0531 & 0 & 0 \tabularnewline
M7 & 2008.56947348187 & 284.417183 & 7.0621 & 0 & 0 \tabularnewline
M8 & 1446.44019361042 & 281.105004 & 5.1456 & 5e-06 & 3e-06 \tabularnewline
M9 & 958.429601616493 & 280.854594 & 3.4125 & 0.001352 & 0.000676 \tabularnewline
M10 & 593.375779247383 & 279.680005 & 2.1216 & 0.039288 & 0.019644 \tabularnewline
M11 & 255.982802727519 & 278.104947 & 0.9205 & 0.362138 & 0.181069 \tabularnewline
t & -17.0403940647126 & 3.406432 & -5.0024 & 9e-06 & 4e-06 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69739&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]20936.5059672832[/C][C]310.309195[/C][C]67.4698[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Y[/C][C]0.00318662866511115[/C][C]0.008182[/C][C]0.3895[/C][C]0.698729[/C][C]0.349365[/C][/ROW]
[ROW][C]M1[/C][C]-850.512275499433[/C][C]280.800945[/C][C]-3.0289[/C][C]0.004017[/C][C]0.002008[/C][/ROW]
[ROW][C]M2[/C][C]-1054.14415230839[/C][C]279.978203[/C][C]-3.7651[/C][C]0.000471[/C][C]0.000236[/C][/ROW]
[ROW][C]M3[/C][C]-1240.03096873281[/C][C]282.619878[/C][C]-4.3876[/C][C]6.6e-05[/C][C]3.3e-05[/C][/ROW]
[ROW][C]M4[/C][C]23.7299392397103[/C][C]280.588504[/C][C]0.0846[/C][C]0.932969[/C][C]0.466484[/C][/ROW]
[ROW][C]M5[/C][C]1276.66641328505[/C][C]280.45865[/C][C]4.5521[/C][C]3.9e-05[/C][C]1.9e-05[/C][/ROW]
[ROW][C]M6[/C][C]2593.81819724512[/C][C]286.51104[/C][C]9.0531[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M7[/C][C]2008.56947348187[/C][C]284.417183[/C][C]7.0621[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M8[/C][C]1446.44019361042[/C][C]281.105004[/C][C]5.1456[/C][C]5e-06[/C][C]3e-06[/C][/ROW]
[ROW][C]M9[/C][C]958.429601616493[/C][C]280.854594[/C][C]3.4125[/C][C]0.001352[/C][C]0.000676[/C][/ROW]
[ROW][C]M10[/C][C]593.375779247383[/C][C]279.680005[/C][C]2.1216[/C][C]0.039288[/C][C]0.019644[/C][/ROW]
[ROW][C]M11[/C][C]255.982802727519[/C][C]278.104947[/C][C]0.9205[/C][C]0.362138[/C][C]0.181069[/C][/ROW]
[ROW][C]t[/C][C]-17.0403940647126[/C][C]3.406432[/C][C]-5.0024[/C][C]9e-06[/C][C]4e-06[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69739&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69739&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)20936.5059672832310.30919567.469800
Y0.003186628665111150.0081820.38950.6987290.349365
M1-850.512275499433280.800945-3.02890.0040170.002008
M2-1054.14415230839279.978203-3.76510.0004710.000236
M3-1240.03096873281282.619878-4.38766.6e-053.3e-05
M423.7299392397103280.5885040.08460.9329690.466484
M51276.66641328505280.458654.55213.9e-051.9e-05
M62593.81819724512286.511049.053100
M72008.56947348187284.4171837.062100
M81446.44019361042281.1050045.14565e-063e-06
M9958.429601616493280.8545943.41250.0013520.000676
M10593.375779247383279.6800052.12160.0392880.019644
M11255.982802727519278.1049470.92050.3621380.181069
t-17.04039406471263.406432-5.00249e-064e-06







Multiple Linear Regression - Regression Statistics
Multiple R0.950017497702683
R-squared0.902533245941267
Adjusted R-squared0.874988293707278
F-TEST (value)32.7658308598397
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation439.408719526264
Sum Squared Residuals8881681.0486027

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.950017497702683 \tabularnewline
R-squared & 0.902533245941267 \tabularnewline
Adjusted R-squared & 0.874988293707278 \tabularnewline
F-TEST (value) & 32.7658308598397 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 46 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 439.408719526264 \tabularnewline
Sum Squared Residuals & 8881681.0486027 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69739&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.950017497702683[/C][/ROW]
[ROW][C]R-squared[/C][C]0.902533245941267[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.874988293707278[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]32.7658308598397[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]46[/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]439.408719526264[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]8881681.0486027[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69739&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69739&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.950017497702683
R-squared0.902533245941267
Adjusted R-squared0.874988293707278
F-TEST (value)32.7658308598397
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation439.408719526264
Sum Squared Residuals8881681.0486027







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
11991520143.2718514468-228.271851446805
21984319920.1649962730-77.1649962729715
31976119706.489287296454.5107127035835
42085820949.0161978809-91.0161978809427
52196822196.5307259746-228.530725974568
62306123484.4405147112-423.440514711208
72266122883.2922099454-222.29220994536
82226922311.6238598869-42.6238598868656
92185721814.526698976342.4733010236551
102156821429.6346225746138.365377425446
112127421085.7458062428188.254193757169
122098720820.2366798429166.763320157069
131968319919.7024035949-236.702403594885
141938119708.1343308174-327.134330817438
151907119512.8518424959-441.851842495903
162077220734.076140454237.9238595458387
172248521969.0417248646515.958275135422
182418123262.5918463385918.408153661534
192347922645.5486377910833.451362208957
202278222071.7834860709710.21651392909
212206721566.4871296051500.512870394946
222148921184.7912417544304.20875824563
232090320868.326551714634.6734482854068
242033020595.6570707042-265.657070704189
251973619730.1980161735.80198382697873
261948319510.95654157-27.9565415699858
271924219284.5725574770-42.5725574769665
282033420543.5934580321-209.593458032108
292142321781.6277658470-358.627765847027
302252323072.1792697470-549.179269747046
312198622491.7982239917-505.798223991726
322146221916.0828555285-454.082855528545
332090821411.4174515384-503.417451538381
342057521020.1011317477-445.101131747727
352023720667.5223790462-430.522379046245
361990420407.6344656116-503.634465611602
371961019541.751589468068.2484105320258
381925119334.8965404862-83.8965404862252
391894119113.9935576972-172.993557697197
402045020372.176374913477.8236250865852
412194621623.4160719166322.583928083446
422340922878.8796075850530.120392414965
432274122292.7243906885448.275609311467
442206921713.0799090813355.920090918730
452153921222.964651576316.035348423996
462118920814.1282473846374.871752615432
472096020500.3690050815459.630994918529
482070420211.3807986770492.619201322968
491969719306.0761393173390.923860682685
501959819081.8475908534516.15240914662
511945618853.0927550335602.907244966482
522031620131.1378287194184.862171280627
532108321334.3837113973-251.383711397273
542215822633.9087616182-475.908761618246
552146922022.6365375833-553.636537583338
562089221461.4298894324-569.429889432408
572057820933.6040683042-355.604068304216
582023320605.3447565388-372.344756538781
591994720199.0362579149-252.036257914860
602004919939.0909851642109.909014835754

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 19915 & 20143.2718514468 & -228.271851446805 \tabularnewline
2 & 19843 & 19920.1649962730 & -77.1649962729715 \tabularnewline
3 & 19761 & 19706.4892872964 & 54.5107127035835 \tabularnewline
4 & 20858 & 20949.0161978809 & -91.0161978809427 \tabularnewline
5 & 21968 & 22196.5307259746 & -228.530725974568 \tabularnewline
6 & 23061 & 23484.4405147112 & -423.440514711208 \tabularnewline
7 & 22661 & 22883.2922099454 & -222.29220994536 \tabularnewline
8 & 22269 & 22311.6238598869 & -42.6238598868656 \tabularnewline
9 & 21857 & 21814.5266989763 & 42.4733010236551 \tabularnewline
10 & 21568 & 21429.6346225746 & 138.365377425446 \tabularnewline
11 & 21274 & 21085.7458062428 & 188.254193757169 \tabularnewline
12 & 20987 & 20820.2366798429 & 166.763320157069 \tabularnewline
13 & 19683 & 19919.7024035949 & -236.702403594885 \tabularnewline
14 & 19381 & 19708.1343308174 & -327.134330817438 \tabularnewline
15 & 19071 & 19512.8518424959 & -441.851842495903 \tabularnewline
16 & 20772 & 20734.0761404542 & 37.9238595458387 \tabularnewline
17 & 22485 & 21969.0417248646 & 515.958275135422 \tabularnewline
18 & 24181 & 23262.5918463385 & 918.408153661534 \tabularnewline
19 & 23479 & 22645.5486377910 & 833.451362208957 \tabularnewline
20 & 22782 & 22071.7834860709 & 710.21651392909 \tabularnewline
21 & 22067 & 21566.4871296051 & 500.512870394946 \tabularnewline
22 & 21489 & 21184.7912417544 & 304.20875824563 \tabularnewline
23 & 20903 & 20868.3265517146 & 34.6734482854068 \tabularnewline
24 & 20330 & 20595.6570707042 & -265.657070704189 \tabularnewline
25 & 19736 & 19730.198016173 & 5.80198382697873 \tabularnewline
26 & 19483 & 19510.95654157 & -27.9565415699858 \tabularnewline
27 & 19242 & 19284.5725574770 & -42.5725574769665 \tabularnewline
28 & 20334 & 20543.5934580321 & -209.593458032108 \tabularnewline
29 & 21423 & 21781.6277658470 & -358.627765847027 \tabularnewline
30 & 22523 & 23072.1792697470 & -549.179269747046 \tabularnewline
31 & 21986 & 22491.7982239917 & -505.798223991726 \tabularnewline
32 & 21462 & 21916.0828555285 & -454.082855528545 \tabularnewline
33 & 20908 & 21411.4174515384 & -503.417451538381 \tabularnewline
34 & 20575 & 21020.1011317477 & -445.101131747727 \tabularnewline
35 & 20237 & 20667.5223790462 & -430.522379046245 \tabularnewline
36 & 19904 & 20407.6344656116 & -503.634465611602 \tabularnewline
37 & 19610 & 19541.7515894680 & 68.2484105320258 \tabularnewline
38 & 19251 & 19334.8965404862 & -83.8965404862252 \tabularnewline
39 & 18941 & 19113.9935576972 & -172.993557697197 \tabularnewline
40 & 20450 & 20372.1763749134 & 77.8236250865852 \tabularnewline
41 & 21946 & 21623.4160719166 & 322.583928083446 \tabularnewline
42 & 23409 & 22878.8796075850 & 530.120392414965 \tabularnewline
43 & 22741 & 22292.7243906885 & 448.275609311467 \tabularnewline
44 & 22069 & 21713.0799090813 & 355.920090918730 \tabularnewline
45 & 21539 & 21222.964651576 & 316.035348423996 \tabularnewline
46 & 21189 & 20814.1282473846 & 374.871752615432 \tabularnewline
47 & 20960 & 20500.3690050815 & 459.630994918529 \tabularnewline
48 & 20704 & 20211.3807986770 & 492.619201322968 \tabularnewline
49 & 19697 & 19306.0761393173 & 390.923860682685 \tabularnewline
50 & 19598 & 19081.8475908534 & 516.15240914662 \tabularnewline
51 & 19456 & 18853.0927550335 & 602.907244966482 \tabularnewline
52 & 20316 & 20131.1378287194 & 184.862171280627 \tabularnewline
53 & 21083 & 21334.3837113973 & -251.383711397273 \tabularnewline
54 & 22158 & 22633.9087616182 & -475.908761618246 \tabularnewline
55 & 21469 & 22022.6365375833 & -553.636537583338 \tabularnewline
56 & 20892 & 21461.4298894324 & -569.429889432408 \tabularnewline
57 & 20578 & 20933.6040683042 & -355.604068304216 \tabularnewline
58 & 20233 & 20605.3447565388 & -372.344756538781 \tabularnewline
59 & 19947 & 20199.0362579149 & -252.036257914860 \tabularnewline
60 & 20049 & 19939.0909851642 & 109.909014835754 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69739&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]20143.2718514468[/C][C]-228.271851446805[/C][/ROW]
[ROW][C]2[/C][C]19843[/C][C]19920.1649962730[/C][C]-77.1649962729715[/C][/ROW]
[ROW][C]3[/C][C]19761[/C][C]19706.4892872964[/C][C]54.5107127035835[/C][/ROW]
[ROW][C]4[/C][C]20858[/C][C]20949.0161978809[/C][C]-91.0161978809427[/C][/ROW]
[ROW][C]5[/C][C]21968[/C][C]22196.5307259746[/C][C]-228.530725974568[/C][/ROW]
[ROW][C]6[/C][C]23061[/C][C]23484.4405147112[/C][C]-423.440514711208[/C][/ROW]
[ROW][C]7[/C][C]22661[/C][C]22883.2922099454[/C][C]-222.29220994536[/C][/ROW]
[ROW][C]8[/C][C]22269[/C][C]22311.6238598869[/C][C]-42.6238598868656[/C][/ROW]
[ROW][C]9[/C][C]21857[/C][C]21814.5266989763[/C][C]42.4733010236551[/C][/ROW]
[ROW][C]10[/C][C]21568[/C][C]21429.6346225746[/C][C]138.365377425446[/C][/ROW]
[ROW][C]11[/C][C]21274[/C][C]21085.7458062428[/C][C]188.254193757169[/C][/ROW]
[ROW][C]12[/C][C]20987[/C][C]20820.2366798429[/C][C]166.763320157069[/C][/ROW]
[ROW][C]13[/C][C]19683[/C][C]19919.7024035949[/C][C]-236.702403594885[/C][/ROW]
[ROW][C]14[/C][C]19381[/C][C]19708.1343308174[/C][C]-327.134330817438[/C][/ROW]
[ROW][C]15[/C][C]19071[/C][C]19512.8518424959[/C][C]-441.851842495903[/C][/ROW]
[ROW][C]16[/C][C]20772[/C][C]20734.0761404542[/C][C]37.9238595458387[/C][/ROW]
[ROW][C]17[/C][C]22485[/C][C]21969.0417248646[/C][C]515.958275135422[/C][/ROW]
[ROW][C]18[/C][C]24181[/C][C]23262.5918463385[/C][C]918.408153661534[/C][/ROW]
[ROW][C]19[/C][C]23479[/C][C]22645.5486377910[/C][C]833.451362208957[/C][/ROW]
[ROW][C]20[/C][C]22782[/C][C]22071.7834860709[/C][C]710.21651392909[/C][/ROW]
[ROW][C]21[/C][C]22067[/C][C]21566.4871296051[/C][C]500.512870394946[/C][/ROW]
[ROW][C]22[/C][C]21489[/C][C]21184.7912417544[/C][C]304.20875824563[/C][/ROW]
[ROW][C]23[/C][C]20903[/C][C]20868.3265517146[/C][C]34.6734482854068[/C][/ROW]
[ROW][C]24[/C][C]20330[/C][C]20595.6570707042[/C][C]-265.657070704189[/C][/ROW]
[ROW][C]25[/C][C]19736[/C][C]19730.198016173[/C][C]5.80198382697873[/C][/ROW]
[ROW][C]26[/C][C]19483[/C][C]19510.95654157[/C][C]-27.9565415699858[/C][/ROW]
[ROW][C]27[/C][C]19242[/C][C]19284.5725574770[/C][C]-42.5725574769665[/C][/ROW]
[ROW][C]28[/C][C]20334[/C][C]20543.5934580321[/C][C]-209.593458032108[/C][/ROW]
[ROW][C]29[/C][C]21423[/C][C]21781.6277658470[/C][C]-358.627765847027[/C][/ROW]
[ROW][C]30[/C][C]22523[/C][C]23072.1792697470[/C][C]-549.179269747046[/C][/ROW]
[ROW][C]31[/C][C]21986[/C][C]22491.7982239917[/C][C]-505.798223991726[/C][/ROW]
[ROW][C]32[/C][C]21462[/C][C]21916.0828555285[/C][C]-454.082855528545[/C][/ROW]
[ROW][C]33[/C][C]20908[/C][C]21411.4174515384[/C][C]-503.417451538381[/C][/ROW]
[ROW][C]34[/C][C]20575[/C][C]21020.1011317477[/C][C]-445.101131747727[/C][/ROW]
[ROW][C]35[/C][C]20237[/C][C]20667.5223790462[/C][C]-430.522379046245[/C][/ROW]
[ROW][C]36[/C][C]19904[/C][C]20407.6344656116[/C][C]-503.634465611602[/C][/ROW]
[ROW][C]37[/C][C]19610[/C][C]19541.7515894680[/C][C]68.2484105320258[/C][/ROW]
[ROW][C]38[/C][C]19251[/C][C]19334.8965404862[/C][C]-83.8965404862252[/C][/ROW]
[ROW][C]39[/C][C]18941[/C][C]19113.9935576972[/C][C]-172.993557697197[/C][/ROW]
[ROW][C]40[/C][C]20450[/C][C]20372.1763749134[/C][C]77.8236250865852[/C][/ROW]
[ROW][C]41[/C][C]21946[/C][C]21623.4160719166[/C][C]322.583928083446[/C][/ROW]
[ROW][C]42[/C][C]23409[/C][C]22878.8796075850[/C][C]530.120392414965[/C][/ROW]
[ROW][C]43[/C][C]22741[/C][C]22292.7243906885[/C][C]448.275609311467[/C][/ROW]
[ROW][C]44[/C][C]22069[/C][C]21713.0799090813[/C][C]355.920090918730[/C][/ROW]
[ROW][C]45[/C][C]21539[/C][C]21222.964651576[/C][C]316.035348423996[/C][/ROW]
[ROW][C]46[/C][C]21189[/C][C]20814.1282473846[/C][C]374.871752615432[/C][/ROW]
[ROW][C]47[/C][C]20960[/C][C]20500.3690050815[/C][C]459.630994918529[/C][/ROW]
[ROW][C]48[/C][C]20704[/C][C]20211.3807986770[/C][C]492.619201322968[/C][/ROW]
[ROW][C]49[/C][C]19697[/C][C]19306.0761393173[/C][C]390.923860682685[/C][/ROW]
[ROW][C]50[/C][C]19598[/C][C]19081.8475908534[/C][C]516.15240914662[/C][/ROW]
[ROW][C]51[/C][C]19456[/C][C]18853.0927550335[/C][C]602.907244966482[/C][/ROW]
[ROW][C]52[/C][C]20316[/C][C]20131.1378287194[/C][C]184.862171280627[/C][/ROW]
[ROW][C]53[/C][C]21083[/C][C]21334.3837113973[/C][C]-251.383711397273[/C][/ROW]
[ROW][C]54[/C][C]22158[/C][C]22633.9087616182[/C][C]-475.908761618246[/C][/ROW]
[ROW][C]55[/C][C]21469[/C][C]22022.6365375833[/C][C]-553.636537583338[/C][/ROW]
[ROW][C]56[/C][C]20892[/C][C]21461.4298894324[/C][C]-569.429889432408[/C][/ROW]
[ROW][C]57[/C][C]20578[/C][C]20933.6040683042[/C][C]-355.604068304216[/C][/ROW]
[ROW][C]58[/C][C]20233[/C][C]20605.3447565388[/C][C]-372.344756538781[/C][/ROW]
[ROW][C]59[/C][C]19947[/C][C]20199.0362579149[/C][C]-252.036257914860[/C][/ROW]
[ROW][C]60[/C][C]20049[/C][C]19939.0909851642[/C][C]109.909014835754[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69739&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69739&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
11991520143.2718514468-228.271851446805
21984319920.1649962730-77.1649962729715
31976119706.489287296454.5107127035835
42085820949.0161978809-91.0161978809427
52196822196.5307259746-228.530725974568
62306123484.4405147112-423.440514711208
72266122883.2922099454-222.29220994536
82226922311.6238598869-42.6238598868656
92185721814.526698976342.4733010236551
102156821429.6346225746138.365377425446
112127421085.7458062428188.254193757169
122098720820.2366798429166.763320157069
131968319919.7024035949-236.702403594885
141938119708.1343308174-327.134330817438
151907119512.8518424959-441.851842495903
162077220734.076140454237.9238595458387
172248521969.0417248646515.958275135422
182418123262.5918463385918.408153661534
192347922645.5486377910833.451362208957
202278222071.7834860709710.21651392909
212206721566.4871296051500.512870394946
222148921184.7912417544304.20875824563
232090320868.326551714634.6734482854068
242033020595.6570707042-265.657070704189
251973619730.1980161735.80198382697873
261948319510.95654157-27.9565415699858
271924219284.5725574770-42.5725574769665
282033420543.5934580321-209.593458032108
292142321781.6277658470-358.627765847027
302252323072.1792697470-549.179269747046
312198622491.7982239917-505.798223991726
322146221916.0828555285-454.082855528545
332090821411.4174515384-503.417451538381
342057521020.1011317477-445.101131747727
352023720667.5223790462-430.522379046245
361990420407.6344656116-503.634465611602
371961019541.751589468068.2484105320258
381925119334.8965404862-83.8965404862252
391894119113.9935576972-172.993557697197
402045020372.176374913477.8236250865852
412194621623.4160719166322.583928083446
422340922878.8796075850530.120392414965
432274122292.7243906885448.275609311467
442206921713.0799090813355.920090918730
452153921222.964651576316.035348423996
462118920814.1282473846374.871752615432
472096020500.3690050815459.630994918529
482070420211.3807986770492.619201322968
491969719306.0761393173390.923860682685
501959819081.8475908534516.15240914662
511945618853.0927550335602.907244966482
522031620131.1378287194184.862171280627
532108321334.3837113973-251.383711397273
542215822633.9087616182-475.908761618246
552146922022.6365375833-553.636537583338
562089221461.4298894324-569.429889432408
572057820933.6040683042-355.604068304216
582023320605.3447565388-372.344756538781
591994720199.0362579149-252.036257914860
602004919939.0909851642109.909014835754







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.08576948179141280.1715389635828260.914230518208587
180.3570848358959210.7141696717918410.642915164104079
190.2705552967172000.5411105934344010.7294447032828
200.261493099699910.522986199399820.73850690030009
210.3864313698448910.7728627396897810.613568630155109
220.5534651559373330.8930696881253340.446534844062667
230.5291571922043680.9416856155912630.470842807795632
240.5733984514257150.853203097148570.426601548574285
250.5295575456121460.9408849087757080.470442454387854
260.4434296349963820.8868592699927630.556570365003618
270.3646275227579880.7292550455159770.635372477242012
280.2948470740776140.5896941481552280.705152925922386
290.2622532821116740.5245065642233490.737746717888325
300.2669264840482930.5338529680965870.733073515951707
310.1937963414517720.3875926829035440.806203658548228
320.1316515077594060.2633030155188120.868348492240594
330.08906467792587640.1781293558517530.910935322074124
340.05549380147889770.1109876029577950.944506198521102
350.04131160064903330.08262320129806660.958688399350967
360.0505217355022920.1010434710045840.949478264497708
370.09335097124964360.1867019424992870.906649028750356
380.2306013298810350.461202659762070.769398670118965
390.7687296407241720.4625407185516560.231270359275828
400.979724764956390.04055047008721830.0202752350436091
410.9681098212397980.06378035752040450.0318901787602023
420.9473473942257980.1053052115484050.0526526057742023
430.9323291203170870.1353417593658260.0676708796829131

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
17 & 0.0857694817914128 & 0.171538963582826 & 0.914230518208587 \tabularnewline
18 & 0.357084835895921 & 0.714169671791841 & 0.642915164104079 \tabularnewline
19 & 0.270555296717200 & 0.541110593434401 & 0.7294447032828 \tabularnewline
20 & 0.26149309969991 & 0.52298619939982 & 0.73850690030009 \tabularnewline
21 & 0.386431369844891 & 0.772862739689781 & 0.613568630155109 \tabularnewline
22 & 0.553465155937333 & 0.893069688125334 & 0.446534844062667 \tabularnewline
23 & 0.529157192204368 & 0.941685615591263 & 0.470842807795632 \tabularnewline
24 & 0.573398451425715 & 0.85320309714857 & 0.426601548574285 \tabularnewline
25 & 0.529557545612146 & 0.940884908775708 & 0.470442454387854 \tabularnewline
26 & 0.443429634996382 & 0.886859269992763 & 0.556570365003618 \tabularnewline
27 & 0.364627522757988 & 0.729255045515977 & 0.635372477242012 \tabularnewline
28 & 0.294847074077614 & 0.589694148155228 & 0.705152925922386 \tabularnewline
29 & 0.262253282111674 & 0.524506564223349 & 0.737746717888325 \tabularnewline
30 & 0.266926484048293 & 0.533852968096587 & 0.733073515951707 \tabularnewline
31 & 0.193796341451772 & 0.387592682903544 & 0.806203658548228 \tabularnewline
32 & 0.131651507759406 & 0.263303015518812 & 0.868348492240594 \tabularnewline
33 & 0.0890646779258764 & 0.178129355851753 & 0.910935322074124 \tabularnewline
34 & 0.0554938014788977 & 0.110987602957795 & 0.944506198521102 \tabularnewline
35 & 0.0413116006490333 & 0.0826232012980666 & 0.958688399350967 \tabularnewline
36 & 0.050521735502292 & 0.101043471004584 & 0.949478264497708 \tabularnewline
37 & 0.0933509712496436 & 0.186701942499287 & 0.906649028750356 \tabularnewline
38 & 0.230601329881035 & 0.46120265976207 & 0.769398670118965 \tabularnewline
39 & 0.768729640724172 & 0.462540718551656 & 0.231270359275828 \tabularnewline
40 & 0.97972476495639 & 0.0405504700872183 & 0.0202752350436091 \tabularnewline
41 & 0.968109821239798 & 0.0637803575204045 & 0.0318901787602023 \tabularnewline
42 & 0.947347394225798 & 0.105305211548405 & 0.0526526057742023 \tabularnewline
43 & 0.932329120317087 & 0.135341759365826 & 0.0676708796829131 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69739&T=5

[TABLE]
[ROW][C]Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]p-values[/C][C]Alternative Hypothesis[/C][/ROW]
[ROW][C]breakpoint index[/C][C]greater[/C][C]2-sided[/C][C]less[/C][/ROW]
[ROW][C]17[/C][C]0.0857694817914128[/C][C]0.171538963582826[/C][C]0.914230518208587[/C][/ROW]
[ROW][C]18[/C][C]0.357084835895921[/C][C]0.714169671791841[/C][C]0.642915164104079[/C][/ROW]
[ROW][C]19[/C][C]0.270555296717200[/C][C]0.541110593434401[/C][C]0.7294447032828[/C][/ROW]
[ROW][C]20[/C][C]0.26149309969991[/C][C]0.52298619939982[/C][C]0.73850690030009[/C][/ROW]
[ROW][C]21[/C][C]0.386431369844891[/C][C]0.772862739689781[/C][C]0.613568630155109[/C][/ROW]
[ROW][C]22[/C][C]0.553465155937333[/C][C]0.893069688125334[/C][C]0.446534844062667[/C][/ROW]
[ROW][C]23[/C][C]0.529157192204368[/C][C]0.941685615591263[/C][C]0.470842807795632[/C][/ROW]
[ROW][C]24[/C][C]0.573398451425715[/C][C]0.85320309714857[/C][C]0.426601548574285[/C][/ROW]
[ROW][C]25[/C][C]0.529557545612146[/C][C]0.940884908775708[/C][C]0.470442454387854[/C][/ROW]
[ROW][C]26[/C][C]0.443429634996382[/C][C]0.886859269992763[/C][C]0.556570365003618[/C][/ROW]
[ROW][C]27[/C][C]0.364627522757988[/C][C]0.729255045515977[/C][C]0.635372477242012[/C][/ROW]
[ROW][C]28[/C][C]0.294847074077614[/C][C]0.589694148155228[/C][C]0.705152925922386[/C][/ROW]
[ROW][C]29[/C][C]0.262253282111674[/C][C]0.524506564223349[/C][C]0.737746717888325[/C][/ROW]
[ROW][C]30[/C][C]0.266926484048293[/C][C]0.533852968096587[/C][C]0.733073515951707[/C][/ROW]
[ROW][C]31[/C][C]0.193796341451772[/C][C]0.387592682903544[/C][C]0.806203658548228[/C][/ROW]
[ROW][C]32[/C][C]0.131651507759406[/C][C]0.263303015518812[/C][C]0.868348492240594[/C][/ROW]
[ROW][C]33[/C][C]0.0890646779258764[/C][C]0.178129355851753[/C][C]0.910935322074124[/C][/ROW]
[ROW][C]34[/C][C]0.0554938014788977[/C][C]0.110987602957795[/C][C]0.944506198521102[/C][/ROW]
[ROW][C]35[/C][C]0.0413116006490333[/C][C]0.0826232012980666[/C][C]0.958688399350967[/C][/ROW]
[ROW][C]36[/C][C]0.050521735502292[/C][C]0.101043471004584[/C][C]0.949478264497708[/C][/ROW]
[ROW][C]37[/C][C]0.0933509712496436[/C][C]0.186701942499287[/C][C]0.906649028750356[/C][/ROW]
[ROW][C]38[/C][C]0.230601329881035[/C][C]0.46120265976207[/C][C]0.769398670118965[/C][/ROW]
[ROW][C]39[/C][C]0.768729640724172[/C][C]0.462540718551656[/C][C]0.231270359275828[/C][/ROW]
[ROW][C]40[/C][C]0.97972476495639[/C][C]0.0405504700872183[/C][C]0.0202752350436091[/C][/ROW]
[ROW][C]41[/C][C]0.968109821239798[/C][C]0.0637803575204045[/C][C]0.0318901787602023[/C][/ROW]
[ROW][C]42[/C][C]0.947347394225798[/C][C]0.105305211548405[/C][C]0.0526526057742023[/C][/ROW]
[ROW][C]43[/C][C]0.932329120317087[/C][C]0.135341759365826[/C][C]0.0676708796829131[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69739&T=5

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

As an alternative you can also use a QR Code:  

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

Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.08576948179141280.1715389635828260.914230518208587
180.3570848358959210.7141696717918410.642915164104079
190.2705552967172000.5411105934344010.7294447032828
200.261493099699910.522986199399820.73850690030009
210.3864313698448910.7728627396897810.613568630155109
220.5534651559373330.8930696881253340.446534844062667
230.5291571922043680.9416856155912630.470842807795632
240.5733984514257150.853203097148570.426601548574285
250.5295575456121460.9408849087757080.470442454387854
260.4434296349963820.8868592699927630.556570365003618
270.3646275227579880.7292550455159770.635372477242012
280.2948470740776140.5896941481552280.705152925922386
290.2622532821116740.5245065642233490.737746717888325
300.2669264840482930.5338529680965870.733073515951707
310.1937963414517720.3875926829035440.806203658548228
320.1316515077594060.2633030155188120.868348492240594
330.08906467792587640.1781293558517530.910935322074124
340.05549380147889770.1109876029577950.944506198521102
350.04131160064903330.08262320129806660.958688399350967
360.0505217355022920.1010434710045840.949478264497708
370.09335097124964360.1867019424992870.906649028750356
380.2306013298810350.461202659762070.769398670118965
390.7687296407241720.4625407185516560.231270359275828
400.979724764956390.04055047008721830.0202752350436091
410.9681098212397980.06378035752040450.0318901787602023
420.9473473942257980.1053052115484050.0526526057742023
430.9323291203170870.1353417593658260.0676708796829131







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

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69739&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.0370370370370370OK
10% type I error level30.111111111111111NOK



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