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 computationThu, 19 Nov 2009 12:16:47 -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/19/t1258658277sg2vocjrivqbyg7.htm/, Retrieved Fri, 19 Apr 2024 15:01:54 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=57906, Retrieved Fri, 19 Apr 2024 15:01:54 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact142
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Q1 The Seatbeltlaw] [2007-11-14 19:27:43] [8cd6641b921d30ebe00b648d1481bba0]
- RM D  [Multiple Regression] [Seatbelt] [2009-11-12 14:10:54] [b98453cac15ba1066b407e146608df68]
- R  D      [Multiple Regression] [] [2009-11-19 19:16:47] [6974478841a4d28b8cb590971bfdefb0] [Current]
Feedback Forum

Post a new message
Dataseries X:
589	0	591	595	594	611
584	0	589	591	595	594
573	0	584	589	591	595
567	0	573	584	589	591
569	0	567	573	584	589
621	0	569	567	573	584
629	0	621	569	567	573
628	0	629	621	569	567
612	0	628	629	621	569
595	0	612	628	629	621
597	0	595	612	628	629
593	0	597	595	612	628
590	0	593	597	595	612
580	0	590	593	597	595
574	0	580	590	593	597
573	0	574	580	590	593
573	0	573	574	580	590
620	0	573	573	574	580
626	0	620	573	573	574
620	0	626	620	573	573
588	0	620	626	620	573
566	0	588	620	626	620
557	0	566	588	620	626
561	0	557	566	588	620
549	0	561	557	566	588
532	0	549	561	557	566
526	0	532	549	561	557
511	0	526	532	549	561
499	0	511	526	532	549
555	0	499	511	526	532
565	0	555	499	511	526
542	0	565	555	499	511
527	0	542	565	555	499
510	0	527	542	565	555
514	0	510	527	542	565
517	0	514	510	527	542
508	0	517	514	510	527
493	0	508	517	514	510
490	0	493	508	517	514
469	0	490	493	508	517
478	0	469	490	493	508
528	0	478	469	490	493
534	0	528	478	469	490
518	1	534	528	478	469
506	1	518	534	528	478
502	1	506	518	534	528
516	1	502	506	518	534
528	1	516	502	506	518
533	1	528	516	502	506
536	1	533	528	516	502
537	1	536	533	528	516
524	1	537	536	533	528
536	1	524	537	536	533
587	1	536	524	537	536
597	1	587	536	524	537
581	1	597	587	536	524




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

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

As an alternative you can also use a QR Code:  

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

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







Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 74.8625883971812 + 11.4579797137031X[t] + 0.883833817020301Y1[t] + 0.148925289542842Y2[t] + 0.0680524461895959Y3[t] -0.205609460525258Y4[t] -11.0093341354601M1[t] -19.3943249597428M2[t] -15.2870994860705M3[t] -19.6589724216698M4[t] -6.71985108689553M5[t] + 43.0948310810356M6[t] + 5.60929845146943M7[t] -25.8702298473568M8[t] -37.9817208725855M9[t] -24.3098501240444M10[t] -2.82506526052155M11[t] -0.36025434417029t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  74.8625883971812 +  11.4579797137031X[t] +  0.883833817020301Y1[t] +  0.148925289542842Y2[t] +  0.0680524461895959Y3[t] -0.205609460525258Y4[t] -11.0093341354601M1[t] -19.3943249597428M2[t] -15.2870994860705M3[t] -19.6589724216698M4[t] -6.71985108689553M5[t] +  43.0948310810356M6[t] +  5.60929845146943M7[t] -25.8702298473568M8[t] -37.9817208725855M9[t] -24.3098501240444M10[t] -2.82506526052155M11[t] -0.36025434417029t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57906&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  74.8625883971812 +  11.4579797137031X[t] +  0.883833817020301Y1[t] +  0.148925289542842Y2[t] +  0.0680524461895959Y3[t] -0.205609460525258Y4[t] -11.0093341354601M1[t] -19.3943249597428M2[t] -15.2870994860705M3[t] -19.6589724216698M4[t] -6.71985108689553M5[t] +  43.0948310810356M6[t] +  5.60929845146943M7[t] -25.8702298473568M8[t] -37.9817208725855M9[t] -24.3098501240444M10[t] -2.82506526052155M11[t] -0.36025434417029t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57906&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57906&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] = + 74.8625883971812 + 11.4579797137031X[t] + 0.883833817020301Y1[t] + 0.148925289542842Y2[t] + 0.0680524461895959Y3[t] -0.205609460525258Y4[t] -11.0093341354601M1[t] -19.3943249597428M2[t] -15.2870994860705M3[t] -19.6589724216698M4[t] -6.71985108689553M5[t] + 43.0948310810356M6[t] + 5.60929845146943M7[t] -25.8702298473568M8[t] -37.9817208725855M9[t] -24.3098501240444M10[t] -2.82506526052155M11[t] -0.36025434417029t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)74.862588397181228.8499032.59490.0133720.006686
X11.45797971370314.0135112.85490.0069380.003469
Y10.8838338170203010.1502835.88111e-060
Y20.1489252895428420.2059160.72320.4739660.236983
Y30.06805244618959590.2061170.33020.7430890.371544
Y4-0.2056094605252580.158492-1.29730.2023540.101177
M1-11.00933413546015.015681-2.1950.0343460.017173
M2-19.39432495974286.208166-3.1240.0034080.001704
M3-15.28709948607056.004905-2.54580.0150820.007541
M4-19.65897242166985.145907-3.82030.0004790.00024
M5-6.719851086895535.337035-1.25910.2156750.107837
M643.09483108103564.9712888.668700
M75.609298451469438.9373980.62760.5340060.267003
M8-25.870229847356811.089177-2.33290.0250460.012523
M9-37.981720872585512.587194-3.01750.0045310.002266
M10-24.30985012404446.858964-3.54420.0010630.000531
M11-2.825065260521555.321118-0.53090.5985670.299283
t-0.360254344170290.132882-2.71110.0100120.005006

\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) & 74.8625883971812 & 28.849903 & 2.5949 & 0.013372 & 0.006686 \tabularnewline
X & 11.4579797137031 & 4.013511 & 2.8549 & 0.006938 & 0.003469 \tabularnewline
Y1 & 0.883833817020301 & 0.150283 & 5.8811 & 1e-06 & 0 \tabularnewline
Y2 & 0.148925289542842 & 0.205916 & 0.7232 & 0.473966 & 0.236983 \tabularnewline
Y3 & 0.0680524461895959 & 0.206117 & 0.3302 & 0.743089 & 0.371544 \tabularnewline
Y4 & -0.205609460525258 & 0.158492 & -1.2973 & 0.202354 & 0.101177 \tabularnewline
M1 & -11.0093341354601 & 5.015681 & -2.195 & 0.034346 & 0.017173 \tabularnewline
M2 & -19.3943249597428 & 6.208166 & -3.124 & 0.003408 & 0.001704 \tabularnewline
M3 & -15.2870994860705 & 6.004905 & -2.5458 & 0.015082 & 0.007541 \tabularnewline
M4 & -19.6589724216698 & 5.145907 & -3.8203 & 0.000479 & 0.00024 \tabularnewline
M5 & -6.71985108689553 & 5.337035 & -1.2591 & 0.215675 & 0.107837 \tabularnewline
M6 & 43.0948310810356 & 4.971288 & 8.6687 & 0 & 0 \tabularnewline
M7 & 5.60929845146943 & 8.937398 & 0.6276 & 0.534006 & 0.267003 \tabularnewline
M8 & -25.8702298473568 & 11.089177 & -2.3329 & 0.025046 & 0.012523 \tabularnewline
M9 & -37.9817208725855 & 12.587194 & -3.0175 & 0.004531 & 0.002266 \tabularnewline
M10 & -24.3098501240444 & 6.858964 & -3.5442 & 0.001063 & 0.000531 \tabularnewline
M11 & -2.82506526052155 & 5.321118 & -0.5309 & 0.598567 & 0.299283 \tabularnewline
t & -0.36025434417029 & 0.132882 & -2.7111 & 0.010012 & 0.005006 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57906&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]74.8625883971812[/C][C]28.849903[/C][C]2.5949[/C][C]0.013372[/C][C]0.006686[/C][/ROW]
[ROW][C]X[/C][C]11.4579797137031[/C][C]4.013511[/C][C]2.8549[/C][C]0.006938[/C][C]0.003469[/C][/ROW]
[ROW][C]Y1[/C][C]0.883833817020301[/C][C]0.150283[/C][C]5.8811[/C][C]1e-06[/C][C]0[/C][/ROW]
[ROW][C]Y2[/C][C]0.148925289542842[/C][C]0.205916[/C][C]0.7232[/C][C]0.473966[/C][C]0.236983[/C][/ROW]
[ROW][C]Y3[/C][C]0.0680524461895959[/C][C]0.206117[/C][C]0.3302[/C][C]0.743089[/C][C]0.371544[/C][/ROW]
[ROW][C]Y4[/C][C]-0.205609460525258[/C][C]0.158492[/C][C]-1.2973[/C][C]0.202354[/C][C]0.101177[/C][/ROW]
[ROW][C]M1[/C][C]-11.0093341354601[/C][C]5.015681[/C][C]-2.195[/C][C]0.034346[/C][C]0.017173[/C][/ROW]
[ROW][C]M2[/C][C]-19.3943249597428[/C][C]6.208166[/C][C]-3.124[/C][C]0.003408[/C][C]0.001704[/C][/ROW]
[ROW][C]M3[/C][C]-15.2870994860705[/C][C]6.004905[/C][C]-2.5458[/C][C]0.015082[/C][C]0.007541[/C][/ROW]
[ROW][C]M4[/C][C]-19.6589724216698[/C][C]5.145907[/C][C]-3.8203[/C][C]0.000479[/C][C]0.00024[/C][/ROW]
[ROW][C]M5[/C][C]-6.71985108689553[/C][C]5.337035[/C][C]-1.2591[/C][C]0.215675[/C][C]0.107837[/C][/ROW]
[ROW][C]M6[/C][C]43.0948310810356[/C][C]4.971288[/C][C]8.6687[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M7[/C][C]5.60929845146943[/C][C]8.937398[/C][C]0.6276[/C][C]0.534006[/C][C]0.267003[/C][/ROW]
[ROW][C]M8[/C][C]-25.8702298473568[/C][C]11.089177[/C][C]-2.3329[/C][C]0.025046[/C][C]0.012523[/C][/ROW]
[ROW][C]M9[/C][C]-37.9817208725855[/C][C]12.587194[/C][C]-3.0175[/C][C]0.004531[/C][C]0.002266[/C][/ROW]
[ROW][C]M10[/C][C]-24.3098501240444[/C][C]6.858964[/C][C]-3.5442[/C][C]0.001063[/C][C]0.000531[/C][/ROW]
[ROW][C]M11[/C][C]-2.82506526052155[/C][C]5.321118[/C][C]-0.5309[/C][C]0.598567[/C][C]0.299283[/C][/ROW]
[ROW][C]t[/C][C]-0.36025434417029[/C][C]0.132882[/C][C]-2.7111[/C][C]0.010012[/C][C]0.005006[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57906&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57906&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)74.862588397181228.8499032.59490.0133720.006686
X11.45797971370314.0135112.85490.0069380.003469
Y10.8838338170203010.1502835.88111e-060
Y20.1489252895428420.2059160.72320.4739660.236983
Y30.06805244618959590.2061170.33020.7430890.371544
Y4-0.2056094605252580.158492-1.29730.2023540.101177
M1-11.00933413546015.015681-2.1950.0343460.017173
M2-19.39432495974286.208166-3.1240.0034080.001704
M3-15.28709948607056.004905-2.54580.0150820.007541
M4-19.65897242166985.145907-3.82030.0004790.00024
M5-6.719851086895535.337035-1.25910.2156750.107837
M643.09483108103564.9712888.668700
M75.609298451469438.9373980.62760.5340060.267003
M8-25.870229847356811.089177-2.33290.0250460.012523
M9-37.981720872585512.587194-3.01750.0045310.002266
M10-24.30985012404446.858964-3.54420.0010630.000531
M11-2.825065260521555.321118-0.53090.5985670.299283
t-0.360254344170290.132882-2.71110.0100120.005006







Multiple Linear Regression - Regression Statistics
Multiple R0.99217682046164
R-squared0.984414843061367
Adjusted R-squared0.977442536009874
F-TEST (value)141.189255692705
F-TEST (DF numerator)17
F-TEST (DF denominator)38
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation6.26424626439006
Sum Squared Residuals1491.14968791514

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.99217682046164 \tabularnewline
R-squared & 0.984414843061367 \tabularnewline
Adjusted R-squared & 0.977442536009874 \tabularnewline
F-TEST (value) & 141.189255692705 \tabularnewline
F-TEST (DF numerator) & 17 \tabularnewline
F-TEST (DF denominator) & 38 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 6.26424626439006 \tabularnewline
Sum Squared Residuals & 1491.14968791514 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57906&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.99217682046164[/C][/ROW]
[ROW][C]R-squared[/C][C]0.984414843061367[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.977442536009874[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]141.189255692705[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]17[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]38[/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]6.26424626439006[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]1491.14968791514[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57906&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57906&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.99217682046164
R-squared0.984414843061367
Adjusted R-squared0.977442536009874
F-TEST (value)141.189255692705
F-TEST (DF numerator)17
F-TEST (DF denominator)38
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation6.26424626439006
Sum Squared Residuals1491.14968791514







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1589589.245105710227-0.24510571022708
2584581.6999050246812.30009497531854
3573580.252037244713-7.25203724471278
4567565.7394444797271.26055552027259
5569571.448087073341-2.44808707334080
6621622.056101188426-1.05610118842599
7629632.320912667471-3.32091266747108
8628616.66567727239511.3343227276045
9612607.6290086831274.37099131687261
10595596.503086347834-1.50308634783393
11597598.506709214764-1.50670921476426
12593599.32422816442-6.32422816441955
13590586.8500147789753.14998522102536
14580578.4890327225981.51096727740213
15574572.267461107461.73253889254049
16573561.36135853367211.6386414663281
17573572.0991438896780.900856110321654
18620623.052426352011-3.05242635201137
19626627.912433095191-1.912433095191
20620608.58075142335511.4192485766449
21588594.898019860002-6.89801986000235
22566569.778072414917-3.77807241491693
23557565.050678254163-8.05067825416283
24561555.3406069324735.65939306752667
25549551.248375035676-2.24837503567573
26532536.403761337-4.40376133699972
27526525.4611490321280.538850967871723
28511511.255221731632-0.255221731632379
29499510.993451670755-11.9934516707547
30555550.6950404989214.30495950107884
31565560.7697138741154.23028612588497
32542548.375598169324-6.37559816932438
33527523.3431784168073.65682158319268
34510509.138400578870.861599421130217
35514509.3825759981214.61742400187866
36517516.5592231595630.440776840437527
37508510.36408761182-2.36408761182013
38493497.878684572501-4.87868457250062
39490486.409540337283.59045966271964
40469475.562731866025-6.56273186602509
41478469.9640112824588.03598871754243
42528527.1254969483120.874503051688442
43534533.999455443070.00054455693001933
44518531.297190579777-13.2971905797772
45506507.129793040063-1.12979304006294
46502497.5804406583794.41955934162064
47516511.0600365329524.93996346704843
48528527.7759417435450.224058256455356
49533531.2924168633021.70758313669759
50536530.528616343225.47138365677967
51537535.6098122784191.39018772158094
52524530.081243388943-6.0812433889432
53536530.4953060837695.50469391623143
54587588.07093501233-1.07093501232992
55597595.9974849201531.00251507984708
56581584.080782555148-3.08078255514783

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 589 & 589.245105710227 & -0.24510571022708 \tabularnewline
2 & 584 & 581.699905024681 & 2.30009497531854 \tabularnewline
3 & 573 & 580.252037244713 & -7.25203724471278 \tabularnewline
4 & 567 & 565.739444479727 & 1.26055552027259 \tabularnewline
5 & 569 & 571.448087073341 & -2.44808707334080 \tabularnewline
6 & 621 & 622.056101188426 & -1.05610118842599 \tabularnewline
7 & 629 & 632.320912667471 & -3.32091266747108 \tabularnewline
8 & 628 & 616.665677272395 & 11.3343227276045 \tabularnewline
9 & 612 & 607.629008683127 & 4.37099131687261 \tabularnewline
10 & 595 & 596.503086347834 & -1.50308634783393 \tabularnewline
11 & 597 & 598.506709214764 & -1.50670921476426 \tabularnewline
12 & 593 & 599.32422816442 & -6.32422816441955 \tabularnewline
13 & 590 & 586.850014778975 & 3.14998522102536 \tabularnewline
14 & 580 & 578.489032722598 & 1.51096727740213 \tabularnewline
15 & 574 & 572.26746110746 & 1.73253889254049 \tabularnewline
16 & 573 & 561.361358533672 & 11.6386414663281 \tabularnewline
17 & 573 & 572.099143889678 & 0.900856110321654 \tabularnewline
18 & 620 & 623.052426352011 & -3.05242635201137 \tabularnewline
19 & 626 & 627.912433095191 & -1.912433095191 \tabularnewline
20 & 620 & 608.580751423355 & 11.4192485766449 \tabularnewline
21 & 588 & 594.898019860002 & -6.89801986000235 \tabularnewline
22 & 566 & 569.778072414917 & -3.77807241491693 \tabularnewline
23 & 557 & 565.050678254163 & -8.05067825416283 \tabularnewline
24 & 561 & 555.340606932473 & 5.65939306752667 \tabularnewline
25 & 549 & 551.248375035676 & -2.24837503567573 \tabularnewline
26 & 532 & 536.403761337 & -4.40376133699972 \tabularnewline
27 & 526 & 525.461149032128 & 0.538850967871723 \tabularnewline
28 & 511 & 511.255221731632 & -0.255221731632379 \tabularnewline
29 & 499 & 510.993451670755 & -11.9934516707547 \tabularnewline
30 & 555 & 550.695040498921 & 4.30495950107884 \tabularnewline
31 & 565 & 560.769713874115 & 4.23028612588497 \tabularnewline
32 & 542 & 548.375598169324 & -6.37559816932438 \tabularnewline
33 & 527 & 523.343178416807 & 3.65682158319268 \tabularnewline
34 & 510 & 509.13840057887 & 0.861599421130217 \tabularnewline
35 & 514 & 509.382575998121 & 4.61742400187866 \tabularnewline
36 & 517 & 516.559223159563 & 0.440776840437527 \tabularnewline
37 & 508 & 510.36408761182 & -2.36408761182013 \tabularnewline
38 & 493 & 497.878684572501 & -4.87868457250062 \tabularnewline
39 & 490 & 486.40954033728 & 3.59045966271964 \tabularnewline
40 & 469 & 475.562731866025 & -6.56273186602509 \tabularnewline
41 & 478 & 469.964011282458 & 8.03598871754243 \tabularnewline
42 & 528 & 527.125496948312 & 0.874503051688442 \tabularnewline
43 & 534 & 533.99945544307 & 0.00054455693001933 \tabularnewline
44 & 518 & 531.297190579777 & -13.2971905797772 \tabularnewline
45 & 506 & 507.129793040063 & -1.12979304006294 \tabularnewline
46 & 502 & 497.580440658379 & 4.41955934162064 \tabularnewline
47 & 516 & 511.060036532952 & 4.93996346704843 \tabularnewline
48 & 528 & 527.775941743545 & 0.224058256455356 \tabularnewline
49 & 533 & 531.292416863302 & 1.70758313669759 \tabularnewline
50 & 536 & 530.52861634322 & 5.47138365677967 \tabularnewline
51 & 537 & 535.609812278419 & 1.39018772158094 \tabularnewline
52 & 524 & 530.081243388943 & -6.0812433889432 \tabularnewline
53 & 536 & 530.495306083769 & 5.50469391623143 \tabularnewline
54 & 587 & 588.07093501233 & -1.07093501232992 \tabularnewline
55 & 597 & 595.997484920153 & 1.00251507984708 \tabularnewline
56 & 581 & 584.080782555148 & -3.08078255514783 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57906&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]589[/C][C]589.245105710227[/C][C]-0.24510571022708[/C][/ROW]
[ROW][C]2[/C][C]584[/C][C]581.699905024681[/C][C]2.30009497531854[/C][/ROW]
[ROW][C]3[/C][C]573[/C][C]580.252037244713[/C][C]-7.25203724471278[/C][/ROW]
[ROW][C]4[/C][C]567[/C][C]565.739444479727[/C][C]1.26055552027259[/C][/ROW]
[ROW][C]5[/C][C]569[/C][C]571.448087073341[/C][C]-2.44808707334080[/C][/ROW]
[ROW][C]6[/C][C]621[/C][C]622.056101188426[/C][C]-1.05610118842599[/C][/ROW]
[ROW][C]7[/C][C]629[/C][C]632.320912667471[/C][C]-3.32091266747108[/C][/ROW]
[ROW][C]8[/C][C]628[/C][C]616.665677272395[/C][C]11.3343227276045[/C][/ROW]
[ROW][C]9[/C][C]612[/C][C]607.629008683127[/C][C]4.37099131687261[/C][/ROW]
[ROW][C]10[/C][C]595[/C][C]596.503086347834[/C][C]-1.50308634783393[/C][/ROW]
[ROW][C]11[/C][C]597[/C][C]598.506709214764[/C][C]-1.50670921476426[/C][/ROW]
[ROW][C]12[/C][C]593[/C][C]599.32422816442[/C][C]-6.32422816441955[/C][/ROW]
[ROW][C]13[/C][C]590[/C][C]586.850014778975[/C][C]3.14998522102536[/C][/ROW]
[ROW][C]14[/C][C]580[/C][C]578.489032722598[/C][C]1.51096727740213[/C][/ROW]
[ROW][C]15[/C][C]574[/C][C]572.26746110746[/C][C]1.73253889254049[/C][/ROW]
[ROW][C]16[/C][C]573[/C][C]561.361358533672[/C][C]11.6386414663281[/C][/ROW]
[ROW][C]17[/C][C]573[/C][C]572.099143889678[/C][C]0.900856110321654[/C][/ROW]
[ROW][C]18[/C][C]620[/C][C]623.052426352011[/C][C]-3.05242635201137[/C][/ROW]
[ROW][C]19[/C][C]626[/C][C]627.912433095191[/C][C]-1.912433095191[/C][/ROW]
[ROW][C]20[/C][C]620[/C][C]608.580751423355[/C][C]11.4192485766449[/C][/ROW]
[ROW][C]21[/C][C]588[/C][C]594.898019860002[/C][C]-6.89801986000235[/C][/ROW]
[ROW][C]22[/C][C]566[/C][C]569.778072414917[/C][C]-3.77807241491693[/C][/ROW]
[ROW][C]23[/C][C]557[/C][C]565.050678254163[/C][C]-8.05067825416283[/C][/ROW]
[ROW][C]24[/C][C]561[/C][C]555.340606932473[/C][C]5.65939306752667[/C][/ROW]
[ROW][C]25[/C][C]549[/C][C]551.248375035676[/C][C]-2.24837503567573[/C][/ROW]
[ROW][C]26[/C][C]532[/C][C]536.403761337[/C][C]-4.40376133699972[/C][/ROW]
[ROW][C]27[/C][C]526[/C][C]525.461149032128[/C][C]0.538850967871723[/C][/ROW]
[ROW][C]28[/C][C]511[/C][C]511.255221731632[/C][C]-0.255221731632379[/C][/ROW]
[ROW][C]29[/C][C]499[/C][C]510.993451670755[/C][C]-11.9934516707547[/C][/ROW]
[ROW][C]30[/C][C]555[/C][C]550.695040498921[/C][C]4.30495950107884[/C][/ROW]
[ROW][C]31[/C][C]565[/C][C]560.769713874115[/C][C]4.23028612588497[/C][/ROW]
[ROW][C]32[/C][C]542[/C][C]548.375598169324[/C][C]-6.37559816932438[/C][/ROW]
[ROW][C]33[/C][C]527[/C][C]523.343178416807[/C][C]3.65682158319268[/C][/ROW]
[ROW][C]34[/C][C]510[/C][C]509.13840057887[/C][C]0.861599421130217[/C][/ROW]
[ROW][C]35[/C][C]514[/C][C]509.382575998121[/C][C]4.61742400187866[/C][/ROW]
[ROW][C]36[/C][C]517[/C][C]516.559223159563[/C][C]0.440776840437527[/C][/ROW]
[ROW][C]37[/C][C]508[/C][C]510.36408761182[/C][C]-2.36408761182013[/C][/ROW]
[ROW][C]38[/C][C]493[/C][C]497.878684572501[/C][C]-4.87868457250062[/C][/ROW]
[ROW][C]39[/C][C]490[/C][C]486.40954033728[/C][C]3.59045966271964[/C][/ROW]
[ROW][C]40[/C][C]469[/C][C]475.562731866025[/C][C]-6.56273186602509[/C][/ROW]
[ROW][C]41[/C][C]478[/C][C]469.964011282458[/C][C]8.03598871754243[/C][/ROW]
[ROW][C]42[/C][C]528[/C][C]527.125496948312[/C][C]0.874503051688442[/C][/ROW]
[ROW][C]43[/C][C]534[/C][C]533.99945544307[/C][C]0.00054455693001933[/C][/ROW]
[ROW][C]44[/C][C]518[/C][C]531.297190579777[/C][C]-13.2971905797772[/C][/ROW]
[ROW][C]45[/C][C]506[/C][C]507.129793040063[/C][C]-1.12979304006294[/C][/ROW]
[ROW][C]46[/C][C]502[/C][C]497.580440658379[/C][C]4.41955934162064[/C][/ROW]
[ROW][C]47[/C][C]516[/C][C]511.060036532952[/C][C]4.93996346704843[/C][/ROW]
[ROW][C]48[/C][C]528[/C][C]527.775941743545[/C][C]0.224058256455356[/C][/ROW]
[ROW][C]49[/C][C]533[/C][C]531.292416863302[/C][C]1.70758313669759[/C][/ROW]
[ROW][C]50[/C][C]536[/C][C]530.52861634322[/C][C]5.47138365677967[/C][/ROW]
[ROW][C]51[/C][C]537[/C][C]535.609812278419[/C][C]1.39018772158094[/C][/ROW]
[ROW][C]52[/C][C]524[/C][C]530.081243388943[/C][C]-6.0812433889432[/C][/ROW]
[ROW][C]53[/C][C]536[/C][C]530.495306083769[/C][C]5.50469391623143[/C][/ROW]
[ROW][C]54[/C][C]587[/C][C]588.07093501233[/C][C]-1.07093501232992[/C][/ROW]
[ROW][C]55[/C][C]597[/C][C]595.997484920153[/C][C]1.00251507984708[/C][/ROW]
[ROW][C]56[/C][C]581[/C][C]584.080782555148[/C][C]-3.08078255514783[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57906&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57906&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
1589589.245105710227-0.24510571022708
2584581.6999050246812.30009497531854
3573580.252037244713-7.25203724471278
4567565.7394444797271.26055552027259
5569571.448087073341-2.44808707334080
6621622.056101188426-1.05610118842599
7629632.320912667471-3.32091266747108
8628616.66567727239511.3343227276045
9612607.6290086831274.37099131687261
10595596.503086347834-1.50308634783393
11597598.506709214764-1.50670921476426
12593599.32422816442-6.32422816441955
13590586.8500147789753.14998522102536
14580578.4890327225981.51096727740213
15574572.267461107461.73253889254049
16573561.36135853367211.6386414663281
17573572.0991438896780.900856110321654
18620623.052426352011-3.05242635201137
19626627.912433095191-1.912433095191
20620608.58075142335511.4192485766449
21588594.898019860002-6.89801986000235
22566569.778072414917-3.77807241491693
23557565.050678254163-8.05067825416283
24561555.3406069324735.65939306752667
25549551.248375035676-2.24837503567573
26532536.403761337-4.40376133699972
27526525.4611490321280.538850967871723
28511511.255221731632-0.255221731632379
29499510.993451670755-11.9934516707547
30555550.6950404989214.30495950107884
31565560.7697138741154.23028612588497
32542548.375598169324-6.37559816932438
33527523.3431784168073.65682158319268
34510509.138400578870.861599421130217
35514509.3825759981214.61742400187866
36517516.5592231595630.440776840437527
37508510.36408761182-2.36408761182013
38493497.878684572501-4.87868457250062
39490486.409540337283.59045966271964
40469475.562731866025-6.56273186602509
41478469.9640112824588.03598871754243
42528527.1254969483120.874503051688442
43534533.999455443070.00054455693001933
44518531.297190579777-13.2971905797772
45506507.129793040063-1.12979304006294
46502497.5804406583794.41955934162064
47516511.0600365329524.93996346704843
48528527.7759417435450.224058256455356
49533531.2924168633021.70758313669759
50536530.528616343225.47138365677967
51537535.6098122784191.39018772158094
52524530.081243388943-6.0812433889432
53536530.4953060837695.50469391623143
54587588.07093501233-1.07093501232992
55597595.9974849201531.00251507984708
56581584.080782555148-3.08078255514783







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
210.6065063098193390.7869873803613230.393493690180661
220.4746464484018240.9492928968036480.525353551598176
230.5287233184939150.942553363012170.471276681506085
240.6485695354792890.7028609290414230.351430464520711
250.5835252613757050.832949477248590.416474738624295
260.4978727373702820.9957454747405640.502127262629718
270.4843820208099010.9687640416198020.515617979190099
280.4936606940002480.9873213880004970.506339305999752
290.826662411588160.3466751768236810.173337588411841
300.8858360687891860.2283278624216280.114163931210814
310.9176619709476720.1646760581046550.0823380290523276
320.9107750355341810.1784499289316380.0892249644658191
330.892458349512560.2150833009748810.107541650487441
340.7883900394805440.4232199210389110.211609960519456
350.7772158703580720.4455682592838550.222784129641928

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
21 & 0.606506309819339 & 0.786987380361323 & 0.393493690180661 \tabularnewline
22 & 0.474646448401824 & 0.949292896803648 & 0.525353551598176 \tabularnewline
23 & 0.528723318493915 & 0.94255336301217 & 0.471276681506085 \tabularnewline
24 & 0.648569535479289 & 0.702860929041423 & 0.351430464520711 \tabularnewline
25 & 0.583525261375705 & 0.83294947724859 & 0.416474738624295 \tabularnewline
26 & 0.497872737370282 & 0.995745474740564 & 0.502127262629718 \tabularnewline
27 & 0.484382020809901 & 0.968764041619802 & 0.515617979190099 \tabularnewline
28 & 0.493660694000248 & 0.987321388000497 & 0.506339305999752 \tabularnewline
29 & 0.82666241158816 & 0.346675176823681 & 0.173337588411841 \tabularnewline
30 & 0.885836068789186 & 0.228327862421628 & 0.114163931210814 \tabularnewline
31 & 0.917661970947672 & 0.164676058104655 & 0.0823380290523276 \tabularnewline
32 & 0.910775035534181 & 0.178449928931638 & 0.0892249644658191 \tabularnewline
33 & 0.89245834951256 & 0.215083300974881 & 0.107541650487441 \tabularnewline
34 & 0.788390039480544 & 0.423219921038911 & 0.211609960519456 \tabularnewline
35 & 0.777215870358072 & 0.445568259283855 & 0.222784129641928 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57906&T=5

[TABLE]
[ROW][C]Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]p-values[/C][C]Alternative Hypothesis[/C][/ROW]
[ROW][C]breakpoint index[/C][C]greater[/C][C]2-sided[/C][C]less[/C][/ROW]
[ROW][C]21[/C][C]0.606506309819339[/C][C]0.786987380361323[/C][C]0.393493690180661[/C][/ROW]
[ROW][C]22[/C][C]0.474646448401824[/C][C]0.949292896803648[/C][C]0.525353551598176[/C][/ROW]
[ROW][C]23[/C][C]0.528723318493915[/C][C]0.94255336301217[/C][C]0.471276681506085[/C][/ROW]
[ROW][C]24[/C][C]0.648569535479289[/C][C]0.702860929041423[/C][C]0.351430464520711[/C][/ROW]
[ROW][C]25[/C][C]0.583525261375705[/C][C]0.83294947724859[/C][C]0.416474738624295[/C][/ROW]
[ROW][C]26[/C][C]0.497872737370282[/C][C]0.995745474740564[/C][C]0.502127262629718[/C][/ROW]
[ROW][C]27[/C][C]0.484382020809901[/C][C]0.968764041619802[/C][C]0.515617979190099[/C][/ROW]
[ROW][C]28[/C][C]0.493660694000248[/C][C]0.987321388000497[/C][C]0.506339305999752[/C][/ROW]
[ROW][C]29[/C][C]0.82666241158816[/C][C]0.346675176823681[/C][C]0.173337588411841[/C][/ROW]
[ROW][C]30[/C][C]0.885836068789186[/C][C]0.228327862421628[/C][C]0.114163931210814[/C][/ROW]
[ROW][C]31[/C][C]0.917661970947672[/C][C]0.164676058104655[/C][C]0.0823380290523276[/C][/ROW]
[ROW][C]32[/C][C]0.910775035534181[/C][C]0.178449928931638[/C][C]0.0892249644658191[/C][/ROW]
[ROW][C]33[/C][C]0.89245834951256[/C][C]0.215083300974881[/C][C]0.107541650487441[/C][/ROW]
[ROW][C]34[/C][C]0.788390039480544[/C][C]0.423219921038911[/C][C]0.211609960519456[/C][/ROW]
[ROW][C]35[/C][C]0.777215870358072[/C][C]0.445568259283855[/C][C]0.222784129641928[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57906&T=5

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

As an alternative you can also use a QR Code:  

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

Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
210.6065063098193390.7869873803613230.393493690180661
220.4746464484018240.9492928968036480.525353551598176
230.5287233184939150.942553363012170.471276681506085
240.6485695354792890.7028609290414230.351430464520711
250.5835252613757050.832949477248590.416474738624295
260.4978727373702820.9957454747405640.502127262629718
270.4843820208099010.9687640416198020.515617979190099
280.4936606940002480.9873213880004970.506339305999752
290.826662411588160.3466751768236810.173337588411841
300.8858360687891860.2283278624216280.114163931210814
310.9176619709476720.1646760581046550.0823380290523276
320.9107750355341810.1784499289316380.0892249644658191
330.892458349512560.2150833009748810.107541650487441
340.7883900394805440.4232199210389110.211609960519456
350.7772158703580720.4455682592838550.222784129641928







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=57906&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=57906&T=6

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