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, 06 Dec 2012 15:11:38 -0500
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2012/Dec/06/t1354824740sf8chwz7jc3fnpz.htm/, Retrieved Wed, 24 Apr 2024 08:04:30 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=197243, Retrieved Wed, 24 Apr 2024 08:04:30 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact129
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]
- R PD  [Multiple Regression] [workshop 7: regre...] [2012-11-02 15:42:59] [40b341cf5fb1ddfd74e4c5704837f48c]
-   PD    [Multiple Regression] [workshop 7: Y_t m...] [2012-11-02 16:52:03] [40b341cf5fb1ddfd74e4c5704837f48c]
-           [Multiple Regression] [workshop 7: deter...] [2012-11-02 17:20:14] [40b341cf5fb1ddfd74e4c5704837f48c]
-   PD        [Multiple Regression] [workshop 7: berek...] [2012-11-02 19:46:17] [40b341cf5fb1ddfd74e4c5704837f48c]
-    D          [Multiple Regression] [Paper 2012: invoe...] [2012-12-06 20:03:52] [40b341cf5fb1ddfd74e4c5704837f48c]
-    D              [Multiple Regression] [Paper 2012: invo...] [2012-12-06 20:11:38] [7a9100b3135ff0dae36397155af309d9] [Current]
Feedback Forum

Post a new message
Dataseries X:
31/12/1961	9190	0	0	5064	0	3103	0	1023	0
31/12/1962	9251	1	9251	5109	5109	3112	3112	1030	1030
31/12/1963	9328	0	0	5161	0	3127	0	1041	0
31/12/1964	9428	1	9428	5218	5218	3153	3153	1058	1058
31/12/1965	9499	0	0	5264	0	3169	0	1066	0
31/12/1966	9556	1	9556	5308	5308	3174	3174	1074	1074
31/12/1967	9606	0	0	5347	0	3179	0	1079	0
31/12/1968	9632	1	9632	5373	5373	3181	3181	1077	1077
31/12/1969	9660	0	0	5404	0	3183	0	1073	0
31/12/1970	9651	1	9651	5416	5416	3160	3160	1075	1075
31/12/1971	9695	0	0	5452	0	3170	0	1074	0
31/12/1972	9727	1	9727	5478	5478	3180	3180	1069	1069
31/12/1973	9757	0	0	5501	0	3192	0	1064	0
31/12/1974	9788	1	9788	5527	5527	3206	3206	1055	1055
31/12/1975	9813	0	0	5548	0	3213	0	1051	0
31/12/1976	9823	1	9823	5566	5566	3215	3215	1042	1042
31/12/1977	9837	0	0	5584	0	3224	0	1029	0
31/12/1978	9842	1	9842	5601	5601	3225	3225	1016	1016
31/12/1979	9855	0	0	5619	0	3228	0	1009	0
31/12/1980	9863	1	9863	5635	5635	3229	3229	1000	1000
31/12/1981	9855	0	0	5642	0	3218	0	994	0
31/12/1982	9858	1	9858	5655	5655	3213	3213	990	990
31/12/1983	9853	0	0	5662	0	3208	0	983	0
31/12/1984	9858	1	9858	5670	5670	3208	3208	979	979
31/12/1985	9859	0	0	5676	0	3206	0	976	0
31/12/1986	9865	1	9865	5685	5685	3206	3206	973	973
31/12/1987	9876	0	0	5696	0	3210	0	970	0
31/12/1988	9928	1	9928	5722	5722	3235	3235	970	970
31/12/1989	9948	0	0	5740	0	3244	0	964	0
31/12/1990	9987	1	9987	5768	5768	3259	3259	961	961
31/12/1991	10022	0	0	5795	0	3276	0	951	0
31/12/1992	10068	1	10068	5825	5825	3293	3293	950	950
31/12/1993	10101	0	0	5847	0	3305	0	949	0
31/12/1994	10131	1	10131	5866	5866	3313	3313	952	952
31/12/1995	10143	0	0	5880	0	3315	0	948	0
31/12/1996	10170	1	10170	5899	5899	3320	3320	951	951
31/12/1997	10192	0	0	5913	0	3326	0	953	0
31/12/1998	10214	1	10214	5927	5927	3332	3332	955	955
31/12/1999	10239	0	0	5941	0	3340	0	959	0
31/12/2000	10263	1	10263	5953	5953	3346	3346	964	964
31/12/2001	10310	0	0	5973	0	3358	0	979	0
31/12/2002	10355	1	10355	5995	5995	3369	3369	992	992
31/12/2003	10396	0	0	6016	0	3380	0	1000	0
31/12/2004	10446	1	10446	6043	6043	3396	3396	1007	1007
31/12/2005	10511	0	0	6078	0	3414	0	1019	0
31/12/2006	10585	1	10585	6117	6117	3436	3436	1031	1031
31/12/2007	10667	0	0	6162	0	3456	0	1049	0
31/12/2008	10753	1	10753	6209	6209	3476	3476	1069	1069
31/12/2009	10840	0	0	6252	0	3498	0	1090	0
31/12/2010	10951	1	10951	6306	6306	3525	3525	1119	1119





Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time10 seconds
R Server'Herman Ole Andreas Wold' @ wold.wessa.net
R Framework error message
Warning: there are blank lines in the 'Data X' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.

\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 & 10 seconds \tabularnewline
R Server & 'Herman Ole Andreas Wold' @ wold.wessa.net \tabularnewline
R Framework error message & 
Warning: there are blank lines in the 'Data X' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=197243&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]10 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Herman Ole Andreas Wold' @ wold.wessa.net[/C][/ROW]
[ROW][C]R Framework error message[/C][C]
Warning: there are blank lines in the 'Data X' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=197243&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=197243&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 time10 seconds
R Server'Herman Ole Andreas Wold' @ wold.wessa.net
R Framework error message
Warning: there are blank lines in the 'Data X' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.







Multiple Linear Regression - Estimated Regression Equation
totaal[t] = + 7894.10784642673 -5984937.24205833jaar[t] -4.24806024091576pop[t] + 1.01189721469291pop_t[t] + 0.9963217503198totaal_vlaams_gewest[t] -1.01362201275628pop_vlaams_gewest[t] + 1.0016672443557totaal_waals_gewest[t] -1.00684777277755waals_gewest_pop[t] + 1.0069404337548totaal_brussel[t] -1.01428104293863totaal_brussel_pop[t] -3.85083594364875t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
totaal[t] =  +  7894.10784642673 -5984937.24205833jaar[t] -4.24806024091576pop[t] +  1.01189721469291pop_t[t] +  0.9963217503198totaal_vlaams_gewest[t] -1.01362201275628pop_vlaams_gewest[t] +  1.0016672443557totaal_waals_gewest[t] -1.00684777277755waals_gewest_pop[t] +  1.0069404337548totaal_brussel[t] -1.01428104293863totaal_brussel_pop[t] -3.85083594364875t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=197243&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]totaal[t] =  +  7894.10784642673 -5984937.24205833jaar[t] -4.24806024091576pop[t] +  1.01189721469291pop_t[t] +  0.9963217503198totaal_vlaams_gewest[t] -1.01362201275628pop_vlaams_gewest[t] +  1.0016672443557totaal_waals_gewest[t] -1.00684777277755waals_gewest_pop[t] +  1.0069404337548totaal_brussel[t] -1.01428104293863totaal_brussel_pop[t] -3.85083594364875t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=197243&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=197243&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
totaal[t] = + 7894.10784642673 -5984937.24205833jaar[t] -4.24806024091576pop[t] + 1.01189721469291pop_t[t] + 0.9963217503198totaal_vlaams_gewest[t] -1.01362201275628pop_vlaams_gewest[t] + 1.0016672443557totaal_waals_gewest[t] -1.00684777277755waals_gewest_pop[t] + 1.0069404337548totaal_brussel[t] -1.01428104293863totaal_brussel_pop[t] -3.85083594364875t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)7894.107846426739225.9401880.85560.3974220.198711
jaar-5984937.242058336995127.030118-0.85560.3974530.198726
pop-4.248060240915766.357135-0.66820.5079190.25396
pop_t1.011897214692910.1407877.187400
totaal_vlaams_gewest0.99632175031980.007083140.668300
pop_vlaams_gewest-1.013622012756280.141265-7.175300
totaal_waals_gewest1.00166724435570.008569116.897800
waals_gewest_pop-1.006847772777550.139649-7.209800
totaal_brussel1.00694043375480.006875146.456700
totaal_brussel_pop-1.014281042938630.141528-7.166600
t-3.850835943648754.485331-0.85850.395840.19792

\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) & 7894.10784642673 & 9225.940188 & 0.8556 & 0.397422 & 0.198711 \tabularnewline
jaar & -5984937.24205833 & 6995127.030118 & -0.8556 & 0.397453 & 0.198726 \tabularnewline
pop & -4.24806024091576 & 6.357135 & -0.6682 & 0.507919 & 0.25396 \tabularnewline
pop_t & 1.01189721469291 & 0.140787 & 7.1874 & 0 & 0 \tabularnewline
totaal_vlaams_gewest & 0.9963217503198 & 0.007083 & 140.6683 & 0 & 0 \tabularnewline
pop_vlaams_gewest & -1.01362201275628 & 0.141265 & -7.1753 & 0 & 0 \tabularnewline
totaal_waals_gewest & 1.0016672443557 & 0.008569 & 116.8978 & 0 & 0 \tabularnewline
waals_gewest_pop & -1.00684777277755 & 0.139649 & -7.2098 & 0 & 0 \tabularnewline
totaal_brussel & 1.0069404337548 & 0.006875 & 146.4567 & 0 & 0 \tabularnewline
totaal_brussel_pop & -1.01428104293863 & 0.141528 & -7.1666 & 0 & 0 \tabularnewline
t & -3.85083594364875 & 4.485331 & -0.8585 & 0.39584 & 0.19792 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=197243&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]7894.10784642673[/C][C]9225.940188[/C][C]0.8556[/C][C]0.397422[/C][C]0.198711[/C][/ROW]
[ROW][C]jaar[/C][C]-5984937.24205833[/C][C]6995127.030118[/C][C]-0.8556[/C][C]0.397453[/C][C]0.198726[/C][/ROW]
[ROW][C]pop[/C][C]-4.24806024091576[/C][C]6.357135[/C][C]-0.6682[/C][C]0.507919[/C][C]0.25396[/C][/ROW]
[ROW][C]pop_t[/C][C]1.01189721469291[/C][C]0.140787[/C][C]7.1874[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]totaal_vlaams_gewest[/C][C]0.9963217503198[/C][C]0.007083[/C][C]140.6683[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]pop_vlaams_gewest[/C][C]-1.01362201275628[/C][C]0.141265[/C][C]-7.1753[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]totaal_waals_gewest[/C][C]1.0016672443557[/C][C]0.008569[/C][C]116.8978[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]waals_gewest_pop[/C][C]-1.00684777277755[/C][C]0.139649[/C][C]-7.2098[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]totaal_brussel[/C][C]1.0069404337548[/C][C]0.006875[/C][C]146.4567[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]totaal_brussel_pop[/C][C]-1.01428104293863[/C][C]0.141528[/C][C]-7.1666[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]t[/C][C]-3.85083594364875[/C][C]4.485331[/C][C]-0.8585[/C][C]0.39584[/C][C]0.19792[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=197243&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=197243&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)7894.107846426739225.9401880.85560.3974220.198711
jaar-5984937.242058336995127.030118-0.85560.3974530.198726
pop-4.248060240915766.357135-0.66820.5079190.25396
pop_t1.011897214692910.1407877.187400
totaal_vlaams_gewest0.99632175031980.007083140.668300
pop_vlaams_gewest-1.013622012756280.141265-7.175300
totaal_waals_gewest1.00166724435570.008569116.897800
waals_gewest_pop-1.006847772777550.139649-7.209800
totaal_brussel1.00694043375480.006875146.456700
totaal_brussel_pop-1.014281042938630.141528-7.166600
t-3.850835943648754.485331-0.85850.395840.19792







Multiple Linear Regression - Regression Statistics
Multiple R0.999999510190234
R-squared0.999999020380709
Adjusted R-squared0.999998769196275
F-TEST (value)3981134.52199187
F-TEST (DF numerator)10
F-TEST (DF denominator)39
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.437535099511172
Sum Squared Residuals7.46604156886578

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.999999510190234 \tabularnewline
R-squared & 0.999999020380709 \tabularnewline
Adjusted R-squared & 0.999998769196275 \tabularnewline
F-TEST (value) & 3981134.52199187 \tabularnewline
F-TEST (DF numerator) & 10 \tabularnewline
F-TEST (DF denominator) & 39 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.437535099511172 \tabularnewline
Sum Squared Residuals & 7.46604156886578 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=197243&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.999999510190234[/C][/ROW]
[ROW][C]R-squared[/C][C]0.999999020380709[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.999998769196275[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]3981134.52199187[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]10[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]39[/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]0.437535099511172[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]7.46604156886578[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=197243&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=197243&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.999999510190234
R-squared0.999999020380709
Adjusted R-squared0.999998769196275
F-TEST (value)3981134.52199187
F-TEST (DF numerator)10
F-TEST (DF denominator)39
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.437535099511172
Sum Squared Residuals7.46604156886578







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
191909189.616332287540.383667712462962
292519250.880525125430.119474874574835
393289328.75570797645-0.755707976451846
494289428.00570681055-0.00570681055099114
594999498.935255650560.0647443494389326
695569556.05200085409-0.052000854087941
796069605.03542922130.964570778701347
896329632.06382440263-0.0638244026303742
996609660.07311317991-0.0731131799065256
1096519650.943642695090.0563573049093331
1196959696.1479383461-1.1479383460985
1297279726.973679750420.0263202495812908
1397579757.18494039595-0.184940395951372
1497889788.06167461423-0.0616746142293476
1598139812.190705826110.809294173889648
1698239823.0779927836-0.0779927836005588
1798379837.14173995776-0.141739957758986
1898429842.0473726247-0.0473726246966059
1998559856.08265547668-1.08265547667913
2098639862.999541482210.000458517793079122
2198559854.063112201760.936887798239709
2298589857.928218974760.0717810252385898
2398539853.06645515915-0.0664551591527445
2498589857.937352467740.0626475322588148
2598599858.117105144180.882894855818415
2698659864.961683645130.0383163548707539
2798769876.14681526853-0.146815268527113
2899289928.0732444772-0.0732444772004724
2999489948.12249817389-0.122498173893168
3099879987.0357176091-0.0357176090990198
311002210021.99008376390.00991623606168396
321006810068.0168071529-0.0168071529073484
331010110100.92437542020.075624579822161
341013110131.0220023788-0.0220023788197455
351014310142.88819202330.111807976749749
361017010169.95383415620.0461658438244485
371019210191.87974082930.120259170698654
381021410213.95349338880.0465066111752354
391023910239.886092163-0.886092162981523
401026310262.98466753750.0153324625496398
411031010309.96608122970.0339187702885007
421035510355.0490602853-0.0490602852604938
431039610396.0037810263-0.00378102629732041
441044610446.0570452369-0.0570452368540121
451051110510.96232840720.0376715928095495
461058510585.0375086117-0.0375086117309632
471066710666.91429129890.0857087011022173
481075310752.93349517620.0665048237866482
491084010839.90522957240.094770427614709
501095110950.94990775890.0500922411052053

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 9190 & 9189.61633228754 & 0.383667712462962 \tabularnewline
2 & 9251 & 9250.88052512543 & 0.119474874574835 \tabularnewline
3 & 9328 & 9328.75570797645 & -0.755707976451846 \tabularnewline
4 & 9428 & 9428.00570681055 & -0.00570681055099114 \tabularnewline
5 & 9499 & 9498.93525565056 & 0.0647443494389326 \tabularnewline
6 & 9556 & 9556.05200085409 & -0.052000854087941 \tabularnewline
7 & 9606 & 9605.0354292213 & 0.964570778701347 \tabularnewline
8 & 9632 & 9632.06382440263 & -0.0638244026303742 \tabularnewline
9 & 9660 & 9660.07311317991 & -0.0731131799065256 \tabularnewline
10 & 9651 & 9650.94364269509 & 0.0563573049093331 \tabularnewline
11 & 9695 & 9696.1479383461 & -1.1479383460985 \tabularnewline
12 & 9727 & 9726.97367975042 & 0.0263202495812908 \tabularnewline
13 & 9757 & 9757.18494039595 & -0.184940395951372 \tabularnewline
14 & 9788 & 9788.06167461423 & -0.0616746142293476 \tabularnewline
15 & 9813 & 9812.19070582611 & 0.809294173889648 \tabularnewline
16 & 9823 & 9823.0779927836 & -0.0779927836005588 \tabularnewline
17 & 9837 & 9837.14173995776 & -0.141739957758986 \tabularnewline
18 & 9842 & 9842.0473726247 & -0.0473726246966059 \tabularnewline
19 & 9855 & 9856.08265547668 & -1.08265547667913 \tabularnewline
20 & 9863 & 9862.99954148221 & 0.000458517793079122 \tabularnewline
21 & 9855 & 9854.06311220176 & 0.936887798239709 \tabularnewline
22 & 9858 & 9857.92821897476 & 0.0717810252385898 \tabularnewline
23 & 9853 & 9853.06645515915 & -0.0664551591527445 \tabularnewline
24 & 9858 & 9857.93735246774 & 0.0626475322588148 \tabularnewline
25 & 9859 & 9858.11710514418 & 0.882894855818415 \tabularnewline
26 & 9865 & 9864.96168364513 & 0.0383163548707539 \tabularnewline
27 & 9876 & 9876.14681526853 & -0.146815268527113 \tabularnewline
28 & 9928 & 9928.0732444772 & -0.0732444772004724 \tabularnewline
29 & 9948 & 9948.12249817389 & -0.122498173893168 \tabularnewline
30 & 9987 & 9987.0357176091 & -0.0357176090990198 \tabularnewline
31 & 10022 & 10021.9900837639 & 0.00991623606168396 \tabularnewline
32 & 10068 & 10068.0168071529 & -0.0168071529073484 \tabularnewline
33 & 10101 & 10100.9243754202 & 0.075624579822161 \tabularnewline
34 & 10131 & 10131.0220023788 & -0.0220023788197455 \tabularnewline
35 & 10143 & 10142.8881920233 & 0.111807976749749 \tabularnewline
36 & 10170 & 10169.9538341562 & 0.0461658438244485 \tabularnewline
37 & 10192 & 10191.8797408293 & 0.120259170698654 \tabularnewline
38 & 10214 & 10213.9534933888 & 0.0465066111752354 \tabularnewline
39 & 10239 & 10239.886092163 & -0.886092162981523 \tabularnewline
40 & 10263 & 10262.9846675375 & 0.0153324625496398 \tabularnewline
41 & 10310 & 10309.9660812297 & 0.0339187702885007 \tabularnewline
42 & 10355 & 10355.0490602853 & -0.0490602852604938 \tabularnewline
43 & 10396 & 10396.0037810263 & -0.00378102629732041 \tabularnewline
44 & 10446 & 10446.0570452369 & -0.0570452368540121 \tabularnewline
45 & 10511 & 10510.9623284072 & 0.0376715928095495 \tabularnewline
46 & 10585 & 10585.0375086117 & -0.0375086117309632 \tabularnewline
47 & 10667 & 10666.9142912989 & 0.0857087011022173 \tabularnewline
48 & 10753 & 10752.9334951762 & 0.0665048237866482 \tabularnewline
49 & 10840 & 10839.9052295724 & 0.094770427614709 \tabularnewline
50 & 10951 & 10950.9499077589 & 0.0500922411052053 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=197243&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]9190[/C][C]9189.61633228754[/C][C]0.383667712462962[/C][/ROW]
[ROW][C]2[/C][C]9251[/C][C]9250.88052512543[/C][C]0.119474874574835[/C][/ROW]
[ROW][C]3[/C][C]9328[/C][C]9328.75570797645[/C][C]-0.755707976451846[/C][/ROW]
[ROW][C]4[/C][C]9428[/C][C]9428.00570681055[/C][C]-0.00570681055099114[/C][/ROW]
[ROW][C]5[/C][C]9499[/C][C]9498.93525565056[/C][C]0.0647443494389326[/C][/ROW]
[ROW][C]6[/C][C]9556[/C][C]9556.05200085409[/C][C]-0.052000854087941[/C][/ROW]
[ROW][C]7[/C][C]9606[/C][C]9605.0354292213[/C][C]0.964570778701347[/C][/ROW]
[ROW][C]8[/C][C]9632[/C][C]9632.06382440263[/C][C]-0.0638244026303742[/C][/ROW]
[ROW][C]9[/C][C]9660[/C][C]9660.07311317991[/C][C]-0.0731131799065256[/C][/ROW]
[ROW][C]10[/C][C]9651[/C][C]9650.94364269509[/C][C]0.0563573049093331[/C][/ROW]
[ROW][C]11[/C][C]9695[/C][C]9696.1479383461[/C][C]-1.1479383460985[/C][/ROW]
[ROW][C]12[/C][C]9727[/C][C]9726.97367975042[/C][C]0.0263202495812908[/C][/ROW]
[ROW][C]13[/C][C]9757[/C][C]9757.18494039595[/C][C]-0.184940395951372[/C][/ROW]
[ROW][C]14[/C][C]9788[/C][C]9788.06167461423[/C][C]-0.0616746142293476[/C][/ROW]
[ROW][C]15[/C][C]9813[/C][C]9812.19070582611[/C][C]0.809294173889648[/C][/ROW]
[ROW][C]16[/C][C]9823[/C][C]9823.0779927836[/C][C]-0.0779927836005588[/C][/ROW]
[ROW][C]17[/C][C]9837[/C][C]9837.14173995776[/C][C]-0.141739957758986[/C][/ROW]
[ROW][C]18[/C][C]9842[/C][C]9842.0473726247[/C][C]-0.0473726246966059[/C][/ROW]
[ROW][C]19[/C][C]9855[/C][C]9856.08265547668[/C][C]-1.08265547667913[/C][/ROW]
[ROW][C]20[/C][C]9863[/C][C]9862.99954148221[/C][C]0.000458517793079122[/C][/ROW]
[ROW][C]21[/C][C]9855[/C][C]9854.06311220176[/C][C]0.936887798239709[/C][/ROW]
[ROW][C]22[/C][C]9858[/C][C]9857.92821897476[/C][C]0.0717810252385898[/C][/ROW]
[ROW][C]23[/C][C]9853[/C][C]9853.06645515915[/C][C]-0.0664551591527445[/C][/ROW]
[ROW][C]24[/C][C]9858[/C][C]9857.93735246774[/C][C]0.0626475322588148[/C][/ROW]
[ROW][C]25[/C][C]9859[/C][C]9858.11710514418[/C][C]0.882894855818415[/C][/ROW]
[ROW][C]26[/C][C]9865[/C][C]9864.96168364513[/C][C]0.0383163548707539[/C][/ROW]
[ROW][C]27[/C][C]9876[/C][C]9876.14681526853[/C][C]-0.146815268527113[/C][/ROW]
[ROW][C]28[/C][C]9928[/C][C]9928.0732444772[/C][C]-0.0732444772004724[/C][/ROW]
[ROW][C]29[/C][C]9948[/C][C]9948.12249817389[/C][C]-0.122498173893168[/C][/ROW]
[ROW][C]30[/C][C]9987[/C][C]9987.0357176091[/C][C]-0.0357176090990198[/C][/ROW]
[ROW][C]31[/C][C]10022[/C][C]10021.9900837639[/C][C]0.00991623606168396[/C][/ROW]
[ROW][C]32[/C][C]10068[/C][C]10068.0168071529[/C][C]-0.0168071529073484[/C][/ROW]
[ROW][C]33[/C][C]10101[/C][C]10100.9243754202[/C][C]0.075624579822161[/C][/ROW]
[ROW][C]34[/C][C]10131[/C][C]10131.0220023788[/C][C]-0.0220023788197455[/C][/ROW]
[ROW][C]35[/C][C]10143[/C][C]10142.8881920233[/C][C]0.111807976749749[/C][/ROW]
[ROW][C]36[/C][C]10170[/C][C]10169.9538341562[/C][C]0.0461658438244485[/C][/ROW]
[ROW][C]37[/C][C]10192[/C][C]10191.8797408293[/C][C]0.120259170698654[/C][/ROW]
[ROW][C]38[/C][C]10214[/C][C]10213.9534933888[/C][C]0.0465066111752354[/C][/ROW]
[ROW][C]39[/C][C]10239[/C][C]10239.886092163[/C][C]-0.886092162981523[/C][/ROW]
[ROW][C]40[/C][C]10263[/C][C]10262.9846675375[/C][C]0.0153324625496398[/C][/ROW]
[ROW][C]41[/C][C]10310[/C][C]10309.9660812297[/C][C]0.0339187702885007[/C][/ROW]
[ROW][C]42[/C][C]10355[/C][C]10355.0490602853[/C][C]-0.0490602852604938[/C][/ROW]
[ROW][C]43[/C][C]10396[/C][C]10396.0037810263[/C][C]-0.00378102629732041[/C][/ROW]
[ROW][C]44[/C][C]10446[/C][C]10446.0570452369[/C][C]-0.0570452368540121[/C][/ROW]
[ROW][C]45[/C][C]10511[/C][C]10510.9623284072[/C][C]0.0376715928095495[/C][/ROW]
[ROW][C]46[/C][C]10585[/C][C]10585.0375086117[/C][C]-0.0375086117309632[/C][/ROW]
[ROW][C]47[/C][C]10667[/C][C]10666.9142912989[/C][C]0.0857087011022173[/C][/ROW]
[ROW][C]48[/C][C]10753[/C][C]10752.9334951762[/C][C]0.0665048237866482[/C][/ROW]
[ROW][C]49[/C][C]10840[/C][C]10839.9052295724[/C][C]0.094770427614709[/C][/ROW]
[ROW][C]50[/C][C]10951[/C][C]10950.9499077589[/C][C]0.0500922411052053[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=197243&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=197243&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
191909189.616332287540.383667712462962
292519250.880525125430.119474874574835
393289328.75570797645-0.755707976451846
494289428.00570681055-0.00570681055099114
594999498.935255650560.0647443494389326
695569556.05200085409-0.052000854087941
796069605.03542922130.964570778701347
896329632.06382440263-0.0638244026303742
996609660.07311317991-0.0731131799065256
1096519650.943642695090.0563573049093331
1196959696.1479383461-1.1479383460985
1297279726.973679750420.0263202495812908
1397579757.18494039595-0.184940395951372
1497889788.06167461423-0.0616746142293476
1598139812.190705826110.809294173889648
1698239823.0779927836-0.0779927836005588
1798379837.14173995776-0.141739957758986
1898429842.0473726247-0.0473726246966059
1998559856.08265547668-1.08265547667913
2098639862.999541482210.000458517793079122
2198559854.063112201760.936887798239709
2298589857.928218974760.0717810252385898
2398539853.06645515915-0.0664551591527445
2498589857.937352467740.0626475322588148
2598599858.117105144180.882894855818415
2698659864.961683645130.0383163548707539
2798769876.14681526853-0.146815268527113
2899289928.0732444772-0.0732444772004724
2999489948.12249817389-0.122498173893168
3099879987.0357176091-0.0357176090990198
311002210021.99008376390.00991623606168396
321006810068.0168071529-0.0168071529073484
331010110100.92437542020.075624579822161
341013110131.0220023788-0.0220023788197455
351014310142.88819202330.111807976749749
361017010169.95383415620.0461658438244485
371019210191.87974082930.120259170698654
381021410213.95349338880.0465066111752354
391023910239.886092163-0.886092162981523
401026310262.98466753750.0153324625496398
411031010309.96608122970.0339187702885007
421035510355.0490602853-0.0490602852604938
431039610396.0037810263-0.00378102629732041
441044610446.0570452369-0.0570452368540121
451051110510.96232840720.0376715928095495
461058510585.0375086117-0.0375086117309632
471066710666.91429129890.0857087011022173
481075310752.93349517620.0665048237866482
491084010839.90522957240.094770427614709
501095110950.94990775890.0500922411052053







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
140.6383262937497410.7233474125005180.361673706250259
150.6728753858965440.6542492282069120.327124614103456
160.6477248061657850.704550387668430.352275193834215
170.9233474444236110.1533051111527780.0766525555763891
180.8678687540173240.2642624919653530.132131245982676
190.9955599517245260.008880096550948660.00444004827547433
200.9902125312194420.01957493756111690.00978746878055846
210.9938491027124210.01230179457515720.00615089728757861
220.9979796129500620.004040774099875830.00202038704993791
230.999236970385050.001526059229899050.000763029614949525
240.9988404667032450.002319066593510950.00115953329675547
250.9997223482886230.0005553034227540380.000277651711377019
260.9995264642543510.0009470714912976740.000473535745648837
270.9994351366002720.001129726799456110.000564863399728056
280.9985167018743550.002966596251289940.00148329812564497
290.9967208424824780.006558315035043830.00327915751752191
300.9922317416692480.0155365166615030.00776825833075152
310.9838802388546460.03223952229070880.0161197611453544
320.9798333117059850.04033337658803080.0201666882940154
330.9749889063319840.0500221873360320.025011093668016
340.9405742816165960.1188514367668080.0594257183834042
350.9418858242005040.1162283515989930.0581141757994963
360.9338198833585530.1323602332828940.0661801166414472

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
14 & 0.638326293749741 & 0.723347412500518 & 0.361673706250259 \tabularnewline
15 & 0.672875385896544 & 0.654249228206912 & 0.327124614103456 \tabularnewline
16 & 0.647724806165785 & 0.70455038766843 & 0.352275193834215 \tabularnewline
17 & 0.923347444423611 & 0.153305111152778 & 0.0766525555763891 \tabularnewline
18 & 0.867868754017324 & 0.264262491965353 & 0.132131245982676 \tabularnewline
19 & 0.995559951724526 & 0.00888009655094866 & 0.00444004827547433 \tabularnewline
20 & 0.990212531219442 & 0.0195749375611169 & 0.00978746878055846 \tabularnewline
21 & 0.993849102712421 & 0.0123017945751572 & 0.00615089728757861 \tabularnewline
22 & 0.997979612950062 & 0.00404077409987583 & 0.00202038704993791 \tabularnewline
23 & 0.99923697038505 & 0.00152605922989905 & 0.000763029614949525 \tabularnewline
24 & 0.998840466703245 & 0.00231906659351095 & 0.00115953329675547 \tabularnewline
25 & 0.999722348288623 & 0.000555303422754038 & 0.000277651711377019 \tabularnewline
26 & 0.999526464254351 & 0.000947071491297674 & 0.000473535745648837 \tabularnewline
27 & 0.999435136600272 & 0.00112972679945611 & 0.000564863399728056 \tabularnewline
28 & 0.998516701874355 & 0.00296659625128994 & 0.00148329812564497 \tabularnewline
29 & 0.996720842482478 & 0.00655831503504383 & 0.00327915751752191 \tabularnewline
30 & 0.992231741669248 & 0.015536516661503 & 0.00776825833075152 \tabularnewline
31 & 0.983880238854646 & 0.0322395222907088 & 0.0161197611453544 \tabularnewline
32 & 0.979833311705985 & 0.0403333765880308 & 0.0201666882940154 \tabularnewline
33 & 0.974988906331984 & 0.050022187336032 & 0.025011093668016 \tabularnewline
34 & 0.940574281616596 & 0.118851436766808 & 0.0594257183834042 \tabularnewline
35 & 0.941885824200504 & 0.116228351598993 & 0.0581141757994963 \tabularnewline
36 & 0.933819883358553 & 0.132360233282894 & 0.0661801166414472 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=197243&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]14[/C][C]0.638326293749741[/C][C]0.723347412500518[/C][C]0.361673706250259[/C][/ROW]
[ROW][C]15[/C][C]0.672875385896544[/C][C]0.654249228206912[/C][C]0.327124614103456[/C][/ROW]
[ROW][C]16[/C][C]0.647724806165785[/C][C]0.70455038766843[/C][C]0.352275193834215[/C][/ROW]
[ROW][C]17[/C][C]0.923347444423611[/C][C]0.153305111152778[/C][C]0.0766525555763891[/C][/ROW]
[ROW][C]18[/C][C]0.867868754017324[/C][C]0.264262491965353[/C][C]0.132131245982676[/C][/ROW]
[ROW][C]19[/C][C]0.995559951724526[/C][C]0.00888009655094866[/C][C]0.00444004827547433[/C][/ROW]
[ROW][C]20[/C][C]0.990212531219442[/C][C]0.0195749375611169[/C][C]0.00978746878055846[/C][/ROW]
[ROW][C]21[/C][C]0.993849102712421[/C][C]0.0123017945751572[/C][C]0.00615089728757861[/C][/ROW]
[ROW][C]22[/C][C]0.997979612950062[/C][C]0.00404077409987583[/C][C]0.00202038704993791[/C][/ROW]
[ROW][C]23[/C][C]0.99923697038505[/C][C]0.00152605922989905[/C][C]0.000763029614949525[/C][/ROW]
[ROW][C]24[/C][C]0.998840466703245[/C][C]0.00231906659351095[/C][C]0.00115953329675547[/C][/ROW]
[ROW][C]25[/C][C]0.999722348288623[/C][C]0.000555303422754038[/C][C]0.000277651711377019[/C][/ROW]
[ROW][C]26[/C][C]0.999526464254351[/C][C]0.000947071491297674[/C][C]0.000473535745648837[/C][/ROW]
[ROW][C]27[/C][C]0.999435136600272[/C][C]0.00112972679945611[/C][C]0.000564863399728056[/C][/ROW]
[ROW][C]28[/C][C]0.998516701874355[/C][C]0.00296659625128994[/C][C]0.00148329812564497[/C][/ROW]
[ROW][C]29[/C][C]0.996720842482478[/C][C]0.00655831503504383[/C][C]0.00327915751752191[/C][/ROW]
[ROW][C]30[/C][C]0.992231741669248[/C][C]0.015536516661503[/C][C]0.00776825833075152[/C][/ROW]
[ROW][C]31[/C][C]0.983880238854646[/C][C]0.0322395222907088[/C][C]0.0161197611453544[/C][/ROW]
[ROW][C]32[/C][C]0.979833311705985[/C][C]0.0403333765880308[/C][C]0.0201666882940154[/C][/ROW]
[ROW][C]33[/C][C]0.974988906331984[/C][C]0.050022187336032[/C][C]0.025011093668016[/C][/ROW]
[ROW][C]34[/C][C]0.940574281616596[/C][C]0.118851436766808[/C][C]0.0594257183834042[/C][/ROW]
[ROW][C]35[/C][C]0.941885824200504[/C][C]0.116228351598993[/C][C]0.0581141757994963[/C][/ROW]
[ROW][C]36[/C][C]0.933819883358553[/C][C]0.132360233282894[/C][C]0.0661801166414472[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=197243&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=197243&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
140.6383262937497410.7233474125005180.361673706250259
150.6728753858965440.6542492282069120.327124614103456
160.6477248061657850.704550387668430.352275193834215
170.9233474444236110.1533051111527780.0766525555763891
180.8678687540173240.2642624919653530.132131245982676
190.9955599517245260.008880096550948660.00444004827547433
200.9902125312194420.01957493756111690.00978746878055846
210.9938491027124210.01230179457515720.00615089728757861
220.9979796129500620.004040774099875830.00202038704993791
230.999236970385050.001526059229899050.000763029614949525
240.9988404667032450.002319066593510950.00115953329675547
250.9997223482886230.0005553034227540380.000277651711377019
260.9995264642543510.0009470714912976740.000473535745648837
270.9994351366002720.001129726799456110.000564863399728056
280.9985167018743550.002966596251289940.00148329812564497
290.9967208424824780.006558315035043830.00327915751752191
300.9922317416692480.0155365166615030.00776825833075152
310.9838802388546460.03223952229070880.0161197611453544
320.9798333117059850.04033337658803080.0201666882940154
330.9749889063319840.0500221873360320.025011093668016
340.9405742816165960.1188514367668080.0594257183834042
350.9418858242005040.1162283515989930.0581141757994963
360.9338198833585530.1323602332828940.0661801166414472







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level90.391304347826087NOK
5% type I error level140.608695652173913NOK
10% type I error level150.652173913043478NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=197243&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 level90.391304347826087NOK
5% type I error level140.608695652173913NOK
10% type I error level150.652173913043478NOK



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