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 computationTue, 23 Nov 2010 15:48:06 +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/23/t1290527201ejqpra66dj7r4hh.htm/, Retrieved Fri, 19 Apr 2024 16:25:32 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=99316, Retrieved Fri, 19 Apr 2024 16:25:32 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact140
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Competence to learn] [2010-11-17 07:43:53] [b98453cac15ba1066b407e146608df68]
-    D  [Multiple Regression] [WS7] [2010-11-23 15:38:30] [d672a41e0af7ff107c03f1d65e47fd32]
-   P       [Multiple Regression] [WS7] [2010-11-23 15:48:06] [4c7d8c32b2e34fcaa7f14928b91d45ae] [Current]
Feedback Forum

Post a new message
Dataseries X:
475	2	60	0	0	0
530	1	67	1	0	0
550	2	91	1	1	0
550	1	150	0	2	0
625	3	110	1	2	0
650	2	86	1	2	1
650	2	86	0	0	1
720	3	145	1	2	1
795	3	150	1	0	0
515	2	85	1	2	0
535	2	100	1	2	0
550	2	84	0	0	0
600	2	94	1	0	0
600	2	149	0	1	0
660	3	105	1	2	0
695	2	106	1	0	0
720	3	132	1	0	0
750	2	130	1	2	0
750	3	165	1	2	0
850	2	127	1	2	1
850	2	119	1	0	1
875	3	126	1	2	1
900	2	133	1	2	1
595	2	89	1	1	1
765	3	147	1	2	1
495	1	59	1	0	1
525	1	58	0	0	1
525	1	56	0	0	1
595	2	90	1	2	0
650	1	80	1	0	1
695	3	135	0	0	1
615	2	125	0	2	0
460	2	80	1	0	0
650	2	100	1	1	1
650	2	76	1	0	1
475	1	65	1	1	0
530	2	75	1	1	0
575	2	95	1	2	1
650	2	85	1	1	1
650	1	106	1	0	1
875	2	135	1	0	1
500	2	95	0	1	1
625	2	60	1	2	0
730	2	112	1	2	1
750	2	150	1	1	1
700	2	100	0	2	0
830	2	125	1	0	1
995	2	100	1	2	1
850	3	150	1	2	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time16 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24

\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 & 16 seconds \tabularnewline
R Server & 'Sir Ronald Aylmer Fisher' @ 193.190.124.24 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=99316&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]16 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Sir Ronald Aylmer Fisher' @ 193.190.124.24[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=99316&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=99316&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 time16 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24







Multiple Linear Regression - Estimated Regression Equation
Huurprijs[t] = + 261.559850248446 + 27.9706524613068Slaapkamers[t] + 2.24357262516708Bewoonbareopp[t] + 69.8338996357666Terras[t] + 1.16761510821164Garage[t] + 95.1289869483621Nieuwbouw[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Huurprijs[t] =  +  261.559850248446 +  27.9706524613068Slaapkamers[t] +  2.24357262516708Bewoonbareopp[t] +  69.8338996357666Terras[t] +  1.16761510821164Garage[t] +  95.1289869483621Nieuwbouw[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=99316&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Huurprijs[t] =  +  261.559850248446 +  27.9706524613068Slaapkamers[t] +  2.24357262516708Bewoonbareopp[t] +  69.8338996357666Terras[t] +  1.16761510821164Garage[t] +  95.1289869483621Nieuwbouw[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=99316&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=99316&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
Huurprijs[t] = + 261.559850248446 + 27.9706524613068Slaapkamers[t] + 2.24357262516708Bewoonbareopp[t] + 69.8338996357666Terras[t] + 1.16761510821164Garage[t] + 95.1289869483621Nieuwbouw[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)261.55985024844651.8397475.04559e-064e-06
Slaapkamers27.970652461306825.3499651.10340.2759990.137999
Bewoonbareopp2.243572625167080.5128314.37497.6e-053.8e-05
Terras69.833899635766629.7233552.34950.0234630.011731
Garage1.1676151082116414.4776350.08060.9360950.468047
Nieuwbouw95.128986948362124.4937853.88380.000350.000175

\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) & 261.559850248446 & 51.839747 & 5.0455 & 9e-06 & 4e-06 \tabularnewline
Slaapkamers & 27.9706524613068 & 25.349965 & 1.1034 & 0.275999 & 0.137999 \tabularnewline
Bewoonbareopp & 2.24357262516708 & 0.512831 & 4.3749 & 7.6e-05 & 3.8e-05 \tabularnewline
Terras & 69.8338996357666 & 29.723355 & 2.3495 & 0.023463 & 0.011731 \tabularnewline
Garage & 1.16761510821164 & 14.477635 & 0.0806 & 0.936095 & 0.468047 \tabularnewline
Nieuwbouw & 95.1289869483621 & 24.493785 & 3.8838 & 0.00035 & 0.000175 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=99316&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]261.559850248446[/C][C]51.839747[/C][C]5.0455[/C][C]9e-06[/C][C]4e-06[/C][/ROW]
[ROW][C]Slaapkamers[/C][C]27.9706524613068[/C][C]25.349965[/C][C]1.1034[/C][C]0.275999[/C][C]0.137999[/C][/ROW]
[ROW][C]Bewoonbareopp[/C][C]2.24357262516708[/C][C]0.512831[/C][C]4.3749[/C][C]7.6e-05[/C][C]3.8e-05[/C][/ROW]
[ROW][C]Terras[/C][C]69.8338996357666[/C][C]29.723355[/C][C]2.3495[/C][C]0.023463[/C][C]0.011731[/C][/ROW]
[ROW][C]Garage[/C][C]1.16761510821164[/C][C]14.477635[/C][C]0.0806[/C][C]0.936095[/C][C]0.468047[/C][/ROW]
[ROW][C]Nieuwbouw[/C][C]95.1289869483621[/C][C]24.493785[/C][C]3.8838[/C][C]0.00035[/C][C]0.000175[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=99316&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=99316&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)261.55985024844651.8397475.04559e-064e-06
Slaapkamers27.970652461306825.3499651.10340.2759990.137999
Bewoonbareopp2.243572625167080.5128314.37497.6e-053.8e-05
Terras69.833899635766629.7233552.34950.0234630.011731
Garage1.1676151082116414.4776350.08060.9360950.468047
Nieuwbouw95.128986948362124.4937853.88380.000350.000175







Multiple Linear Regression - Regression Statistics
Multiple R0.790226051322629
R-squared0.624457212188954
Adjusted R-squared0.580789446164414
F-TEST (value)14.3001868205949
F-TEST (DF numerator)5
F-TEST (DF denominator)43
p-value3.0025185782101e-08
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation83.6759928581479
Sum Squared Residuals301071.886574263

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.790226051322629 \tabularnewline
R-squared & 0.624457212188954 \tabularnewline
Adjusted R-squared & 0.580789446164414 \tabularnewline
F-TEST (value) & 14.3001868205949 \tabularnewline
F-TEST (DF numerator) & 5 \tabularnewline
F-TEST (DF denominator) & 43 \tabularnewline
p-value & 3.0025185782101e-08 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 83.6759928581479 \tabularnewline
Sum Squared Residuals & 301071.886574263 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=99316&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.790226051322629[/C][/ROW]
[ROW][C]R-squared[/C][C]0.624457212188954[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.580789446164414[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]14.3001868205949[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]5[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]43[/C][/ROW]
[ROW][C]p-value[/C][C]3.0025185782101e-08[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]83.6759928581479[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]301071.886574263[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=99316&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=99316&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.790226051322629
R-squared0.624457212188954
Adjusted R-squared0.580789446164414
F-TEST (value)14.3001868205949
F-TEST (DF numerator)5
F-TEST (DF denominator)43
p-value3.0025185782101e-08
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation83.6759928581479
Sum Squared Residuals301071.886574263







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1475452.11551268108522.8844873189153
2530509.68376823171420.3162317682862
3550592.667778805242-42.6677788052421
4550628.401626701238-78.401626701238
5625664.433926252935-39.433926252935
6650677.74651773598-27.7465177359805
7650605.57738788379144.4226121162094
8720838.087955082145-118.087955082145
9795751.84160104319543.1583989568052
10515580.373958162451-65.3739581624513
11535614.027547539957-79.0275475399574
12550505.96125568509444.0387443149056
13600598.2308815725321.76911842746825
14600652.961091429166-52.9610914291661
15660653.21606312716.78393687290036
16695625.15375307453769.8462469254633
17720711.4572937901878.54270620981256
18750681.3347262949768.6652737050302
19750787.830420637124-37.8304206371243
20850769.7329953678380.2670046321694
21850749.449184150071100.550815849929
22875795.4600752039779.5399247960297
23900783.194431118833116.805568881167
24595683.30962050327-88.30962050327
25765842.575100332479-77.575100332479
26495586.864174178739-91.8641741787393
27525514.78670191780610.2132980821943
28525510.29955666747214.7004433325284
29595591.5918212882873.40817871171328
30650633.97919930724816.0208006927520
31695743.483098978284-48.4830989782842
32615600.28296353336814.7170364666322
33460566.820864820193-106.820864820193
34650707.988919380108-57.9889193801079
35650652.975561267886-2.97556126788644
36475506.364238089591-31.3642380895913
37530556.770616802569-26.7706168025689
38575697.938671362484-122.938671362484
39650674.335330002602-24.3353300026018
40650692.312087561592-42.312087561592
41875785.34634615274489.653653847256
42500626.937156618506-126.937156618506
43625524.284642533274100.715357466726
44730736.079405990325-6.07940599032447
45750820.167550638462-70.1675506384617
46700544.193647904191155.806352095809
47830762.91061990107367.0893800989268
48995709.15653448832285.843465511680
49850849.305818207980.694181792019827

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 475 & 452.115512681085 & 22.8844873189153 \tabularnewline
2 & 530 & 509.683768231714 & 20.3162317682862 \tabularnewline
3 & 550 & 592.667778805242 & -42.6677788052421 \tabularnewline
4 & 550 & 628.401626701238 & -78.401626701238 \tabularnewline
5 & 625 & 664.433926252935 & -39.433926252935 \tabularnewline
6 & 650 & 677.74651773598 & -27.7465177359805 \tabularnewline
7 & 650 & 605.577387883791 & 44.4226121162094 \tabularnewline
8 & 720 & 838.087955082145 & -118.087955082145 \tabularnewline
9 & 795 & 751.841601043195 & 43.1583989568052 \tabularnewline
10 & 515 & 580.373958162451 & -65.3739581624513 \tabularnewline
11 & 535 & 614.027547539957 & -79.0275475399574 \tabularnewline
12 & 550 & 505.961255685094 & 44.0387443149056 \tabularnewline
13 & 600 & 598.230881572532 & 1.76911842746825 \tabularnewline
14 & 600 & 652.961091429166 & -52.9610914291661 \tabularnewline
15 & 660 & 653.2160631271 & 6.78393687290036 \tabularnewline
16 & 695 & 625.153753074537 & 69.8462469254633 \tabularnewline
17 & 720 & 711.457293790187 & 8.54270620981256 \tabularnewline
18 & 750 & 681.33472629497 & 68.6652737050302 \tabularnewline
19 & 750 & 787.830420637124 & -37.8304206371243 \tabularnewline
20 & 850 & 769.73299536783 & 80.2670046321694 \tabularnewline
21 & 850 & 749.449184150071 & 100.550815849929 \tabularnewline
22 & 875 & 795.46007520397 & 79.5399247960297 \tabularnewline
23 & 900 & 783.194431118833 & 116.805568881167 \tabularnewline
24 & 595 & 683.30962050327 & -88.30962050327 \tabularnewline
25 & 765 & 842.575100332479 & -77.575100332479 \tabularnewline
26 & 495 & 586.864174178739 & -91.8641741787393 \tabularnewline
27 & 525 & 514.786701917806 & 10.2132980821943 \tabularnewline
28 & 525 & 510.299556667472 & 14.7004433325284 \tabularnewline
29 & 595 & 591.591821288287 & 3.40817871171328 \tabularnewline
30 & 650 & 633.979199307248 & 16.0208006927520 \tabularnewline
31 & 695 & 743.483098978284 & -48.4830989782842 \tabularnewline
32 & 615 & 600.282963533368 & 14.7170364666322 \tabularnewline
33 & 460 & 566.820864820193 & -106.820864820193 \tabularnewline
34 & 650 & 707.988919380108 & -57.9889193801079 \tabularnewline
35 & 650 & 652.975561267886 & -2.97556126788644 \tabularnewline
36 & 475 & 506.364238089591 & -31.3642380895913 \tabularnewline
37 & 530 & 556.770616802569 & -26.7706168025689 \tabularnewline
38 & 575 & 697.938671362484 & -122.938671362484 \tabularnewline
39 & 650 & 674.335330002602 & -24.3353300026018 \tabularnewline
40 & 650 & 692.312087561592 & -42.312087561592 \tabularnewline
41 & 875 & 785.346346152744 & 89.653653847256 \tabularnewline
42 & 500 & 626.937156618506 & -126.937156618506 \tabularnewline
43 & 625 & 524.284642533274 & 100.715357466726 \tabularnewline
44 & 730 & 736.079405990325 & -6.07940599032447 \tabularnewline
45 & 750 & 820.167550638462 & -70.1675506384617 \tabularnewline
46 & 700 & 544.193647904191 & 155.806352095809 \tabularnewline
47 & 830 & 762.910619901073 & 67.0893800989268 \tabularnewline
48 & 995 & 709.15653448832 & 285.843465511680 \tabularnewline
49 & 850 & 849.30581820798 & 0.694181792019827 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=99316&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]475[/C][C]452.115512681085[/C][C]22.8844873189153[/C][/ROW]
[ROW][C]2[/C][C]530[/C][C]509.683768231714[/C][C]20.3162317682862[/C][/ROW]
[ROW][C]3[/C][C]550[/C][C]592.667778805242[/C][C]-42.6677788052421[/C][/ROW]
[ROW][C]4[/C][C]550[/C][C]628.401626701238[/C][C]-78.401626701238[/C][/ROW]
[ROW][C]5[/C][C]625[/C][C]664.433926252935[/C][C]-39.433926252935[/C][/ROW]
[ROW][C]6[/C][C]650[/C][C]677.74651773598[/C][C]-27.7465177359805[/C][/ROW]
[ROW][C]7[/C][C]650[/C][C]605.577387883791[/C][C]44.4226121162094[/C][/ROW]
[ROW][C]8[/C][C]720[/C][C]838.087955082145[/C][C]-118.087955082145[/C][/ROW]
[ROW][C]9[/C][C]795[/C][C]751.841601043195[/C][C]43.1583989568052[/C][/ROW]
[ROW][C]10[/C][C]515[/C][C]580.373958162451[/C][C]-65.3739581624513[/C][/ROW]
[ROW][C]11[/C][C]535[/C][C]614.027547539957[/C][C]-79.0275475399574[/C][/ROW]
[ROW][C]12[/C][C]550[/C][C]505.961255685094[/C][C]44.0387443149056[/C][/ROW]
[ROW][C]13[/C][C]600[/C][C]598.230881572532[/C][C]1.76911842746825[/C][/ROW]
[ROW][C]14[/C][C]600[/C][C]652.961091429166[/C][C]-52.9610914291661[/C][/ROW]
[ROW][C]15[/C][C]660[/C][C]653.2160631271[/C][C]6.78393687290036[/C][/ROW]
[ROW][C]16[/C][C]695[/C][C]625.153753074537[/C][C]69.8462469254633[/C][/ROW]
[ROW][C]17[/C][C]720[/C][C]711.457293790187[/C][C]8.54270620981256[/C][/ROW]
[ROW][C]18[/C][C]750[/C][C]681.33472629497[/C][C]68.6652737050302[/C][/ROW]
[ROW][C]19[/C][C]750[/C][C]787.830420637124[/C][C]-37.8304206371243[/C][/ROW]
[ROW][C]20[/C][C]850[/C][C]769.73299536783[/C][C]80.2670046321694[/C][/ROW]
[ROW][C]21[/C][C]850[/C][C]749.449184150071[/C][C]100.550815849929[/C][/ROW]
[ROW][C]22[/C][C]875[/C][C]795.46007520397[/C][C]79.5399247960297[/C][/ROW]
[ROW][C]23[/C][C]900[/C][C]783.194431118833[/C][C]116.805568881167[/C][/ROW]
[ROW][C]24[/C][C]595[/C][C]683.30962050327[/C][C]-88.30962050327[/C][/ROW]
[ROW][C]25[/C][C]765[/C][C]842.575100332479[/C][C]-77.575100332479[/C][/ROW]
[ROW][C]26[/C][C]495[/C][C]586.864174178739[/C][C]-91.8641741787393[/C][/ROW]
[ROW][C]27[/C][C]525[/C][C]514.786701917806[/C][C]10.2132980821943[/C][/ROW]
[ROW][C]28[/C][C]525[/C][C]510.299556667472[/C][C]14.7004433325284[/C][/ROW]
[ROW][C]29[/C][C]595[/C][C]591.591821288287[/C][C]3.40817871171328[/C][/ROW]
[ROW][C]30[/C][C]650[/C][C]633.979199307248[/C][C]16.0208006927520[/C][/ROW]
[ROW][C]31[/C][C]695[/C][C]743.483098978284[/C][C]-48.4830989782842[/C][/ROW]
[ROW][C]32[/C][C]615[/C][C]600.282963533368[/C][C]14.7170364666322[/C][/ROW]
[ROW][C]33[/C][C]460[/C][C]566.820864820193[/C][C]-106.820864820193[/C][/ROW]
[ROW][C]34[/C][C]650[/C][C]707.988919380108[/C][C]-57.9889193801079[/C][/ROW]
[ROW][C]35[/C][C]650[/C][C]652.975561267886[/C][C]-2.97556126788644[/C][/ROW]
[ROW][C]36[/C][C]475[/C][C]506.364238089591[/C][C]-31.3642380895913[/C][/ROW]
[ROW][C]37[/C][C]530[/C][C]556.770616802569[/C][C]-26.7706168025689[/C][/ROW]
[ROW][C]38[/C][C]575[/C][C]697.938671362484[/C][C]-122.938671362484[/C][/ROW]
[ROW][C]39[/C][C]650[/C][C]674.335330002602[/C][C]-24.3353300026018[/C][/ROW]
[ROW][C]40[/C][C]650[/C][C]692.312087561592[/C][C]-42.312087561592[/C][/ROW]
[ROW][C]41[/C][C]875[/C][C]785.346346152744[/C][C]89.653653847256[/C][/ROW]
[ROW][C]42[/C][C]500[/C][C]626.937156618506[/C][C]-126.937156618506[/C][/ROW]
[ROW][C]43[/C][C]625[/C][C]524.284642533274[/C][C]100.715357466726[/C][/ROW]
[ROW][C]44[/C][C]730[/C][C]736.079405990325[/C][C]-6.07940599032447[/C][/ROW]
[ROW][C]45[/C][C]750[/C][C]820.167550638462[/C][C]-70.1675506384617[/C][/ROW]
[ROW][C]46[/C][C]700[/C][C]544.193647904191[/C][C]155.806352095809[/C][/ROW]
[ROW][C]47[/C][C]830[/C][C]762.910619901073[/C][C]67.0893800989268[/C][/ROW]
[ROW][C]48[/C][C]995[/C][C]709.15653448832[/C][C]285.843465511680[/C][/ROW]
[ROW][C]49[/C][C]850[/C][C]849.30581820798[/C][C]0.694181792019827[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=99316&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=99316&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
1475452.11551268108522.8844873189153
2530509.68376823171420.3162317682862
3550592.667778805242-42.6677788052421
4550628.401626701238-78.401626701238
5625664.433926252935-39.433926252935
6650677.74651773598-27.7465177359805
7650605.57738788379144.4226121162094
8720838.087955082145-118.087955082145
9795751.84160104319543.1583989568052
10515580.373958162451-65.3739581624513
11535614.027547539957-79.0275475399574
12550505.96125568509444.0387443149056
13600598.2308815725321.76911842746825
14600652.961091429166-52.9610914291661
15660653.21606312716.78393687290036
16695625.15375307453769.8462469254633
17720711.4572937901878.54270620981256
18750681.3347262949768.6652737050302
19750787.830420637124-37.8304206371243
20850769.7329953678380.2670046321694
21850749.449184150071100.550815849929
22875795.4600752039779.5399247960297
23900783.194431118833116.805568881167
24595683.30962050327-88.30962050327
25765842.575100332479-77.575100332479
26495586.864174178739-91.8641741787393
27525514.78670191780610.2132980821943
28525510.29955666747214.7004433325284
29595591.5918212882873.40817871171328
30650633.97919930724816.0208006927520
31695743.483098978284-48.4830989782842
32615600.28296353336814.7170364666322
33460566.820864820193-106.820864820193
34650707.988919380108-57.9889193801079
35650652.975561267886-2.97556126788644
36475506.364238089591-31.3642380895913
37530556.770616802569-26.7706168025689
38575697.938671362484-122.938671362484
39650674.335330002602-24.3353300026018
40650692.312087561592-42.312087561592
41875785.34634615274489.653653847256
42500626.937156618506-126.937156618506
43625524.284642533274100.715357466726
44730736.079405990325-6.07940599032447
45750820.167550638462-70.1675506384617
46700544.193647904191155.806352095809
47830762.91061990107367.0893800989268
48995709.15653448832285.843465511680
49850849.305818207980.694181792019827







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
90.1314320748797180.2628641497594360.868567925120282
100.05217408573759430.1043481714751890.947825914262406
110.02088001436191880.04176002872383750.979119985638081
120.007336802724216710.01467360544843340.992663197275783
130.002836410954287560.005672821908575120.997163589045712
140.001148051378332080.002296102756664160.998851948621668
150.001556975406814900.003113950813629810.998443024593185
160.001470403046687460.002940806093374920.998529596953313
170.0006398138968205440.001279627793641090.99936018610318
180.01035917888631540.02071835777263090.989640821113685
190.005333491046475730.01066698209295150.994666508953524
200.01508258453466700.03016516906933390.984917415465333
210.01276195462479780.02552390924959550.987238045375202
220.01532458029427930.03064916058855860.98467541970572
230.02185088993727300.04370177987454610.978149110062727
240.04445814552448690.08891629104897380.955541854475513
250.04574351397721280.09148702795442570.954256486022787
260.06758473341257280.1351694668251460.932415266587427
270.04213032342203690.08426064684407380.957869676577963
280.02614643755755380.05229287511510750.973853562442446
290.01661821638481200.03323643276962410.983381783615188
300.009704129884690230.01940825976938050.99029587011531
310.006492127365141920.01298425473028380.993507872634858
320.003788679153559510.007577358307119030.99621132084644
330.005612758910551440.01122551782110290.994387241089449
340.003532525019149170.007065050038298330.99646747498085
350.001648035583139750.003296071166279490.99835196441686
360.000959940767679190.001919881535358380.99904005923232
370.0009238911923770770.001847782384754150.999076108807623
380.002192162254243000.004384324508486010.997807837745757
390.001038042874666560.002076085749333120.998961957125333
400.0006468476482675370.001293695296535070.999353152351732

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
9 & 0.131432074879718 & 0.262864149759436 & 0.868567925120282 \tabularnewline
10 & 0.0521740857375943 & 0.104348171475189 & 0.947825914262406 \tabularnewline
11 & 0.0208800143619188 & 0.0417600287238375 & 0.979119985638081 \tabularnewline
12 & 0.00733680272421671 & 0.0146736054484334 & 0.992663197275783 \tabularnewline
13 & 0.00283641095428756 & 0.00567282190857512 & 0.997163589045712 \tabularnewline
14 & 0.00114805137833208 & 0.00229610275666416 & 0.998851948621668 \tabularnewline
15 & 0.00155697540681490 & 0.00311395081362981 & 0.998443024593185 \tabularnewline
16 & 0.00147040304668746 & 0.00294080609337492 & 0.998529596953313 \tabularnewline
17 & 0.000639813896820544 & 0.00127962779364109 & 0.99936018610318 \tabularnewline
18 & 0.0103591788863154 & 0.0207183577726309 & 0.989640821113685 \tabularnewline
19 & 0.00533349104647573 & 0.0106669820929515 & 0.994666508953524 \tabularnewline
20 & 0.0150825845346670 & 0.0301651690693339 & 0.984917415465333 \tabularnewline
21 & 0.0127619546247978 & 0.0255239092495955 & 0.987238045375202 \tabularnewline
22 & 0.0153245802942793 & 0.0306491605885586 & 0.98467541970572 \tabularnewline
23 & 0.0218508899372730 & 0.0437017798745461 & 0.978149110062727 \tabularnewline
24 & 0.0444581455244869 & 0.0889162910489738 & 0.955541854475513 \tabularnewline
25 & 0.0457435139772128 & 0.0914870279544257 & 0.954256486022787 \tabularnewline
26 & 0.0675847334125728 & 0.135169466825146 & 0.932415266587427 \tabularnewline
27 & 0.0421303234220369 & 0.0842606468440738 & 0.957869676577963 \tabularnewline
28 & 0.0261464375575538 & 0.0522928751151075 & 0.973853562442446 \tabularnewline
29 & 0.0166182163848120 & 0.0332364327696241 & 0.983381783615188 \tabularnewline
30 & 0.00970412988469023 & 0.0194082597693805 & 0.99029587011531 \tabularnewline
31 & 0.00649212736514192 & 0.0129842547302838 & 0.993507872634858 \tabularnewline
32 & 0.00378867915355951 & 0.00757735830711903 & 0.99621132084644 \tabularnewline
33 & 0.00561275891055144 & 0.0112255178211029 & 0.994387241089449 \tabularnewline
34 & 0.00353252501914917 & 0.00706505003829833 & 0.99646747498085 \tabularnewline
35 & 0.00164803558313975 & 0.00329607116627949 & 0.99835196441686 \tabularnewline
36 & 0.00095994076767919 & 0.00191988153535838 & 0.99904005923232 \tabularnewline
37 & 0.000923891192377077 & 0.00184778238475415 & 0.999076108807623 \tabularnewline
38 & 0.00219216225424300 & 0.00438432450848601 & 0.997807837745757 \tabularnewline
39 & 0.00103804287466656 & 0.00207608574933312 & 0.998961957125333 \tabularnewline
40 & 0.000646847648267537 & 0.00129369529653507 & 0.999353152351732 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=99316&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]9[/C][C]0.131432074879718[/C][C]0.262864149759436[/C][C]0.868567925120282[/C][/ROW]
[ROW][C]10[/C][C]0.0521740857375943[/C][C]0.104348171475189[/C][C]0.947825914262406[/C][/ROW]
[ROW][C]11[/C][C]0.0208800143619188[/C][C]0.0417600287238375[/C][C]0.979119985638081[/C][/ROW]
[ROW][C]12[/C][C]0.00733680272421671[/C][C]0.0146736054484334[/C][C]0.992663197275783[/C][/ROW]
[ROW][C]13[/C][C]0.00283641095428756[/C][C]0.00567282190857512[/C][C]0.997163589045712[/C][/ROW]
[ROW][C]14[/C][C]0.00114805137833208[/C][C]0.00229610275666416[/C][C]0.998851948621668[/C][/ROW]
[ROW][C]15[/C][C]0.00155697540681490[/C][C]0.00311395081362981[/C][C]0.998443024593185[/C][/ROW]
[ROW][C]16[/C][C]0.00147040304668746[/C][C]0.00294080609337492[/C][C]0.998529596953313[/C][/ROW]
[ROW][C]17[/C][C]0.000639813896820544[/C][C]0.00127962779364109[/C][C]0.99936018610318[/C][/ROW]
[ROW][C]18[/C][C]0.0103591788863154[/C][C]0.0207183577726309[/C][C]0.989640821113685[/C][/ROW]
[ROW][C]19[/C][C]0.00533349104647573[/C][C]0.0106669820929515[/C][C]0.994666508953524[/C][/ROW]
[ROW][C]20[/C][C]0.0150825845346670[/C][C]0.0301651690693339[/C][C]0.984917415465333[/C][/ROW]
[ROW][C]21[/C][C]0.0127619546247978[/C][C]0.0255239092495955[/C][C]0.987238045375202[/C][/ROW]
[ROW][C]22[/C][C]0.0153245802942793[/C][C]0.0306491605885586[/C][C]0.98467541970572[/C][/ROW]
[ROW][C]23[/C][C]0.0218508899372730[/C][C]0.0437017798745461[/C][C]0.978149110062727[/C][/ROW]
[ROW][C]24[/C][C]0.0444581455244869[/C][C]0.0889162910489738[/C][C]0.955541854475513[/C][/ROW]
[ROW][C]25[/C][C]0.0457435139772128[/C][C]0.0914870279544257[/C][C]0.954256486022787[/C][/ROW]
[ROW][C]26[/C][C]0.0675847334125728[/C][C]0.135169466825146[/C][C]0.932415266587427[/C][/ROW]
[ROW][C]27[/C][C]0.0421303234220369[/C][C]0.0842606468440738[/C][C]0.957869676577963[/C][/ROW]
[ROW][C]28[/C][C]0.0261464375575538[/C][C]0.0522928751151075[/C][C]0.973853562442446[/C][/ROW]
[ROW][C]29[/C][C]0.0166182163848120[/C][C]0.0332364327696241[/C][C]0.983381783615188[/C][/ROW]
[ROW][C]30[/C][C]0.00970412988469023[/C][C]0.0194082597693805[/C][C]0.99029587011531[/C][/ROW]
[ROW][C]31[/C][C]0.00649212736514192[/C][C]0.0129842547302838[/C][C]0.993507872634858[/C][/ROW]
[ROW][C]32[/C][C]0.00378867915355951[/C][C]0.00757735830711903[/C][C]0.99621132084644[/C][/ROW]
[ROW][C]33[/C][C]0.00561275891055144[/C][C]0.0112255178211029[/C][C]0.994387241089449[/C][/ROW]
[ROW][C]34[/C][C]0.00353252501914917[/C][C]0.00706505003829833[/C][C]0.99646747498085[/C][/ROW]
[ROW][C]35[/C][C]0.00164803558313975[/C][C]0.00329607116627949[/C][C]0.99835196441686[/C][/ROW]
[ROW][C]36[/C][C]0.00095994076767919[/C][C]0.00191988153535838[/C][C]0.99904005923232[/C][/ROW]
[ROW][C]37[/C][C]0.000923891192377077[/C][C]0.00184778238475415[/C][C]0.999076108807623[/C][/ROW]
[ROW][C]38[/C][C]0.00219216225424300[/C][C]0.00438432450848601[/C][C]0.997807837745757[/C][/ROW]
[ROW][C]39[/C][C]0.00103804287466656[/C][C]0.00207608574933312[/C][C]0.998961957125333[/C][/ROW]
[ROW][C]40[/C][C]0.000646847648267537[/C][C]0.00129369529653507[/C][C]0.999353152351732[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=99316&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=99316&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
90.1314320748797180.2628641497594360.868567925120282
100.05217408573759430.1043481714751890.947825914262406
110.02088001436191880.04176002872383750.979119985638081
120.007336802724216710.01467360544843340.992663197275783
130.002836410954287560.005672821908575120.997163589045712
140.001148051378332080.002296102756664160.998851948621668
150.001556975406814900.003113950813629810.998443024593185
160.001470403046687460.002940806093374920.998529596953313
170.0006398138968205440.001279627793641090.99936018610318
180.01035917888631540.02071835777263090.989640821113685
190.005333491046475730.01066698209295150.994666508953524
200.01508258453466700.03016516906933390.984917415465333
210.01276195462479780.02552390924959550.987238045375202
220.01532458029427930.03064916058855860.98467541970572
230.02185088993727300.04370177987454610.978149110062727
240.04445814552448690.08891629104897380.955541854475513
250.04574351397721280.09148702795442570.954256486022787
260.06758473341257280.1351694668251460.932415266587427
270.04213032342203690.08426064684407380.957869676577963
280.02614643755755380.05229287511510750.973853562442446
290.01661821638481200.03323643276962410.983381783615188
300.009704129884690230.01940825976938050.99029587011531
310.006492127365141920.01298425473028380.993507872634858
320.003788679153559510.007577358307119030.99621132084644
330.005612758910551440.01122551782110290.994387241089449
340.003532525019149170.007065050038298330.99646747498085
350.001648035583139750.003296071166279490.99835196441686
360.000959940767679190.001919881535358380.99904005923232
370.0009238911923770770.001847782384754150.999076108807623
380.002192162254243000.004384324508486010.997807837745757
390.001038042874666560.002076085749333120.998961957125333
400.0006468476482675370.001293695296535070.999353152351732







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level130.40625NOK
5% type I error level250.78125NOK
10% type I error level290.90625NOK

\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 & 13 & 0.40625 & NOK \tabularnewline
5% type I error level & 25 & 0.78125 & NOK \tabularnewline
10% type I error level & 29 & 0.90625 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=99316&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]13[/C][C]0.40625[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]25[/C][C]0.78125[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]29[/C][C]0.90625[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=99316&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=99316&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 level130.40625NOK
5% type I error level250.78125NOK
10% type I error level290.90625NOK



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