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 computationFri, 24 Dec 2010 11:40:47 +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/24/t1293190743pk3cj0blszccltl.htm/, Retrieved Tue, 30 Apr 2024 00:43:27 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=114775, Retrieved Tue, 30 Apr 2024 00:43:27 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact130
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [Loonkostindex] [2010-12-24 11:40:47] [b6992a7b26e556359948e164e4227eba] [Current]
-         [Multiple Regression] [Loonkost-Index] [2011-01-26 14:33:49] [49685effa955daf04c1708d99b86c41a]
Feedback Forum

Post a new message
Dataseries X:
81,71	84,86
87,703	85,03
90,09	85,61
100,639	85,52
83,042	86,51
89,956	86,66
89,561	87,27
105,38	87,62
86,554	88,17
93,131	87,99
92,812	88,83
102,195	88,75
88,925	88,81
94,184	89,43
94,196	89,5
108,932	89,34
91,134	89,75
97,149	90,26
96,415	90,32
112,432	90,76
92,47	91,53
98,61410515	92,35
97,80117197	93,04
111,8560178	93,35
95,63981455	93,54
104,1120262	95,07
104,0148224	95,39
118,1743476	95,43
102,033431	96,09
109,3138852	96,35
108,1523649	96,6
121,30381	96,62
103,8725146	97,6
112,7185207	97,67
109,0381253	98,23
122,4434864	98,29
106,6325686	98,89
113,8153852	99,88
111,1071252	100,42
130,039536	100,81
109,6121057	101,5
116,8592117	102,59
113,8982545	103,58
128,9375926	103,47
111,8120023	103,77
119,9689463	104,65
117,018539	105,12
132,4743387	104,97
116,3369106	105,58
124,6405636	106,17
121,025249	106,52
137,2054829	107,87
120,0187687	109,63
127,0443429	111,54
124,349043	112,47
143,6114438	111,63




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

\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
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114775&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]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114775&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114775&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







Multiple Linear Regression - Estimated Regression Equation
LKI[t] = -47.7762553333726 + 1.6142611431639CPI[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
LKI[t] =  -47.7762553333726 +  1.6142611431639CPI[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114775&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]LKI[t] =  -47.7762553333726 +  1.6142611431639CPI[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114775&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114775&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
LKI[t] = -47.7762553333726 + 1.6142611431639CPI[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)-47.776255333372612.116984-3.94290.0002340.000117
CPI1.61426114316390.12550612.86200

\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) & -47.7762553333726 & 12.116984 & -3.9429 & 0.000234 & 0.000117 \tabularnewline
CPI & 1.6142611431639 & 0.125506 & 12.862 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114775&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]-47.7762553333726[/C][C]12.116984[/C][C]-3.9429[/C][C]0.000234[/C][C]0.000117[/C][/ROW]
[ROW][C]CPI[/C][C]1.6142611431639[/C][C]0.125506[/C][C]12.862[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114775&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114775&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)-47.776255333372612.116984-3.94290.0002340.000117
CPI1.61426114316390.12550612.86200







Multiple Linear Regression - Regression Statistics
Multiple R0.868279845574862
R-squared0.753909890231506
Adjusted R-squared0.749352665976534
F-TEST (value)165.431817275386
F-TEST (DF numerator)1
F-TEST (DF denominator)54
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation7.25340453011476
Sum Squared Residuals2841.04137298442

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.868279845574862 \tabularnewline
R-squared & 0.753909890231506 \tabularnewline
Adjusted R-squared & 0.749352665976534 \tabularnewline
F-TEST (value) & 165.431817275386 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 54 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 7.25340453011476 \tabularnewline
Sum Squared Residuals & 2841.04137298442 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114775&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.868279845574862[/C][/ROW]
[ROW][C]R-squared[/C][C]0.753909890231506[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.749352665976534[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]165.431817275386[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]1[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]54[/C][/ROW]
[ROW][C]p-value[/C][C]0[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]7.25340453011476[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]2841.04137298442[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114775&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114775&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.868279845574862
R-squared0.753909890231506
Adjusted R-squared0.749352665976534
F-TEST (value)165.431817275386
F-TEST (DF numerator)1
F-TEST (DF denominator)54
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation7.25340453011476
Sum Squared Residuals2841.04137298442







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
181.7189.2099452755156-7.49994527551565
287.70389.4843696698534-1.78136966985342
390.0990.4206411328885-0.330641132888482
4100.63990.275357630003710.3636423699963
583.04291.873476161736-8.831476161736
689.95692.1156153332106-2.15961533321057
789.56193.1003146305406-3.53931463054054
8105.3893.66530603064811.7146939693521
986.55494.553149659388-7.99914965938806
1093.13194.2625826536186-1.13158265361855
1192.81295.6185620138762-2.80656201387623
12102.19595.48942112242316.70557887757687
1388.92595.586276791013-6.66127679101296
1494.18496.5871186997746-2.40311869977458
1594.19696.700116979796-2.50411697979604
16108.93296.441835196889812.4901648031102
1791.13497.103682265587-5.96968226558702
1897.14997.9269554486006-0.777955448600611
1996.41598.0238111171904-1.60881111719042
20112.43298.734086020182613.6979139798174
2192.4799.9770671004188-7.50706710041875
2298.61410515101.300761237813-2.68665608781314
2397.80117197102.414601426596-4.61342945659625
24111.8560178102.9150223809778.94099541902297
2595.63981455103.221731998178-7.5819174481782
26104.1120262105.691551547219-1.57952534721893
27104.0148224106.208115113031-2.19329271303139
28118.1743476106.27268555875811.901662041242
29102.033431107.338097913246-5.30466691324613
30109.3138852107.7578058104691.55607938953128
31108.1523649108.16137109626-0.00900619625969844
32121.30381108.19365631912313.110153680877
33103.8725146109.775632239424-5.90311763942359
34112.7185207109.8886305194452.82989018055493
35109.0381253110.792616759617-1.75449145961685
36122.4434864110.88947242820711.5540139717933
37106.6325686111.858029114105-5.22546051410503
38113.8153852113.4561476458370.359237554162722
39111.1071252114.327848663146-3.22072346314579
40130.039536114.9574105089815.0821254910203
41109.6121057116.071250697763-6.45914499776279
42116.8592117117.830795343811-0.97158364381144
43113.8982545119.428913875544-5.5306593755437
44128.9375926119.2513451497969.68624745020432
45111.8120023119.735623492745-7.92362119274482
46119.9689463121.156173298729-1.18722699872907
47117.018539121.914876036016-4.89633703601609
48132.4743387121.67273686454210.8016018354585
49116.3369106122.657436161871-6.32052556187149
50124.6405636123.6098502363381.03071336366181
51121.025249124.174841636446-3.14959263644554
52137.2054829126.35409417971710.8513887202832
53120.0187687129.195193791685-9.17642509168526
54127.0443429132.278432575128-5.23408967512832
55124.349043133.779695438271-9.43065243827073
56143.6114438132.42371607801311.1877277219869

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 81.71 & 89.2099452755156 & -7.49994527551565 \tabularnewline
2 & 87.703 & 89.4843696698534 & -1.78136966985342 \tabularnewline
3 & 90.09 & 90.4206411328885 & -0.330641132888482 \tabularnewline
4 & 100.639 & 90.2753576300037 & 10.3636423699963 \tabularnewline
5 & 83.042 & 91.873476161736 & -8.831476161736 \tabularnewline
6 & 89.956 & 92.1156153332106 & -2.15961533321057 \tabularnewline
7 & 89.561 & 93.1003146305406 & -3.53931463054054 \tabularnewline
8 & 105.38 & 93.665306030648 & 11.7146939693521 \tabularnewline
9 & 86.554 & 94.553149659388 & -7.99914965938806 \tabularnewline
10 & 93.131 & 94.2625826536186 & -1.13158265361855 \tabularnewline
11 & 92.812 & 95.6185620138762 & -2.80656201387623 \tabularnewline
12 & 102.195 & 95.4894211224231 & 6.70557887757687 \tabularnewline
13 & 88.925 & 95.586276791013 & -6.66127679101296 \tabularnewline
14 & 94.184 & 96.5871186997746 & -2.40311869977458 \tabularnewline
15 & 94.196 & 96.700116979796 & -2.50411697979604 \tabularnewline
16 & 108.932 & 96.4418351968898 & 12.4901648031102 \tabularnewline
17 & 91.134 & 97.103682265587 & -5.96968226558702 \tabularnewline
18 & 97.149 & 97.9269554486006 & -0.777955448600611 \tabularnewline
19 & 96.415 & 98.0238111171904 & -1.60881111719042 \tabularnewline
20 & 112.432 & 98.7340860201826 & 13.6979139798174 \tabularnewline
21 & 92.47 & 99.9770671004188 & -7.50706710041875 \tabularnewline
22 & 98.61410515 & 101.300761237813 & -2.68665608781314 \tabularnewline
23 & 97.80117197 & 102.414601426596 & -4.61342945659625 \tabularnewline
24 & 111.8560178 & 102.915022380977 & 8.94099541902297 \tabularnewline
25 & 95.63981455 & 103.221731998178 & -7.5819174481782 \tabularnewline
26 & 104.1120262 & 105.691551547219 & -1.57952534721893 \tabularnewline
27 & 104.0148224 & 106.208115113031 & -2.19329271303139 \tabularnewline
28 & 118.1743476 & 106.272685558758 & 11.901662041242 \tabularnewline
29 & 102.033431 & 107.338097913246 & -5.30466691324613 \tabularnewline
30 & 109.3138852 & 107.757805810469 & 1.55607938953128 \tabularnewline
31 & 108.1523649 & 108.16137109626 & -0.00900619625969844 \tabularnewline
32 & 121.30381 & 108.193656319123 & 13.110153680877 \tabularnewline
33 & 103.8725146 & 109.775632239424 & -5.90311763942359 \tabularnewline
34 & 112.7185207 & 109.888630519445 & 2.82989018055493 \tabularnewline
35 & 109.0381253 & 110.792616759617 & -1.75449145961685 \tabularnewline
36 & 122.4434864 & 110.889472428207 & 11.5540139717933 \tabularnewline
37 & 106.6325686 & 111.858029114105 & -5.22546051410503 \tabularnewline
38 & 113.8153852 & 113.456147645837 & 0.359237554162722 \tabularnewline
39 & 111.1071252 & 114.327848663146 & -3.22072346314579 \tabularnewline
40 & 130.039536 & 114.95741050898 & 15.0821254910203 \tabularnewline
41 & 109.6121057 & 116.071250697763 & -6.45914499776279 \tabularnewline
42 & 116.8592117 & 117.830795343811 & -0.97158364381144 \tabularnewline
43 & 113.8982545 & 119.428913875544 & -5.5306593755437 \tabularnewline
44 & 128.9375926 & 119.251345149796 & 9.68624745020432 \tabularnewline
45 & 111.8120023 & 119.735623492745 & -7.92362119274482 \tabularnewline
46 & 119.9689463 & 121.156173298729 & -1.18722699872907 \tabularnewline
47 & 117.018539 & 121.914876036016 & -4.89633703601609 \tabularnewline
48 & 132.4743387 & 121.672736864542 & 10.8016018354585 \tabularnewline
49 & 116.3369106 & 122.657436161871 & -6.32052556187149 \tabularnewline
50 & 124.6405636 & 123.609850236338 & 1.03071336366181 \tabularnewline
51 & 121.025249 & 124.174841636446 & -3.14959263644554 \tabularnewline
52 & 137.2054829 & 126.354094179717 & 10.8513887202832 \tabularnewline
53 & 120.0187687 & 129.195193791685 & -9.17642509168526 \tabularnewline
54 & 127.0443429 & 132.278432575128 & -5.23408967512832 \tabularnewline
55 & 124.349043 & 133.779695438271 & -9.43065243827073 \tabularnewline
56 & 143.6114438 & 132.423716078013 & 11.1877277219869 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114775&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]81.71[/C][C]89.2099452755156[/C][C]-7.49994527551565[/C][/ROW]
[ROW][C]2[/C][C]87.703[/C][C]89.4843696698534[/C][C]-1.78136966985342[/C][/ROW]
[ROW][C]3[/C][C]90.09[/C][C]90.4206411328885[/C][C]-0.330641132888482[/C][/ROW]
[ROW][C]4[/C][C]100.639[/C][C]90.2753576300037[/C][C]10.3636423699963[/C][/ROW]
[ROW][C]5[/C][C]83.042[/C][C]91.873476161736[/C][C]-8.831476161736[/C][/ROW]
[ROW][C]6[/C][C]89.956[/C][C]92.1156153332106[/C][C]-2.15961533321057[/C][/ROW]
[ROW][C]7[/C][C]89.561[/C][C]93.1003146305406[/C][C]-3.53931463054054[/C][/ROW]
[ROW][C]8[/C][C]105.38[/C][C]93.665306030648[/C][C]11.7146939693521[/C][/ROW]
[ROW][C]9[/C][C]86.554[/C][C]94.553149659388[/C][C]-7.99914965938806[/C][/ROW]
[ROW][C]10[/C][C]93.131[/C][C]94.2625826536186[/C][C]-1.13158265361855[/C][/ROW]
[ROW][C]11[/C][C]92.812[/C][C]95.6185620138762[/C][C]-2.80656201387623[/C][/ROW]
[ROW][C]12[/C][C]102.195[/C][C]95.4894211224231[/C][C]6.70557887757687[/C][/ROW]
[ROW][C]13[/C][C]88.925[/C][C]95.586276791013[/C][C]-6.66127679101296[/C][/ROW]
[ROW][C]14[/C][C]94.184[/C][C]96.5871186997746[/C][C]-2.40311869977458[/C][/ROW]
[ROW][C]15[/C][C]94.196[/C][C]96.700116979796[/C][C]-2.50411697979604[/C][/ROW]
[ROW][C]16[/C][C]108.932[/C][C]96.4418351968898[/C][C]12.4901648031102[/C][/ROW]
[ROW][C]17[/C][C]91.134[/C][C]97.103682265587[/C][C]-5.96968226558702[/C][/ROW]
[ROW][C]18[/C][C]97.149[/C][C]97.9269554486006[/C][C]-0.777955448600611[/C][/ROW]
[ROW][C]19[/C][C]96.415[/C][C]98.0238111171904[/C][C]-1.60881111719042[/C][/ROW]
[ROW][C]20[/C][C]112.432[/C][C]98.7340860201826[/C][C]13.6979139798174[/C][/ROW]
[ROW][C]21[/C][C]92.47[/C][C]99.9770671004188[/C][C]-7.50706710041875[/C][/ROW]
[ROW][C]22[/C][C]98.61410515[/C][C]101.300761237813[/C][C]-2.68665608781314[/C][/ROW]
[ROW][C]23[/C][C]97.80117197[/C][C]102.414601426596[/C][C]-4.61342945659625[/C][/ROW]
[ROW][C]24[/C][C]111.8560178[/C][C]102.915022380977[/C][C]8.94099541902297[/C][/ROW]
[ROW][C]25[/C][C]95.63981455[/C][C]103.221731998178[/C][C]-7.5819174481782[/C][/ROW]
[ROW][C]26[/C][C]104.1120262[/C][C]105.691551547219[/C][C]-1.57952534721893[/C][/ROW]
[ROW][C]27[/C][C]104.0148224[/C][C]106.208115113031[/C][C]-2.19329271303139[/C][/ROW]
[ROW][C]28[/C][C]118.1743476[/C][C]106.272685558758[/C][C]11.901662041242[/C][/ROW]
[ROW][C]29[/C][C]102.033431[/C][C]107.338097913246[/C][C]-5.30466691324613[/C][/ROW]
[ROW][C]30[/C][C]109.3138852[/C][C]107.757805810469[/C][C]1.55607938953128[/C][/ROW]
[ROW][C]31[/C][C]108.1523649[/C][C]108.16137109626[/C][C]-0.00900619625969844[/C][/ROW]
[ROW][C]32[/C][C]121.30381[/C][C]108.193656319123[/C][C]13.110153680877[/C][/ROW]
[ROW][C]33[/C][C]103.8725146[/C][C]109.775632239424[/C][C]-5.90311763942359[/C][/ROW]
[ROW][C]34[/C][C]112.7185207[/C][C]109.888630519445[/C][C]2.82989018055493[/C][/ROW]
[ROW][C]35[/C][C]109.0381253[/C][C]110.792616759617[/C][C]-1.75449145961685[/C][/ROW]
[ROW][C]36[/C][C]122.4434864[/C][C]110.889472428207[/C][C]11.5540139717933[/C][/ROW]
[ROW][C]37[/C][C]106.6325686[/C][C]111.858029114105[/C][C]-5.22546051410503[/C][/ROW]
[ROW][C]38[/C][C]113.8153852[/C][C]113.456147645837[/C][C]0.359237554162722[/C][/ROW]
[ROW][C]39[/C][C]111.1071252[/C][C]114.327848663146[/C][C]-3.22072346314579[/C][/ROW]
[ROW][C]40[/C][C]130.039536[/C][C]114.95741050898[/C][C]15.0821254910203[/C][/ROW]
[ROW][C]41[/C][C]109.6121057[/C][C]116.071250697763[/C][C]-6.45914499776279[/C][/ROW]
[ROW][C]42[/C][C]116.8592117[/C][C]117.830795343811[/C][C]-0.97158364381144[/C][/ROW]
[ROW][C]43[/C][C]113.8982545[/C][C]119.428913875544[/C][C]-5.5306593755437[/C][/ROW]
[ROW][C]44[/C][C]128.9375926[/C][C]119.251345149796[/C][C]9.68624745020432[/C][/ROW]
[ROW][C]45[/C][C]111.8120023[/C][C]119.735623492745[/C][C]-7.92362119274482[/C][/ROW]
[ROW][C]46[/C][C]119.9689463[/C][C]121.156173298729[/C][C]-1.18722699872907[/C][/ROW]
[ROW][C]47[/C][C]117.018539[/C][C]121.914876036016[/C][C]-4.89633703601609[/C][/ROW]
[ROW][C]48[/C][C]132.4743387[/C][C]121.672736864542[/C][C]10.8016018354585[/C][/ROW]
[ROW][C]49[/C][C]116.3369106[/C][C]122.657436161871[/C][C]-6.32052556187149[/C][/ROW]
[ROW][C]50[/C][C]124.6405636[/C][C]123.609850236338[/C][C]1.03071336366181[/C][/ROW]
[ROW][C]51[/C][C]121.025249[/C][C]124.174841636446[/C][C]-3.14959263644554[/C][/ROW]
[ROW][C]52[/C][C]137.2054829[/C][C]126.354094179717[/C][C]10.8513887202832[/C][/ROW]
[ROW][C]53[/C][C]120.0187687[/C][C]129.195193791685[/C][C]-9.17642509168526[/C][/ROW]
[ROW][C]54[/C][C]127.0443429[/C][C]132.278432575128[/C][C]-5.23408967512832[/C][/ROW]
[ROW][C]55[/C][C]124.349043[/C][C]133.779695438271[/C][C]-9.43065243827073[/C][/ROW]
[ROW][C]56[/C][C]143.6114438[/C][C]132.423716078013[/C][C]11.1877277219869[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114775&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114775&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
181.7189.2099452755156-7.49994527551565
287.70389.4843696698534-1.78136966985342
390.0990.4206411328885-0.330641132888482
4100.63990.275357630003710.3636423699963
583.04291.873476161736-8.831476161736
689.95692.1156153332106-2.15961533321057
789.56193.1003146305406-3.53931463054054
8105.3893.66530603064811.7146939693521
986.55494.553149659388-7.99914965938806
1093.13194.2625826536186-1.13158265361855
1192.81295.6185620138762-2.80656201387623
12102.19595.48942112242316.70557887757687
1388.92595.586276791013-6.66127679101296
1494.18496.5871186997746-2.40311869977458
1594.19696.700116979796-2.50411697979604
16108.93296.441835196889812.4901648031102
1791.13497.103682265587-5.96968226558702
1897.14997.9269554486006-0.777955448600611
1996.41598.0238111171904-1.60881111719042
20112.43298.734086020182613.6979139798174
2192.4799.9770671004188-7.50706710041875
2298.61410515101.300761237813-2.68665608781314
2397.80117197102.414601426596-4.61342945659625
24111.8560178102.9150223809778.94099541902297
2595.63981455103.221731998178-7.5819174481782
26104.1120262105.691551547219-1.57952534721893
27104.0148224106.208115113031-2.19329271303139
28118.1743476106.27268555875811.901662041242
29102.033431107.338097913246-5.30466691324613
30109.3138852107.7578058104691.55607938953128
31108.1523649108.16137109626-0.00900619625969844
32121.30381108.19365631912313.110153680877
33103.8725146109.775632239424-5.90311763942359
34112.7185207109.8886305194452.82989018055493
35109.0381253110.792616759617-1.75449145961685
36122.4434864110.88947242820711.5540139717933
37106.6325686111.858029114105-5.22546051410503
38113.8153852113.4561476458370.359237554162722
39111.1071252114.327848663146-3.22072346314579
40130.039536114.9574105089815.0821254910203
41109.6121057116.071250697763-6.45914499776279
42116.8592117117.830795343811-0.97158364381144
43113.8982545119.428913875544-5.5306593755437
44128.9375926119.2513451497969.68624745020432
45111.8120023119.735623492745-7.92362119274482
46119.9689463121.156173298729-1.18722699872907
47117.018539121.914876036016-4.89633703601609
48132.4743387121.67273686454210.8016018354585
49116.3369106122.657436161871-6.32052556187149
50124.6405636123.6098502363381.03071336366181
51121.025249124.174841636446-3.14959263644554
52137.2054829126.35409417971710.8513887202832
53120.0187687129.195193791685-9.17642509168526
54127.0443429132.278432575128-5.23408967512832
55124.349043133.779695438271-9.43065243827073
56143.6114438132.42371607801311.1877277219869







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.7534662261649950.4930675476700090.246533773835005
60.6116676193492380.7766647613015240.388332380650762
70.4675542137357810.9351084274715630.532445786264219
80.659340241402330.681319517195340.34065975859767
90.6915797576382880.6168404847234240.308420242361712
100.5860609673054940.8278780653890120.413939032694506
110.4847332674651910.9694665349303820.515266732534809
120.4746843249221860.9493686498443710.525315675077815
130.4533098200443040.9066196400886090.546690179955696
140.3649264503978290.7298529007956590.63507354960217
150.2856593930527650.5713187861055290.714340606947235
160.4578432040799540.9156864081599080.542156795920046
170.4358867609613140.8717735219226280.564113239038686
180.3534539309292040.7069078618584080.646546069070796
190.2819068021149320.5638136042298630.718093197885068
200.445406898562880.890813797125760.55459310143712
210.4776941309368460.9553882618736920.522305869063154
220.414013487030480.828026974060960.58598651296952
230.3736478832870730.7472957665741470.626352116712927
240.3930935504554930.7861871009109870.606906449544507
250.4197053846116070.8394107692232140.580294615388393
260.3529502452620990.7059004905241980.647049754737901
270.2959371274602560.5918742549205110.704062872539744
280.3801429691435990.7602859382871980.619857030856401
290.3667731003650420.7335462007300830.633226899634958
300.2961311855347560.5922623710695130.703868814465244
310.2349538465087610.4699076930175230.765046153491239
320.3291076510764940.6582153021529880.670892348923506
330.3295928825012720.6591857650025450.670407117498728
340.2616455346980390.5232910693960780.738354465301961
350.2120557955160860.4241115910321710.787944204483914
360.2619078561427850.523815712285570.738092143857215
370.2455697316092810.4911394632185610.754430268390719
380.1853761163523870.3707522327047740.814623883647613
390.152945006197060.3058900123941210.84705499380294
400.3086965918577020.6173931837154040.691303408142298
410.296738196566230.593476393132460.70326180343377
420.2263104546166370.4526209092332740.773689545383363
430.2034396860137460.4068793720274920.796560313986254
440.2306724533528980.4613449067057960.769327546647102
450.2402537957296940.4805075914593870.759746204270306
460.1710525383166030.3421050766332060.828947461683397
470.1465331473303380.2930662946606760.853466852669662
480.1749101752937950.3498203505875890.825089824706206
490.151670311338070.3033406226761390.84832968866193
500.08603472660671530.1720694532134310.913965273393285
510.06848631758251850.1369726351650370.931513682417482

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.753466226164995 & 0.493067547670009 & 0.246533773835005 \tabularnewline
6 & 0.611667619349238 & 0.776664761301524 & 0.388332380650762 \tabularnewline
7 & 0.467554213735781 & 0.935108427471563 & 0.532445786264219 \tabularnewline
8 & 0.65934024140233 & 0.68131951719534 & 0.34065975859767 \tabularnewline
9 & 0.691579757638288 & 0.616840484723424 & 0.308420242361712 \tabularnewline
10 & 0.586060967305494 & 0.827878065389012 & 0.413939032694506 \tabularnewline
11 & 0.484733267465191 & 0.969466534930382 & 0.515266732534809 \tabularnewline
12 & 0.474684324922186 & 0.949368649844371 & 0.525315675077815 \tabularnewline
13 & 0.453309820044304 & 0.906619640088609 & 0.546690179955696 \tabularnewline
14 & 0.364926450397829 & 0.729852900795659 & 0.63507354960217 \tabularnewline
15 & 0.285659393052765 & 0.571318786105529 & 0.714340606947235 \tabularnewline
16 & 0.457843204079954 & 0.915686408159908 & 0.542156795920046 \tabularnewline
17 & 0.435886760961314 & 0.871773521922628 & 0.564113239038686 \tabularnewline
18 & 0.353453930929204 & 0.706907861858408 & 0.646546069070796 \tabularnewline
19 & 0.281906802114932 & 0.563813604229863 & 0.718093197885068 \tabularnewline
20 & 0.44540689856288 & 0.89081379712576 & 0.55459310143712 \tabularnewline
21 & 0.477694130936846 & 0.955388261873692 & 0.522305869063154 \tabularnewline
22 & 0.41401348703048 & 0.82802697406096 & 0.58598651296952 \tabularnewline
23 & 0.373647883287073 & 0.747295766574147 & 0.626352116712927 \tabularnewline
24 & 0.393093550455493 & 0.786187100910987 & 0.606906449544507 \tabularnewline
25 & 0.419705384611607 & 0.839410769223214 & 0.580294615388393 \tabularnewline
26 & 0.352950245262099 & 0.705900490524198 & 0.647049754737901 \tabularnewline
27 & 0.295937127460256 & 0.591874254920511 & 0.704062872539744 \tabularnewline
28 & 0.380142969143599 & 0.760285938287198 & 0.619857030856401 \tabularnewline
29 & 0.366773100365042 & 0.733546200730083 & 0.633226899634958 \tabularnewline
30 & 0.296131185534756 & 0.592262371069513 & 0.703868814465244 \tabularnewline
31 & 0.234953846508761 & 0.469907693017523 & 0.765046153491239 \tabularnewline
32 & 0.329107651076494 & 0.658215302152988 & 0.670892348923506 \tabularnewline
33 & 0.329592882501272 & 0.659185765002545 & 0.670407117498728 \tabularnewline
34 & 0.261645534698039 & 0.523291069396078 & 0.738354465301961 \tabularnewline
35 & 0.212055795516086 & 0.424111591032171 & 0.787944204483914 \tabularnewline
36 & 0.261907856142785 & 0.52381571228557 & 0.738092143857215 \tabularnewline
37 & 0.245569731609281 & 0.491139463218561 & 0.754430268390719 \tabularnewline
38 & 0.185376116352387 & 0.370752232704774 & 0.814623883647613 \tabularnewline
39 & 0.15294500619706 & 0.305890012394121 & 0.84705499380294 \tabularnewline
40 & 0.308696591857702 & 0.617393183715404 & 0.691303408142298 \tabularnewline
41 & 0.29673819656623 & 0.59347639313246 & 0.70326180343377 \tabularnewline
42 & 0.226310454616637 & 0.452620909233274 & 0.773689545383363 \tabularnewline
43 & 0.203439686013746 & 0.406879372027492 & 0.796560313986254 \tabularnewline
44 & 0.230672453352898 & 0.461344906705796 & 0.769327546647102 \tabularnewline
45 & 0.240253795729694 & 0.480507591459387 & 0.759746204270306 \tabularnewline
46 & 0.171052538316603 & 0.342105076633206 & 0.828947461683397 \tabularnewline
47 & 0.146533147330338 & 0.293066294660676 & 0.853466852669662 \tabularnewline
48 & 0.174910175293795 & 0.349820350587589 & 0.825089824706206 \tabularnewline
49 & 0.15167031133807 & 0.303340622676139 & 0.84832968866193 \tabularnewline
50 & 0.0860347266067153 & 0.172069453213431 & 0.913965273393285 \tabularnewline
51 & 0.0684863175825185 & 0.136972635165037 & 0.931513682417482 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114775&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]5[/C][C]0.753466226164995[/C][C]0.493067547670009[/C][C]0.246533773835005[/C][/ROW]
[ROW][C]6[/C][C]0.611667619349238[/C][C]0.776664761301524[/C][C]0.388332380650762[/C][/ROW]
[ROW][C]7[/C][C]0.467554213735781[/C][C]0.935108427471563[/C][C]0.532445786264219[/C][/ROW]
[ROW][C]8[/C][C]0.65934024140233[/C][C]0.68131951719534[/C][C]0.34065975859767[/C][/ROW]
[ROW][C]9[/C][C]0.691579757638288[/C][C]0.616840484723424[/C][C]0.308420242361712[/C][/ROW]
[ROW][C]10[/C][C]0.586060967305494[/C][C]0.827878065389012[/C][C]0.413939032694506[/C][/ROW]
[ROW][C]11[/C][C]0.484733267465191[/C][C]0.969466534930382[/C][C]0.515266732534809[/C][/ROW]
[ROW][C]12[/C][C]0.474684324922186[/C][C]0.949368649844371[/C][C]0.525315675077815[/C][/ROW]
[ROW][C]13[/C][C]0.453309820044304[/C][C]0.906619640088609[/C][C]0.546690179955696[/C][/ROW]
[ROW][C]14[/C][C]0.364926450397829[/C][C]0.729852900795659[/C][C]0.63507354960217[/C][/ROW]
[ROW][C]15[/C][C]0.285659393052765[/C][C]0.571318786105529[/C][C]0.714340606947235[/C][/ROW]
[ROW][C]16[/C][C]0.457843204079954[/C][C]0.915686408159908[/C][C]0.542156795920046[/C][/ROW]
[ROW][C]17[/C][C]0.435886760961314[/C][C]0.871773521922628[/C][C]0.564113239038686[/C][/ROW]
[ROW][C]18[/C][C]0.353453930929204[/C][C]0.706907861858408[/C][C]0.646546069070796[/C][/ROW]
[ROW][C]19[/C][C]0.281906802114932[/C][C]0.563813604229863[/C][C]0.718093197885068[/C][/ROW]
[ROW][C]20[/C][C]0.44540689856288[/C][C]0.89081379712576[/C][C]0.55459310143712[/C][/ROW]
[ROW][C]21[/C][C]0.477694130936846[/C][C]0.955388261873692[/C][C]0.522305869063154[/C][/ROW]
[ROW][C]22[/C][C]0.41401348703048[/C][C]0.82802697406096[/C][C]0.58598651296952[/C][/ROW]
[ROW][C]23[/C][C]0.373647883287073[/C][C]0.747295766574147[/C][C]0.626352116712927[/C][/ROW]
[ROW][C]24[/C][C]0.393093550455493[/C][C]0.786187100910987[/C][C]0.606906449544507[/C][/ROW]
[ROW][C]25[/C][C]0.419705384611607[/C][C]0.839410769223214[/C][C]0.580294615388393[/C][/ROW]
[ROW][C]26[/C][C]0.352950245262099[/C][C]0.705900490524198[/C][C]0.647049754737901[/C][/ROW]
[ROW][C]27[/C][C]0.295937127460256[/C][C]0.591874254920511[/C][C]0.704062872539744[/C][/ROW]
[ROW][C]28[/C][C]0.380142969143599[/C][C]0.760285938287198[/C][C]0.619857030856401[/C][/ROW]
[ROW][C]29[/C][C]0.366773100365042[/C][C]0.733546200730083[/C][C]0.633226899634958[/C][/ROW]
[ROW][C]30[/C][C]0.296131185534756[/C][C]0.592262371069513[/C][C]0.703868814465244[/C][/ROW]
[ROW][C]31[/C][C]0.234953846508761[/C][C]0.469907693017523[/C][C]0.765046153491239[/C][/ROW]
[ROW][C]32[/C][C]0.329107651076494[/C][C]0.658215302152988[/C][C]0.670892348923506[/C][/ROW]
[ROW][C]33[/C][C]0.329592882501272[/C][C]0.659185765002545[/C][C]0.670407117498728[/C][/ROW]
[ROW][C]34[/C][C]0.261645534698039[/C][C]0.523291069396078[/C][C]0.738354465301961[/C][/ROW]
[ROW][C]35[/C][C]0.212055795516086[/C][C]0.424111591032171[/C][C]0.787944204483914[/C][/ROW]
[ROW][C]36[/C][C]0.261907856142785[/C][C]0.52381571228557[/C][C]0.738092143857215[/C][/ROW]
[ROW][C]37[/C][C]0.245569731609281[/C][C]0.491139463218561[/C][C]0.754430268390719[/C][/ROW]
[ROW][C]38[/C][C]0.185376116352387[/C][C]0.370752232704774[/C][C]0.814623883647613[/C][/ROW]
[ROW][C]39[/C][C]0.15294500619706[/C][C]0.305890012394121[/C][C]0.84705499380294[/C][/ROW]
[ROW][C]40[/C][C]0.308696591857702[/C][C]0.617393183715404[/C][C]0.691303408142298[/C][/ROW]
[ROW][C]41[/C][C]0.29673819656623[/C][C]0.59347639313246[/C][C]0.70326180343377[/C][/ROW]
[ROW][C]42[/C][C]0.226310454616637[/C][C]0.452620909233274[/C][C]0.773689545383363[/C][/ROW]
[ROW][C]43[/C][C]0.203439686013746[/C][C]0.406879372027492[/C][C]0.796560313986254[/C][/ROW]
[ROW][C]44[/C][C]0.230672453352898[/C][C]0.461344906705796[/C][C]0.769327546647102[/C][/ROW]
[ROW][C]45[/C][C]0.240253795729694[/C][C]0.480507591459387[/C][C]0.759746204270306[/C][/ROW]
[ROW][C]46[/C][C]0.171052538316603[/C][C]0.342105076633206[/C][C]0.828947461683397[/C][/ROW]
[ROW][C]47[/C][C]0.146533147330338[/C][C]0.293066294660676[/C][C]0.853466852669662[/C][/ROW]
[ROW][C]48[/C][C]0.174910175293795[/C][C]0.349820350587589[/C][C]0.825089824706206[/C][/ROW]
[ROW][C]49[/C][C]0.15167031133807[/C][C]0.303340622676139[/C][C]0.84832968866193[/C][/ROW]
[ROW][C]50[/C][C]0.0860347266067153[/C][C]0.172069453213431[/C][C]0.913965273393285[/C][/ROW]
[ROW][C]51[/C][C]0.0684863175825185[/C][C]0.136972635165037[/C][C]0.931513682417482[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114775&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114775&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
50.7534662261649950.4930675476700090.246533773835005
60.6116676193492380.7766647613015240.388332380650762
70.4675542137357810.9351084274715630.532445786264219
80.659340241402330.681319517195340.34065975859767
90.6915797576382880.6168404847234240.308420242361712
100.5860609673054940.8278780653890120.413939032694506
110.4847332674651910.9694665349303820.515266732534809
120.4746843249221860.9493686498443710.525315675077815
130.4533098200443040.9066196400886090.546690179955696
140.3649264503978290.7298529007956590.63507354960217
150.2856593930527650.5713187861055290.714340606947235
160.4578432040799540.9156864081599080.542156795920046
170.4358867609613140.8717735219226280.564113239038686
180.3534539309292040.7069078618584080.646546069070796
190.2819068021149320.5638136042298630.718093197885068
200.445406898562880.890813797125760.55459310143712
210.4776941309368460.9553882618736920.522305869063154
220.414013487030480.828026974060960.58598651296952
230.3736478832870730.7472957665741470.626352116712927
240.3930935504554930.7861871009109870.606906449544507
250.4197053846116070.8394107692232140.580294615388393
260.3529502452620990.7059004905241980.647049754737901
270.2959371274602560.5918742549205110.704062872539744
280.3801429691435990.7602859382871980.619857030856401
290.3667731003650420.7335462007300830.633226899634958
300.2961311855347560.5922623710695130.703868814465244
310.2349538465087610.4699076930175230.765046153491239
320.3291076510764940.6582153021529880.670892348923506
330.3295928825012720.6591857650025450.670407117498728
340.2616455346980390.5232910693960780.738354465301961
350.2120557955160860.4241115910321710.787944204483914
360.2619078561427850.523815712285570.738092143857215
370.2455697316092810.4911394632185610.754430268390719
380.1853761163523870.3707522327047740.814623883647613
390.152945006197060.3058900123941210.84705499380294
400.3086965918577020.6173931837154040.691303408142298
410.296738196566230.593476393132460.70326180343377
420.2263104546166370.4526209092332740.773689545383363
430.2034396860137460.4068793720274920.796560313986254
440.2306724533528980.4613449067057960.769327546647102
450.2402537957296940.4805075914593870.759746204270306
460.1710525383166030.3421050766332060.828947461683397
470.1465331473303380.2930662946606760.853466852669662
480.1749101752937950.3498203505875890.825089824706206
490.151670311338070.3033406226761390.84832968866193
500.08603472660671530.1720694532134310.913965273393285
510.06848631758251850.1369726351650370.931513682417482







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level00OK
10% type I error level00OK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114775&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 level00OK
5% type I error level00OK
10% type I error level00OK



Parameters (Session):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
R code (references can be found in the software module):
library(lattice)
library(lmtest)
n25 <- 25 #minimum number of obs. for Goldfeld-Quandt test
par1 <- as.numeric(par1)
x <- t(y)
k <- length(x[1,])
n <- length(x[,1])
x1 <- cbind(x[,par1], x[,1:k!=par1])
mycolnames <- c(colnames(x)[par1], colnames(x)[1:k!=par1])
colnames(x1) <- mycolnames #colnames(x)[par1]
x <- x1
if (par3 == 'First Differences'){
x2 <- array(0, dim=c(n-1,k), dimnames=list(1:(n-1), paste('(1-B)',colnames(x),sep='')))
for (i in 1:n-1) {
for (j in 1:k) {
x2[i,j] <- x[i+1,j] - x[i,j]
}
}
x <- x2
}
if (par2 == 'Include Monthly Dummies'){
x2 <- array(0, dim=c(n,11), dimnames=list(1:n, paste('M', seq(1:11), sep ='')))
for (i in 1:11){
x2[seq(i,n,12),i] <- 1
}
x <- cbind(x, x2)
}
if (par2 == 'Include Quarterly Dummies'){
x2 <- array(0, dim=c(n,3), dimnames=list(1:n, paste('Q', seq(1:3), sep ='')))
for (i in 1:3){
x2[seq(i,n,4),i] <- 1
}
x <- cbind(x, x2)
}
k <- length(x[1,])
if (par3 == 'Linear Trend'){
x <- cbind(x, c(1:n))
colnames(x)[k+1] <- 't'
}
x
k <- length(x[1,])
df <- as.data.frame(x)
(mylm <- lm(df))
(mysum <- summary(mylm))
if (n > n25) {
kp3 <- k + 3
nmkm3 <- n - k - 3
gqarr <- array(NA, dim=c(nmkm3-kp3+1,3))
numgqtests <- 0
numsignificant1 <- 0
numsignificant5 <- 0
numsignificant10 <- 0
for (mypoint in kp3:nmkm3) {
j <- 0
numgqtests <- numgqtests + 1
for (myalt in c('greater', 'two.sided', 'less')) {
j <- j + 1
gqarr[mypoint-kp3+1,j] <- gqtest(mylm, point=mypoint, alternative=myalt)$p.value
}
if (gqarr[mypoint-kp3+1,2] < 0.01) numsignificant1 <- numsignificant1 + 1
if (gqarr[mypoint-kp3+1,2] < 0.05) numsignificant5 <- numsignificant5 + 1
if (gqarr[mypoint-kp3+1,2] < 0.10) numsignificant10 <- numsignificant10 + 1
}
gqarr
}
bitmap(file='test0.png')
plot(x[,1], type='l', main='Actuals and Interpolation', ylab='value of Actuals and Interpolation (dots)', xlab='time or index')
points(x[,1]-mysum$resid)
grid()
dev.off()
bitmap(file='test1.png')
plot(mysum$resid, type='b', pch=19, main='Residuals', ylab='value of Residuals', xlab='time or index')
grid()
dev.off()
bitmap(file='test2.png')
hist(mysum$resid, main='Residual Histogram', xlab='values of Residuals')
grid()
dev.off()
bitmap(file='test3.png')
densityplot(~mysum$resid,col='black',main='Residual Density Plot', xlab='values of Residuals')
dev.off()
bitmap(file='test4.png')
qqnorm(mysum$resid, main='Residual Normal Q-Q Plot')
qqline(mysum$resid)
grid()
dev.off()
(myerror <- as.ts(mysum$resid))
bitmap(file='test5.png')
dum <- cbind(lag(myerror,k=1),myerror)
dum
dum1 <- dum[2:length(myerror),]
dum1
z <- as.data.frame(dum1)
z
plot(z,main=paste('Residual Lag plot, lowess, and regression line'), ylab='values of Residuals', xlab='lagged values of Residuals')
lines(lowess(z))
abline(lm(z))
grid()
dev.off()
bitmap(file='test6.png')
acf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Autocorrelation Function')
grid()
dev.off()
bitmap(file='test7.png')
pacf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Partial Autocorrelation Function')
grid()
dev.off()
bitmap(file='test8.png')
opar <- par(mfrow = c(2,2), oma = c(0, 0, 1.1, 0))
plot(mylm, las = 1, sub='Residual Diagnostics')
par(opar)
dev.off()
if (n > n25) {
bitmap(file='test9.png')
plot(kp3:nmkm3,gqarr[,2], main='Goldfeld-Quandt test',ylab='2-sided p-value',xlab='breakpoint')
grid()
dev.off()
}
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Estimated Regression Equation', 1, TRUE)
a<-table.row.end(a)
myeq <- colnames(x)[1]
myeq <- paste(myeq, '[t] = ', sep='')
for (i in 1:k){
if (mysum$coefficients[i,1] > 0) myeq <- paste(myeq, '+', '')
myeq <- paste(myeq, mysum$coefficients[i,1], sep=' ')
if (rownames(mysum$coefficients)[i] != '(Intercept)') {
myeq <- paste(myeq, rownames(mysum$coefficients)[i], sep='')
if (rownames(mysum$coefficients)[i] != 't') myeq <- paste(myeq, '[t]', sep='')
}
}
myeq <- paste(myeq, ' + e[t]')
a<-table.row.start(a)
a<-table.element(a, myeq)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable1.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,hyperlink('ols1.htm','Multiple Linear Regression - Ordinary Least Squares',''), 6, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Variable',header=TRUE)
a<-table.element(a,'Parameter',header=TRUE)
a<-table.element(a,'S.D.',header=TRUE)
a<-table.element(a,'T-STAT
H0: parameter = 0',header=TRUE)
a<-table.element(a,'2-tail p-value',header=TRUE)
a<-table.element(a,'1-tail p-value',header=TRUE)
a<-table.row.end(a)
for (i in 1:k){
a<-table.row.start(a)
a<-table.element(a,rownames(mysum$coefficients)[i],header=TRUE)
a<-table.element(a,mysum$coefficients[i,1])
a<-table.element(a, round(mysum$coefficients[i,2],6))
a<-table.element(a, round(mysum$coefficients[i,3],4))
a<-table.element(a, round(mysum$coefficients[i,4],6))
a<-table.element(a, round(mysum$coefficients[i,4]/2,6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable2.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Regression Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple R',1,TRUE)
a<-table.element(a, sqrt(mysum$r.squared))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'R-squared',1,TRUE)
a<-table.element(a, mysum$r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Adjusted R-squared',1,TRUE)
a<-table.element(a, mysum$adj.r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (value)',1,TRUE)
a<-table.element(a, mysum$fstatistic[1])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF numerator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[2])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF denominator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[3])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'p-value',1,TRUE)
a<-table.element(a, 1-pf(mysum$fstatistic[1],mysum$fstatistic[2],mysum$fstatistic[3]))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Residual Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Residual Standard Deviation',1,TRUE)
a<-table.element(a, mysum$sigma)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Sum Squared Residuals',1,TRUE)
a<-table.element(a, sum(myerror*myerror))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable3.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Actuals, Interpolation, and Residuals', 4, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Time or Index', 1, TRUE)
a<-table.element(a, 'Actuals', 1, TRUE)
a<-table.element(a, 'Interpolation
Forecast', 1, TRUE)
a<-table.element(a, 'Residuals
Prediction Error', 1, TRUE)
a<-table.row.end(a)
for (i in 1:n) {
a<-table.row.start(a)
a<-table.element(a,i, 1, TRUE)
a<-table.element(a,x[i])
a<-table.element(a,x[i]-mysum$resid[i])
a<-table.element(a,mysum$resid[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable4.tab')
if (n > n25) {
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'p-values',header=TRUE)
a<-table.element(a,'Alternative Hypothesis',3,header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'breakpoint index',header=TRUE)
a<-table.element(a,'greater',header=TRUE)
a<-table.element(a,'2-sided',header=TRUE)
a<-table.element(a,'less',header=TRUE)
a<-table.row.end(a)
for (mypoint in kp3:nmkm3) {
a<-table.row.start(a)
a<-table.element(a,mypoint,header=TRUE)
a<-table.element(a,gqarr[mypoint-kp3+1,1])
a<-table.element(a,gqarr[mypoint-kp3+1,2])
a<-table.element(a,gqarr[mypoint-kp3+1,3])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable5.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Description',header=TRUE)
a<-table.element(a,'# significant tests',header=TRUE)
a<-table.element(a,'% significant tests',header=TRUE)
a<-table.element(a,'OK/NOK',header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'1% type I error level',header=TRUE)
a<-table.element(a,numsignificant1)
a<-table.element(a,numsignificant1/numgqtests)
if (numsignificant1/numgqtests < 0.01) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'5% type I error level',header=TRUE)
a<-table.element(a,numsignificant5)
a<-table.element(a,numsignificant5/numgqtests)
if (numsignificant5/numgqtests < 0.05) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'10% type I error level',header=TRUE)
a<-table.element(a,numsignificant10)
a<-table.element(a,numsignificant10/numgqtests)
if (numsignificant10/numgqtests < 0.1) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable6.tab')
}