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:48:15 +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/t1293032803nlo9dyntqrz6goq.htm/, Retrieved Mon, 06 May 2024 02:44:21 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=114326, Retrieved Mon, 06 May 2024 02:44:21 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact105
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [] [2010-12-22 15:48:15] [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=114326&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=114326&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114326&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
LOONKOSTEN[t] = + 2464.07940269401 -95.405199980261`WERKLOOSHEIDSGRAAD `[t] -275.608014287829Q1[t] -227.980837134257Q2[t] -193.878617145395Q3[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
LOONKOSTEN[t] =  +  2464.07940269401 -95.405199980261`WERKLOOSHEIDSGRAAD
`[t] -275.608014287829Q1[t] -227.980837134257Q2[t] -193.878617145395Q3[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114326&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]LOONKOSTEN[t] =  +  2464.07940269401 -95.405199980261`WERKLOOSHEIDSGRAAD
`[t] -275.608014287829Q1[t] -227.980837134257Q2[t] -193.878617145395Q3[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114326&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114326&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
LOONKOSTEN[t] = + 2464.07940269401 -95.405199980261`WERKLOOSHEIDSGRAAD `[t] -275.608014287829Q1[t] -227.980837134257Q2[t] -193.878617145395Q3[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)2464.07940269401165.84764214.857500
`WERKLOOSHEIDSGRAAD `-95.40519998026119.486685-4.89591e-055e-06
Q1-275.60801428782956.082072-4.91441e-055e-06
Q2-227.98083713425756.682716-4.02210.0001919.6e-05
Q3-193.87861714539556.099169-3.4560.0011140.000557

\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) & 2464.07940269401 & 165.847642 & 14.8575 & 0 & 0 \tabularnewline
`WERKLOOSHEIDSGRAAD
` & -95.405199980261 & 19.486685 & -4.8959 & 1e-05 & 5e-06 \tabularnewline
Q1 & -275.608014287829 & 56.082072 & -4.9144 & 1e-05 & 5e-06 \tabularnewline
Q2 & -227.980837134257 & 56.682716 & -4.0221 & 0.000191 & 9.6e-05 \tabularnewline
Q3 & -193.878617145395 & 56.099169 & -3.456 & 0.001114 & 0.000557 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114326&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]2464.07940269401[/C][C]165.847642[/C][C]14.8575[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]`WERKLOOSHEIDSGRAAD
`[/C][C]-95.405199980261[/C][C]19.486685[/C][C]-4.8959[/C][C]1e-05[/C][C]5e-06[/C][/ROW]
[ROW][C]Q1[/C][C]-275.608014287829[/C][C]56.082072[/C][C]-4.9144[/C][C]1e-05[/C][C]5e-06[/C][/ROW]
[ROW][C]Q2[/C][C]-227.980837134257[/C][C]56.682716[/C][C]-4.0221[/C][C]0.000191[/C][C]9.6e-05[/C][/ROW]
[ROW][C]Q3[/C][C]-193.878617145395[/C][C]56.099169[/C][C]-3.456[/C][C]0.001114[/C][C]0.000557[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114326&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114326&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)2464.07940269401165.84764214.857500
`WERKLOOSHEIDSGRAAD `-95.40519998026119.486685-4.89591e-055e-06
Q1-275.60801428782956.082072-4.91441e-055e-06
Q2-227.98083713425756.682716-4.02210.0001919.6e-05
Q3-193.87861714539556.099169-3.4560.0011140.000557







Multiple Linear Regression - Regression Statistics
Multiple R0.710256941823706
R-squared0.504464923408763
Adjusted R-squared0.465599427205529
F-TEST (value)12.9797628408198
F-TEST (DF numerator)4
F-TEST (DF denominator)51
p-value2.32424157142752e-07
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation148.276353945835
Sum Squared Residuals1121279.73411301

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.710256941823706 \tabularnewline
R-squared & 0.504464923408763 \tabularnewline
Adjusted R-squared & 0.465599427205529 \tabularnewline
F-TEST (value) & 12.9797628408198 \tabularnewline
F-TEST (DF numerator) & 4 \tabularnewline
F-TEST (DF denominator) & 51 \tabularnewline
p-value & 2.32424157142752e-07 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 148.276353945835 \tabularnewline
Sum Squared Residuals & 1121279.73411301 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114326&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.710256941823706[/C][/ROW]
[ROW][C]R-squared[/C][C]0.504464923408763[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.465599427205529[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]12.9797628408198[/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]2.32424157142752e-07[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]148.276353945835[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]1121279.73411301[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114326&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114326&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.710256941823706
R-squared0.504464923408763
Adjusted R-squared0.465599427205529
F-TEST (value)12.9797628408198
F-TEST (DF numerator)4
F-TEST (DF denominator)51
p-value2.32424157142752e-07
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation148.276353945835
Sum Squared Residuals1121279.73411301







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
11143.941263.04094859765-119.100948597651
21227.851358.37072574136-130.520725741357
31261.261325.68930574403-64.4293057440351
41408.951510.0274028914-101.077402891404
51162.581243.9599086016-81.3799086016012
61259.391358.37072574136-98.9807257413562
71253.851354.31086573811-100.460865738114
81475.321567.27052287956-91.9505228795607
91211.751320.28406858581-108.53406858581
101303.831406.07332573149-102.243325731487
111299.371363.85138573614-64.4813857361397
121430.731557.73000288153-127.000002881535
131244.951291.66250859173-46.7125085917316
141318.581377.45176573741-58.8717657374085
151318.741354.31086573811-35.5708657381135
161525.051576.81104287759-51.7610428775868
171275.881329.82458858384-53.9445885838359
181360.091425.15436572754-65.0643657275391
191349.811459.2565857164-109.446585716401
201574.041710.37832284995-136.338322849952
211294.581501.55394854831-206.973948548306
221380.61615.96476568806-235.364765688061
231369.221592.82386568877-223.603865688766
241565.981815.32404282824-249.344042828239
251338.961596.95914852857-257.999148528567
261457.571644.58632568214-187.016325682139
271456.211650.06698567692-193.856985676923
281654.441748.54040284206-94.1004028420566
291428.471482.47290855225-54.0029085522537
301530.391577.80268569596-47.4126856959565
311514.131545.12126569864-30.9912656986354
321698.251691.29728285396.95271714609993
331454.221406.1487485680448.0712514319551
341578.061501.4785257117576.5814742882521
351526.531478.3376257124548.1923742875472
361714.211653.135202861861.0747971382044
371492.861358.44614857791134.413851422085
381593.421530.1000857058363.319914294174
391555.51402.01346572824153.486534271756
401820.551662.67572285982157.874277140178
411534.571367.98666857594166.583331424059
421636.031463.31644571964172.713554280357
431594.581440.17554572035154.404454279651
441805.131653.1352028618151.994797138205
451565.371358.44614857791206.923851422085
461679.571444.23540572359235.334594276409
471638.261497.4186657085140.841334291495
481854.641710.37832284995144.261677150048
491628.721425.2297885641203.490211435903
501744.971511.01904570977233.950954290226
511694.351573.74282569271120.607174307286
521920.881786.70248283416134.177517165839
531680.261511.09446854633169.165531453668
541778.621635.04580568411143.574194315887
551740.891535.58074570061205.309254299391
562010.561815.32404282824195.235957171761

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 1143.94 & 1263.04094859765 & -119.100948597651 \tabularnewline
2 & 1227.85 & 1358.37072574136 & -130.520725741357 \tabularnewline
3 & 1261.26 & 1325.68930574403 & -64.4293057440351 \tabularnewline
4 & 1408.95 & 1510.0274028914 & -101.077402891404 \tabularnewline
5 & 1162.58 & 1243.9599086016 & -81.3799086016012 \tabularnewline
6 & 1259.39 & 1358.37072574136 & -98.9807257413562 \tabularnewline
7 & 1253.85 & 1354.31086573811 & -100.460865738114 \tabularnewline
8 & 1475.32 & 1567.27052287956 & -91.9505228795607 \tabularnewline
9 & 1211.75 & 1320.28406858581 & -108.53406858581 \tabularnewline
10 & 1303.83 & 1406.07332573149 & -102.243325731487 \tabularnewline
11 & 1299.37 & 1363.85138573614 & -64.4813857361397 \tabularnewline
12 & 1430.73 & 1557.73000288153 & -127.000002881535 \tabularnewline
13 & 1244.95 & 1291.66250859173 & -46.7125085917316 \tabularnewline
14 & 1318.58 & 1377.45176573741 & -58.8717657374085 \tabularnewline
15 & 1318.74 & 1354.31086573811 & -35.5708657381135 \tabularnewline
16 & 1525.05 & 1576.81104287759 & -51.7610428775868 \tabularnewline
17 & 1275.88 & 1329.82458858384 & -53.9445885838359 \tabularnewline
18 & 1360.09 & 1425.15436572754 & -65.0643657275391 \tabularnewline
19 & 1349.81 & 1459.2565857164 & -109.446585716401 \tabularnewline
20 & 1574.04 & 1710.37832284995 & -136.338322849952 \tabularnewline
21 & 1294.58 & 1501.55394854831 & -206.973948548306 \tabularnewline
22 & 1380.6 & 1615.96476568806 & -235.364765688061 \tabularnewline
23 & 1369.22 & 1592.82386568877 & -223.603865688766 \tabularnewline
24 & 1565.98 & 1815.32404282824 & -249.344042828239 \tabularnewline
25 & 1338.96 & 1596.95914852857 & -257.999148528567 \tabularnewline
26 & 1457.57 & 1644.58632568214 & -187.016325682139 \tabularnewline
27 & 1456.21 & 1650.06698567692 & -193.856985676923 \tabularnewline
28 & 1654.44 & 1748.54040284206 & -94.1004028420566 \tabularnewline
29 & 1428.47 & 1482.47290855225 & -54.0029085522537 \tabularnewline
30 & 1530.39 & 1577.80268569596 & -47.4126856959565 \tabularnewline
31 & 1514.13 & 1545.12126569864 & -30.9912656986354 \tabularnewline
32 & 1698.25 & 1691.2972828539 & 6.95271714609993 \tabularnewline
33 & 1454.22 & 1406.14874856804 & 48.0712514319551 \tabularnewline
34 & 1578.06 & 1501.47852571175 & 76.5814742882521 \tabularnewline
35 & 1526.53 & 1478.33762571245 & 48.1923742875472 \tabularnewline
36 & 1714.21 & 1653.1352028618 & 61.0747971382044 \tabularnewline
37 & 1492.86 & 1358.44614857791 & 134.413851422085 \tabularnewline
38 & 1593.42 & 1530.10008570583 & 63.319914294174 \tabularnewline
39 & 1555.5 & 1402.01346572824 & 153.486534271756 \tabularnewline
40 & 1820.55 & 1662.67572285982 & 157.874277140178 \tabularnewline
41 & 1534.57 & 1367.98666857594 & 166.583331424059 \tabularnewline
42 & 1636.03 & 1463.31644571964 & 172.713554280357 \tabularnewline
43 & 1594.58 & 1440.17554572035 & 154.404454279651 \tabularnewline
44 & 1805.13 & 1653.1352028618 & 151.994797138205 \tabularnewline
45 & 1565.37 & 1358.44614857791 & 206.923851422085 \tabularnewline
46 & 1679.57 & 1444.23540572359 & 235.334594276409 \tabularnewline
47 & 1638.26 & 1497.4186657085 & 140.841334291495 \tabularnewline
48 & 1854.64 & 1710.37832284995 & 144.261677150048 \tabularnewline
49 & 1628.72 & 1425.2297885641 & 203.490211435903 \tabularnewline
50 & 1744.97 & 1511.01904570977 & 233.950954290226 \tabularnewline
51 & 1694.35 & 1573.74282569271 & 120.607174307286 \tabularnewline
52 & 1920.88 & 1786.70248283416 & 134.177517165839 \tabularnewline
53 & 1680.26 & 1511.09446854633 & 169.165531453668 \tabularnewline
54 & 1778.62 & 1635.04580568411 & 143.574194315887 \tabularnewline
55 & 1740.89 & 1535.58074570061 & 205.309254299391 \tabularnewline
56 & 2010.56 & 1815.32404282824 & 195.235957171761 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114326&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]1143.94[/C][C]1263.04094859765[/C][C]-119.100948597651[/C][/ROW]
[ROW][C]2[/C][C]1227.85[/C][C]1358.37072574136[/C][C]-130.520725741357[/C][/ROW]
[ROW][C]3[/C][C]1261.26[/C][C]1325.68930574403[/C][C]-64.4293057440351[/C][/ROW]
[ROW][C]4[/C][C]1408.95[/C][C]1510.0274028914[/C][C]-101.077402891404[/C][/ROW]
[ROW][C]5[/C][C]1162.58[/C][C]1243.9599086016[/C][C]-81.3799086016012[/C][/ROW]
[ROW][C]6[/C][C]1259.39[/C][C]1358.37072574136[/C][C]-98.9807257413562[/C][/ROW]
[ROW][C]7[/C][C]1253.85[/C][C]1354.31086573811[/C][C]-100.460865738114[/C][/ROW]
[ROW][C]8[/C][C]1475.32[/C][C]1567.27052287956[/C][C]-91.9505228795607[/C][/ROW]
[ROW][C]9[/C][C]1211.75[/C][C]1320.28406858581[/C][C]-108.53406858581[/C][/ROW]
[ROW][C]10[/C][C]1303.83[/C][C]1406.07332573149[/C][C]-102.243325731487[/C][/ROW]
[ROW][C]11[/C][C]1299.37[/C][C]1363.85138573614[/C][C]-64.4813857361397[/C][/ROW]
[ROW][C]12[/C][C]1430.73[/C][C]1557.73000288153[/C][C]-127.000002881535[/C][/ROW]
[ROW][C]13[/C][C]1244.95[/C][C]1291.66250859173[/C][C]-46.7125085917316[/C][/ROW]
[ROW][C]14[/C][C]1318.58[/C][C]1377.45176573741[/C][C]-58.8717657374085[/C][/ROW]
[ROW][C]15[/C][C]1318.74[/C][C]1354.31086573811[/C][C]-35.5708657381135[/C][/ROW]
[ROW][C]16[/C][C]1525.05[/C][C]1576.81104287759[/C][C]-51.7610428775868[/C][/ROW]
[ROW][C]17[/C][C]1275.88[/C][C]1329.82458858384[/C][C]-53.9445885838359[/C][/ROW]
[ROW][C]18[/C][C]1360.09[/C][C]1425.15436572754[/C][C]-65.0643657275391[/C][/ROW]
[ROW][C]19[/C][C]1349.81[/C][C]1459.2565857164[/C][C]-109.446585716401[/C][/ROW]
[ROW][C]20[/C][C]1574.04[/C][C]1710.37832284995[/C][C]-136.338322849952[/C][/ROW]
[ROW][C]21[/C][C]1294.58[/C][C]1501.55394854831[/C][C]-206.973948548306[/C][/ROW]
[ROW][C]22[/C][C]1380.6[/C][C]1615.96476568806[/C][C]-235.364765688061[/C][/ROW]
[ROW][C]23[/C][C]1369.22[/C][C]1592.82386568877[/C][C]-223.603865688766[/C][/ROW]
[ROW][C]24[/C][C]1565.98[/C][C]1815.32404282824[/C][C]-249.344042828239[/C][/ROW]
[ROW][C]25[/C][C]1338.96[/C][C]1596.95914852857[/C][C]-257.999148528567[/C][/ROW]
[ROW][C]26[/C][C]1457.57[/C][C]1644.58632568214[/C][C]-187.016325682139[/C][/ROW]
[ROW][C]27[/C][C]1456.21[/C][C]1650.06698567692[/C][C]-193.856985676923[/C][/ROW]
[ROW][C]28[/C][C]1654.44[/C][C]1748.54040284206[/C][C]-94.1004028420566[/C][/ROW]
[ROW][C]29[/C][C]1428.47[/C][C]1482.47290855225[/C][C]-54.0029085522537[/C][/ROW]
[ROW][C]30[/C][C]1530.39[/C][C]1577.80268569596[/C][C]-47.4126856959565[/C][/ROW]
[ROW][C]31[/C][C]1514.13[/C][C]1545.12126569864[/C][C]-30.9912656986354[/C][/ROW]
[ROW][C]32[/C][C]1698.25[/C][C]1691.2972828539[/C][C]6.95271714609993[/C][/ROW]
[ROW][C]33[/C][C]1454.22[/C][C]1406.14874856804[/C][C]48.0712514319551[/C][/ROW]
[ROW][C]34[/C][C]1578.06[/C][C]1501.47852571175[/C][C]76.5814742882521[/C][/ROW]
[ROW][C]35[/C][C]1526.53[/C][C]1478.33762571245[/C][C]48.1923742875472[/C][/ROW]
[ROW][C]36[/C][C]1714.21[/C][C]1653.1352028618[/C][C]61.0747971382044[/C][/ROW]
[ROW][C]37[/C][C]1492.86[/C][C]1358.44614857791[/C][C]134.413851422085[/C][/ROW]
[ROW][C]38[/C][C]1593.42[/C][C]1530.10008570583[/C][C]63.319914294174[/C][/ROW]
[ROW][C]39[/C][C]1555.5[/C][C]1402.01346572824[/C][C]153.486534271756[/C][/ROW]
[ROW][C]40[/C][C]1820.55[/C][C]1662.67572285982[/C][C]157.874277140178[/C][/ROW]
[ROW][C]41[/C][C]1534.57[/C][C]1367.98666857594[/C][C]166.583331424059[/C][/ROW]
[ROW][C]42[/C][C]1636.03[/C][C]1463.31644571964[/C][C]172.713554280357[/C][/ROW]
[ROW][C]43[/C][C]1594.58[/C][C]1440.17554572035[/C][C]154.404454279651[/C][/ROW]
[ROW][C]44[/C][C]1805.13[/C][C]1653.1352028618[/C][C]151.994797138205[/C][/ROW]
[ROW][C]45[/C][C]1565.37[/C][C]1358.44614857791[/C][C]206.923851422085[/C][/ROW]
[ROW][C]46[/C][C]1679.57[/C][C]1444.23540572359[/C][C]235.334594276409[/C][/ROW]
[ROW][C]47[/C][C]1638.26[/C][C]1497.4186657085[/C][C]140.841334291495[/C][/ROW]
[ROW][C]48[/C][C]1854.64[/C][C]1710.37832284995[/C][C]144.261677150048[/C][/ROW]
[ROW][C]49[/C][C]1628.72[/C][C]1425.2297885641[/C][C]203.490211435903[/C][/ROW]
[ROW][C]50[/C][C]1744.97[/C][C]1511.01904570977[/C][C]233.950954290226[/C][/ROW]
[ROW][C]51[/C][C]1694.35[/C][C]1573.74282569271[/C][C]120.607174307286[/C][/ROW]
[ROW][C]52[/C][C]1920.88[/C][C]1786.70248283416[/C][C]134.177517165839[/C][/ROW]
[ROW][C]53[/C][C]1680.26[/C][C]1511.09446854633[/C][C]169.165531453668[/C][/ROW]
[ROW][C]54[/C][C]1778.62[/C][C]1635.04580568411[/C][C]143.574194315887[/C][/ROW]
[ROW][C]55[/C][C]1740.89[/C][C]1535.58074570061[/C][C]205.309254299391[/C][/ROW]
[ROW][C]56[/C][C]2010.56[/C][C]1815.32404282824[/C][C]195.235957171761[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114326&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114326&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
11143.941263.04094859765-119.100948597651
21227.851358.37072574136-130.520725741357
31261.261325.68930574403-64.4293057440351
41408.951510.0274028914-101.077402891404
51162.581243.9599086016-81.3799086016012
61259.391358.37072574136-98.9807257413562
71253.851354.31086573811-100.460865738114
81475.321567.27052287956-91.9505228795607
91211.751320.28406858581-108.53406858581
101303.831406.07332573149-102.243325731487
111299.371363.85138573614-64.4813857361397
121430.731557.73000288153-127.000002881535
131244.951291.66250859173-46.7125085917316
141318.581377.45176573741-58.8717657374085
151318.741354.31086573811-35.5708657381135
161525.051576.81104287759-51.7610428775868
171275.881329.82458858384-53.9445885838359
181360.091425.15436572754-65.0643657275391
191349.811459.2565857164-109.446585716401
201574.041710.37832284995-136.338322849952
211294.581501.55394854831-206.973948548306
221380.61615.96476568806-235.364765688061
231369.221592.82386568877-223.603865688766
241565.981815.32404282824-249.344042828239
251338.961596.95914852857-257.999148528567
261457.571644.58632568214-187.016325682139
271456.211650.06698567692-193.856985676923
281654.441748.54040284206-94.1004028420566
291428.471482.47290855225-54.0029085522537
301530.391577.80268569596-47.4126856959565
311514.131545.12126569864-30.9912656986354
321698.251691.29728285396.95271714609993
331454.221406.1487485680448.0712514319551
341578.061501.4785257117576.5814742882521
351526.531478.3376257124548.1923742875472
361714.211653.135202861861.0747971382044
371492.861358.44614857791134.413851422085
381593.421530.1000857058363.319914294174
391555.51402.01346572824153.486534271756
401820.551662.67572285982157.874277140178
411534.571367.98666857594166.583331424059
421636.031463.31644571964172.713554280357
431594.581440.17554572035154.404454279651
441805.131653.1352028618151.994797138205
451565.371358.44614857791206.923851422085
461679.571444.23540572359235.334594276409
471638.261497.4186657085140.841334291495
481854.641710.37832284995144.261677150048
491628.721425.2297885641203.490211435903
501744.971511.01904570977233.950954290226
511694.351573.74282569271120.607174307286
521920.881786.70248283416134.177517165839
531680.261511.09446854633169.165531453668
541778.621635.04580568411143.574194315887
551740.891535.58074570061205.309254299391
562010.561815.32404282824195.235957171761







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
80.005474562625330530.01094912525066110.99452543737467
90.000756750489756660.001513500979513320.999243249510243
100.0001296566176627330.0002593132353254650.999870343382337
112.2499244923164e-054.49984898463279e-050.999977500755077
126.77048826123468e-061.35409765224694e-050.999993229511739
131.06411940971591e-052.12823881943183e-050.999989358805903
148.48363978337652e-061.6967279566753e-050.999991516360217
154.03398204149718e-068.06796408299435e-060.999995966017958
163.1851823892098e-066.37036477841961e-060.99999681481761
171.1820860512491e-062.3641721024982e-060.999998817913949
185.10132330625344e-071.02026466125069e-060.99999948986767
199.05603553623728e-071.81120710724746e-060.999999094396446
205.64918257965082e-071.12983651593016e-060.999999435081742
211.44309019087459e-062.88618038174918e-060.99999855690981
221.84284240777722e-063.68568481555443e-060.999998157157592
231.85101882010953e-063.70203764021905e-060.99999814898118
242.00360678605318e-064.00721357210635e-060.999997996393214
251.72007109722552e-063.44014219445105e-060.999998279928903
263.68458813555759e-067.36917627111518e-060.999996315411864
278.36858300560304e-061.67371660112061e-050.999991631416994
280.000124261411453950.0002485228229078990.999875738588546
290.003160099130140260.006320198260280520.99683990086986
300.04190010195458610.08380020390917220.958099898045414
310.1850255288997640.3700510577995270.814974471100236
320.4592538118715150.918507623743030.540746188128485
330.7800457513299380.4399084973401240.219954248670062
340.9244853123670260.1510293752659480.0755146876329742
350.9735672456048860.0528655087902280.026432754395114
360.9920965546928740.01580689061425220.00790344530712611
370.996360809742370.007278380515260240.00363919025763012
380.9998940002210820.0002119995578363280.000105999778918164
390.9998598647260220.0002802705479555620.000140135273977781
400.9998043145429220.0003913709141559460.000195685457077973
410.9997479546862910.0005040906274175970.000252045313708798
420.9996902495003760.0006195009992484370.000309750499624219
430.9992765523744240.001446895251151710.000723447625575856
440.9985616623398380.002876675320323580.00143833766016179
450.9962628627012610.007474274597477870.00373713729873894
460.9901510169419520.0196979661160970.00984898305804848
470.9767579100344470.04648417993110580.0232420899655529
480.9612579270883340.07748414582333140.0387420729116657

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
8 & 0.00547456262533053 & 0.0109491252506611 & 0.99452543737467 \tabularnewline
9 & 0.00075675048975666 & 0.00151350097951332 & 0.999243249510243 \tabularnewline
10 & 0.000129656617662733 & 0.000259313235325465 & 0.999870343382337 \tabularnewline
11 & 2.2499244923164e-05 & 4.49984898463279e-05 & 0.999977500755077 \tabularnewline
12 & 6.77048826123468e-06 & 1.35409765224694e-05 & 0.999993229511739 \tabularnewline
13 & 1.06411940971591e-05 & 2.12823881943183e-05 & 0.999989358805903 \tabularnewline
14 & 8.48363978337652e-06 & 1.6967279566753e-05 & 0.999991516360217 \tabularnewline
15 & 4.03398204149718e-06 & 8.06796408299435e-06 & 0.999995966017958 \tabularnewline
16 & 3.1851823892098e-06 & 6.37036477841961e-06 & 0.99999681481761 \tabularnewline
17 & 1.1820860512491e-06 & 2.3641721024982e-06 & 0.999998817913949 \tabularnewline
18 & 5.10132330625344e-07 & 1.02026466125069e-06 & 0.99999948986767 \tabularnewline
19 & 9.05603553623728e-07 & 1.81120710724746e-06 & 0.999999094396446 \tabularnewline
20 & 5.64918257965082e-07 & 1.12983651593016e-06 & 0.999999435081742 \tabularnewline
21 & 1.44309019087459e-06 & 2.88618038174918e-06 & 0.99999855690981 \tabularnewline
22 & 1.84284240777722e-06 & 3.68568481555443e-06 & 0.999998157157592 \tabularnewline
23 & 1.85101882010953e-06 & 3.70203764021905e-06 & 0.99999814898118 \tabularnewline
24 & 2.00360678605318e-06 & 4.00721357210635e-06 & 0.999997996393214 \tabularnewline
25 & 1.72007109722552e-06 & 3.44014219445105e-06 & 0.999998279928903 \tabularnewline
26 & 3.68458813555759e-06 & 7.36917627111518e-06 & 0.999996315411864 \tabularnewline
27 & 8.36858300560304e-06 & 1.67371660112061e-05 & 0.999991631416994 \tabularnewline
28 & 0.00012426141145395 & 0.000248522822907899 & 0.999875738588546 \tabularnewline
29 & 0.00316009913014026 & 0.00632019826028052 & 0.99683990086986 \tabularnewline
30 & 0.0419001019545861 & 0.0838002039091722 & 0.958099898045414 \tabularnewline
31 & 0.185025528899764 & 0.370051057799527 & 0.814974471100236 \tabularnewline
32 & 0.459253811871515 & 0.91850762374303 & 0.540746188128485 \tabularnewline
33 & 0.780045751329938 & 0.439908497340124 & 0.219954248670062 \tabularnewline
34 & 0.924485312367026 & 0.151029375265948 & 0.0755146876329742 \tabularnewline
35 & 0.973567245604886 & 0.052865508790228 & 0.026432754395114 \tabularnewline
36 & 0.992096554692874 & 0.0158068906142522 & 0.00790344530712611 \tabularnewline
37 & 0.99636080974237 & 0.00727838051526024 & 0.00363919025763012 \tabularnewline
38 & 0.999894000221082 & 0.000211999557836328 & 0.000105999778918164 \tabularnewline
39 & 0.999859864726022 & 0.000280270547955562 & 0.000140135273977781 \tabularnewline
40 & 0.999804314542922 & 0.000391370914155946 & 0.000195685457077973 \tabularnewline
41 & 0.999747954686291 & 0.000504090627417597 & 0.000252045313708798 \tabularnewline
42 & 0.999690249500376 & 0.000619500999248437 & 0.000309750499624219 \tabularnewline
43 & 0.999276552374424 & 0.00144689525115171 & 0.000723447625575856 \tabularnewline
44 & 0.998561662339838 & 0.00287667532032358 & 0.00143833766016179 \tabularnewline
45 & 0.996262862701261 & 0.00747427459747787 & 0.00373713729873894 \tabularnewline
46 & 0.990151016941952 & 0.019697966116097 & 0.00984898305804848 \tabularnewline
47 & 0.976757910034447 & 0.0464841799311058 & 0.0232420899655529 \tabularnewline
48 & 0.961257927088334 & 0.0774841458233314 & 0.0387420729116657 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114326&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.00547456262533053[/C][C]0.0109491252506611[/C][C]0.99452543737467[/C][/ROW]
[ROW][C]9[/C][C]0.00075675048975666[/C][C]0.00151350097951332[/C][C]0.999243249510243[/C][/ROW]
[ROW][C]10[/C][C]0.000129656617662733[/C][C]0.000259313235325465[/C][C]0.999870343382337[/C][/ROW]
[ROW][C]11[/C][C]2.2499244923164e-05[/C][C]4.49984898463279e-05[/C][C]0.999977500755077[/C][/ROW]
[ROW][C]12[/C][C]6.77048826123468e-06[/C][C]1.35409765224694e-05[/C][C]0.999993229511739[/C][/ROW]
[ROW][C]13[/C][C]1.06411940971591e-05[/C][C]2.12823881943183e-05[/C][C]0.999989358805903[/C][/ROW]
[ROW][C]14[/C][C]8.48363978337652e-06[/C][C]1.6967279566753e-05[/C][C]0.999991516360217[/C][/ROW]
[ROW][C]15[/C][C]4.03398204149718e-06[/C][C]8.06796408299435e-06[/C][C]0.999995966017958[/C][/ROW]
[ROW][C]16[/C][C]3.1851823892098e-06[/C][C]6.37036477841961e-06[/C][C]0.99999681481761[/C][/ROW]
[ROW][C]17[/C][C]1.1820860512491e-06[/C][C]2.3641721024982e-06[/C][C]0.999998817913949[/C][/ROW]
[ROW][C]18[/C][C]5.10132330625344e-07[/C][C]1.02026466125069e-06[/C][C]0.99999948986767[/C][/ROW]
[ROW][C]19[/C][C]9.05603553623728e-07[/C][C]1.81120710724746e-06[/C][C]0.999999094396446[/C][/ROW]
[ROW][C]20[/C][C]5.64918257965082e-07[/C][C]1.12983651593016e-06[/C][C]0.999999435081742[/C][/ROW]
[ROW][C]21[/C][C]1.44309019087459e-06[/C][C]2.88618038174918e-06[/C][C]0.99999855690981[/C][/ROW]
[ROW][C]22[/C][C]1.84284240777722e-06[/C][C]3.68568481555443e-06[/C][C]0.999998157157592[/C][/ROW]
[ROW][C]23[/C][C]1.85101882010953e-06[/C][C]3.70203764021905e-06[/C][C]0.99999814898118[/C][/ROW]
[ROW][C]24[/C][C]2.00360678605318e-06[/C][C]4.00721357210635e-06[/C][C]0.999997996393214[/C][/ROW]
[ROW][C]25[/C][C]1.72007109722552e-06[/C][C]3.44014219445105e-06[/C][C]0.999998279928903[/C][/ROW]
[ROW][C]26[/C][C]3.68458813555759e-06[/C][C]7.36917627111518e-06[/C][C]0.999996315411864[/C][/ROW]
[ROW][C]27[/C][C]8.36858300560304e-06[/C][C]1.67371660112061e-05[/C][C]0.999991631416994[/C][/ROW]
[ROW][C]28[/C][C]0.00012426141145395[/C][C]0.000248522822907899[/C][C]0.999875738588546[/C][/ROW]
[ROW][C]29[/C][C]0.00316009913014026[/C][C]0.00632019826028052[/C][C]0.99683990086986[/C][/ROW]
[ROW][C]30[/C][C]0.0419001019545861[/C][C]0.0838002039091722[/C][C]0.958099898045414[/C][/ROW]
[ROW][C]31[/C][C]0.185025528899764[/C][C]0.370051057799527[/C][C]0.814974471100236[/C][/ROW]
[ROW][C]32[/C][C]0.459253811871515[/C][C]0.91850762374303[/C][C]0.540746188128485[/C][/ROW]
[ROW][C]33[/C][C]0.780045751329938[/C][C]0.439908497340124[/C][C]0.219954248670062[/C][/ROW]
[ROW][C]34[/C][C]0.924485312367026[/C][C]0.151029375265948[/C][C]0.0755146876329742[/C][/ROW]
[ROW][C]35[/C][C]0.973567245604886[/C][C]0.052865508790228[/C][C]0.026432754395114[/C][/ROW]
[ROW][C]36[/C][C]0.992096554692874[/C][C]0.0158068906142522[/C][C]0.00790344530712611[/C][/ROW]
[ROW][C]37[/C][C]0.99636080974237[/C][C]0.00727838051526024[/C][C]0.00363919025763012[/C][/ROW]
[ROW][C]38[/C][C]0.999894000221082[/C][C]0.000211999557836328[/C][C]0.000105999778918164[/C][/ROW]
[ROW][C]39[/C][C]0.999859864726022[/C][C]0.000280270547955562[/C][C]0.000140135273977781[/C][/ROW]
[ROW][C]40[/C][C]0.999804314542922[/C][C]0.000391370914155946[/C][C]0.000195685457077973[/C][/ROW]
[ROW][C]41[/C][C]0.999747954686291[/C][C]0.000504090627417597[/C][C]0.000252045313708798[/C][/ROW]
[ROW][C]42[/C][C]0.999690249500376[/C][C]0.000619500999248437[/C][C]0.000309750499624219[/C][/ROW]
[ROW][C]43[/C][C]0.999276552374424[/C][C]0.00144689525115171[/C][C]0.000723447625575856[/C][/ROW]
[ROW][C]44[/C][C]0.998561662339838[/C][C]0.00287667532032358[/C][C]0.00143833766016179[/C][/ROW]
[ROW][C]45[/C][C]0.996262862701261[/C][C]0.00747427459747787[/C][C]0.00373713729873894[/C][/ROW]
[ROW][C]46[/C][C]0.990151016941952[/C][C]0.019697966116097[/C][C]0.00984898305804848[/C][/ROW]
[ROW][C]47[/C][C]0.976757910034447[/C][C]0.0464841799311058[/C][C]0.0232420899655529[/C][/ROW]
[ROW][C]48[/C][C]0.961257927088334[/C][C]0.0774841458233314[/C][C]0.0387420729116657[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114326&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114326&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.005474562625330530.01094912525066110.99452543737467
90.000756750489756660.001513500979513320.999243249510243
100.0001296566176627330.0002593132353254650.999870343382337
112.2499244923164e-054.49984898463279e-050.999977500755077
126.77048826123468e-061.35409765224694e-050.999993229511739
131.06411940971591e-052.12823881943183e-050.999989358805903
148.48363978337652e-061.6967279566753e-050.999991516360217
154.03398204149718e-068.06796408299435e-060.999995966017958
163.1851823892098e-066.37036477841961e-060.99999681481761
171.1820860512491e-062.3641721024982e-060.999998817913949
185.10132330625344e-071.02026466125069e-060.99999948986767
199.05603553623728e-071.81120710724746e-060.999999094396446
205.64918257965082e-071.12983651593016e-060.999999435081742
211.44309019087459e-062.88618038174918e-060.99999855690981
221.84284240777722e-063.68568481555443e-060.999998157157592
231.85101882010953e-063.70203764021905e-060.99999814898118
242.00360678605318e-064.00721357210635e-060.999997996393214
251.72007109722552e-063.44014219445105e-060.999998279928903
263.68458813555759e-067.36917627111518e-060.999996315411864
278.36858300560304e-061.67371660112061e-050.999991631416994
280.000124261411453950.0002485228229078990.999875738588546
290.003160099130140260.006320198260280520.99683990086986
300.04190010195458610.08380020390917220.958099898045414
310.1850255288997640.3700510577995270.814974471100236
320.4592538118715150.918507623743030.540746188128485
330.7800457513299380.4399084973401240.219954248670062
340.9244853123670260.1510293752659480.0755146876329742
350.9735672456048860.0528655087902280.026432754395114
360.9920965546928740.01580689061425220.00790344530712611
370.996360809742370.007278380515260240.00363919025763012
380.9998940002210820.0002119995578363280.000105999778918164
390.9998598647260220.0002802705479555620.000140135273977781
400.9998043145429220.0003913709141559460.000195685457077973
410.9997479546862910.0005040906274175970.000252045313708798
420.9996902495003760.0006195009992484370.000309750499624219
430.9992765523744240.001446895251151710.000723447625575856
440.9985616623398380.002876675320323580.00143833766016179
450.9962628627012610.007474274597477870.00373713729873894
460.9901510169419520.0196979661160970.00984898305804848
470.9767579100344470.04648417993110580.0232420899655529
480.9612579270883340.07748414582333140.0387420729116657







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level300.73170731707317NOK
5% type I error level340.829268292682927NOK
10% type I error level370.902439024390244NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114326&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 level300.73170731707317NOK
5% type I error level340.829268292682927NOK
10% type I error level370.902439024390244NOK



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