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 computationWed, 22 Dec 2010 15:58:26 +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/Dec/22/t1293033417xnfvtl3gog0rmkv.htm/, Retrieved Mon, 06 May 2024 07:57:50 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=114335, Retrieved Mon, 06 May 2024 07:57:50 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact94
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [] [2010-12-22 15:58:26] [b91d9cfbf8712a09013bf3c2e3081c55] [Current]
Feedback Forum

Post a new message
Dataseries X:
1143.94	9.70
1227.85	9.20
1261.26	9.90
1408.95	10.00
1162.58	9.90
1259.39	9.20
1253.85	9.60
1475.32	9.40
1211.75	9.10
1303.83	8.70
1299.37	9.50
1430.73	9.50
1244.95	9.40
1318.58	9.00
1318.74	9.60
1525.05	9.30
1275.88	9.00
1360.09	8.50
1349.81	8.50
1574.04	7.90
1294.58	7.20
1380.60	6.50
1369.22	7.10
1565.98	6.80
1338.96	6.20
1457.57	6.20
1456.21	6.50
1654.44	7.50
1428.47	7.40
1530.39	6.90
1514.13	7.60
1698.25	8.10
1454.22	8.20
1578.06	7.70
1526.53	8.30
1714.21	8.50
1492.86	8.70
1593.42	7.40
1555.50	9.10
1820.55	8.40
1534.57	8.60
1636.03	8.10
1594.58	8.70
1805.13	8.50
1565.37	8.70
1679.57	8.30
1638.26	8.10
1854.64	7.90
1628.72	8.00
1744.97	7.60
1694.35	7.30
1920.88	7.10
1680.26	7.10
1778.62	6.30
1740.89	7.70
2010.56	6.80




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk
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 & 5 seconds \tabularnewline
R Server & 'RServer@AstonUniversity' @ vre.aston.ac.uk \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=114335&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]5 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'RServer@AstonUniversity' @ vre.aston.ac.uk[/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=114335&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114335&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 time5 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk
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
WERKLOOSHEIDSGRAAD [t] = + 13.8797415087597 -0.00335126330891042LOONKOSTEN[t] -0.850748734443006Q1[t] -1.06042806664729Q2[t] -0.562274746243909Q3[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
WERKLOOSHEIDSGRAAD
[t] =  +  13.8797415087597 -0.00335126330891042LOONKOSTEN[t] -0.850748734443006Q1[t] -1.06042806664729Q2[t] -0.562274746243909Q3[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114335&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]WERKLOOSHEIDSGRAAD
[t] =  +  13.8797415087597 -0.00335126330891042LOONKOSTEN[t] -0.850748734443006Q1[t] -1.06042806664729Q2[t] -0.562274746243909Q3[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114335&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114335&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
WERKLOOSHEIDSGRAAD [t] = + 13.8797415087597 -0.00335126330891042LOONKOSTEN[t] -0.850748734443006Q1[t] -1.06042806664729Q2[t] -0.562274746243909Q3[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)13.87974150875971.17076811.855200
LOONKOSTEN-0.003351263308910420.000685-4.89591e-055e-06
Q1-0.8507487344430060.385495-2.20690.0318480.015924
Q2-1.060428066647290.355821-2.98020.0044040.002202
Q3-0.5622747462439090.360885-1.5580.1254080.062704

\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) & 13.8797415087597 & 1.170768 & 11.8552 & 0 & 0 \tabularnewline
LOONKOSTEN & -0.00335126330891042 & 0.000685 & -4.8959 & 1e-05 & 5e-06 \tabularnewline
Q1 & -0.850748734443006 & 0.385495 & -2.2069 & 0.031848 & 0.015924 \tabularnewline
Q2 & -1.06042806664729 & 0.355821 & -2.9802 & 0.004404 & 0.002202 \tabularnewline
Q3 & -0.562274746243909 & 0.360885 & -1.558 & 0.125408 & 0.062704 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114335&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]13.8797415087597[/C][C]1.170768[/C][C]11.8552[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]LOONKOSTEN[/C][C]-0.00335126330891042[/C][C]0.000685[/C][C]-4.8959[/C][C]1e-05[/C][C]5e-06[/C][/ROW]
[ROW][C]Q1[/C][C]-0.850748734443006[/C][C]0.385495[/C][C]-2.2069[/C][C]0.031848[/C][C]0.015924[/C][/ROW]
[ROW][C]Q2[/C][C]-1.06042806664729[/C][C]0.355821[/C][C]-2.9802[/C][C]0.004404[/C][C]0.002202[/C][/ROW]
[ROW][C]Q3[/C][C]-0.562274746243909[/C][C]0.360885[/C][C]-1.558[/C][C]0.125408[/C][C]0.062704[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114335&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114335&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)13.87974150875971.17076811.855200
LOONKOSTEN-0.003351263308910420.000685-4.89591e-055e-06
Q1-0.8507487344430060.385495-2.20690.0318480.015924
Q2-1.060428066647290.355821-2.98020.0044040.002202
Q3-0.5622747462439090.360885-1.5580.1254080.062704







Multiple Linear Regression - Regression Statistics
Multiple R0.593533849375111
R-squared0.352282430354037
Adjusted R-squared0.301481052342589
F-TEST (value)6.93450540405913
F-TEST (DF numerator)4
F-TEST (DF denominator)51
p-value0.000154740728753544
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.878800208164375
Sum Squared Residuals39.3867800993572

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.593533849375111 \tabularnewline
R-squared & 0.352282430354037 \tabularnewline
Adjusted R-squared & 0.301481052342589 \tabularnewline
F-TEST (value) & 6.93450540405913 \tabularnewline
F-TEST (DF numerator) & 4 \tabularnewline
F-TEST (DF denominator) & 51 \tabularnewline
p-value & 0.000154740728753544 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.878800208164375 \tabularnewline
Sum Squared Residuals & 39.3867800993572 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114335&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.593533849375111[/C][/ROW]
[ROW][C]R-squared[/C][C]0.352282430354037[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.301481052342589[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]6.93450540405913[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]4[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]51[/C][/ROW]
[ROW][C]p-value[/C][C]0.000154740728753544[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]0.878800208164375[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]39.3867800993572[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114335&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114335&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.593533849375111
R-squared0.352282430354037
Adjusted R-squared0.301481052342589
F-TEST (value)6.93450540405913
F-TEST (DF numerator)4
F-TEST (DF denominator)51
p-value0.000154740728753544
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.878800208164375
Sum Squared Residuals39.3867800993572







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
19.79.195348624721720.504651375278283
29.28.704464788266770.495535211733225
39.99.090652401519460.809347598480544
4109.157979069670390.842020930329614
59.99.132881076643640.767118923356361
69.28.598765943503740.601234056496261
79.69.115485262638480.484514737361516
89.48.9355557238580.464444276141998
99.18.968099459744510.131900540255485
108.78.449835802055760.250164197944239
119.58.962935756816880.537064243183119
129.59.084988554802320.415011445197682
139.48.856837517888690.543162482111312
1498.400404668249330.599595331750668
159.68.898021786523290.701978213476714
169.38.768897399505890.531102600494113
1798.753182943744090.246817056255911
188.58.261293728296460.23870627170354
198.58.79389803551544-0.29389803551544
207.98.60471901000237-0.704719010002366
217.28.69051431986746-1.49051431986746
226.58.1925593178307-1.69255931783071
237.18.72885001468949-1.62885001468949
246.88.63173019227218-1.83173019227218
256.28.54178525421802-2.34178525421802
266.27.93461258094387-1.73461258094387
276.58.43732361944737-1.93732361944737
287.58.33527743996597-0.835277439965968
297.48.24181367543745-0.841813675437449
306.97.69057358678902-0.790573586789016
317.68.24321844859528-0.64321844859528
328.18.1884585944026-0.0884585944026037
338.28.1555186452330.0444813547669934
347.77.530818864853260.169181135146743
358.38.201662783564790.0983372164352098
368.58.13497243199240.365027568007607
378.78.026025830976710.673974169023291
387.47.47934346042839-0.0793434604283924
399.18.104576685505660.995423314494344
408.47.778599091722860.62140090827714
418.67.886244638362050.713755361637945
428.17.336546130835720.76345386916428
438.77.973609315393440.726390684606562
448.57.830275571946260.669724428053742
458.77.783025728447610.916974271552386
468.37.190632126365761.10936787363424
478.17.827226134060230.272773865939769
487.97.66435452552210.235645474477897
4987.570723197828140.429276802171862
507.66.971459505963020.62854049403698
517.37.63925377506345-0.339253775063446
527.17.44236684393988-0.342366843939878
537.17.3979990868869-0.297999086886896
546.36.85868949561818-0.558689495618185
557.77.483285980666750.216714019333246
566.87.14182555039679-0.341825550396792

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 9.7 & 9.19534862472172 & 0.504651375278283 \tabularnewline
2 & 9.2 & 8.70446478826677 & 0.495535211733225 \tabularnewline
3 & 9.9 & 9.09065240151946 & 0.809347598480544 \tabularnewline
4 & 10 & 9.15797906967039 & 0.842020930329614 \tabularnewline
5 & 9.9 & 9.13288107664364 & 0.767118923356361 \tabularnewline
6 & 9.2 & 8.59876594350374 & 0.601234056496261 \tabularnewline
7 & 9.6 & 9.11548526263848 & 0.484514737361516 \tabularnewline
8 & 9.4 & 8.935555723858 & 0.464444276141998 \tabularnewline
9 & 9.1 & 8.96809945974451 & 0.131900540255485 \tabularnewline
10 & 8.7 & 8.44983580205576 & 0.250164197944239 \tabularnewline
11 & 9.5 & 8.96293575681688 & 0.537064243183119 \tabularnewline
12 & 9.5 & 9.08498855480232 & 0.415011445197682 \tabularnewline
13 & 9.4 & 8.85683751788869 & 0.543162482111312 \tabularnewline
14 & 9 & 8.40040466824933 & 0.599595331750668 \tabularnewline
15 & 9.6 & 8.89802178652329 & 0.701978213476714 \tabularnewline
16 & 9.3 & 8.76889739950589 & 0.531102600494113 \tabularnewline
17 & 9 & 8.75318294374409 & 0.246817056255911 \tabularnewline
18 & 8.5 & 8.26129372829646 & 0.23870627170354 \tabularnewline
19 & 8.5 & 8.79389803551544 & -0.29389803551544 \tabularnewline
20 & 7.9 & 8.60471901000237 & -0.704719010002366 \tabularnewline
21 & 7.2 & 8.69051431986746 & -1.49051431986746 \tabularnewline
22 & 6.5 & 8.1925593178307 & -1.69255931783071 \tabularnewline
23 & 7.1 & 8.72885001468949 & -1.62885001468949 \tabularnewline
24 & 6.8 & 8.63173019227218 & -1.83173019227218 \tabularnewline
25 & 6.2 & 8.54178525421802 & -2.34178525421802 \tabularnewline
26 & 6.2 & 7.93461258094387 & -1.73461258094387 \tabularnewline
27 & 6.5 & 8.43732361944737 & -1.93732361944737 \tabularnewline
28 & 7.5 & 8.33527743996597 & -0.835277439965968 \tabularnewline
29 & 7.4 & 8.24181367543745 & -0.841813675437449 \tabularnewline
30 & 6.9 & 7.69057358678902 & -0.790573586789016 \tabularnewline
31 & 7.6 & 8.24321844859528 & -0.64321844859528 \tabularnewline
32 & 8.1 & 8.1884585944026 & -0.0884585944026037 \tabularnewline
33 & 8.2 & 8.155518645233 & 0.0444813547669934 \tabularnewline
34 & 7.7 & 7.53081886485326 & 0.169181135146743 \tabularnewline
35 & 8.3 & 8.20166278356479 & 0.0983372164352098 \tabularnewline
36 & 8.5 & 8.1349724319924 & 0.365027568007607 \tabularnewline
37 & 8.7 & 8.02602583097671 & 0.673974169023291 \tabularnewline
38 & 7.4 & 7.47934346042839 & -0.0793434604283924 \tabularnewline
39 & 9.1 & 8.10457668550566 & 0.995423314494344 \tabularnewline
40 & 8.4 & 7.77859909172286 & 0.62140090827714 \tabularnewline
41 & 8.6 & 7.88624463836205 & 0.713755361637945 \tabularnewline
42 & 8.1 & 7.33654613083572 & 0.76345386916428 \tabularnewline
43 & 8.7 & 7.97360931539344 & 0.726390684606562 \tabularnewline
44 & 8.5 & 7.83027557194626 & 0.669724428053742 \tabularnewline
45 & 8.7 & 7.78302572844761 & 0.916974271552386 \tabularnewline
46 & 8.3 & 7.19063212636576 & 1.10936787363424 \tabularnewline
47 & 8.1 & 7.82722613406023 & 0.272773865939769 \tabularnewline
48 & 7.9 & 7.6643545255221 & 0.235645474477897 \tabularnewline
49 & 8 & 7.57072319782814 & 0.429276802171862 \tabularnewline
50 & 7.6 & 6.97145950596302 & 0.62854049403698 \tabularnewline
51 & 7.3 & 7.63925377506345 & -0.339253775063446 \tabularnewline
52 & 7.1 & 7.44236684393988 & -0.342366843939878 \tabularnewline
53 & 7.1 & 7.3979990868869 & -0.297999086886896 \tabularnewline
54 & 6.3 & 6.85868949561818 & -0.558689495618185 \tabularnewline
55 & 7.7 & 7.48328598066675 & 0.216714019333246 \tabularnewline
56 & 6.8 & 7.14182555039679 & -0.341825550396792 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114335&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]9.7[/C][C]9.19534862472172[/C][C]0.504651375278283[/C][/ROW]
[ROW][C]2[/C][C]9.2[/C][C]8.70446478826677[/C][C]0.495535211733225[/C][/ROW]
[ROW][C]3[/C][C]9.9[/C][C]9.09065240151946[/C][C]0.809347598480544[/C][/ROW]
[ROW][C]4[/C][C]10[/C][C]9.15797906967039[/C][C]0.842020930329614[/C][/ROW]
[ROW][C]5[/C][C]9.9[/C][C]9.13288107664364[/C][C]0.767118923356361[/C][/ROW]
[ROW][C]6[/C][C]9.2[/C][C]8.59876594350374[/C][C]0.601234056496261[/C][/ROW]
[ROW][C]7[/C][C]9.6[/C][C]9.11548526263848[/C][C]0.484514737361516[/C][/ROW]
[ROW][C]8[/C][C]9.4[/C][C]8.935555723858[/C][C]0.464444276141998[/C][/ROW]
[ROW][C]9[/C][C]9.1[/C][C]8.96809945974451[/C][C]0.131900540255485[/C][/ROW]
[ROW][C]10[/C][C]8.7[/C][C]8.44983580205576[/C][C]0.250164197944239[/C][/ROW]
[ROW][C]11[/C][C]9.5[/C][C]8.96293575681688[/C][C]0.537064243183119[/C][/ROW]
[ROW][C]12[/C][C]9.5[/C][C]9.08498855480232[/C][C]0.415011445197682[/C][/ROW]
[ROW][C]13[/C][C]9.4[/C][C]8.85683751788869[/C][C]0.543162482111312[/C][/ROW]
[ROW][C]14[/C][C]9[/C][C]8.40040466824933[/C][C]0.599595331750668[/C][/ROW]
[ROW][C]15[/C][C]9.6[/C][C]8.89802178652329[/C][C]0.701978213476714[/C][/ROW]
[ROW][C]16[/C][C]9.3[/C][C]8.76889739950589[/C][C]0.531102600494113[/C][/ROW]
[ROW][C]17[/C][C]9[/C][C]8.75318294374409[/C][C]0.246817056255911[/C][/ROW]
[ROW][C]18[/C][C]8.5[/C][C]8.26129372829646[/C][C]0.23870627170354[/C][/ROW]
[ROW][C]19[/C][C]8.5[/C][C]8.79389803551544[/C][C]-0.29389803551544[/C][/ROW]
[ROW][C]20[/C][C]7.9[/C][C]8.60471901000237[/C][C]-0.704719010002366[/C][/ROW]
[ROW][C]21[/C][C]7.2[/C][C]8.69051431986746[/C][C]-1.49051431986746[/C][/ROW]
[ROW][C]22[/C][C]6.5[/C][C]8.1925593178307[/C][C]-1.69255931783071[/C][/ROW]
[ROW][C]23[/C][C]7.1[/C][C]8.72885001468949[/C][C]-1.62885001468949[/C][/ROW]
[ROW][C]24[/C][C]6.8[/C][C]8.63173019227218[/C][C]-1.83173019227218[/C][/ROW]
[ROW][C]25[/C][C]6.2[/C][C]8.54178525421802[/C][C]-2.34178525421802[/C][/ROW]
[ROW][C]26[/C][C]6.2[/C][C]7.93461258094387[/C][C]-1.73461258094387[/C][/ROW]
[ROW][C]27[/C][C]6.5[/C][C]8.43732361944737[/C][C]-1.93732361944737[/C][/ROW]
[ROW][C]28[/C][C]7.5[/C][C]8.33527743996597[/C][C]-0.835277439965968[/C][/ROW]
[ROW][C]29[/C][C]7.4[/C][C]8.24181367543745[/C][C]-0.841813675437449[/C][/ROW]
[ROW][C]30[/C][C]6.9[/C][C]7.69057358678902[/C][C]-0.790573586789016[/C][/ROW]
[ROW][C]31[/C][C]7.6[/C][C]8.24321844859528[/C][C]-0.64321844859528[/C][/ROW]
[ROW][C]32[/C][C]8.1[/C][C]8.1884585944026[/C][C]-0.0884585944026037[/C][/ROW]
[ROW][C]33[/C][C]8.2[/C][C]8.155518645233[/C][C]0.0444813547669934[/C][/ROW]
[ROW][C]34[/C][C]7.7[/C][C]7.53081886485326[/C][C]0.169181135146743[/C][/ROW]
[ROW][C]35[/C][C]8.3[/C][C]8.20166278356479[/C][C]0.0983372164352098[/C][/ROW]
[ROW][C]36[/C][C]8.5[/C][C]8.1349724319924[/C][C]0.365027568007607[/C][/ROW]
[ROW][C]37[/C][C]8.7[/C][C]8.02602583097671[/C][C]0.673974169023291[/C][/ROW]
[ROW][C]38[/C][C]7.4[/C][C]7.47934346042839[/C][C]-0.0793434604283924[/C][/ROW]
[ROW][C]39[/C][C]9.1[/C][C]8.10457668550566[/C][C]0.995423314494344[/C][/ROW]
[ROW][C]40[/C][C]8.4[/C][C]7.77859909172286[/C][C]0.62140090827714[/C][/ROW]
[ROW][C]41[/C][C]8.6[/C][C]7.88624463836205[/C][C]0.713755361637945[/C][/ROW]
[ROW][C]42[/C][C]8.1[/C][C]7.33654613083572[/C][C]0.76345386916428[/C][/ROW]
[ROW][C]43[/C][C]8.7[/C][C]7.97360931539344[/C][C]0.726390684606562[/C][/ROW]
[ROW][C]44[/C][C]8.5[/C][C]7.83027557194626[/C][C]0.669724428053742[/C][/ROW]
[ROW][C]45[/C][C]8.7[/C][C]7.78302572844761[/C][C]0.916974271552386[/C][/ROW]
[ROW][C]46[/C][C]8.3[/C][C]7.19063212636576[/C][C]1.10936787363424[/C][/ROW]
[ROW][C]47[/C][C]8.1[/C][C]7.82722613406023[/C][C]0.272773865939769[/C][/ROW]
[ROW][C]48[/C][C]7.9[/C][C]7.6643545255221[/C][C]0.235645474477897[/C][/ROW]
[ROW][C]49[/C][C]8[/C][C]7.57072319782814[/C][C]0.429276802171862[/C][/ROW]
[ROW][C]50[/C][C]7.6[/C][C]6.97145950596302[/C][C]0.62854049403698[/C][/ROW]
[ROW][C]51[/C][C]7.3[/C][C]7.63925377506345[/C][C]-0.339253775063446[/C][/ROW]
[ROW][C]52[/C][C]7.1[/C][C]7.44236684393988[/C][C]-0.342366843939878[/C][/ROW]
[ROW][C]53[/C][C]7.1[/C][C]7.3979990868869[/C][C]-0.297999086886896[/C][/ROW]
[ROW][C]54[/C][C]6.3[/C][C]6.85868949561818[/C][C]-0.558689495618185[/C][/ROW]
[ROW][C]55[/C][C]7.7[/C][C]7.48328598066675[/C][C]0.216714019333246[/C][/ROW]
[ROW][C]56[/C][C]6.8[/C][C]7.14182555039679[/C][C]-0.341825550396792[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114335&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114335&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
19.79.195348624721720.504651375278283
29.28.704464788266770.495535211733225
39.99.090652401519460.809347598480544
4109.157979069670390.842020930329614
59.99.132881076643640.767118923356361
69.28.598765943503740.601234056496261
79.69.115485262638480.484514737361516
89.48.9355557238580.464444276141998
99.18.968099459744510.131900540255485
108.78.449835802055760.250164197944239
119.58.962935756816880.537064243183119
129.59.084988554802320.415011445197682
139.48.856837517888690.543162482111312
1498.400404668249330.599595331750668
159.68.898021786523290.701978213476714
169.38.768897399505890.531102600494113
1798.753182943744090.246817056255911
188.58.261293728296460.23870627170354
198.58.79389803551544-0.29389803551544
207.98.60471901000237-0.704719010002366
217.28.69051431986746-1.49051431986746
226.58.1925593178307-1.69255931783071
237.18.72885001468949-1.62885001468949
246.88.63173019227218-1.83173019227218
256.28.54178525421802-2.34178525421802
266.27.93461258094387-1.73461258094387
276.58.43732361944737-1.93732361944737
287.58.33527743996597-0.835277439965968
297.48.24181367543745-0.841813675437449
306.97.69057358678902-0.790573586789016
317.68.24321844859528-0.64321844859528
328.18.1884585944026-0.0884585944026037
338.28.1555186452330.0444813547669934
347.77.530818864853260.169181135146743
358.38.201662783564790.0983372164352098
368.58.13497243199240.365027568007607
378.78.026025830976710.673974169023291
387.47.47934346042839-0.0793434604283924
399.18.104576685505660.995423314494344
408.47.778599091722860.62140090827714
418.67.886244638362050.713755361637945
428.17.336546130835720.76345386916428
438.77.973609315393440.726390684606562
448.57.830275571946260.669724428053742
458.77.783025728447610.916974271552386
468.37.190632126365761.10936787363424
478.17.827226134060230.272773865939769
487.97.66435452552210.235645474477897
4987.570723197828140.429276802171862
507.66.971459505963020.62854049403698
517.37.63925377506345-0.339253775063446
527.17.44236684393988-0.342366843939878
537.17.3979990868869-0.297999086886896
546.36.85868949561818-0.558689495618185
557.77.483285980666750.216714019333246
566.87.14182555039679-0.341825550396792







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
80.0202566083247440.04051321664948790.979743391675256
90.007007735722071110.01401547144414220.99299226427793
100.001480265966750530.002960531933501050.99851973403325
110.0003319548475947230.0006639096951894450.999668045152405
120.00015469771128120.00030939542256240.999845302288719
130.0001028300630729180.0002056601261458350.999897169936927
145.59900372578025e-050.0001119800745156050.999944009962742
152.4186093912833e-054.8372187825666e-050.999975813906087
169.02997775057043e-061.80599555011409e-050.99999097002225
173.32291302726378e-066.64582605452756e-060.999996677086973
181.44890936691118e-062.89781873382237e-060.999998551090633
193.89137630508911e-057.78275261017822e-050.99996108623695
200.0002351377770016430.0004702755540032860.999764862222998
210.00860217127520160.01720434255040320.991397828724798
220.04385251002962430.08770502005924850.956147489970376
230.09824907256322670.1964981451264530.901750927436773
240.1533501517269340.3067003034538670.846649848273066
250.3056825716983090.6113651433966190.69431742830169
260.3513466905616930.7026933811233870.648653309438307
270.5544793156487330.8910413687025340.445520684351267
280.65662802503220.6867439499356010.343371974967801
290.846088836777150.3078223264457020.153911163222851
300.9417256153864480.1165487692271050.0582743846135524
310.9786540836800250.0426918326399490.0213459163199745
320.9870158098434310.02596838031313710.0129841901565686
330.9946496606165030.01070067876699330.00535033938349665
340.9966167485819650.006766502836070170.00338325141803508
350.9976225708252410.004754858349517840.00237742917475892
360.9976607054674770.004678589065046270.00233929453252313
370.9974214013924360.005157197215128440.00257859860756422
380.9997593263719440.0004813472561111830.000240673628055592
390.9995837288697260.0008325422605469720.000416271130273486
400.999089801009090.001820397981819660.000910198990909828
410.9981301811756880.00373963764862490.00186981882431245
420.9963668936886520.007266212622696850.00363310631134843
430.9913855318649460.01722893627010710.00861446813505355
440.9798779041242150.04024419175157080.0201220958757854
450.960726120107160.07854775978568130.0392738798928407
460.9496292036496250.100741592700750.050370796350375
470.8844261146013250.2311477707973510.115573885398675
480.7614780629880390.4770438740239230.238521937011961

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
8 & 0.020256608324744 & 0.0405132166494879 & 0.979743391675256 \tabularnewline
9 & 0.00700773572207111 & 0.0140154714441422 & 0.99299226427793 \tabularnewline
10 & 0.00148026596675053 & 0.00296053193350105 & 0.99851973403325 \tabularnewline
11 & 0.000331954847594723 & 0.000663909695189445 & 0.999668045152405 \tabularnewline
12 & 0.0001546977112812 & 0.0003093954225624 & 0.999845302288719 \tabularnewline
13 & 0.000102830063072918 & 0.000205660126145835 & 0.999897169936927 \tabularnewline
14 & 5.59900372578025e-05 & 0.000111980074515605 & 0.999944009962742 \tabularnewline
15 & 2.4186093912833e-05 & 4.8372187825666e-05 & 0.999975813906087 \tabularnewline
16 & 9.02997775057043e-06 & 1.80599555011409e-05 & 0.99999097002225 \tabularnewline
17 & 3.32291302726378e-06 & 6.64582605452756e-06 & 0.999996677086973 \tabularnewline
18 & 1.44890936691118e-06 & 2.89781873382237e-06 & 0.999998551090633 \tabularnewline
19 & 3.89137630508911e-05 & 7.78275261017822e-05 & 0.99996108623695 \tabularnewline
20 & 0.000235137777001643 & 0.000470275554003286 & 0.999764862222998 \tabularnewline
21 & 0.0086021712752016 & 0.0172043425504032 & 0.991397828724798 \tabularnewline
22 & 0.0438525100296243 & 0.0877050200592485 & 0.956147489970376 \tabularnewline
23 & 0.0982490725632267 & 0.196498145126453 & 0.901750927436773 \tabularnewline
24 & 0.153350151726934 & 0.306700303453867 & 0.846649848273066 \tabularnewline
25 & 0.305682571698309 & 0.611365143396619 & 0.69431742830169 \tabularnewline
26 & 0.351346690561693 & 0.702693381123387 & 0.648653309438307 \tabularnewline
27 & 0.554479315648733 & 0.891041368702534 & 0.445520684351267 \tabularnewline
28 & 0.6566280250322 & 0.686743949935601 & 0.343371974967801 \tabularnewline
29 & 0.84608883677715 & 0.307822326445702 & 0.153911163222851 \tabularnewline
30 & 0.941725615386448 & 0.116548769227105 & 0.0582743846135524 \tabularnewline
31 & 0.978654083680025 & 0.042691832639949 & 0.0213459163199745 \tabularnewline
32 & 0.987015809843431 & 0.0259683803131371 & 0.0129841901565686 \tabularnewline
33 & 0.994649660616503 & 0.0107006787669933 & 0.00535033938349665 \tabularnewline
34 & 0.996616748581965 & 0.00676650283607017 & 0.00338325141803508 \tabularnewline
35 & 0.997622570825241 & 0.00475485834951784 & 0.00237742917475892 \tabularnewline
36 & 0.997660705467477 & 0.00467858906504627 & 0.00233929453252313 \tabularnewline
37 & 0.997421401392436 & 0.00515719721512844 & 0.00257859860756422 \tabularnewline
38 & 0.999759326371944 & 0.000481347256111183 & 0.000240673628055592 \tabularnewline
39 & 0.999583728869726 & 0.000832542260546972 & 0.000416271130273486 \tabularnewline
40 & 0.99908980100909 & 0.00182039798181966 & 0.000910198990909828 \tabularnewline
41 & 0.998130181175688 & 0.0037396376486249 & 0.00186981882431245 \tabularnewline
42 & 0.996366893688652 & 0.00726621262269685 & 0.00363310631134843 \tabularnewline
43 & 0.991385531864946 & 0.0172289362701071 & 0.00861446813505355 \tabularnewline
44 & 0.979877904124215 & 0.0402441917515708 & 0.0201220958757854 \tabularnewline
45 & 0.96072612010716 & 0.0785477597856813 & 0.0392738798928407 \tabularnewline
46 & 0.949629203649625 & 0.10074159270075 & 0.050370796350375 \tabularnewline
47 & 0.884426114601325 & 0.231147770797351 & 0.115573885398675 \tabularnewline
48 & 0.761478062988039 & 0.477043874023923 & 0.238521937011961 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114335&T=5

[TABLE]
[ROW][C]Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]p-values[/C][C]Alternative Hypothesis[/C][/ROW]
[ROW][C]breakpoint index[/C][C]greater[/C][C]2-sided[/C][C]less[/C][/ROW]
[ROW][C]8[/C][C]0.020256608324744[/C][C]0.0405132166494879[/C][C]0.979743391675256[/C][/ROW]
[ROW][C]9[/C][C]0.00700773572207111[/C][C]0.0140154714441422[/C][C]0.99299226427793[/C][/ROW]
[ROW][C]10[/C][C]0.00148026596675053[/C][C]0.00296053193350105[/C][C]0.99851973403325[/C][/ROW]
[ROW][C]11[/C][C]0.000331954847594723[/C][C]0.000663909695189445[/C][C]0.999668045152405[/C][/ROW]
[ROW][C]12[/C][C]0.0001546977112812[/C][C]0.0003093954225624[/C][C]0.999845302288719[/C][/ROW]
[ROW][C]13[/C][C]0.000102830063072918[/C][C]0.000205660126145835[/C][C]0.999897169936927[/C][/ROW]
[ROW][C]14[/C][C]5.59900372578025e-05[/C][C]0.000111980074515605[/C][C]0.999944009962742[/C][/ROW]
[ROW][C]15[/C][C]2.4186093912833e-05[/C][C]4.8372187825666e-05[/C][C]0.999975813906087[/C][/ROW]
[ROW][C]16[/C][C]9.02997775057043e-06[/C][C]1.80599555011409e-05[/C][C]0.99999097002225[/C][/ROW]
[ROW][C]17[/C][C]3.32291302726378e-06[/C][C]6.64582605452756e-06[/C][C]0.999996677086973[/C][/ROW]
[ROW][C]18[/C][C]1.44890936691118e-06[/C][C]2.89781873382237e-06[/C][C]0.999998551090633[/C][/ROW]
[ROW][C]19[/C][C]3.89137630508911e-05[/C][C]7.78275261017822e-05[/C][C]0.99996108623695[/C][/ROW]
[ROW][C]20[/C][C]0.000235137777001643[/C][C]0.000470275554003286[/C][C]0.999764862222998[/C][/ROW]
[ROW][C]21[/C][C]0.0086021712752016[/C][C]0.0172043425504032[/C][C]0.991397828724798[/C][/ROW]
[ROW][C]22[/C][C]0.0438525100296243[/C][C]0.0877050200592485[/C][C]0.956147489970376[/C][/ROW]
[ROW][C]23[/C][C]0.0982490725632267[/C][C]0.196498145126453[/C][C]0.901750927436773[/C][/ROW]
[ROW][C]24[/C][C]0.153350151726934[/C][C]0.306700303453867[/C][C]0.846649848273066[/C][/ROW]
[ROW][C]25[/C][C]0.305682571698309[/C][C]0.611365143396619[/C][C]0.69431742830169[/C][/ROW]
[ROW][C]26[/C][C]0.351346690561693[/C][C]0.702693381123387[/C][C]0.648653309438307[/C][/ROW]
[ROW][C]27[/C][C]0.554479315648733[/C][C]0.891041368702534[/C][C]0.445520684351267[/C][/ROW]
[ROW][C]28[/C][C]0.6566280250322[/C][C]0.686743949935601[/C][C]0.343371974967801[/C][/ROW]
[ROW][C]29[/C][C]0.84608883677715[/C][C]0.307822326445702[/C][C]0.153911163222851[/C][/ROW]
[ROW][C]30[/C][C]0.941725615386448[/C][C]0.116548769227105[/C][C]0.0582743846135524[/C][/ROW]
[ROW][C]31[/C][C]0.978654083680025[/C][C]0.042691832639949[/C][C]0.0213459163199745[/C][/ROW]
[ROW][C]32[/C][C]0.987015809843431[/C][C]0.0259683803131371[/C][C]0.0129841901565686[/C][/ROW]
[ROW][C]33[/C][C]0.994649660616503[/C][C]0.0107006787669933[/C][C]0.00535033938349665[/C][/ROW]
[ROW][C]34[/C][C]0.996616748581965[/C][C]0.00676650283607017[/C][C]0.00338325141803508[/C][/ROW]
[ROW][C]35[/C][C]0.997622570825241[/C][C]0.00475485834951784[/C][C]0.00237742917475892[/C][/ROW]
[ROW][C]36[/C][C]0.997660705467477[/C][C]0.00467858906504627[/C][C]0.00233929453252313[/C][/ROW]
[ROW][C]37[/C][C]0.997421401392436[/C][C]0.00515719721512844[/C][C]0.00257859860756422[/C][/ROW]
[ROW][C]38[/C][C]0.999759326371944[/C][C]0.000481347256111183[/C][C]0.000240673628055592[/C][/ROW]
[ROW][C]39[/C][C]0.999583728869726[/C][C]0.000832542260546972[/C][C]0.000416271130273486[/C][/ROW]
[ROW][C]40[/C][C]0.99908980100909[/C][C]0.00182039798181966[/C][C]0.000910198990909828[/C][/ROW]
[ROW][C]41[/C][C]0.998130181175688[/C][C]0.0037396376486249[/C][C]0.00186981882431245[/C][/ROW]
[ROW][C]42[/C][C]0.996366893688652[/C][C]0.00726621262269685[/C][C]0.00363310631134843[/C][/ROW]
[ROW][C]43[/C][C]0.991385531864946[/C][C]0.0172289362701071[/C][C]0.00861446813505355[/C][/ROW]
[ROW][C]44[/C][C]0.979877904124215[/C][C]0.0402441917515708[/C][C]0.0201220958757854[/C][/ROW]
[ROW][C]45[/C][C]0.96072612010716[/C][C]0.0785477597856813[/C][C]0.0392738798928407[/C][/ROW]
[ROW][C]46[/C][C]0.949629203649625[/C][C]0.10074159270075[/C][C]0.050370796350375[/C][/ROW]
[ROW][C]47[/C][C]0.884426114601325[/C][C]0.231147770797351[/C][C]0.115573885398675[/C][/ROW]
[ROW][C]48[/C][C]0.761478062988039[/C][C]0.477043874023923[/C][C]0.238521937011961[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114335&T=5

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

As an alternative you can also use a QR Code:  

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

Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
80.0202566083247440.04051321664948790.979743391675256
90.007007735722071110.01401547144414220.99299226427793
100.001480265966750530.002960531933501050.99851973403325
110.0003319548475947230.0006639096951894450.999668045152405
120.00015469771128120.00030939542256240.999845302288719
130.0001028300630729180.0002056601261458350.999897169936927
145.59900372578025e-050.0001119800745156050.999944009962742
152.4186093912833e-054.8372187825666e-050.999975813906087
169.02997775057043e-061.80599555011409e-050.99999097002225
173.32291302726378e-066.64582605452756e-060.999996677086973
181.44890936691118e-062.89781873382237e-060.999998551090633
193.89137630508911e-057.78275261017822e-050.99996108623695
200.0002351377770016430.0004702755540032860.999764862222998
210.00860217127520160.01720434255040320.991397828724798
220.04385251002962430.08770502005924850.956147489970376
230.09824907256322670.1964981451264530.901750927436773
240.1533501517269340.3067003034538670.846649848273066
250.3056825716983090.6113651433966190.69431742830169
260.3513466905616930.7026933811233870.648653309438307
270.5544793156487330.8910413687025340.445520684351267
280.65662802503220.6867439499356010.343371974967801
290.846088836777150.3078223264457020.153911163222851
300.9417256153864480.1165487692271050.0582743846135524
310.9786540836800250.0426918326399490.0213459163199745
320.9870158098434310.02596838031313710.0129841901565686
330.9946496606165030.01070067876699330.00535033938349665
340.9966167485819650.006766502836070170.00338325141803508
350.9976225708252410.004754858349517840.00237742917475892
360.9976607054674770.004678589065046270.00233929453252313
370.9974214013924360.005157197215128440.00257859860756422
380.9997593263719440.0004813472561111830.000240673628055592
390.9995837288697260.0008325422605469720.000416271130273486
400.999089801009090.001820397981819660.000910198990909828
410.9981301811756880.00373963764862490.00186981882431245
420.9963668936886520.007266212622696850.00363310631134843
430.9913855318649460.01722893627010710.00861446813505355
440.9798779041242150.04024419175157080.0201220958757854
450.960726120107160.07854775978568130.0392738798928407
460.9496292036496250.100741592700750.050370796350375
470.8844261146013250.2311477707973510.115573885398675
480.7614780629880390.4770438740239230.238521937011961







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level200.48780487804878NOK
5% type I error level280.682926829268293NOK
10% type I error level300.73170731707317NOK

\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 & 20 & 0.48780487804878 & NOK \tabularnewline
5% type I error level & 28 & 0.682926829268293 & NOK \tabularnewline
10% type I error level & 30 & 0.73170731707317 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114335&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]20[/C][C]0.48780487804878[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]28[/C][C]0.682926829268293[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]30[/C][C]0.73170731707317[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114335&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114335&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 level200.48780487804878NOK
5% type I error level280.682926829268293NOK
10% type I error level300.73170731707317NOK



Parameters (Session):
par1 = 2 ; par2 = Include Quarterly Dummies ; par3 = No Linear Trend ;
Parameters (R input):
par1 = 2 ; par2 = Include Quarterly 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')
}