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 computationMon, 29 Nov 2010 18:40:54 +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/2010/Nov/29/t1291056035bf2jplw7ahbgg5v.htm/, Retrieved Mon, 29 Apr 2024 11:54:52 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=103027, Retrieved Mon, 29 Apr 2024 11:54:52 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact106
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Q1 The Seatbeltlaw] [2007-11-14 19:27:43] [8cd6641b921d30ebe00b648d1481bba0]
- RM D  [Multiple Regression] [Seatbelt] [2009-11-12 14:14:11] [b98453cac15ba1066b407e146608df68]
-    D      [Multiple Regression] [W8-verleden] [2010-11-29 18:40:54] [6f3869f9d1e39c73f93153f1f7803f84] [Current]
Feedback Forum

Post a new message
Dataseries X:
574	0	580	590	593
573	0	574	580	590
573	0	573	574	580
620	0	573	573	574
626	0	620	573	573
620	0	626	620	573
588	0	620	626	620
566	0	588	620	626
557	0	566	588	620
561	0	557	566	588
549	0	561	557	566
532	0	549	561	557
526	0	532	549	561
511	0	526	532	549
499	0	511	526	532
555	0	499	511	526
565	0	555	499	511
542	0	565	555	499
527	0	542	565	555
510	0	527	542	565
514	0	510	527	542
517	0	514	510	527
508	0	517	514	510
493	0	508	517	514
490	0	493	508	517
469	0	490	493	508
478	0	469	490	493
528	1	478	469	490
534	1	528	478	469
518	1	534	528	478
506	1	518	534	528
502	1	506	518	534
516	1	502	506	518
528	1	516	502	506
533	1	528	516	502
536	1	533	528	516
537	1	536	533	528
524	1	537	536	533
536	1	524	537	536
587	1	536	524	537
597	1	587	536	524
581	1	597	587	536
564	1	581	597	587
558	1	564	581	597
575	0	558	564	581
580	0	575	558	564
575	0	580	575	558
563	0	575	580	575
552	0	563	575	580
537	0	552	563	575
545	0	537	552	563
601	0	545	537	552




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time6 seconds
R Server'George Udny Yule' @ 72.249.76.132
R Framework error message
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.

\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 & 6 seconds \tabularnewline
R Server & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
R Framework error message & 
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=103027&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]6 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[ROW][C]R Framework error message[/C][C]
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=103027&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=103027&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 time6 seconds
R Server'George Udny Yule' @ 72.249.76.132
R Framework error message
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.







Multiple Linear Regression - Estimated Regression Equation
Y[t] = -7.25130954706303 + 4.22226300962114X[t] + 1.04736521388181Y1[t] + 0.0376245976777666Y2[t] -0.097101944440974`Y3 `[t] + 7.17062324388718M1[t] -0.749238461059722M2[t] + 15.3898231371423M3[t] + 62.9135695182735M4[t] + 15.1120552978287M5[t] -10.2916108571521M6[t] -8.7424582977394M7[t] + 0.183702098776305M8[t] + 19.7291850870341M9[t] + 17.4629062366240M10[t] + 4.42028691167321M11[t] + 0.0743693373524595t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  -7.25130954706303 +  4.22226300962114X[t] +  1.04736521388181Y1[t] +  0.0376245976777666Y2[t] -0.097101944440974`Y3
`[t] +  7.17062324388718M1[t] -0.749238461059722M2[t] +  15.3898231371423M3[t] +  62.9135695182735M4[t] +  15.1120552978287M5[t] -10.2916108571521M6[t] -8.7424582977394M7[t] +  0.183702098776305M8[t] +  19.7291850870341M9[t] +  17.4629062366240M10[t] +  4.42028691167321M11[t] +  0.0743693373524595t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=103027&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  -7.25130954706303 +  4.22226300962114X[t] +  1.04736521388181Y1[t] +  0.0376245976777666Y2[t] -0.097101944440974`Y3
`[t] +  7.17062324388718M1[t] -0.749238461059722M2[t] +  15.3898231371423M3[t] +  62.9135695182735M4[t] +  15.1120552978287M5[t] -10.2916108571521M6[t] -8.7424582977394M7[t] +  0.183702098776305M8[t] +  19.7291850870341M9[t] +  17.4629062366240M10[t] +  4.42028691167321M11[t] +  0.0743693373524595t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=103027&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=103027&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] = -7.25130954706303 + 4.22226300962114X[t] + 1.04736521388181Y1[t] + 0.0376245976777666Y2[t] -0.097101944440974`Y3 `[t] + 7.17062324388718M1[t] -0.749238461059722M2[t] + 15.3898231371423M3[t] + 62.9135695182735M4[t] + 15.1120552978287M5[t] -10.2916108571521M6[t] -8.7424582977394M7[t] + 0.183702098776305M8[t] + 19.7291850870341M9[t] + 17.4629062366240M10[t] + 4.42028691167321M11[t] + 0.0743693373524595t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)-7.2513095470630319.602198-0.36990.7136690.356834
X4.222263009621142.9863621.41380.166240.08312
Y11.047365213881810.1691516.191900
Y20.03762459767776660.2447140.15370.8786910.439345
`Y3 `-0.0971019444409740.170431-0.56970.572490.286245
M17.170623243887185.0181261.42890.1618850.080943
M2-0.7492384610597225.345836-0.14020.8893420.444671
M315.38982313714235.0818183.02840.0045950.002298
M462.91356951827355.89023910.68100
M515.112055297828710.6892121.41380.1662640.083132
M6-10.29161085715218.960191-1.14860.2585130.129257
M7-8.74245829773945.499965-1.58950.120930.060465
M80.1837020987763056.8322560.02690.9787020.489351
M919.72918508703416.5222853.02490.0046380.002319
M1017.46290623662406.1582482.83570.0075490.003775
M114.420286911673215.2604420.84030.4064510.203225
t0.07436933735245950.0750440.9910.3284830.164241

\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) & -7.25130954706303 & 19.602198 & -0.3699 & 0.713669 & 0.356834 \tabularnewline
X & 4.22226300962114 & 2.986362 & 1.4138 & 0.16624 & 0.08312 \tabularnewline
Y1 & 1.04736521388181 & 0.169151 & 6.1919 & 0 & 0 \tabularnewline
Y2 & 0.0376245976777666 & 0.244714 & 0.1537 & 0.878691 & 0.439345 \tabularnewline
`Y3
` & -0.097101944440974 & 0.170431 & -0.5697 & 0.57249 & 0.286245 \tabularnewline
M1 & 7.17062324388718 & 5.018126 & 1.4289 & 0.161885 & 0.080943 \tabularnewline
M2 & -0.749238461059722 & 5.345836 & -0.1402 & 0.889342 & 0.444671 \tabularnewline
M3 & 15.3898231371423 & 5.081818 & 3.0284 & 0.004595 & 0.002298 \tabularnewline
M4 & 62.9135695182735 & 5.890239 & 10.681 & 0 & 0 \tabularnewline
M5 & 15.1120552978287 & 10.689212 & 1.4138 & 0.166264 & 0.083132 \tabularnewline
M6 & -10.2916108571521 & 8.960191 & -1.1486 & 0.258513 & 0.129257 \tabularnewline
M7 & -8.7424582977394 & 5.499965 & -1.5895 & 0.12093 & 0.060465 \tabularnewline
M8 & 0.183702098776305 & 6.832256 & 0.0269 & 0.978702 & 0.489351 \tabularnewline
M9 & 19.7291850870341 & 6.522285 & 3.0249 & 0.004638 & 0.002319 \tabularnewline
M10 & 17.4629062366240 & 6.158248 & 2.8357 & 0.007549 & 0.003775 \tabularnewline
M11 & 4.42028691167321 & 5.260442 & 0.8403 & 0.406451 & 0.203225 \tabularnewline
t & 0.0743693373524595 & 0.075044 & 0.991 & 0.328483 & 0.164241 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=103027&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]-7.25130954706303[/C][C]19.602198[/C][C]-0.3699[/C][C]0.713669[/C][C]0.356834[/C][/ROW]
[ROW][C]X[/C][C]4.22226300962114[/C][C]2.986362[/C][C]1.4138[/C][C]0.16624[/C][C]0.08312[/C][/ROW]
[ROW][C]Y1[/C][C]1.04736521388181[/C][C]0.169151[/C][C]6.1919[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Y2[/C][C]0.0376245976777666[/C][C]0.244714[/C][C]0.1537[/C][C]0.878691[/C][C]0.439345[/C][/ROW]
[ROW][C]`Y3
`[/C][C]-0.097101944440974[/C][C]0.170431[/C][C]-0.5697[/C][C]0.57249[/C][C]0.286245[/C][/ROW]
[ROW][C]M1[/C][C]7.17062324388718[/C][C]5.018126[/C][C]1.4289[/C][C]0.161885[/C][C]0.080943[/C][/ROW]
[ROW][C]M2[/C][C]-0.749238461059722[/C][C]5.345836[/C][C]-0.1402[/C][C]0.889342[/C][C]0.444671[/C][/ROW]
[ROW][C]M3[/C][C]15.3898231371423[/C][C]5.081818[/C][C]3.0284[/C][C]0.004595[/C][C]0.002298[/C][/ROW]
[ROW][C]M4[/C][C]62.9135695182735[/C][C]5.890239[/C][C]10.681[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M5[/C][C]15.1120552978287[/C][C]10.689212[/C][C]1.4138[/C][C]0.166264[/C][C]0.083132[/C][/ROW]
[ROW][C]M6[/C][C]-10.2916108571521[/C][C]8.960191[/C][C]-1.1486[/C][C]0.258513[/C][C]0.129257[/C][/ROW]
[ROW][C]M7[/C][C]-8.7424582977394[/C][C]5.499965[/C][C]-1.5895[/C][C]0.12093[/C][C]0.060465[/C][/ROW]
[ROW][C]M8[/C][C]0.183702098776305[/C][C]6.832256[/C][C]0.0269[/C][C]0.978702[/C][C]0.489351[/C][/ROW]
[ROW][C]M9[/C][C]19.7291850870341[/C][C]6.522285[/C][C]3.0249[/C][C]0.004638[/C][C]0.002319[/C][/ROW]
[ROW][C]M10[/C][C]17.4629062366240[/C][C]6.158248[/C][C]2.8357[/C][C]0.007549[/C][C]0.003775[/C][/ROW]
[ROW][C]M11[/C][C]4.42028691167321[/C][C]5.260442[/C][C]0.8403[/C][C]0.406451[/C][C]0.203225[/C][/ROW]
[ROW][C]t[/C][C]0.0743693373524595[/C][C]0.075044[/C][C]0.991[/C][C]0.328483[/C][C]0.164241[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=103027&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=103027&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)-7.2513095470630319.602198-0.36990.7136690.356834
X4.222263009621142.9863621.41380.166240.08312
Y11.047365213881810.1691516.191900
Y20.03762459767776660.2447140.15370.8786910.439345
`Y3 `-0.0971019444409740.170431-0.56970.572490.286245
M17.170623243887185.0181261.42890.1618850.080943
M2-0.7492384610597225.345836-0.14020.8893420.444671
M315.38982313714235.0818183.02840.0045950.002298
M462.91356951827355.89023910.68100
M515.112055297828710.6892121.41380.1662640.083132
M6-10.29161085715218.960191-1.14860.2585130.129257
M7-8.74245829773945.499965-1.58950.120930.060465
M80.1837020987763056.8322560.02690.9787020.489351
M919.72918508703416.5222853.02490.0046380.002319
M1017.46290623662406.1582482.83570.0075490.003775
M114.420286911673215.2604420.84030.4064510.203225
t0.07436933735245950.0750440.9910.3284830.164241







Multiple Linear Regression - Regression Statistics
Multiple R0.987452102306002
R-squared0.975061654348542
Adjusted R-squared0.963661267765018
F-TEST (value)85.5288237117979
F-TEST (DF numerator)16
F-TEST (DF denominator)35
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation6.92125470629104
Sum Squared Residuals1676.63183482746

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.987452102306002 \tabularnewline
R-squared & 0.975061654348542 \tabularnewline
Adjusted R-squared & 0.963661267765018 \tabularnewline
F-TEST (value) & 85.5288237117979 \tabularnewline
F-TEST (DF numerator) & 16 \tabularnewline
F-TEST (DF denominator) & 35 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 6.92125470629104 \tabularnewline
Sum Squared Residuals & 1676.63183482746 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=103027&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.987452102306002[/C][/ROW]
[ROW][C]R-squared[/C][C]0.975061654348542[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.963661267765018[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]85.5288237117979[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]16[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]35[/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.92125470629104[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]1676.63183482746[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=103027&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=103027&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.987452102306002
R-squared0.975061654348542
Adjusted R-squared0.963661267765018
F-TEST (value)85.5288237117979
F-TEST (DF numerator)16
F-TEST (DF denominator)35
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation6.92125470629104
Sum Squared Residuals1676.63183482746







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1574572.0825666620121.91743333798777
2573557.86794286767215.1320571323275
3573573.779280447688-0.77928044768837
4620621.92238323514-1.92238323514000
5626623.5185053489342.48149465106607
6620606.24175590545113.7582440945486
7588597.243042716267-9.24304271626653
8566571.919526353204-5.91952635320427
9557567.875968514372-10.8759685143719
10561558.5372931495782.46270685042177
11549551.556125416109-2.55612541610872
12532535.666241165886-3.66624116588603
13526524.2661221612381.73387783876224
14511510.6620436831220.337956316877916
15499512.589981879879-13.5899818798793
16555547.6379577332617.36204226673934
17565559.5682988220315.43170117796879
18542547.984854946468-5.98485494646756
19527520.4575140120346.54248598796583
20510511.911180346677-1.91118034667679
21514515.394799793272-1.39479979327210
22517518.209262141834-1.20926214183427
23508510.184339242089-2.18433924208904
24493496.136600758101-3.13660075810136
25490487.0411879186912.95881208130901
26469476.363148444253-7.36314844425336
27478471.9255652618716.07443473812894
28528532.673420197002-4.67342019700206
29534539.692298220361-5.69229822036074
30518521.654505069943-3.65450506994278
31506501.8908339086174.10916609138315
32502497.1383758464134.86162415358684
33516513.6709032554192.32909674458147
34528527.1568316792870.843168320713138
35533527.6721164035235.32788359647704
36536527.6550928485718.34490715142917
37537537.065080726553-0.0650807265530644
38524529.894317643669-5.89431764366887
39536532.2383195631153.76168043688542
40587591.818596133928-4.81859613392812
41597599.220897608674-2.22089760867411
42581585.118884078138-4.11888407813825
43564565.408609363082-1.40860936308243
44558555.0309174537062.96908254629422
45575565.0583284369379.94167156306247
46580582.096613029301-2.09661302930064
47575575.587418938279-0.587418938279294
48563564.542065227442-1.54206522744174
49552558.545042531506-6.54504253150593
50537539.212547361283-2.21254736128322
51545540.4668528474474.53314715255329
52601596.9476427006694.05235729933083

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 574 & 572.082566662012 & 1.91743333798777 \tabularnewline
2 & 573 & 557.867942867672 & 15.1320571323275 \tabularnewline
3 & 573 & 573.779280447688 & -0.77928044768837 \tabularnewline
4 & 620 & 621.92238323514 & -1.92238323514000 \tabularnewline
5 & 626 & 623.518505348934 & 2.48149465106607 \tabularnewline
6 & 620 & 606.241755905451 & 13.7582440945486 \tabularnewline
7 & 588 & 597.243042716267 & -9.24304271626653 \tabularnewline
8 & 566 & 571.919526353204 & -5.91952635320427 \tabularnewline
9 & 557 & 567.875968514372 & -10.8759685143719 \tabularnewline
10 & 561 & 558.537293149578 & 2.46270685042177 \tabularnewline
11 & 549 & 551.556125416109 & -2.55612541610872 \tabularnewline
12 & 532 & 535.666241165886 & -3.66624116588603 \tabularnewline
13 & 526 & 524.266122161238 & 1.73387783876224 \tabularnewline
14 & 511 & 510.662043683122 & 0.337956316877916 \tabularnewline
15 & 499 & 512.589981879879 & -13.5899818798793 \tabularnewline
16 & 555 & 547.637957733261 & 7.36204226673934 \tabularnewline
17 & 565 & 559.568298822031 & 5.43170117796879 \tabularnewline
18 & 542 & 547.984854946468 & -5.98485494646756 \tabularnewline
19 & 527 & 520.457514012034 & 6.54248598796583 \tabularnewline
20 & 510 & 511.911180346677 & -1.91118034667679 \tabularnewline
21 & 514 & 515.394799793272 & -1.39479979327210 \tabularnewline
22 & 517 & 518.209262141834 & -1.20926214183427 \tabularnewline
23 & 508 & 510.184339242089 & -2.18433924208904 \tabularnewline
24 & 493 & 496.136600758101 & -3.13660075810136 \tabularnewline
25 & 490 & 487.041187918691 & 2.95881208130901 \tabularnewline
26 & 469 & 476.363148444253 & -7.36314844425336 \tabularnewline
27 & 478 & 471.925565261871 & 6.07443473812894 \tabularnewline
28 & 528 & 532.673420197002 & -4.67342019700206 \tabularnewline
29 & 534 & 539.692298220361 & -5.69229822036074 \tabularnewline
30 & 518 & 521.654505069943 & -3.65450506994278 \tabularnewline
31 & 506 & 501.890833908617 & 4.10916609138315 \tabularnewline
32 & 502 & 497.138375846413 & 4.86162415358684 \tabularnewline
33 & 516 & 513.670903255419 & 2.32909674458147 \tabularnewline
34 & 528 & 527.156831679287 & 0.843168320713138 \tabularnewline
35 & 533 & 527.672116403523 & 5.32788359647704 \tabularnewline
36 & 536 & 527.655092848571 & 8.34490715142917 \tabularnewline
37 & 537 & 537.065080726553 & -0.0650807265530644 \tabularnewline
38 & 524 & 529.894317643669 & -5.89431764366887 \tabularnewline
39 & 536 & 532.238319563115 & 3.76168043688542 \tabularnewline
40 & 587 & 591.818596133928 & -4.81859613392812 \tabularnewline
41 & 597 & 599.220897608674 & -2.22089760867411 \tabularnewline
42 & 581 & 585.118884078138 & -4.11888407813825 \tabularnewline
43 & 564 & 565.408609363082 & -1.40860936308243 \tabularnewline
44 & 558 & 555.030917453706 & 2.96908254629422 \tabularnewline
45 & 575 & 565.058328436937 & 9.94167156306247 \tabularnewline
46 & 580 & 582.096613029301 & -2.09661302930064 \tabularnewline
47 & 575 & 575.587418938279 & -0.587418938279294 \tabularnewline
48 & 563 & 564.542065227442 & -1.54206522744174 \tabularnewline
49 & 552 & 558.545042531506 & -6.54504253150593 \tabularnewline
50 & 537 & 539.212547361283 & -2.21254736128322 \tabularnewline
51 & 545 & 540.466852847447 & 4.53314715255329 \tabularnewline
52 & 601 & 596.947642700669 & 4.05235729933083 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=103027&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]574[/C][C]572.082566662012[/C][C]1.91743333798777[/C][/ROW]
[ROW][C]2[/C][C]573[/C][C]557.867942867672[/C][C]15.1320571323275[/C][/ROW]
[ROW][C]3[/C][C]573[/C][C]573.779280447688[/C][C]-0.77928044768837[/C][/ROW]
[ROW][C]4[/C][C]620[/C][C]621.92238323514[/C][C]-1.92238323514000[/C][/ROW]
[ROW][C]5[/C][C]626[/C][C]623.518505348934[/C][C]2.48149465106607[/C][/ROW]
[ROW][C]6[/C][C]620[/C][C]606.241755905451[/C][C]13.7582440945486[/C][/ROW]
[ROW][C]7[/C][C]588[/C][C]597.243042716267[/C][C]-9.24304271626653[/C][/ROW]
[ROW][C]8[/C][C]566[/C][C]571.919526353204[/C][C]-5.91952635320427[/C][/ROW]
[ROW][C]9[/C][C]557[/C][C]567.875968514372[/C][C]-10.8759685143719[/C][/ROW]
[ROW][C]10[/C][C]561[/C][C]558.537293149578[/C][C]2.46270685042177[/C][/ROW]
[ROW][C]11[/C][C]549[/C][C]551.556125416109[/C][C]-2.55612541610872[/C][/ROW]
[ROW][C]12[/C][C]532[/C][C]535.666241165886[/C][C]-3.66624116588603[/C][/ROW]
[ROW][C]13[/C][C]526[/C][C]524.266122161238[/C][C]1.73387783876224[/C][/ROW]
[ROW][C]14[/C][C]511[/C][C]510.662043683122[/C][C]0.337956316877916[/C][/ROW]
[ROW][C]15[/C][C]499[/C][C]512.589981879879[/C][C]-13.5899818798793[/C][/ROW]
[ROW][C]16[/C][C]555[/C][C]547.637957733261[/C][C]7.36204226673934[/C][/ROW]
[ROW][C]17[/C][C]565[/C][C]559.568298822031[/C][C]5.43170117796879[/C][/ROW]
[ROW][C]18[/C][C]542[/C][C]547.984854946468[/C][C]-5.98485494646756[/C][/ROW]
[ROW][C]19[/C][C]527[/C][C]520.457514012034[/C][C]6.54248598796583[/C][/ROW]
[ROW][C]20[/C][C]510[/C][C]511.911180346677[/C][C]-1.91118034667679[/C][/ROW]
[ROW][C]21[/C][C]514[/C][C]515.394799793272[/C][C]-1.39479979327210[/C][/ROW]
[ROW][C]22[/C][C]517[/C][C]518.209262141834[/C][C]-1.20926214183427[/C][/ROW]
[ROW][C]23[/C][C]508[/C][C]510.184339242089[/C][C]-2.18433924208904[/C][/ROW]
[ROW][C]24[/C][C]493[/C][C]496.136600758101[/C][C]-3.13660075810136[/C][/ROW]
[ROW][C]25[/C][C]490[/C][C]487.041187918691[/C][C]2.95881208130901[/C][/ROW]
[ROW][C]26[/C][C]469[/C][C]476.363148444253[/C][C]-7.36314844425336[/C][/ROW]
[ROW][C]27[/C][C]478[/C][C]471.925565261871[/C][C]6.07443473812894[/C][/ROW]
[ROW][C]28[/C][C]528[/C][C]532.673420197002[/C][C]-4.67342019700206[/C][/ROW]
[ROW][C]29[/C][C]534[/C][C]539.692298220361[/C][C]-5.69229822036074[/C][/ROW]
[ROW][C]30[/C][C]518[/C][C]521.654505069943[/C][C]-3.65450506994278[/C][/ROW]
[ROW][C]31[/C][C]506[/C][C]501.890833908617[/C][C]4.10916609138315[/C][/ROW]
[ROW][C]32[/C][C]502[/C][C]497.138375846413[/C][C]4.86162415358684[/C][/ROW]
[ROW][C]33[/C][C]516[/C][C]513.670903255419[/C][C]2.32909674458147[/C][/ROW]
[ROW][C]34[/C][C]528[/C][C]527.156831679287[/C][C]0.843168320713138[/C][/ROW]
[ROW][C]35[/C][C]533[/C][C]527.672116403523[/C][C]5.32788359647704[/C][/ROW]
[ROW][C]36[/C][C]536[/C][C]527.655092848571[/C][C]8.34490715142917[/C][/ROW]
[ROW][C]37[/C][C]537[/C][C]537.065080726553[/C][C]-0.0650807265530644[/C][/ROW]
[ROW][C]38[/C][C]524[/C][C]529.894317643669[/C][C]-5.89431764366887[/C][/ROW]
[ROW][C]39[/C][C]536[/C][C]532.238319563115[/C][C]3.76168043688542[/C][/ROW]
[ROW][C]40[/C][C]587[/C][C]591.818596133928[/C][C]-4.81859613392812[/C][/ROW]
[ROW][C]41[/C][C]597[/C][C]599.220897608674[/C][C]-2.22089760867411[/C][/ROW]
[ROW][C]42[/C][C]581[/C][C]585.118884078138[/C][C]-4.11888407813825[/C][/ROW]
[ROW][C]43[/C][C]564[/C][C]565.408609363082[/C][C]-1.40860936308243[/C][/ROW]
[ROW][C]44[/C][C]558[/C][C]555.030917453706[/C][C]2.96908254629422[/C][/ROW]
[ROW][C]45[/C][C]575[/C][C]565.058328436937[/C][C]9.94167156306247[/C][/ROW]
[ROW][C]46[/C][C]580[/C][C]582.096613029301[/C][C]-2.09661302930064[/C][/ROW]
[ROW][C]47[/C][C]575[/C][C]575.587418938279[/C][C]-0.587418938279294[/C][/ROW]
[ROW][C]48[/C][C]563[/C][C]564.542065227442[/C][C]-1.54206522744174[/C][/ROW]
[ROW][C]49[/C][C]552[/C][C]558.545042531506[/C][C]-6.54504253150593[/C][/ROW]
[ROW][C]50[/C][C]537[/C][C]539.212547361283[/C][C]-2.21254736128322[/C][/ROW]
[ROW][C]51[/C][C]545[/C][C]540.466852847447[/C][C]4.53314715255329[/C][/ROW]
[ROW][C]52[/C][C]601[/C][C]596.947642700669[/C][C]4.05235729933083[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=103027&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=103027&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
1574572.0825666620121.91743333798777
2573557.86794286767215.1320571323275
3573573.779280447688-0.77928044768837
4620621.92238323514-1.92238323514000
5626623.5185053489342.48149465106607
6620606.24175590545113.7582440945486
7588597.243042716267-9.24304271626653
8566571.919526353204-5.91952635320427
9557567.875968514372-10.8759685143719
10561558.5372931495782.46270685042177
11549551.556125416109-2.55612541610872
12532535.666241165886-3.66624116588603
13526524.2661221612381.73387783876224
14511510.6620436831220.337956316877916
15499512.589981879879-13.5899818798793
16555547.6379577332617.36204226673934
17565559.5682988220315.43170117796879
18542547.984854946468-5.98485494646756
19527520.4575140120346.54248598796583
20510511.911180346677-1.91118034667679
21514515.394799793272-1.39479979327210
22517518.209262141834-1.20926214183427
23508510.184339242089-2.18433924208904
24493496.136600758101-3.13660075810136
25490487.0411879186912.95881208130901
26469476.363148444253-7.36314844425336
27478471.9255652618716.07443473812894
28528532.673420197002-4.67342019700206
29534539.692298220361-5.69229822036074
30518521.654505069943-3.65450506994278
31506501.8908339086174.10916609138315
32502497.1383758464134.86162415358684
33516513.6709032554192.32909674458147
34528527.1568316792870.843168320713138
35533527.6721164035235.32788359647704
36536527.6550928485718.34490715142917
37537537.065080726553-0.0650807265530644
38524529.894317643669-5.89431764366887
39536532.2383195631153.76168043688542
40587591.818596133928-4.81859613392812
41597599.220897608674-2.22089760867411
42581585.118884078138-4.11888407813825
43564565.408609363082-1.40860936308243
44558555.0309174537062.96908254629422
45575565.0583284369379.94167156306247
46580582.096613029301-2.09661302930064
47575575.587418938279-0.587418938279294
48563564.542065227442-1.54206522744174
49552558.545042531506-6.54504253150593
50537539.212547361283-2.21254736128322
51545540.4668528474474.53314715255329
52601596.9476427006694.05235729933083







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
200.9563307709332570.08733845813348540.0436692290667427
210.9963173245786640.007365350842672780.00368267542133639
220.9935527149389640.01289457012207180.00644728506103589
230.987411185809430.02517762838113840.0125888141905692
240.9794743816059750.04105123678804990.0205256183940249
250.9893983524955940.0212032950088110.0106016475044055
260.980338156086430.0393236878271390.0196618439135695
270.9852280238420310.02954395231593730.0147719761579686
280.963498178630960.073003642738080.03650182136904
290.9339733180222660.1320533639554670.0660266819777336
300.8618577827087210.2762844345825580.138142217291279
310.792257139273040.4154857214539190.207742860726960
320.6859333545291910.6281332909416180.314066645470809

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
20 & 0.956330770933257 & 0.0873384581334854 & 0.0436692290667427 \tabularnewline
21 & 0.996317324578664 & 0.00736535084267278 & 0.00368267542133639 \tabularnewline
22 & 0.993552714938964 & 0.0128945701220718 & 0.00644728506103589 \tabularnewline
23 & 0.98741118580943 & 0.0251776283811384 & 0.0125888141905692 \tabularnewline
24 & 0.979474381605975 & 0.0410512367880499 & 0.0205256183940249 \tabularnewline
25 & 0.989398352495594 & 0.021203295008811 & 0.0106016475044055 \tabularnewline
26 & 0.98033815608643 & 0.039323687827139 & 0.0196618439135695 \tabularnewline
27 & 0.985228023842031 & 0.0295439523159373 & 0.0147719761579686 \tabularnewline
28 & 0.96349817863096 & 0.07300364273808 & 0.03650182136904 \tabularnewline
29 & 0.933973318022266 & 0.132053363955467 & 0.0660266819777336 \tabularnewline
30 & 0.861857782708721 & 0.276284434582558 & 0.138142217291279 \tabularnewline
31 & 0.79225713927304 & 0.415485721453919 & 0.207742860726960 \tabularnewline
32 & 0.685933354529191 & 0.628133290941618 & 0.314066645470809 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=103027&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]20[/C][C]0.956330770933257[/C][C]0.0873384581334854[/C][C]0.0436692290667427[/C][/ROW]
[ROW][C]21[/C][C]0.996317324578664[/C][C]0.00736535084267278[/C][C]0.00368267542133639[/C][/ROW]
[ROW][C]22[/C][C]0.993552714938964[/C][C]0.0128945701220718[/C][C]0.00644728506103589[/C][/ROW]
[ROW][C]23[/C][C]0.98741118580943[/C][C]0.0251776283811384[/C][C]0.0125888141905692[/C][/ROW]
[ROW][C]24[/C][C]0.979474381605975[/C][C]0.0410512367880499[/C][C]0.0205256183940249[/C][/ROW]
[ROW][C]25[/C][C]0.989398352495594[/C][C]0.021203295008811[/C][C]0.0106016475044055[/C][/ROW]
[ROW][C]26[/C][C]0.98033815608643[/C][C]0.039323687827139[/C][C]0.0196618439135695[/C][/ROW]
[ROW][C]27[/C][C]0.985228023842031[/C][C]0.0295439523159373[/C][C]0.0147719761579686[/C][/ROW]
[ROW][C]28[/C][C]0.96349817863096[/C][C]0.07300364273808[/C][C]0.03650182136904[/C][/ROW]
[ROW][C]29[/C][C]0.933973318022266[/C][C]0.132053363955467[/C][C]0.0660266819777336[/C][/ROW]
[ROW][C]30[/C][C]0.861857782708721[/C][C]0.276284434582558[/C][C]0.138142217291279[/C][/ROW]
[ROW][C]31[/C][C]0.79225713927304[/C][C]0.415485721453919[/C][C]0.207742860726960[/C][/ROW]
[ROW][C]32[/C][C]0.685933354529191[/C][C]0.628133290941618[/C][C]0.314066645470809[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=103027&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=103027&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
200.9563307709332570.08733845813348540.0436692290667427
210.9963173245786640.007365350842672780.00368267542133639
220.9935527149389640.01289457012207180.00644728506103589
230.987411185809430.02517762838113840.0125888141905692
240.9794743816059750.04105123678804990.0205256183940249
250.9893983524955940.0212032950088110.0106016475044055
260.980338156086430.0393236878271390.0196618439135695
270.9852280238420310.02954395231593730.0147719761579686
280.963498178630960.073003642738080.03650182136904
290.9339733180222660.1320533639554670.0660266819777336
300.8618577827087210.2762844345825580.138142217291279
310.792257139273040.4154857214539190.207742860726960
320.6859333545291910.6281332909416180.314066645470809







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level10.0769230769230769NOK
5% type I error level70.538461538461538NOK
10% type I error level90.692307692307692NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=103027&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 level10.0769230769230769NOK
5% type I error level70.538461538461538NOK
10% type I error level90.692307692307692NOK



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