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 computationFri, 20 Nov 2009 05:39:22 -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/20/t12587209121gv51v87milrkan.htm/, Retrieved Thu, 18 Apr 2024 19:29:35 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=58089, Retrieved Thu, 18 Apr 2024 19:29:35 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsWorkshop 7 Model 5
Estimated Impact184
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]
- RMPD  [Multiple Regression] [Seatbelt] [2009-11-12 13:54:52] [b98453cac15ba1066b407e146608df68]
-    D    [Multiple Regression] [WS7 No seasonal D...] [2009-11-18 15:26:28] [445b292c553470d9fed8bc2796fd3a00]
- R PD        [Multiple Regression] [shw-ws7] [2009-11-20 12:39:22] [5b5bced41faf164488f2c271c918b21f] [Current]
-   P           [Multiple Regression] [Multiple_Regressi...] [2009-12-29 14:58:07] [2663058f2a5dda519058ac6b2228468f]
Feedback Forum

Post a new message
Dataseries X:
2529	330
2196	331
3202	332
2718	334
2728	334
2354	334
2697	339
2651	345
2067	346
2641	352
2539	355
2294	358
2712	361
2314	363
3092	364
2677	365
2813	366
2668	370
2939	371
2617	371
2231	372
2481	373
2421	373
2408	374
2560	375
2100	375
3315	376
2801	376
2403	377
3024	377
2507	378
2980	379
2211	380
2471	384
2594	389
2452	390
2232	391
2373	392
3127	393
2802	394
2641	394
2787	395
2619	396
2806	397
2193	398
2323	399
2529	400
2412	400
2262	401
2154	401
3230	406
2295	407
2715	423
2733	427




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58089&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
Y[t] = + 157.408340638105 + 6.71775436425413X[t] + 73.6190344690601M1[t] -152.621373147782M2[t] + 811.82046487112M3[t] + 281.236506381427M4[t] + 269.186386544672M5[t] + 321.028224563574M6[t] + 309.149687087614M7[t] + 379.447974233666M8[t] -204.535984256028M9[t] + 89.5445485257692M10[t] + 126.913397080757M11[t] -10.7337958745601t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  157.408340638105 +  6.71775436425413X[t] +  73.6190344690601M1[t] -152.621373147782M2[t] +  811.82046487112M3[t] +  281.236506381427M4[t] +  269.186386544672M5[t] +  321.028224563574M6[t] +  309.149687087614M7[t] +  379.447974233666M8[t] -204.535984256028M9[t] +  89.5445485257692M10[t] +  126.913397080757M11[t] -10.7337958745601t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58089&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  157.408340638105 +  6.71775436425413X[t] +  73.6190344690601M1[t] -152.621373147782M2[t] +  811.82046487112M3[t] +  281.236506381427M4[t] +  269.186386544672M5[t] +  321.028224563574M6[t] +  309.149687087614M7[t] +  379.447974233666M8[t] -204.535984256028M9[t] +  89.5445485257692M10[t] +  126.913397080757M11[t] -10.7337958745601t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58089&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58089&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] = + 157.408340638105 + 6.71775436425413X[t] + 73.6190344690601M1[t] -152.621373147782M2[t] + 811.82046487112M3[t] + 281.236506381427M4[t] + 269.186386544672M5[t] + 321.028224563574M6[t] + 309.149687087614M7[t] + 379.447974233666M8[t] -204.535984256028M9[t] + 89.5445485257692M10[t] + 126.913397080757M11[t] -10.7337958745601t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)157.4083406381051372.4014150.11470.909260.45463
X6.717754364254134.0706191.65030.1067130.053356
M173.6190344690601104.5582440.70410.4854520.242726
M2-152.621373147782104.67863-1.4580.1526480.076324
M3811.82046487112104.5079747.76800
M4281.236506381427104.6214852.68810.0104220.005211
M5269.186386544672104.1555342.58450.0135090.006754
M6321.028224563574104.1431223.08260.0037080.001854
M7309.149687087614110.3382.80180.0077940.003897
M8379.447974233666110.110643.44610.001350.000675
M9-204.535984256028110.182641-1.85630.0707820.035391
M1089.5445485257692109.8335150.81530.4197430.209871
M11126.913397080757109.7877091.1560.2545440.127272
t-10.73379587456016.129518-1.75120.0875830.043792

\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) & 157.408340638105 & 1372.401415 & 0.1147 & 0.90926 & 0.45463 \tabularnewline
X & 6.71775436425413 & 4.070619 & 1.6503 & 0.106713 & 0.053356 \tabularnewline
M1 & 73.6190344690601 & 104.558244 & 0.7041 & 0.485452 & 0.242726 \tabularnewline
M2 & -152.621373147782 & 104.67863 & -1.458 & 0.152648 & 0.076324 \tabularnewline
M3 & 811.82046487112 & 104.507974 & 7.768 & 0 & 0 \tabularnewline
M4 & 281.236506381427 & 104.621485 & 2.6881 & 0.010422 & 0.005211 \tabularnewline
M5 & 269.186386544672 & 104.155534 & 2.5845 & 0.013509 & 0.006754 \tabularnewline
M6 & 321.028224563574 & 104.143122 & 3.0826 & 0.003708 & 0.001854 \tabularnewline
M7 & 309.149687087614 & 110.338 & 2.8018 & 0.007794 & 0.003897 \tabularnewline
M8 & 379.447974233666 & 110.11064 & 3.4461 & 0.00135 & 0.000675 \tabularnewline
M9 & -204.535984256028 & 110.182641 & -1.8563 & 0.070782 & 0.035391 \tabularnewline
M10 & 89.5445485257692 & 109.833515 & 0.8153 & 0.419743 & 0.209871 \tabularnewline
M11 & 126.913397080757 & 109.787709 & 1.156 & 0.254544 & 0.127272 \tabularnewline
t & -10.7337958745601 & 6.129518 & -1.7512 & 0.087583 & 0.043792 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58089&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]157.408340638105[/C][C]1372.401415[/C][C]0.1147[/C][C]0.90926[/C][C]0.45463[/C][/ROW]
[ROW][C]X[/C][C]6.71775436425413[/C][C]4.070619[/C][C]1.6503[/C][C]0.106713[/C][C]0.053356[/C][/ROW]
[ROW][C]M1[/C][C]73.6190344690601[/C][C]104.558244[/C][C]0.7041[/C][C]0.485452[/C][C]0.242726[/C][/ROW]
[ROW][C]M2[/C][C]-152.621373147782[/C][C]104.67863[/C][C]-1.458[/C][C]0.152648[/C][C]0.076324[/C][/ROW]
[ROW][C]M3[/C][C]811.82046487112[/C][C]104.507974[/C][C]7.768[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M4[/C][C]281.236506381427[/C][C]104.621485[/C][C]2.6881[/C][C]0.010422[/C][C]0.005211[/C][/ROW]
[ROW][C]M5[/C][C]269.186386544672[/C][C]104.155534[/C][C]2.5845[/C][C]0.013509[/C][C]0.006754[/C][/ROW]
[ROW][C]M6[/C][C]321.028224563574[/C][C]104.143122[/C][C]3.0826[/C][C]0.003708[/C][C]0.001854[/C][/ROW]
[ROW][C]M7[/C][C]309.149687087614[/C][C]110.338[/C][C]2.8018[/C][C]0.007794[/C][C]0.003897[/C][/ROW]
[ROW][C]M8[/C][C]379.447974233666[/C][C]110.11064[/C][C]3.4461[/C][C]0.00135[/C][C]0.000675[/C][/ROW]
[ROW][C]M9[/C][C]-204.535984256028[/C][C]110.182641[/C][C]-1.8563[/C][C]0.070782[/C][C]0.035391[/C][/ROW]
[ROW][C]M10[/C][C]89.5445485257692[/C][C]109.833515[/C][C]0.8153[/C][C]0.419743[/C][C]0.209871[/C][/ROW]
[ROW][C]M11[/C][C]126.913397080757[/C][C]109.787709[/C][C]1.156[/C][C]0.254544[/C][C]0.127272[/C][/ROW]
[ROW][C]t[/C][C]-10.7337958745601[/C][C]6.129518[/C][C]-1.7512[/C][C]0.087583[/C][C]0.043792[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58089&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58089&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)157.4083406381051372.4014150.11470.909260.45463
X6.717754364254134.0706191.65030.1067130.053356
M173.6190344690601104.5582440.70410.4854520.242726
M2-152.621373147782104.67863-1.4580.1526480.076324
M3811.82046487112104.5079747.76800
M4281.236506381427104.6214852.68810.0104220.005211
M5269.186386544672104.1555342.58450.0135090.006754
M6321.028224563574104.1431223.08260.0037080.001854
M7309.149687087614110.3382.80180.0077940.003897
M8379.447974233666110.110643.44610.001350.000675
M9-204.535984256028110.182641-1.85630.0707820.035391
M1089.5445485257692109.8335150.81530.4197430.209871
M11126.913397080757109.7877091.1560.2545440.127272
t-10.73379587456016.129518-1.75120.0875830.043792







Multiple Linear Regression - Regression Statistics
Multiple R0.89393475993487
R-squared0.799119355019813
Adjusted R-squared0.733833145401252
F-TEST (value)12.2402473614064
F-TEST (DF numerator)13
F-TEST (DF denominator)40
p-value4.00819044621414e-10
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation155.246214471875
Sum Squared Residuals964055.484313893

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.89393475993487 \tabularnewline
R-squared & 0.799119355019813 \tabularnewline
Adjusted R-squared & 0.733833145401252 \tabularnewline
F-TEST (value) & 12.2402473614064 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 40 \tabularnewline
p-value & 4.00819044621414e-10 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 155.246214471875 \tabularnewline
Sum Squared Residuals & 964055.484313893 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58089&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.89393475993487[/C][/ROW]
[ROW][C]R-squared[/C][C]0.799119355019813[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.733833145401252[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]12.2402473614064[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]40[/C][/ROW]
[ROW][C]p-value[/C][C]4.00819044621414e-10[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]155.246214471875[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]964055.484313893[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58089&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58089&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.89393475993487
R-squared0.799119355019813
Adjusted R-squared0.733833145401252
F-TEST (value)12.2402473614064
F-TEST (DF numerator)13
F-TEST (DF denominator)40
p-value4.00819044621414e-10
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation155.246214471875
Sum Squared Residuals964055.484313893







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
125292437.1525194364891.8474805635247
221962206.89607030932-10.8960703093216
332023167.3218668179234.6781331820815
427182639.4396211821778.5603788178279
527282616.65570547086111.344294529143
623542657.7637476152-303.7637476152
726972668.7401860859528.2598139140501
826512768.61120354297-117.611203542966
920672180.61120354297-113.611203542966
1026412504.26446663573136.735533364272
1125392551.05278240892-12.0527824089194
1222942433.55885254636-139.558852546364
1327122516.59735423363195.402645766374
1423142293.0586594707320.9413405292676
1530923253.48445597933-161.484455979329
1626772718.88445597933-41.8844559793291
1728132702.81829463227110.181705367731
1826682770.79735423363-102.797354233627
1929392754.90277524736184.097224752639
2026172814.46726651885-197.467266518853
2122312226.467266518854.53273348114763
2224812516.53175779034-35.5317577903442
2324212543.16681047077-122.166810470772
2424082412.23737187971-4.23737187970886
2525602481.8403648384678.1596351615372
2621002244.86616134706-144.866161347061
2733153205.29195785566109.708042144343
2828012663.9742034914137.025796508597
2924032647.90804214434-244.908042144343
3030242689.01608428868334.983915711315
3125072673.12150530242-166.121505302418
3229802739.40375093816240.596249061836
3322112151.4037509381659.5962490618359
3424712461.621505302429.37849469758168
3525942521.8453298041272.1546701958829
3624522390.9158912130561.0841087869463
3722322460.51888417181-228.518884171808
3823732230.26243504466142.737564955340
3931273190.68823155326-63.6882315532563
4028022656.08823155326145.911768446744
4126412633.304315841947.69568415805832
4227872681.13011235054105.869887649462
4326192665.23553336427-46.2355333642713
4428062731.5177790000274.4822209999828
4521932143.5177790000249.4822209999828
4623232433.58227027151-110.582270271509
4725292466.9350773161962.0649226838087
4824122329.2878843608782.7121156391262
4922622398.89087731963-136.890877319628
5021542161.91667382823-7.91667382822561
5132303149.2134877938480.7865122061612
5222952614.61348779384-319.613487793839
5327152699.3136419105915.6863580894098
5427332767.29270151195-34.2927015119492

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 2529 & 2437.15251943648 & 91.8474805635247 \tabularnewline
2 & 2196 & 2206.89607030932 & -10.8960703093216 \tabularnewline
3 & 3202 & 3167.32186681792 & 34.6781331820815 \tabularnewline
4 & 2718 & 2639.43962118217 & 78.5603788178279 \tabularnewline
5 & 2728 & 2616.65570547086 & 111.344294529143 \tabularnewline
6 & 2354 & 2657.7637476152 & -303.7637476152 \tabularnewline
7 & 2697 & 2668.74018608595 & 28.2598139140501 \tabularnewline
8 & 2651 & 2768.61120354297 & -117.611203542966 \tabularnewline
9 & 2067 & 2180.61120354297 & -113.611203542966 \tabularnewline
10 & 2641 & 2504.26446663573 & 136.735533364272 \tabularnewline
11 & 2539 & 2551.05278240892 & -12.0527824089194 \tabularnewline
12 & 2294 & 2433.55885254636 & -139.558852546364 \tabularnewline
13 & 2712 & 2516.59735423363 & 195.402645766374 \tabularnewline
14 & 2314 & 2293.05865947073 & 20.9413405292676 \tabularnewline
15 & 3092 & 3253.48445597933 & -161.484455979329 \tabularnewline
16 & 2677 & 2718.88445597933 & -41.8844559793291 \tabularnewline
17 & 2813 & 2702.81829463227 & 110.181705367731 \tabularnewline
18 & 2668 & 2770.79735423363 & -102.797354233627 \tabularnewline
19 & 2939 & 2754.90277524736 & 184.097224752639 \tabularnewline
20 & 2617 & 2814.46726651885 & -197.467266518853 \tabularnewline
21 & 2231 & 2226.46726651885 & 4.53273348114763 \tabularnewline
22 & 2481 & 2516.53175779034 & -35.5317577903442 \tabularnewline
23 & 2421 & 2543.16681047077 & -122.166810470772 \tabularnewline
24 & 2408 & 2412.23737187971 & -4.23737187970886 \tabularnewline
25 & 2560 & 2481.84036483846 & 78.1596351615372 \tabularnewline
26 & 2100 & 2244.86616134706 & -144.866161347061 \tabularnewline
27 & 3315 & 3205.29195785566 & 109.708042144343 \tabularnewline
28 & 2801 & 2663.9742034914 & 137.025796508597 \tabularnewline
29 & 2403 & 2647.90804214434 & -244.908042144343 \tabularnewline
30 & 3024 & 2689.01608428868 & 334.983915711315 \tabularnewline
31 & 2507 & 2673.12150530242 & -166.121505302418 \tabularnewline
32 & 2980 & 2739.40375093816 & 240.596249061836 \tabularnewline
33 & 2211 & 2151.40375093816 & 59.5962490618359 \tabularnewline
34 & 2471 & 2461.62150530242 & 9.37849469758168 \tabularnewline
35 & 2594 & 2521.84532980412 & 72.1546701958829 \tabularnewline
36 & 2452 & 2390.91589121305 & 61.0841087869463 \tabularnewline
37 & 2232 & 2460.51888417181 & -228.518884171808 \tabularnewline
38 & 2373 & 2230.26243504466 & 142.737564955340 \tabularnewline
39 & 3127 & 3190.68823155326 & -63.6882315532563 \tabularnewline
40 & 2802 & 2656.08823155326 & 145.911768446744 \tabularnewline
41 & 2641 & 2633.30431584194 & 7.69568415805832 \tabularnewline
42 & 2787 & 2681.13011235054 & 105.869887649462 \tabularnewline
43 & 2619 & 2665.23553336427 & -46.2355333642713 \tabularnewline
44 & 2806 & 2731.51777900002 & 74.4822209999828 \tabularnewline
45 & 2193 & 2143.51777900002 & 49.4822209999828 \tabularnewline
46 & 2323 & 2433.58227027151 & -110.582270271509 \tabularnewline
47 & 2529 & 2466.93507731619 & 62.0649226838087 \tabularnewline
48 & 2412 & 2329.28788436087 & 82.7121156391262 \tabularnewline
49 & 2262 & 2398.89087731963 & -136.890877319628 \tabularnewline
50 & 2154 & 2161.91667382823 & -7.91667382822561 \tabularnewline
51 & 3230 & 3149.21348779384 & 80.7865122061612 \tabularnewline
52 & 2295 & 2614.61348779384 & -319.613487793839 \tabularnewline
53 & 2715 & 2699.31364191059 & 15.6863580894098 \tabularnewline
54 & 2733 & 2767.29270151195 & -34.2927015119492 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58089&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]2529[/C][C]2437.15251943648[/C][C]91.8474805635247[/C][/ROW]
[ROW][C]2[/C][C]2196[/C][C]2206.89607030932[/C][C]-10.8960703093216[/C][/ROW]
[ROW][C]3[/C][C]3202[/C][C]3167.32186681792[/C][C]34.6781331820815[/C][/ROW]
[ROW][C]4[/C][C]2718[/C][C]2639.43962118217[/C][C]78.5603788178279[/C][/ROW]
[ROW][C]5[/C][C]2728[/C][C]2616.65570547086[/C][C]111.344294529143[/C][/ROW]
[ROW][C]6[/C][C]2354[/C][C]2657.7637476152[/C][C]-303.7637476152[/C][/ROW]
[ROW][C]7[/C][C]2697[/C][C]2668.74018608595[/C][C]28.2598139140501[/C][/ROW]
[ROW][C]8[/C][C]2651[/C][C]2768.61120354297[/C][C]-117.611203542966[/C][/ROW]
[ROW][C]9[/C][C]2067[/C][C]2180.61120354297[/C][C]-113.611203542966[/C][/ROW]
[ROW][C]10[/C][C]2641[/C][C]2504.26446663573[/C][C]136.735533364272[/C][/ROW]
[ROW][C]11[/C][C]2539[/C][C]2551.05278240892[/C][C]-12.0527824089194[/C][/ROW]
[ROW][C]12[/C][C]2294[/C][C]2433.55885254636[/C][C]-139.558852546364[/C][/ROW]
[ROW][C]13[/C][C]2712[/C][C]2516.59735423363[/C][C]195.402645766374[/C][/ROW]
[ROW][C]14[/C][C]2314[/C][C]2293.05865947073[/C][C]20.9413405292676[/C][/ROW]
[ROW][C]15[/C][C]3092[/C][C]3253.48445597933[/C][C]-161.484455979329[/C][/ROW]
[ROW][C]16[/C][C]2677[/C][C]2718.88445597933[/C][C]-41.8844559793291[/C][/ROW]
[ROW][C]17[/C][C]2813[/C][C]2702.81829463227[/C][C]110.181705367731[/C][/ROW]
[ROW][C]18[/C][C]2668[/C][C]2770.79735423363[/C][C]-102.797354233627[/C][/ROW]
[ROW][C]19[/C][C]2939[/C][C]2754.90277524736[/C][C]184.097224752639[/C][/ROW]
[ROW][C]20[/C][C]2617[/C][C]2814.46726651885[/C][C]-197.467266518853[/C][/ROW]
[ROW][C]21[/C][C]2231[/C][C]2226.46726651885[/C][C]4.53273348114763[/C][/ROW]
[ROW][C]22[/C][C]2481[/C][C]2516.53175779034[/C][C]-35.5317577903442[/C][/ROW]
[ROW][C]23[/C][C]2421[/C][C]2543.16681047077[/C][C]-122.166810470772[/C][/ROW]
[ROW][C]24[/C][C]2408[/C][C]2412.23737187971[/C][C]-4.23737187970886[/C][/ROW]
[ROW][C]25[/C][C]2560[/C][C]2481.84036483846[/C][C]78.1596351615372[/C][/ROW]
[ROW][C]26[/C][C]2100[/C][C]2244.86616134706[/C][C]-144.866161347061[/C][/ROW]
[ROW][C]27[/C][C]3315[/C][C]3205.29195785566[/C][C]109.708042144343[/C][/ROW]
[ROW][C]28[/C][C]2801[/C][C]2663.9742034914[/C][C]137.025796508597[/C][/ROW]
[ROW][C]29[/C][C]2403[/C][C]2647.90804214434[/C][C]-244.908042144343[/C][/ROW]
[ROW][C]30[/C][C]3024[/C][C]2689.01608428868[/C][C]334.983915711315[/C][/ROW]
[ROW][C]31[/C][C]2507[/C][C]2673.12150530242[/C][C]-166.121505302418[/C][/ROW]
[ROW][C]32[/C][C]2980[/C][C]2739.40375093816[/C][C]240.596249061836[/C][/ROW]
[ROW][C]33[/C][C]2211[/C][C]2151.40375093816[/C][C]59.5962490618359[/C][/ROW]
[ROW][C]34[/C][C]2471[/C][C]2461.62150530242[/C][C]9.37849469758168[/C][/ROW]
[ROW][C]35[/C][C]2594[/C][C]2521.84532980412[/C][C]72.1546701958829[/C][/ROW]
[ROW][C]36[/C][C]2452[/C][C]2390.91589121305[/C][C]61.0841087869463[/C][/ROW]
[ROW][C]37[/C][C]2232[/C][C]2460.51888417181[/C][C]-228.518884171808[/C][/ROW]
[ROW][C]38[/C][C]2373[/C][C]2230.26243504466[/C][C]142.737564955340[/C][/ROW]
[ROW][C]39[/C][C]3127[/C][C]3190.68823155326[/C][C]-63.6882315532563[/C][/ROW]
[ROW][C]40[/C][C]2802[/C][C]2656.08823155326[/C][C]145.911768446744[/C][/ROW]
[ROW][C]41[/C][C]2641[/C][C]2633.30431584194[/C][C]7.69568415805832[/C][/ROW]
[ROW][C]42[/C][C]2787[/C][C]2681.13011235054[/C][C]105.869887649462[/C][/ROW]
[ROW][C]43[/C][C]2619[/C][C]2665.23553336427[/C][C]-46.2355333642713[/C][/ROW]
[ROW][C]44[/C][C]2806[/C][C]2731.51777900002[/C][C]74.4822209999828[/C][/ROW]
[ROW][C]45[/C][C]2193[/C][C]2143.51777900002[/C][C]49.4822209999828[/C][/ROW]
[ROW][C]46[/C][C]2323[/C][C]2433.58227027151[/C][C]-110.582270271509[/C][/ROW]
[ROW][C]47[/C][C]2529[/C][C]2466.93507731619[/C][C]62.0649226838087[/C][/ROW]
[ROW][C]48[/C][C]2412[/C][C]2329.28788436087[/C][C]82.7121156391262[/C][/ROW]
[ROW][C]49[/C][C]2262[/C][C]2398.89087731963[/C][C]-136.890877319628[/C][/ROW]
[ROW][C]50[/C][C]2154[/C][C]2161.91667382823[/C][C]-7.91667382822561[/C][/ROW]
[ROW][C]51[/C][C]3230[/C][C]3149.21348779384[/C][C]80.7865122061612[/C][/ROW]
[ROW][C]52[/C][C]2295[/C][C]2614.61348779384[/C][C]-319.613487793839[/C][/ROW]
[ROW][C]53[/C][C]2715[/C][C]2699.31364191059[/C][C]15.6863580894098[/C][/ROW]
[ROW][C]54[/C][C]2733[/C][C]2767.29270151195[/C][C]-34.2927015119492[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58089&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58089&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
125292437.1525194364891.8474805635247
221962206.89607030932-10.8960703093216
332023167.3218668179234.6781331820815
427182639.4396211821778.5603788178279
527282616.65570547086111.344294529143
623542657.7637476152-303.7637476152
726972668.7401860859528.2598139140501
826512768.61120354297-117.611203542966
920672180.61120354297-113.611203542966
1026412504.26446663573136.735533364272
1125392551.05278240892-12.0527824089194
1222942433.55885254636-139.558852546364
1327122516.59735423363195.402645766374
1423142293.0586594707320.9413405292676
1530923253.48445597933-161.484455979329
1626772718.88445597933-41.8844559793291
1728132702.81829463227110.181705367731
1826682770.79735423363-102.797354233627
1929392754.90277524736184.097224752639
2026172814.46726651885-197.467266518853
2122312226.467266518854.53273348114763
2224812516.53175779034-35.5317577903442
2324212543.16681047077-122.166810470772
2424082412.23737187971-4.23737187970886
2525602481.8403648384678.1596351615372
2621002244.86616134706-144.866161347061
2733153205.29195785566109.708042144343
2828012663.9742034914137.025796508597
2924032647.90804214434-244.908042144343
3030242689.01608428868334.983915711315
3125072673.12150530242-166.121505302418
3229802739.40375093816240.596249061836
3322112151.4037509381659.5962490618359
3424712461.621505302429.37849469758168
3525942521.8453298041272.1546701958829
3624522390.9158912130561.0841087869463
3722322460.51888417181-228.518884171808
3823732230.26243504466142.737564955340
3931273190.68823155326-63.6882315532563
4028022656.08823155326145.911768446744
4126412633.304315841947.69568415805832
4227872681.13011235054105.869887649462
4326192665.23553336427-46.2355333642713
4428062731.5177790000274.4822209999828
4521932143.5177790000249.4822209999828
4623232433.58227027151-110.582270271509
4725292466.9350773161962.0649226838087
4824122329.2878843608782.7121156391262
4922622398.89087731963-136.890877319628
5021542161.91667382823-7.91667382822561
5132303149.2134877938480.7865122061612
5222952614.61348779384-319.613487793839
5327152699.3136419105915.6863580894098
5427332767.29270151195-34.2927015119492







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.2153741598936310.4307483197872620.784625840106369
180.1487458985592080.2974917971184160.851254101440792
190.1533814650844380.3067629301688770.846618534915562
200.1362267756989750.2724535513979500.863773224301025
210.1475104158778080.2950208317556160.852489584122192
220.08801647814493490.1760329562898700.911983521855065
230.06384862056215370.1276972411243070.936151379437846
240.1016236478933150.2032472957866290.898376352106685
250.07380084104908630.1476016820981730.926199158950914
260.07918243655094980.1583648731019000.92081756344905
270.1146460773131280.2292921546262560.885353922686872
280.1051272552081910.2102545104163810.894872744791809
290.4421462524603930.8842925049207860.557853747539607
300.8075516202482410.3848967595035170.192448379751759
310.8264336863570340.3471326272859310.173566313642966
320.8280637960352590.3438724079294820.171936203964741
330.737722383665560.5245552326688810.262277616334440
340.6260393085509350.747921382898130.373960691449065
350.492921143244390.985842286488780.50707885675561
360.3632845294992380.7265690589984760.636715470500762
370.3764084698875650.752816939775130.623591530112435

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
17 & 0.215374159893631 & 0.430748319787262 & 0.784625840106369 \tabularnewline
18 & 0.148745898559208 & 0.297491797118416 & 0.851254101440792 \tabularnewline
19 & 0.153381465084438 & 0.306762930168877 & 0.846618534915562 \tabularnewline
20 & 0.136226775698975 & 0.272453551397950 & 0.863773224301025 \tabularnewline
21 & 0.147510415877808 & 0.295020831755616 & 0.852489584122192 \tabularnewline
22 & 0.0880164781449349 & 0.176032956289870 & 0.911983521855065 \tabularnewline
23 & 0.0638486205621537 & 0.127697241124307 & 0.936151379437846 \tabularnewline
24 & 0.101623647893315 & 0.203247295786629 & 0.898376352106685 \tabularnewline
25 & 0.0738008410490863 & 0.147601682098173 & 0.926199158950914 \tabularnewline
26 & 0.0791824365509498 & 0.158364873101900 & 0.92081756344905 \tabularnewline
27 & 0.114646077313128 & 0.229292154626256 & 0.885353922686872 \tabularnewline
28 & 0.105127255208191 & 0.210254510416381 & 0.894872744791809 \tabularnewline
29 & 0.442146252460393 & 0.884292504920786 & 0.557853747539607 \tabularnewline
30 & 0.807551620248241 & 0.384896759503517 & 0.192448379751759 \tabularnewline
31 & 0.826433686357034 & 0.347132627285931 & 0.173566313642966 \tabularnewline
32 & 0.828063796035259 & 0.343872407929482 & 0.171936203964741 \tabularnewline
33 & 0.73772238366556 & 0.524555232668881 & 0.262277616334440 \tabularnewline
34 & 0.626039308550935 & 0.74792138289813 & 0.373960691449065 \tabularnewline
35 & 0.49292114324439 & 0.98584228648878 & 0.50707885675561 \tabularnewline
36 & 0.363284529499238 & 0.726569058998476 & 0.636715470500762 \tabularnewline
37 & 0.376408469887565 & 0.75281693977513 & 0.623591530112435 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58089&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.215374159893631[/C][C]0.430748319787262[/C][C]0.784625840106369[/C][/ROW]
[ROW][C]18[/C][C]0.148745898559208[/C][C]0.297491797118416[/C][C]0.851254101440792[/C][/ROW]
[ROW][C]19[/C][C]0.153381465084438[/C][C]0.306762930168877[/C][C]0.846618534915562[/C][/ROW]
[ROW][C]20[/C][C]0.136226775698975[/C][C]0.272453551397950[/C][C]0.863773224301025[/C][/ROW]
[ROW][C]21[/C][C]0.147510415877808[/C][C]0.295020831755616[/C][C]0.852489584122192[/C][/ROW]
[ROW][C]22[/C][C]0.0880164781449349[/C][C]0.176032956289870[/C][C]0.911983521855065[/C][/ROW]
[ROW][C]23[/C][C]0.0638486205621537[/C][C]0.127697241124307[/C][C]0.936151379437846[/C][/ROW]
[ROW][C]24[/C][C]0.101623647893315[/C][C]0.203247295786629[/C][C]0.898376352106685[/C][/ROW]
[ROW][C]25[/C][C]0.0738008410490863[/C][C]0.147601682098173[/C][C]0.926199158950914[/C][/ROW]
[ROW][C]26[/C][C]0.0791824365509498[/C][C]0.158364873101900[/C][C]0.92081756344905[/C][/ROW]
[ROW][C]27[/C][C]0.114646077313128[/C][C]0.229292154626256[/C][C]0.885353922686872[/C][/ROW]
[ROW][C]28[/C][C]0.105127255208191[/C][C]0.210254510416381[/C][C]0.894872744791809[/C][/ROW]
[ROW][C]29[/C][C]0.442146252460393[/C][C]0.884292504920786[/C][C]0.557853747539607[/C][/ROW]
[ROW][C]30[/C][C]0.807551620248241[/C][C]0.384896759503517[/C][C]0.192448379751759[/C][/ROW]
[ROW][C]31[/C][C]0.826433686357034[/C][C]0.347132627285931[/C][C]0.173566313642966[/C][/ROW]
[ROW][C]32[/C][C]0.828063796035259[/C][C]0.343872407929482[/C][C]0.171936203964741[/C][/ROW]
[ROW][C]33[/C][C]0.73772238366556[/C][C]0.524555232668881[/C][C]0.262277616334440[/C][/ROW]
[ROW][C]34[/C][C]0.626039308550935[/C][C]0.74792138289813[/C][C]0.373960691449065[/C][/ROW]
[ROW][C]35[/C][C]0.49292114324439[/C][C]0.98584228648878[/C][C]0.50707885675561[/C][/ROW]
[ROW][C]36[/C][C]0.363284529499238[/C][C]0.726569058998476[/C][C]0.636715470500762[/C][/ROW]
[ROW][C]37[/C][C]0.376408469887565[/C][C]0.75281693977513[/C][C]0.623591530112435[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58089&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58089&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.2153741598936310.4307483197872620.784625840106369
180.1487458985592080.2974917971184160.851254101440792
190.1533814650844380.3067629301688770.846618534915562
200.1362267756989750.2724535513979500.863773224301025
210.1475104158778080.2950208317556160.852489584122192
220.08801647814493490.1760329562898700.911983521855065
230.06384862056215370.1276972411243070.936151379437846
240.1016236478933150.2032472957866290.898376352106685
250.07380084104908630.1476016820981730.926199158950914
260.07918243655094980.1583648731019000.92081756344905
270.1146460773131280.2292921546262560.885353922686872
280.1051272552081910.2102545104163810.894872744791809
290.4421462524603930.8842925049207860.557853747539607
300.8075516202482410.3848967595035170.192448379751759
310.8264336863570340.3471326272859310.173566313642966
320.8280637960352590.3438724079294820.171936203964741
330.737722383665560.5245552326688810.262277616334440
340.6260393085509350.747921382898130.373960691449065
350.492921143244390.985842286488780.50707885675561
360.3632845294992380.7265690589984760.636715470500762
370.3764084698875650.752816939775130.623591530112435







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 level00OK

\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 & 0 & 0 & OK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58089&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]0[/C][C]0[/C][C]OK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58089&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58089&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 level00OK



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