Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationSat, 19 Feb 2011 13:01:29 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2011/Feb/19/t1298121263c51dj0j7gibufyl.htm/, Retrieved Wed, 22 May 2024 17:11:32 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=118423, Retrieved Wed, 22 May 2024 17:11:32 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact181
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [] [2011-02-19 13:01:29] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
521   103   2708   553   234
349   42   1146   836   93
341   58   783   492   110
440   46   3314   419   437
367   64   3096   601   367
537   55   1847   459   192
423   46   2001   56   176
470   98   3428   701   273
380   126   3363   3567   171
453   49   1405   321   217
452   52   7120   730   394
429   89   1198   1260   249
351   70   4474   1078   621
462   47   1490   363   192
492   110   4757   1523   295
363   48   1238   692   157
372   63   2703   700   136
490   88   4057   647   346
347   28   1143   872   104
329   32   810   508   138
442   41   5211   464   694
337   51   4417   637   504   
485   59   2779   542   306
402   31   2713   97   218
446   98   5791   751   340
383   112   5152   3749   241
426   34   2041   451   367     
426   50   13207   1176   556
407   66   1506   1687   309
391   65   6619   1278   792
418   38   2168   378   301
465   91   7846   1588   468
336   37   1495   868   197
349   51   3659   850   194
503   118   8476   750   468
384   30   2162   2474   106
334   32   1452   492   114
463   43   8953   733   838
399   52   8239   652   580
523   63   8218   582   420
395   37   6257   95   316
489   129   12742   1042   463
392   141   9946   3673   285
443   37   3532   540   340
463   86   23300   885   539
434   67   4225   1370   346
421   66   10343   915   870
434   43   4339   424   291
484   195   14733   1314   645
367   44   2718   1028   194
380   44   6129   1008   225




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time7 seconds
R Server'George Udny Yule' @ 216.218.223.82

\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 & 7 seconds \tabularnewline
R Server & 'George Udny Yule' @ 216.218.223.82 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=118423&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]7 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ 216.218.223.82[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=118423&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=118423&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 time7 seconds
R Server'George Udny Yule' @ 216.218.223.82







Multiple Linear Regression - Estimated Regression Equation
Cons[t] = + 372.191566591711 + 0.944504163917124Inc[t] + 0.0011644936945463Price[t] -0.0317530980421622Rds[t] + 0.0279306889646903Elec[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Cons[t] =  +  372.191566591711 +  0.944504163917124Inc[t] +  0.0011644936945463Price[t] -0.0317530980421622Rds[t] +  0.0279306889646903Elec[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=118423&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Cons[t] =  +  372.191566591711 +  0.944504163917124Inc[t] +  0.0011644936945463Price[t] -0.0317530980421622Rds[t] +  0.0279306889646903Elec[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=118423&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=118423&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
Cons[t] = + 372.191566591711 + 0.944504163917124Inc[t] + 0.0011644936945463Price[t] -0.0317530980421622Rds[t] + 0.0279306889646903Elec[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)372.19156659171117.75558720.961900
Inc0.9445041639171240.2533013.72880.0005260.000263
Price0.00116449369454630.0022240.52350.6031450.301572
Rds-0.03175309804216220.009677-3.28140.0019760.000988
Elec0.02793068896469030.0445030.62760.5333630.266681

\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) & 372.191566591711 & 17.755587 & 20.9619 & 0 & 0 \tabularnewline
Inc & 0.944504163917124 & 0.253301 & 3.7288 & 0.000526 & 0.000263 \tabularnewline
Price & 0.0011644936945463 & 0.002224 & 0.5235 & 0.603145 & 0.301572 \tabularnewline
Rds & -0.0317530980421622 & 0.009677 & -3.2814 & 0.001976 & 0.000988 \tabularnewline
Elec & 0.0279306889646903 & 0.044503 & 0.6276 & 0.533363 & 0.266681 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=118423&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]372.191566591711[/C][C]17.755587[/C][C]20.9619[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Inc[/C][C]0.944504163917124[/C][C]0.253301[/C][C]3.7288[/C][C]0.000526[/C][C]0.000263[/C][/ROW]
[ROW][C]Price[/C][C]0.0011644936945463[/C][C]0.002224[/C][C]0.5235[/C][C]0.603145[/C][C]0.301572[/C][/ROW]
[ROW][C]Rds[/C][C]-0.0317530980421622[/C][C]0.009677[/C][C]-3.2814[/C][C]0.001976[/C][C]0.000988[/C][/ROW]
[ROW][C]Elec[/C][C]0.0279306889646903[/C][C]0.044503[/C][C]0.6276[/C][C]0.533363[/C][C]0.266681[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=118423&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=118423&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)372.19156659171117.75558720.961900
Inc0.9445041639171240.2533013.72880.0005260.000263
Price0.00116449369454630.0022240.52350.6031450.301572
Rds-0.03175309804216220.009677-3.28140.0019760.000988
Elec0.02793068896469030.0445030.62760.5333630.266681







Multiple Linear Regression - Regression Statistics
Multiple R0.602502948652427
R-squared0.36300980313487
Adjusted R-squared0.307619351233554
F-TEST (value)6.55365303358804
F-TEST (DF numerator)4
F-TEST (DF denominator)46
p-value0.000292300025725667
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation46.4093977458369
Sum Squared Residuals99076.2811600395

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.602502948652427 \tabularnewline
R-squared & 0.36300980313487 \tabularnewline
Adjusted R-squared & 0.307619351233554 \tabularnewline
F-TEST (value) & 6.55365303358804 \tabularnewline
F-TEST (DF numerator) & 4 \tabularnewline
F-TEST (DF denominator) & 46 \tabularnewline
p-value & 0.000292300025725667 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 46.4093977458369 \tabularnewline
Sum Squared Residuals & 99076.2811600395 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=118423&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.602502948652427[/C][/ROW]
[ROW][C]R-squared[/C][C]0.36300980313487[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.307619351233554[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]6.55365303358804[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]4[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]46[/C][/ROW]
[ROW][C]p-value[/C][C]0.000292300025725667[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]46.4093977458369[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]99076.2811600395[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=118423&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=118423&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.602502948652427
R-squared0.36300980313487
Adjusted R-squared0.307619351233554
F-TEST (value)6.55365303358804
F-TEST (DF numerator)4
F-TEST (DF denominator)46
p-value0.000292300025725667
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation46.4093977458369
Sum Squared Residuals99076.2811600395







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1521461.60526240042959.3947375995712
2349389.247215360649-40.2472153606493
3341415.334458211106-74.3344582111065
4440418.39905323352921.6009467664708
5367427.412056487425-60.4120564874245
6537417.078135740848119.921864259152
7423421.1065377821111.89346221788934
8470454.11101540029915.888984599701
9380386.628130636598-6.6281306365976
10453415.97659929829237.0234007017083
11452417.42190810188134.5780918981189
12429424.5933386454854.40666135451462
13351426.631921012932-75.631921012932
14462412.15467559260649.8453244073941
15492441.50610605392250.4938939460776
16363401.381383975862-38.3813839758618
17372416.414360444533-44.4143604445332
18490449.15204788369740.8479521163035
19347375.18478963382-28.1847896338196
20329391.082801001351-62.0828010013507
21442421.63487460452620.365125395474
22337419.355191385642-82.3551913856423
23485422.49005192430962.5099480756908
24402407.639306750659-5.6393067506591
25446457.146415259038-11.1464152590381
26383371.66443594515611.335564054844
27426402.61135542848923.3886445715112
28426412.98406277822613.0159372217744
29407391.3456754071915.6543245928101
30391422.832767372678-31.8327673726778
31418407.01181346877310.9881865312271
32465429.92570578010135.0742942198986
33336386.819795355439-50.8197953554388
34349403.050581703142-54.0505817031417
35503482.7700453927620.2299546072401
36384327.44781535078256.552184649218
37334391.668118986771-57.6681189867714
38463423.36185417492639.6381458250737
39399426.396826340799-27.3968263407994
40523434.51572440490388.4842755950968
41395420.234011102258-25.2340111022579
42489488.7157632236480.28423677635202
43392408.279825236058-16.2798252360583
44443403.6009736910139.3990263089904
45463467.504777356167-4.50477735616743
46434406.55560549763727.4443945023626
47421441.818814383636-20.8188143836361
48434412.52250069963221.4774993003678
49484549.818087712125-65.8180877121253
50367389.691212537649-22.6912125376488
51380395.164213848495-15.1642138484949

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 521 & 461.605262400429 & 59.3947375995712 \tabularnewline
2 & 349 & 389.247215360649 & -40.2472153606493 \tabularnewline
3 & 341 & 415.334458211106 & -74.3344582111065 \tabularnewline
4 & 440 & 418.399053233529 & 21.6009467664708 \tabularnewline
5 & 367 & 427.412056487425 & -60.4120564874245 \tabularnewline
6 & 537 & 417.078135740848 & 119.921864259152 \tabularnewline
7 & 423 & 421.106537782111 & 1.89346221788934 \tabularnewline
8 & 470 & 454.111015400299 & 15.888984599701 \tabularnewline
9 & 380 & 386.628130636598 & -6.6281306365976 \tabularnewline
10 & 453 & 415.976599298292 & 37.0234007017083 \tabularnewline
11 & 452 & 417.421908101881 & 34.5780918981189 \tabularnewline
12 & 429 & 424.593338645485 & 4.40666135451462 \tabularnewline
13 & 351 & 426.631921012932 & -75.631921012932 \tabularnewline
14 & 462 & 412.154675592606 & 49.8453244073941 \tabularnewline
15 & 492 & 441.506106053922 & 50.4938939460776 \tabularnewline
16 & 363 & 401.381383975862 & -38.3813839758618 \tabularnewline
17 & 372 & 416.414360444533 & -44.4143604445332 \tabularnewline
18 & 490 & 449.152047883697 & 40.8479521163035 \tabularnewline
19 & 347 & 375.18478963382 & -28.1847896338196 \tabularnewline
20 & 329 & 391.082801001351 & -62.0828010013507 \tabularnewline
21 & 442 & 421.634874604526 & 20.365125395474 \tabularnewline
22 & 337 & 419.355191385642 & -82.3551913856423 \tabularnewline
23 & 485 & 422.490051924309 & 62.5099480756908 \tabularnewline
24 & 402 & 407.639306750659 & -5.6393067506591 \tabularnewline
25 & 446 & 457.146415259038 & -11.1464152590381 \tabularnewline
26 & 383 & 371.664435945156 & 11.335564054844 \tabularnewline
27 & 426 & 402.611355428489 & 23.3886445715112 \tabularnewline
28 & 426 & 412.984062778226 & 13.0159372217744 \tabularnewline
29 & 407 & 391.34567540719 & 15.6543245928101 \tabularnewline
30 & 391 & 422.832767372678 & -31.8327673726778 \tabularnewline
31 & 418 & 407.011813468773 & 10.9881865312271 \tabularnewline
32 & 465 & 429.925705780101 & 35.0742942198986 \tabularnewline
33 & 336 & 386.819795355439 & -50.8197953554388 \tabularnewline
34 & 349 & 403.050581703142 & -54.0505817031417 \tabularnewline
35 & 503 & 482.77004539276 & 20.2299546072401 \tabularnewline
36 & 384 & 327.447815350782 & 56.552184649218 \tabularnewline
37 & 334 & 391.668118986771 & -57.6681189867714 \tabularnewline
38 & 463 & 423.361854174926 & 39.6381458250737 \tabularnewline
39 & 399 & 426.396826340799 & -27.3968263407994 \tabularnewline
40 & 523 & 434.515724404903 & 88.4842755950968 \tabularnewline
41 & 395 & 420.234011102258 & -25.2340111022579 \tabularnewline
42 & 489 & 488.715763223648 & 0.28423677635202 \tabularnewline
43 & 392 & 408.279825236058 & -16.2798252360583 \tabularnewline
44 & 443 & 403.60097369101 & 39.3990263089904 \tabularnewline
45 & 463 & 467.504777356167 & -4.50477735616743 \tabularnewline
46 & 434 & 406.555605497637 & 27.4443945023626 \tabularnewline
47 & 421 & 441.818814383636 & -20.8188143836361 \tabularnewline
48 & 434 & 412.522500699632 & 21.4774993003678 \tabularnewline
49 & 484 & 549.818087712125 & -65.8180877121253 \tabularnewline
50 & 367 & 389.691212537649 & -22.6912125376488 \tabularnewline
51 & 380 & 395.164213848495 & -15.1642138484949 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=118423&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]521[/C][C]461.605262400429[/C][C]59.3947375995712[/C][/ROW]
[ROW][C]2[/C][C]349[/C][C]389.247215360649[/C][C]-40.2472153606493[/C][/ROW]
[ROW][C]3[/C][C]341[/C][C]415.334458211106[/C][C]-74.3344582111065[/C][/ROW]
[ROW][C]4[/C][C]440[/C][C]418.399053233529[/C][C]21.6009467664708[/C][/ROW]
[ROW][C]5[/C][C]367[/C][C]427.412056487425[/C][C]-60.4120564874245[/C][/ROW]
[ROW][C]6[/C][C]537[/C][C]417.078135740848[/C][C]119.921864259152[/C][/ROW]
[ROW][C]7[/C][C]423[/C][C]421.106537782111[/C][C]1.89346221788934[/C][/ROW]
[ROW][C]8[/C][C]470[/C][C]454.111015400299[/C][C]15.888984599701[/C][/ROW]
[ROW][C]9[/C][C]380[/C][C]386.628130636598[/C][C]-6.6281306365976[/C][/ROW]
[ROW][C]10[/C][C]453[/C][C]415.976599298292[/C][C]37.0234007017083[/C][/ROW]
[ROW][C]11[/C][C]452[/C][C]417.421908101881[/C][C]34.5780918981189[/C][/ROW]
[ROW][C]12[/C][C]429[/C][C]424.593338645485[/C][C]4.40666135451462[/C][/ROW]
[ROW][C]13[/C][C]351[/C][C]426.631921012932[/C][C]-75.631921012932[/C][/ROW]
[ROW][C]14[/C][C]462[/C][C]412.154675592606[/C][C]49.8453244073941[/C][/ROW]
[ROW][C]15[/C][C]492[/C][C]441.506106053922[/C][C]50.4938939460776[/C][/ROW]
[ROW][C]16[/C][C]363[/C][C]401.381383975862[/C][C]-38.3813839758618[/C][/ROW]
[ROW][C]17[/C][C]372[/C][C]416.414360444533[/C][C]-44.4143604445332[/C][/ROW]
[ROW][C]18[/C][C]490[/C][C]449.152047883697[/C][C]40.8479521163035[/C][/ROW]
[ROW][C]19[/C][C]347[/C][C]375.18478963382[/C][C]-28.1847896338196[/C][/ROW]
[ROW][C]20[/C][C]329[/C][C]391.082801001351[/C][C]-62.0828010013507[/C][/ROW]
[ROW][C]21[/C][C]442[/C][C]421.634874604526[/C][C]20.365125395474[/C][/ROW]
[ROW][C]22[/C][C]337[/C][C]419.355191385642[/C][C]-82.3551913856423[/C][/ROW]
[ROW][C]23[/C][C]485[/C][C]422.490051924309[/C][C]62.5099480756908[/C][/ROW]
[ROW][C]24[/C][C]402[/C][C]407.639306750659[/C][C]-5.6393067506591[/C][/ROW]
[ROW][C]25[/C][C]446[/C][C]457.146415259038[/C][C]-11.1464152590381[/C][/ROW]
[ROW][C]26[/C][C]383[/C][C]371.664435945156[/C][C]11.335564054844[/C][/ROW]
[ROW][C]27[/C][C]426[/C][C]402.611355428489[/C][C]23.3886445715112[/C][/ROW]
[ROW][C]28[/C][C]426[/C][C]412.984062778226[/C][C]13.0159372217744[/C][/ROW]
[ROW][C]29[/C][C]407[/C][C]391.34567540719[/C][C]15.6543245928101[/C][/ROW]
[ROW][C]30[/C][C]391[/C][C]422.832767372678[/C][C]-31.8327673726778[/C][/ROW]
[ROW][C]31[/C][C]418[/C][C]407.011813468773[/C][C]10.9881865312271[/C][/ROW]
[ROW][C]32[/C][C]465[/C][C]429.925705780101[/C][C]35.0742942198986[/C][/ROW]
[ROW][C]33[/C][C]336[/C][C]386.819795355439[/C][C]-50.8197953554388[/C][/ROW]
[ROW][C]34[/C][C]349[/C][C]403.050581703142[/C][C]-54.0505817031417[/C][/ROW]
[ROW][C]35[/C][C]503[/C][C]482.77004539276[/C][C]20.2299546072401[/C][/ROW]
[ROW][C]36[/C][C]384[/C][C]327.447815350782[/C][C]56.552184649218[/C][/ROW]
[ROW][C]37[/C][C]334[/C][C]391.668118986771[/C][C]-57.6681189867714[/C][/ROW]
[ROW][C]38[/C][C]463[/C][C]423.361854174926[/C][C]39.6381458250737[/C][/ROW]
[ROW][C]39[/C][C]399[/C][C]426.396826340799[/C][C]-27.3968263407994[/C][/ROW]
[ROW][C]40[/C][C]523[/C][C]434.515724404903[/C][C]88.4842755950968[/C][/ROW]
[ROW][C]41[/C][C]395[/C][C]420.234011102258[/C][C]-25.2340111022579[/C][/ROW]
[ROW][C]42[/C][C]489[/C][C]488.715763223648[/C][C]0.28423677635202[/C][/ROW]
[ROW][C]43[/C][C]392[/C][C]408.279825236058[/C][C]-16.2798252360583[/C][/ROW]
[ROW][C]44[/C][C]443[/C][C]403.60097369101[/C][C]39.3990263089904[/C][/ROW]
[ROW][C]45[/C][C]463[/C][C]467.504777356167[/C][C]-4.50477735616743[/C][/ROW]
[ROW][C]46[/C][C]434[/C][C]406.555605497637[/C][C]27.4443945023626[/C][/ROW]
[ROW][C]47[/C][C]421[/C][C]441.818814383636[/C][C]-20.8188143836361[/C][/ROW]
[ROW][C]48[/C][C]434[/C][C]412.522500699632[/C][C]21.4774993003678[/C][/ROW]
[ROW][C]49[/C][C]484[/C][C]549.818087712125[/C][C]-65.8180877121253[/C][/ROW]
[ROW][C]50[/C][C]367[/C][C]389.691212537649[/C][C]-22.6912125376488[/C][/ROW]
[ROW][C]51[/C][C]380[/C][C]395.164213848495[/C][C]-15.1642138484949[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=118423&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=118423&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
1521461.60526240042959.3947375995712
2349389.247215360649-40.2472153606493
3341415.334458211106-74.3344582111065
4440418.39905323352921.6009467664708
5367427.412056487425-60.4120564874245
6537417.078135740848119.921864259152
7423421.1065377821111.89346221788934
8470454.11101540029915.888984599701
9380386.628130636598-6.6281306365976
10453415.97659929829237.0234007017083
11452417.42190810188134.5780918981189
12429424.5933386454854.40666135451462
13351426.631921012932-75.631921012932
14462412.15467559260649.8453244073941
15492441.50610605392250.4938939460776
16363401.381383975862-38.3813839758618
17372416.414360444533-44.4143604445332
18490449.15204788369740.8479521163035
19347375.18478963382-28.1847896338196
20329391.082801001351-62.0828010013507
21442421.63487460452620.365125395474
22337419.355191385642-82.3551913856423
23485422.49005192430962.5099480756908
24402407.639306750659-5.6393067506591
25446457.146415259038-11.1464152590381
26383371.66443594515611.335564054844
27426402.61135542848923.3886445715112
28426412.98406277822613.0159372217744
29407391.3456754071915.6543245928101
30391422.832767372678-31.8327673726778
31418407.01181346877310.9881865312271
32465429.92570578010135.0742942198986
33336386.819795355439-50.8197953554388
34349403.050581703142-54.0505817031417
35503482.7700453927620.2299546072401
36384327.44781535078256.552184649218
37334391.668118986771-57.6681189867714
38463423.36185417492639.6381458250737
39399426.396826340799-27.3968263407994
40523434.51572440490388.4842755950968
41395420.234011102258-25.2340111022579
42489488.7157632236480.28423677635202
43392408.279825236058-16.2798252360583
44443403.6009736910139.3990263089904
45463467.504777356167-4.50477735616743
46434406.55560549763727.4443945023626
47421441.818814383636-20.8188143836361
48434412.52250069963221.4774993003678
49484549.818087712125-65.8180877121253
50367389.691212537649-22.6912125376488
51380395.164213848495-15.1642138484949







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
80.9896613781737930.02067724365241370.0103386218262069
90.9777838322348370.0444323355303250.0222161677651625
100.973146311691550.05370737661690130.0268536883084506
110.9526936037237550.09461279255249050.0473063962762453
120.917427201410290.1651455971794210.0825727985897104
130.9297663443093970.1404673113812050.0702336556906027
140.9291386052167570.1417227895664860.0708613947832432
150.914038152452540.1719236950949190.0859618475474594
160.8899708653359680.2200582693280650.110029134664032
170.9060376433680280.1879247132639440.0939623566319721
180.8877175960078150.2245648079843710.112282403992185
190.8433662850166390.3132674299667220.156633714983361
200.8456658961694320.3086682076611350.154334103830568
210.8178685302412110.3642629395175780.182131469758789
220.9106491697358850.1787016605282310.0893508302641155
230.943572666976430.1128546660471410.0564273330235703
240.9131910028316180.1736179943367630.0868089971683816
250.9009822856179890.1980354287640230.0990177143820115
260.8656932347402340.2686135305195320.134306765259766
270.8413195813297150.317360837340570.158680418670285
280.7803249287121810.4393501425756390.219675071287819
290.7284298070477280.5431403859045440.271570192952272
300.7088430688125920.5823138623748160.291156931187408
310.6364229193064150.727154161387170.363577080693585
320.5847277247102840.8305445505794320.415272275289716
330.5782755504734820.8434488990530350.421724449526517
340.6082166758112320.7835666483775360.391783324188768
350.5841594267508270.8316811464983450.415840573249173
360.6003823822035580.7992352355928850.399617617796442
370.6762266846077440.6475466307845130.323773315392256
380.6310830929326160.7378338141347680.368916907067384
390.569503705670320.860992588659360.43049629432968
400.8759091323957720.2481817352084560.124090867604228
410.853918519492310.292162961015380.14608148050769
420.795248642492860.409502715014280.20475135750714
430.6765882387166430.6468235225667150.323411761283357

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
8 & 0.989661378173793 & 0.0206772436524137 & 0.0103386218262069 \tabularnewline
9 & 0.977783832234837 & 0.044432335530325 & 0.0222161677651625 \tabularnewline
10 & 0.97314631169155 & 0.0537073766169013 & 0.0268536883084506 \tabularnewline
11 & 0.952693603723755 & 0.0946127925524905 & 0.0473063962762453 \tabularnewline
12 & 0.91742720141029 & 0.165145597179421 & 0.0825727985897104 \tabularnewline
13 & 0.929766344309397 & 0.140467311381205 & 0.0702336556906027 \tabularnewline
14 & 0.929138605216757 & 0.141722789566486 & 0.0708613947832432 \tabularnewline
15 & 0.91403815245254 & 0.171923695094919 & 0.0859618475474594 \tabularnewline
16 & 0.889970865335968 & 0.220058269328065 & 0.110029134664032 \tabularnewline
17 & 0.906037643368028 & 0.187924713263944 & 0.0939623566319721 \tabularnewline
18 & 0.887717596007815 & 0.224564807984371 & 0.112282403992185 \tabularnewline
19 & 0.843366285016639 & 0.313267429966722 & 0.156633714983361 \tabularnewline
20 & 0.845665896169432 & 0.308668207661135 & 0.154334103830568 \tabularnewline
21 & 0.817868530241211 & 0.364262939517578 & 0.182131469758789 \tabularnewline
22 & 0.910649169735885 & 0.178701660528231 & 0.0893508302641155 \tabularnewline
23 & 0.94357266697643 & 0.112854666047141 & 0.0564273330235703 \tabularnewline
24 & 0.913191002831618 & 0.173617994336763 & 0.0868089971683816 \tabularnewline
25 & 0.900982285617989 & 0.198035428764023 & 0.0990177143820115 \tabularnewline
26 & 0.865693234740234 & 0.268613530519532 & 0.134306765259766 \tabularnewline
27 & 0.841319581329715 & 0.31736083734057 & 0.158680418670285 \tabularnewline
28 & 0.780324928712181 & 0.439350142575639 & 0.219675071287819 \tabularnewline
29 & 0.728429807047728 & 0.543140385904544 & 0.271570192952272 \tabularnewline
30 & 0.708843068812592 & 0.582313862374816 & 0.291156931187408 \tabularnewline
31 & 0.636422919306415 & 0.72715416138717 & 0.363577080693585 \tabularnewline
32 & 0.584727724710284 & 0.830544550579432 & 0.415272275289716 \tabularnewline
33 & 0.578275550473482 & 0.843448899053035 & 0.421724449526517 \tabularnewline
34 & 0.608216675811232 & 0.783566648377536 & 0.391783324188768 \tabularnewline
35 & 0.584159426750827 & 0.831681146498345 & 0.415840573249173 \tabularnewline
36 & 0.600382382203558 & 0.799235235592885 & 0.399617617796442 \tabularnewline
37 & 0.676226684607744 & 0.647546630784513 & 0.323773315392256 \tabularnewline
38 & 0.631083092932616 & 0.737833814134768 & 0.368916907067384 \tabularnewline
39 & 0.56950370567032 & 0.86099258865936 & 0.43049629432968 \tabularnewline
40 & 0.875909132395772 & 0.248181735208456 & 0.124090867604228 \tabularnewline
41 & 0.85391851949231 & 0.29216296101538 & 0.14608148050769 \tabularnewline
42 & 0.79524864249286 & 0.40950271501428 & 0.20475135750714 \tabularnewline
43 & 0.676588238716643 & 0.646823522566715 & 0.323411761283357 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=118423&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]8[/C][C]0.989661378173793[/C][C]0.0206772436524137[/C][C]0.0103386218262069[/C][/ROW]
[ROW][C]9[/C][C]0.977783832234837[/C][C]0.044432335530325[/C][C]0.0222161677651625[/C][/ROW]
[ROW][C]10[/C][C]0.97314631169155[/C][C]0.0537073766169013[/C][C]0.0268536883084506[/C][/ROW]
[ROW][C]11[/C][C]0.952693603723755[/C][C]0.0946127925524905[/C][C]0.0473063962762453[/C][/ROW]
[ROW][C]12[/C][C]0.91742720141029[/C][C]0.165145597179421[/C][C]0.0825727985897104[/C][/ROW]
[ROW][C]13[/C][C]0.929766344309397[/C][C]0.140467311381205[/C][C]0.0702336556906027[/C][/ROW]
[ROW][C]14[/C][C]0.929138605216757[/C][C]0.141722789566486[/C][C]0.0708613947832432[/C][/ROW]
[ROW][C]15[/C][C]0.91403815245254[/C][C]0.171923695094919[/C][C]0.0859618475474594[/C][/ROW]
[ROW][C]16[/C][C]0.889970865335968[/C][C]0.220058269328065[/C][C]0.110029134664032[/C][/ROW]
[ROW][C]17[/C][C]0.906037643368028[/C][C]0.187924713263944[/C][C]0.0939623566319721[/C][/ROW]
[ROW][C]18[/C][C]0.887717596007815[/C][C]0.224564807984371[/C][C]0.112282403992185[/C][/ROW]
[ROW][C]19[/C][C]0.843366285016639[/C][C]0.313267429966722[/C][C]0.156633714983361[/C][/ROW]
[ROW][C]20[/C][C]0.845665896169432[/C][C]0.308668207661135[/C][C]0.154334103830568[/C][/ROW]
[ROW][C]21[/C][C]0.817868530241211[/C][C]0.364262939517578[/C][C]0.182131469758789[/C][/ROW]
[ROW][C]22[/C][C]0.910649169735885[/C][C]0.178701660528231[/C][C]0.0893508302641155[/C][/ROW]
[ROW][C]23[/C][C]0.94357266697643[/C][C]0.112854666047141[/C][C]0.0564273330235703[/C][/ROW]
[ROW][C]24[/C][C]0.913191002831618[/C][C]0.173617994336763[/C][C]0.0868089971683816[/C][/ROW]
[ROW][C]25[/C][C]0.900982285617989[/C][C]0.198035428764023[/C][C]0.0990177143820115[/C][/ROW]
[ROW][C]26[/C][C]0.865693234740234[/C][C]0.268613530519532[/C][C]0.134306765259766[/C][/ROW]
[ROW][C]27[/C][C]0.841319581329715[/C][C]0.31736083734057[/C][C]0.158680418670285[/C][/ROW]
[ROW][C]28[/C][C]0.780324928712181[/C][C]0.439350142575639[/C][C]0.219675071287819[/C][/ROW]
[ROW][C]29[/C][C]0.728429807047728[/C][C]0.543140385904544[/C][C]0.271570192952272[/C][/ROW]
[ROW][C]30[/C][C]0.708843068812592[/C][C]0.582313862374816[/C][C]0.291156931187408[/C][/ROW]
[ROW][C]31[/C][C]0.636422919306415[/C][C]0.72715416138717[/C][C]0.363577080693585[/C][/ROW]
[ROW][C]32[/C][C]0.584727724710284[/C][C]0.830544550579432[/C][C]0.415272275289716[/C][/ROW]
[ROW][C]33[/C][C]0.578275550473482[/C][C]0.843448899053035[/C][C]0.421724449526517[/C][/ROW]
[ROW][C]34[/C][C]0.608216675811232[/C][C]0.783566648377536[/C][C]0.391783324188768[/C][/ROW]
[ROW][C]35[/C][C]0.584159426750827[/C][C]0.831681146498345[/C][C]0.415840573249173[/C][/ROW]
[ROW][C]36[/C][C]0.600382382203558[/C][C]0.799235235592885[/C][C]0.399617617796442[/C][/ROW]
[ROW][C]37[/C][C]0.676226684607744[/C][C]0.647546630784513[/C][C]0.323773315392256[/C][/ROW]
[ROW][C]38[/C][C]0.631083092932616[/C][C]0.737833814134768[/C][C]0.368916907067384[/C][/ROW]
[ROW][C]39[/C][C]0.56950370567032[/C][C]0.86099258865936[/C][C]0.43049629432968[/C][/ROW]
[ROW][C]40[/C][C]0.875909132395772[/C][C]0.248181735208456[/C][C]0.124090867604228[/C][/ROW]
[ROW][C]41[/C][C]0.85391851949231[/C][C]0.29216296101538[/C][C]0.14608148050769[/C][/ROW]
[ROW][C]42[/C][C]0.79524864249286[/C][C]0.40950271501428[/C][C]0.20475135750714[/C][/ROW]
[ROW][C]43[/C][C]0.676588238716643[/C][C]0.646823522566715[/C][C]0.323411761283357[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=118423&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=118423&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
80.9896613781737930.02067724365241370.0103386218262069
90.9777838322348370.0444323355303250.0222161677651625
100.973146311691550.05370737661690130.0268536883084506
110.9526936037237550.09461279255249050.0473063962762453
120.917427201410290.1651455971794210.0825727985897104
130.9297663443093970.1404673113812050.0702336556906027
140.9291386052167570.1417227895664860.0708613947832432
150.914038152452540.1719236950949190.0859618475474594
160.8899708653359680.2200582693280650.110029134664032
170.9060376433680280.1879247132639440.0939623566319721
180.8877175960078150.2245648079843710.112282403992185
190.8433662850166390.3132674299667220.156633714983361
200.8456658961694320.3086682076611350.154334103830568
210.8178685302412110.3642629395175780.182131469758789
220.9106491697358850.1787016605282310.0893508302641155
230.943572666976430.1128546660471410.0564273330235703
240.9131910028316180.1736179943367630.0868089971683816
250.9009822856179890.1980354287640230.0990177143820115
260.8656932347402340.2686135305195320.134306765259766
270.8413195813297150.317360837340570.158680418670285
280.7803249287121810.4393501425756390.219675071287819
290.7284298070477280.5431403859045440.271570192952272
300.7088430688125920.5823138623748160.291156931187408
310.6364229193064150.727154161387170.363577080693585
320.5847277247102840.8305445505794320.415272275289716
330.5782755504734820.8434488990530350.421724449526517
340.6082166758112320.7835666483775360.391783324188768
350.5841594267508270.8316811464983450.415840573249173
360.6003823822035580.7992352355928850.399617617796442
370.6762266846077440.6475466307845130.323773315392256
380.6310830929326160.7378338141347680.368916907067384
390.569503705670320.860992588659360.43049629432968
400.8759091323957720.2481817352084560.124090867604228
410.853918519492310.292162961015380.14608148050769
420.795248642492860.409502715014280.20475135750714
430.6765882387166430.6468235225667150.323411761283357







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level20.0555555555555556NOK
10% type I error level40.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 & 2 & 0.0555555555555556 & NOK \tabularnewline
10% type I error level & 4 & 0.111111111111111 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=118423&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]2[/C][C]0.0555555555555556[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]4[/C][C]0.111111111111111[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=118423&T=6

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



Parameters (Session):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = No 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')
}