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 computationSat, 19 Dec 2009 03:57:36 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Dec/19/t1261220352b7hn9jdls169af4.htm/, Retrieved Fri, 03 May 2024 19:03:06 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=69497, Retrieved Fri, 03 May 2024 19:03:06 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact167
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Paper - Regressie...] [2008-12-10 20:26:13] [93834488277b53a4510bfd06084ae13b]
-  M D  [Multiple Regression] [Paper Regressie a...] [2009-12-19 07:59:01] [1d635fe1113b56bab3f378c464a289bc]
-   P     [Multiple Regression] [Paper Regressie a...] [2009-12-19 09:31:23] [1d635fe1113b56bab3f378c464a289bc]
-   P         [Multiple Regression] [Paper Regressie a...] [2009-12-19 10:57:36] [762da55b2e2304daaed24a7cc507d14d] [Current]
Feedback Forum

Post a new message
Dataseries X:
84	0
78	0
74	0
75	0
79	0
79	0
82	0
88	0
81	0
69	1
62	1
62	1
68	1
57	1
67	1
72	0
75	0
81	0
80	0
79	0
81	0
83	0
84	0
90	0
84	0
90	0
92	0
93	0
85	0
93	0
94	0
94	0
102	0
96	0
96	0
92	0
90	0
84	0
86	0
70	0
67	1
60	1
62	1
61	1
54	1
50	1
45	1
34	1
37	1
44	1
34	1
37	1
31	1
31	1
28	1
31	1
33	1
36	1
39	1
42	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

\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 & 3 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69497&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]3 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69497&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69497&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 time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135







Multiple Linear Regression - Estimated Regression Equation
Consumentenvertrouwen[t] = + 93.1815812337098 -33.2632493483927Dummy[t] -0.870981754995648M1[t] -2.61476976542136M2[t] -2.35855777584706M3[t] -9.95499565595133M4[t] -5.04613379669851M5[t] -3.38992180712423M6[t] -2.73370981754994M7[t] -1.07749782797566M8[t] -1.22128583840137M9[t] + 2.28757602085144M10[t] + 0.943788010425726M11[t] -0.256211989574283t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Consumentenvertrouwen[t] =  +  93.1815812337098 -33.2632493483927Dummy[t] -0.870981754995648M1[t] -2.61476976542136M2[t] -2.35855777584706M3[t] -9.95499565595133M4[t] -5.04613379669851M5[t] -3.38992180712423M6[t] -2.73370981754994M7[t] -1.07749782797566M8[t] -1.22128583840137M9[t] +  2.28757602085144M10[t] +  0.943788010425726M11[t] -0.256211989574283t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69497&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Consumentenvertrouwen[t] =  +  93.1815812337098 -33.2632493483927Dummy[t] -0.870981754995648M1[t] -2.61476976542136M2[t] -2.35855777584706M3[t] -9.95499565595133M4[t] -5.04613379669851M5[t] -3.38992180712423M6[t] -2.73370981754994M7[t] -1.07749782797566M8[t] -1.22128583840137M9[t] +  2.28757602085144M10[t] +  0.943788010425726M11[t] -0.256211989574283t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69497&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69497&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
Consumentenvertrouwen[t] = + 93.1815812337098 -33.2632493483927Dummy[t] -0.870981754995648M1[t] -2.61476976542136M2[t] -2.35855777584706M3[t] -9.95499565595133M4[t] -5.04613379669851M5[t] -3.38992180712423M6[t] -2.73370981754994M7[t] -1.07749782797566M8[t] -1.22128583840137M9[t] + 2.28757602085144M10[t] + 0.943788010425726M11[t] -0.256211989574283t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)93.18158123370985.79924716.067900
Dummy-33.26324934839273.570317-9.316600
M1-0.8709817549956487.054806-0.12350.9022810.451141
M2-2.614769765421367.045201-0.37110.7122360.356118
M3-2.358557775847067.03705-0.33520.7390260.369513
M4-9.954995655951337.092537-1.40360.1671570.083578
M5-5.046133796698517.025131-0.71830.4762070.238103
M6-3.389921807124237.021371-0.48280.6315270.315764
M7-2.733709817549947.01908-0.38950.6987270.349364
M8-1.077497827975667.01826-0.15350.8786540.439327
M9-1.221285838401377.018912-0.1740.862630.431315
M102.287576020851446.9962790.3270.7451740.372587
M110.9437880104257266.9940650.13490.8932470.446624
t-0.2562119895742830.101625-2.52120.0152260.007613

\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) & 93.1815812337098 & 5.799247 & 16.0679 & 0 & 0 \tabularnewline
Dummy & -33.2632493483927 & 3.570317 & -9.3166 & 0 & 0 \tabularnewline
M1 & -0.870981754995648 & 7.054806 & -0.1235 & 0.902281 & 0.451141 \tabularnewline
M2 & -2.61476976542136 & 7.045201 & -0.3711 & 0.712236 & 0.356118 \tabularnewline
M3 & -2.35855777584706 & 7.03705 & -0.3352 & 0.739026 & 0.369513 \tabularnewline
M4 & -9.95499565595133 & 7.092537 & -1.4036 & 0.167157 & 0.083578 \tabularnewline
M5 & -5.04613379669851 & 7.025131 & -0.7183 & 0.476207 & 0.238103 \tabularnewline
M6 & -3.38992180712423 & 7.021371 & -0.4828 & 0.631527 & 0.315764 \tabularnewline
M7 & -2.73370981754994 & 7.01908 & -0.3895 & 0.698727 & 0.349364 \tabularnewline
M8 & -1.07749782797566 & 7.01826 & -0.1535 & 0.878654 & 0.439327 \tabularnewline
M9 & -1.22128583840137 & 7.018912 & -0.174 & 0.86263 & 0.431315 \tabularnewline
M10 & 2.28757602085144 & 6.996279 & 0.327 & 0.745174 & 0.372587 \tabularnewline
M11 & 0.943788010425726 & 6.994065 & 0.1349 & 0.893247 & 0.446624 \tabularnewline
t & -0.256211989574283 & 0.101625 & -2.5212 & 0.015226 & 0.007613 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69497&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]93.1815812337098[/C][C]5.799247[/C][C]16.0679[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Dummy[/C][C]-33.2632493483927[/C][C]3.570317[/C][C]-9.3166[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]-0.870981754995648[/C][C]7.054806[/C][C]-0.1235[/C][C]0.902281[/C][C]0.451141[/C][/ROW]
[ROW][C]M2[/C][C]-2.61476976542136[/C][C]7.045201[/C][C]-0.3711[/C][C]0.712236[/C][C]0.356118[/C][/ROW]
[ROW][C]M3[/C][C]-2.35855777584706[/C][C]7.03705[/C][C]-0.3352[/C][C]0.739026[/C][C]0.369513[/C][/ROW]
[ROW][C]M4[/C][C]-9.95499565595133[/C][C]7.092537[/C][C]-1.4036[/C][C]0.167157[/C][C]0.083578[/C][/ROW]
[ROW][C]M5[/C][C]-5.04613379669851[/C][C]7.025131[/C][C]-0.7183[/C][C]0.476207[/C][C]0.238103[/C][/ROW]
[ROW][C]M6[/C][C]-3.38992180712423[/C][C]7.021371[/C][C]-0.4828[/C][C]0.631527[/C][C]0.315764[/C][/ROW]
[ROW][C]M7[/C][C]-2.73370981754994[/C][C]7.01908[/C][C]-0.3895[/C][C]0.698727[/C][C]0.349364[/C][/ROW]
[ROW][C]M8[/C][C]-1.07749782797566[/C][C]7.01826[/C][C]-0.1535[/C][C]0.878654[/C][C]0.439327[/C][/ROW]
[ROW][C]M9[/C][C]-1.22128583840137[/C][C]7.018912[/C][C]-0.174[/C][C]0.86263[/C][C]0.431315[/C][/ROW]
[ROW][C]M10[/C][C]2.28757602085144[/C][C]6.996279[/C][C]0.327[/C][C]0.745174[/C][C]0.372587[/C][/ROW]
[ROW][C]M11[/C][C]0.943788010425726[/C][C]6.994065[/C][C]0.1349[/C][C]0.893247[/C][C]0.446624[/C][/ROW]
[ROW][C]t[/C][C]-0.256211989574283[/C][C]0.101625[/C][C]-2.5212[/C][C]0.015226[/C][C]0.007613[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69497&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69497&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)93.18158123370985.79924716.067900
Dummy-33.26324934839273.570317-9.316600
M1-0.8709817549956487.054806-0.12350.9022810.451141
M2-2.614769765421367.045201-0.37110.7122360.356118
M3-2.358557775847067.03705-0.33520.7390260.369513
M4-9.954995655951337.092537-1.40360.1671570.083578
M5-5.046133796698517.025131-0.71830.4762070.238103
M6-3.389921807124237.021371-0.48280.6315270.315764
M7-2.733709817549947.01908-0.38950.6987270.349364
M8-1.077497827975667.01826-0.15350.8786540.439327
M9-1.221285838401377.018912-0.1740.862630.431315
M102.287576020851446.9962790.3270.7451740.372587
M110.9437880104257266.9940650.13490.8932470.446624
t-0.2562119895742830.101625-2.52120.0152260.007613







Multiple Linear Regression - Regression Statistics
Multiple R0.89104115125093
R-squared0.793954333222582
Adjusted R-squared0.735724036089833
F-TEST (value)13.6347292099951
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value1.0915823800417e-11
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation11.0574195977528
Sum Squared Residuals5624.26029539531

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.89104115125093 \tabularnewline
R-squared & 0.793954333222582 \tabularnewline
Adjusted R-squared & 0.735724036089833 \tabularnewline
F-TEST (value) & 13.6347292099951 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 46 \tabularnewline
p-value & 1.0915823800417e-11 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 11.0574195977528 \tabularnewline
Sum Squared Residuals & 5624.26029539531 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69497&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.89104115125093[/C][/ROW]
[ROW][C]R-squared[/C][C]0.793954333222582[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.735724036089833[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]13.6347292099951[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]46[/C][/ROW]
[ROW][C]p-value[/C][C]1.0915823800417e-11[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]11.0574195977528[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]5624.26029539531[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69497&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69497&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.89104115125093
R-squared0.793954333222582
Adjusted R-squared0.735724036089833
F-TEST (value)13.6347292099951
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value1.0915823800417e-11
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation11.0574195977528
Sum Squared Residuals5624.26029539531







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
18492.05438748914-8.05438748913993
27890.05438748914-12.0543874891399
37490.0543874891399-16.0543874891399
47582.2017376194613-7.20173761946134
57986.8543874891399-7.85438748913987
67988.2543874891399-9.25438748913988
78288.6543874891399-6.65438748913987
88890.0543874891399-2.05438748913987
98189.6543874891399-8.65438748913987
106959.64378801042579.35621198957428
116258.04378801042573.95621198957428
126256.84378801042575.15621198957431
136855.716594265855812.2834057341442
145753.71659426585583.28340573414423
156753.716594265855813.2834057341442
167279.12719374457-7.12719374456993
177583.7798436142485-8.77984361424848
188185.1798436142485-4.17984361424847
198085.5798436142485-5.57984361424847
207986.9798436142485-7.97984361424848
218186.5798436142485-5.57984361424848
228389.832493483927-6.83249348392702
238488.232493483927-4.23249348392701
249087.0324934839272.96750651607299
258485.905299739357-1.90529973935707
269083.9052997393576.09470026064293
279283.90529973935718.0947002606429
289376.052649869678516.9473501303215
298580.7052997393574.29470026064292
309382.10529973935710.8947002606429
319482.50529973935711.4947002606429
329483.90529973935710.0947002606429
3310283.50529973935718.4947002606429
349686.75794960903569.24205039096438
359685.157949609035610.8420503909644
369283.95794960903568.0420503909644
379082.83075586446577.16924413553433
388480.83075586446573.16924413553433
398680.83075586446575.1692441355343
407072.9781059947871-2.97810599478714
416744.36750651607322.632493483927
426045.76750651607314.232493483927
436246.16750651607315.832493483927
446147.56750651607313.4324934839270
455447.1675065160736.83249348392702
465050.4201563857515-0.420156385751522
474548.8201563857515-3.82015638575152
483447.6201563857515-13.6201563857515
493746.4929626411816-9.49296264118157
504444.4929626411816-0.492962641181577
513444.4929626411816-10.4929626411816
523736.64031277150300.359687228496953
533141.2929626411816-10.2929626411816
543142.6929626411816-11.6929626411816
552843.0929626411816-15.0929626411816
563144.4929626411816-13.4929626411816
573344.0929626411816-11.0929626411816
583647.3456125108601-11.3456125108601
593945.7456125108601-6.74561251086012
604244.5456125108601-2.54561251086011

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 84 & 92.05438748914 & -8.05438748913993 \tabularnewline
2 & 78 & 90.05438748914 & -12.0543874891399 \tabularnewline
3 & 74 & 90.0543874891399 & -16.0543874891399 \tabularnewline
4 & 75 & 82.2017376194613 & -7.20173761946134 \tabularnewline
5 & 79 & 86.8543874891399 & -7.85438748913987 \tabularnewline
6 & 79 & 88.2543874891399 & -9.25438748913988 \tabularnewline
7 & 82 & 88.6543874891399 & -6.65438748913987 \tabularnewline
8 & 88 & 90.0543874891399 & -2.05438748913987 \tabularnewline
9 & 81 & 89.6543874891399 & -8.65438748913987 \tabularnewline
10 & 69 & 59.6437880104257 & 9.35621198957428 \tabularnewline
11 & 62 & 58.0437880104257 & 3.95621198957428 \tabularnewline
12 & 62 & 56.8437880104257 & 5.15621198957431 \tabularnewline
13 & 68 & 55.7165942658558 & 12.2834057341442 \tabularnewline
14 & 57 & 53.7165942658558 & 3.28340573414423 \tabularnewline
15 & 67 & 53.7165942658558 & 13.2834057341442 \tabularnewline
16 & 72 & 79.12719374457 & -7.12719374456993 \tabularnewline
17 & 75 & 83.7798436142485 & -8.77984361424848 \tabularnewline
18 & 81 & 85.1798436142485 & -4.17984361424847 \tabularnewline
19 & 80 & 85.5798436142485 & -5.57984361424847 \tabularnewline
20 & 79 & 86.9798436142485 & -7.97984361424848 \tabularnewline
21 & 81 & 86.5798436142485 & -5.57984361424848 \tabularnewline
22 & 83 & 89.832493483927 & -6.83249348392702 \tabularnewline
23 & 84 & 88.232493483927 & -4.23249348392701 \tabularnewline
24 & 90 & 87.032493483927 & 2.96750651607299 \tabularnewline
25 & 84 & 85.905299739357 & -1.90529973935707 \tabularnewline
26 & 90 & 83.905299739357 & 6.09470026064293 \tabularnewline
27 & 92 & 83.9052997393571 & 8.0947002606429 \tabularnewline
28 & 93 & 76.0526498696785 & 16.9473501303215 \tabularnewline
29 & 85 & 80.705299739357 & 4.29470026064292 \tabularnewline
30 & 93 & 82.105299739357 & 10.8947002606429 \tabularnewline
31 & 94 & 82.505299739357 & 11.4947002606429 \tabularnewline
32 & 94 & 83.905299739357 & 10.0947002606429 \tabularnewline
33 & 102 & 83.505299739357 & 18.4947002606429 \tabularnewline
34 & 96 & 86.7579496090356 & 9.24205039096438 \tabularnewline
35 & 96 & 85.1579496090356 & 10.8420503909644 \tabularnewline
36 & 92 & 83.9579496090356 & 8.0420503909644 \tabularnewline
37 & 90 & 82.8307558644657 & 7.16924413553433 \tabularnewline
38 & 84 & 80.8307558644657 & 3.16924413553433 \tabularnewline
39 & 86 & 80.8307558644657 & 5.1692441355343 \tabularnewline
40 & 70 & 72.9781059947871 & -2.97810599478714 \tabularnewline
41 & 67 & 44.367506516073 & 22.632493483927 \tabularnewline
42 & 60 & 45.767506516073 & 14.232493483927 \tabularnewline
43 & 62 & 46.167506516073 & 15.832493483927 \tabularnewline
44 & 61 & 47.567506516073 & 13.4324934839270 \tabularnewline
45 & 54 & 47.167506516073 & 6.83249348392702 \tabularnewline
46 & 50 & 50.4201563857515 & -0.420156385751522 \tabularnewline
47 & 45 & 48.8201563857515 & -3.82015638575152 \tabularnewline
48 & 34 & 47.6201563857515 & -13.6201563857515 \tabularnewline
49 & 37 & 46.4929626411816 & -9.49296264118157 \tabularnewline
50 & 44 & 44.4929626411816 & -0.492962641181577 \tabularnewline
51 & 34 & 44.4929626411816 & -10.4929626411816 \tabularnewline
52 & 37 & 36.6403127715030 & 0.359687228496953 \tabularnewline
53 & 31 & 41.2929626411816 & -10.2929626411816 \tabularnewline
54 & 31 & 42.6929626411816 & -11.6929626411816 \tabularnewline
55 & 28 & 43.0929626411816 & -15.0929626411816 \tabularnewline
56 & 31 & 44.4929626411816 & -13.4929626411816 \tabularnewline
57 & 33 & 44.0929626411816 & -11.0929626411816 \tabularnewline
58 & 36 & 47.3456125108601 & -11.3456125108601 \tabularnewline
59 & 39 & 45.7456125108601 & -6.74561251086012 \tabularnewline
60 & 42 & 44.5456125108601 & -2.54561251086011 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69497&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]84[/C][C]92.05438748914[/C][C]-8.05438748913993[/C][/ROW]
[ROW][C]2[/C][C]78[/C][C]90.05438748914[/C][C]-12.0543874891399[/C][/ROW]
[ROW][C]3[/C][C]74[/C][C]90.0543874891399[/C][C]-16.0543874891399[/C][/ROW]
[ROW][C]4[/C][C]75[/C][C]82.2017376194613[/C][C]-7.20173761946134[/C][/ROW]
[ROW][C]5[/C][C]79[/C][C]86.8543874891399[/C][C]-7.85438748913987[/C][/ROW]
[ROW][C]6[/C][C]79[/C][C]88.2543874891399[/C][C]-9.25438748913988[/C][/ROW]
[ROW][C]7[/C][C]82[/C][C]88.6543874891399[/C][C]-6.65438748913987[/C][/ROW]
[ROW][C]8[/C][C]88[/C][C]90.0543874891399[/C][C]-2.05438748913987[/C][/ROW]
[ROW][C]9[/C][C]81[/C][C]89.6543874891399[/C][C]-8.65438748913987[/C][/ROW]
[ROW][C]10[/C][C]69[/C][C]59.6437880104257[/C][C]9.35621198957428[/C][/ROW]
[ROW][C]11[/C][C]62[/C][C]58.0437880104257[/C][C]3.95621198957428[/C][/ROW]
[ROW][C]12[/C][C]62[/C][C]56.8437880104257[/C][C]5.15621198957431[/C][/ROW]
[ROW][C]13[/C][C]68[/C][C]55.7165942658558[/C][C]12.2834057341442[/C][/ROW]
[ROW][C]14[/C][C]57[/C][C]53.7165942658558[/C][C]3.28340573414423[/C][/ROW]
[ROW][C]15[/C][C]67[/C][C]53.7165942658558[/C][C]13.2834057341442[/C][/ROW]
[ROW][C]16[/C][C]72[/C][C]79.12719374457[/C][C]-7.12719374456993[/C][/ROW]
[ROW][C]17[/C][C]75[/C][C]83.7798436142485[/C][C]-8.77984361424848[/C][/ROW]
[ROW][C]18[/C][C]81[/C][C]85.1798436142485[/C][C]-4.17984361424847[/C][/ROW]
[ROW][C]19[/C][C]80[/C][C]85.5798436142485[/C][C]-5.57984361424847[/C][/ROW]
[ROW][C]20[/C][C]79[/C][C]86.9798436142485[/C][C]-7.97984361424848[/C][/ROW]
[ROW][C]21[/C][C]81[/C][C]86.5798436142485[/C][C]-5.57984361424848[/C][/ROW]
[ROW][C]22[/C][C]83[/C][C]89.832493483927[/C][C]-6.83249348392702[/C][/ROW]
[ROW][C]23[/C][C]84[/C][C]88.232493483927[/C][C]-4.23249348392701[/C][/ROW]
[ROW][C]24[/C][C]90[/C][C]87.032493483927[/C][C]2.96750651607299[/C][/ROW]
[ROW][C]25[/C][C]84[/C][C]85.905299739357[/C][C]-1.90529973935707[/C][/ROW]
[ROW][C]26[/C][C]90[/C][C]83.905299739357[/C][C]6.09470026064293[/C][/ROW]
[ROW][C]27[/C][C]92[/C][C]83.9052997393571[/C][C]8.0947002606429[/C][/ROW]
[ROW][C]28[/C][C]93[/C][C]76.0526498696785[/C][C]16.9473501303215[/C][/ROW]
[ROW][C]29[/C][C]85[/C][C]80.705299739357[/C][C]4.29470026064292[/C][/ROW]
[ROW][C]30[/C][C]93[/C][C]82.105299739357[/C][C]10.8947002606429[/C][/ROW]
[ROW][C]31[/C][C]94[/C][C]82.505299739357[/C][C]11.4947002606429[/C][/ROW]
[ROW][C]32[/C][C]94[/C][C]83.905299739357[/C][C]10.0947002606429[/C][/ROW]
[ROW][C]33[/C][C]102[/C][C]83.505299739357[/C][C]18.4947002606429[/C][/ROW]
[ROW][C]34[/C][C]96[/C][C]86.7579496090356[/C][C]9.24205039096438[/C][/ROW]
[ROW][C]35[/C][C]96[/C][C]85.1579496090356[/C][C]10.8420503909644[/C][/ROW]
[ROW][C]36[/C][C]92[/C][C]83.9579496090356[/C][C]8.0420503909644[/C][/ROW]
[ROW][C]37[/C][C]90[/C][C]82.8307558644657[/C][C]7.16924413553433[/C][/ROW]
[ROW][C]38[/C][C]84[/C][C]80.8307558644657[/C][C]3.16924413553433[/C][/ROW]
[ROW][C]39[/C][C]86[/C][C]80.8307558644657[/C][C]5.1692441355343[/C][/ROW]
[ROW][C]40[/C][C]70[/C][C]72.9781059947871[/C][C]-2.97810599478714[/C][/ROW]
[ROW][C]41[/C][C]67[/C][C]44.367506516073[/C][C]22.632493483927[/C][/ROW]
[ROW][C]42[/C][C]60[/C][C]45.767506516073[/C][C]14.232493483927[/C][/ROW]
[ROW][C]43[/C][C]62[/C][C]46.167506516073[/C][C]15.832493483927[/C][/ROW]
[ROW][C]44[/C][C]61[/C][C]47.567506516073[/C][C]13.4324934839270[/C][/ROW]
[ROW][C]45[/C][C]54[/C][C]47.167506516073[/C][C]6.83249348392702[/C][/ROW]
[ROW][C]46[/C][C]50[/C][C]50.4201563857515[/C][C]-0.420156385751522[/C][/ROW]
[ROW][C]47[/C][C]45[/C][C]48.8201563857515[/C][C]-3.82015638575152[/C][/ROW]
[ROW][C]48[/C][C]34[/C][C]47.6201563857515[/C][C]-13.6201563857515[/C][/ROW]
[ROW][C]49[/C][C]37[/C][C]46.4929626411816[/C][C]-9.49296264118157[/C][/ROW]
[ROW][C]50[/C][C]44[/C][C]44.4929626411816[/C][C]-0.492962641181577[/C][/ROW]
[ROW][C]51[/C][C]34[/C][C]44.4929626411816[/C][C]-10.4929626411816[/C][/ROW]
[ROW][C]52[/C][C]37[/C][C]36.6403127715030[/C][C]0.359687228496953[/C][/ROW]
[ROW][C]53[/C][C]31[/C][C]41.2929626411816[/C][C]-10.2929626411816[/C][/ROW]
[ROW][C]54[/C][C]31[/C][C]42.6929626411816[/C][C]-11.6929626411816[/C][/ROW]
[ROW][C]55[/C][C]28[/C][C]43.0929626411816[/C][C]-15.0929626411816[/C][/ROW]
[ROW][C]56[/C][C]31[/C][C]44.4929626411816[/C][C]-13.4929626411816[/C][/ROW]
[ROW][C]57[/C][C]33[/C][C]44.0929626411816[/C][C]-11.0929626411816[/C][/ROW]
[ROW][C]58[/C][C]36[/C][C]47.3456125108601[/C][C]-11.3456125108601[/C][/ROW]
[ROW][C]59[/C][C]39[/C][C]45.7456125108601[/C][C]-6.74561251086012[/C][/ROW]
[ROW][C]60[/C][C]42[/C][C]44.5456125108601[/C][C]-2.54561251086011[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69497&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69497&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
18492.05438748914-8.05438748913993
27890.05438748914-12.0543874891399
37490.0543874891399-16.0543874891399
47582.2017376194613-7.20173761946134
57986.8543874891399-7.85438748913987
67988.2543874891399-9.25438748913988
78288.6543874891399-6.65438748913987
88890.0543874891399-2.05438748913987
98189.6543874891399-8.65438748913987
106959.64378801042579.35621198957428
116258.04378801042573.95621198957428
126256.84378801042575.15621198957431
136855.716594265855812.2834057341442
145753.71659426585583.28340573414423
156753.716594265855813.2834057341442
167279.12719374457-7.12719374456993
177583.7798436142485-8.77984361424848
188185.1798436142485-4.17984361424847
198085.5798436142485-5.57984361424847
207986.9798436142485-7.97984361424848
218186.5798436142485-5.57984361424848
228389.832493483927-6.83249348392702
238488.232493483927-4.23249348392701
249087.0324934839272.96750651607299
258485.905299739357-1.90529973935707
269083.9052997393576.09470026064293
279283.90529973935718.0947002606429
289376.052649869678516.9473501303215
298580.7052997393574.29470026064292
309382.10529973935710.8947002606429
319482.50529973935711.4947002606429
329483.90529973935710.0947002606429
3310283.50529973935718.4947002606429
349686.75794960903569.24205039096438
359685.157949609035610.8420503909644
369283.95794960903568.0420503909644
379082.83075586446577.16924413553433
388480.83075586446573.16924413553433
398680.83075586446575.1692441355343
407072.9781059947871-2.97810599478714
416744.36750651607322.632493483927
426045.76750651607314.232493483927
436246.16750651607315.832493483927
446147.56750651607313.4324934839270
455447.1675065160736.83249348392702
465050.4201563857515-0.420156385751522
474548.8201563857515-3.82015638575152
483447.6201563857515-13.6201563857515
493746.4929626411816-9.49296264118157
504444.4929626411816-0.492962641181577
513444.4929626411816-10.4929626411816
523736.64031277150300.359687228496953
533141.2929626411816-10.2929626411816
543142.6929626411816-11.6929626411816
552843.0929626411816-15.0929626411816
563144.4929626411816-13.4929626411816
573344.0929626411816-11.0929626411816
583647.3456125108601-11.3456125108601
593945.7456125108601-6.74561251086012
604244.5456125108601-2.54561251086011







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.06590472410639680.1318094482127940.934095275893603
180.02971116114946990.05942232229893980.97028883885053
190.01036726350807710.02073452701615420.989632736491923
200.008809577736853520.01761915547370700.991190422263146
210.005055766325012520.01011153265002500.994944233674987
220.003248479798500010.006496959597000020.9967515202015
230.007270577728288940.01454115545657790.992729422271711
240.01824707019312410.03649414038624830.981752929806876
250.01427950029425290.02855900058850590.985720499705747
260.04570517717638830.09141035435277670.954294822823612
270.05351491194890170.1070298238978030.946485088051098
280.1091177375879140.2182354751758280.890882262412086
290.1153432804967950.2306865609935910.884656719503204
300.09533125659925730.1906625131985150.904668743400743
310.07310283019708740.1462056603941750.926897169802913
320.05085567913759380.1017113582751880.949144320862406
330.06485027313430170.1297005462686030.935149726865698
340.03904033285892310.07808066571784620.960959667141077
350.02412114882640900.04824229765281790.97587885117359
360.01288943574833360.02577887149666730.987110564251666
370.01032142466526850.02064284933053700.989678575334731
380.006913515538687160.01382703107737430.993086484461313
390.00748761891004480.01497523782008960.992512381089955
400.01413976207047360.02827952414094730.985860237929526
410.01547735605066870.03095471210133740.984522643949331
420.01573741910024650.0314748382004930.984262580899753
430.03223844156879170.06447688313758340.967761558431208

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
17 & 0.0659047241063968 & 0.131809448212794 & 0.934095275893603 \tabularnewline
18 & 0.0297111611494699 & 0.0594223222989398 & 0.97028883885053 \tabularnewline
19 & 0.0103672635080771 & 0.0207345270161542 & 0.989632736491923 \tabularnewline
20 & 0.00880957773685352 & 0.0176191554737070 & 0.991190422263146 \tabularnewline
21 & 0.00505576632501252 & 0.0101115326500250 & 0.994944233674987 \tabularnewline
22 & 0.00324847979850001 & 0.00649695959700002 & 0.9967515202015 \tabularnewline
23 & 0.00727057772828894 & 0.0145411554565779 & 0.992729422271711 \tabularnewline
24 & 0.0182470701931241 & 0.0364941403862483 & 0.981752929806876 \tabularnewline
25 & 0.0142795002942529 & 0.0285590005885059 & 0.985720499705747 \tabularnewline
26 & 0.0457051771763883 & 0.0914103543527767 & 0.954294822823612 \tabularnewline
27 & 0.0535149119489017 & 0.107029823897803 & 0.946485088051098 \tabularnewline
28 & 0.109117737587914 & 0.218235475175828 & 0.890882262412086 \tabularnewline
29 & 0.115343280496795 & 0.230686560993591 & 0.884656719503204 \tabularnewline
30 & 0.0953312565992573 & 0.190662513198515 & 0.904668743400743 \tabularnewline
31 & 0.0731028301970874 & 0.146205660394175 & 0.926897169802913 \tabularnewline
32 & 0.0508556791375938 & 0.101711358275188 & 0.949144320862406 \tabularnewline
33 & 0.0648502731343017 & 0.129700546268603 & 0.935149726865698 \tabularnewline
34 & 0.0390403328589231 & 0.0780806657178462 & 0.960959667141077 \tabularnewline
35 & 0.0241211488264090 & 0.0482422976528179 & 0.97587885117359 \tabularnewline
36 & 0.0128894357483336 & 0.0257788714966673 & 0.987110564251666 \tabularnewline
37 & 0.0103214246652685 & 0.0206428493305370 & 0.989678575334731 \tabularnewline
38 & 0.00691351553868716 & 0.0138270310773743 & 0.993086484461313 \tabularnewline
39 & 0.0074876189100448 & 0.0149752378200896 & 0.992512381089955 \tabularnewline
40 & 0.0141397620704736 & 0.0282795241409473 & 0.985860237929526 \tabularnewline
41 & 0.0154773560506687 & 0.0309547121013374 & 0.984522643949331 \tabularnewline
42 & 0.0157374191002465 & 0.031474838200493 & 0.984262580899753 \tabularnewline
43 & 0.0322384415687917 & 0.0644768831375834 & 0.967761558431208 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69497&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]17[/C][C]0.0659047241063968[/C][C]0.131809448212794[/C][C]0.934095275893603[/C][/ROW]
[ROW][C]18[/C][C]0.0297111611494699[/C][C]0.0594223222989398[/C][C]0.97028883885053[/C][/ROW]
[ROW][C]19[/C][C]0.0103672635080771[/C][C]0.0207345270161542[/C][C]0.989632736491923[/C][/ROW]
[ROW][C]20[/C][C]0.00880957773685352[/C][C]0.0176191554737070[/C][C]0.991190422263146[/C][/ROW]
[ROW][C]21[/C][C]0.00505576632501252[/C][C]0.0101115326500250[/C][C]0.994944233674987[/C][/ROW]
[ROW][C]22[/C][C]0.00324847979850001[/C][C]0.00649695959700002[/C][C]0.9967515202015[/C][/ROW]
[ROW][C]23[/C][C]0.00727057772828894[/C][C]0.0145411554565779[/C][C]0.992729422271711[/C][/ROW]
[ROW][C]24[/C][C]0.0182470701931241[/C][C]0.0364941403862483[/C][C]0.981752929806876[/C][/ROW]
[ROW][C]25[/C][C]0.0142795002942529[/C][C]0.0285590005885059[/C][C]0.985720499705747[/C][/ROW]
[ROW][C]26[/C][C]0.0457051771763883[/C][C]0.0914103543527767[/C][C]0.954294822823612[/C][/ROW]
[ROW][C]27[/C][C]0.0535149119489017[/C][C]0.107029823897803[/C][C]0.946485088051098[/C][/ROW]
[ROW][C]28[/C][C]0.109117737587914[/C][C]0.218235475175828[/C][C]0.890882262412086[/C][/ROW]
[ROW][C]29[/C][C]0.115343280496795[/C][C]0.230686560993591[/C][C]0.884656719503204[/C][/ROW]
[ROW][C]30[/C][C]0.0953312565992573[/C][C]0.190662513198515[/C][C]0.904668743400743[/C][/ROW]
[ROW][C]31[/C][C]0.0731028301970874[/C][C]0.146205660394175[/C][C]0.926897169802913[/C][/ROW]
[ROW][C]32[/C][C]0.0508556791375938[/C][C]0.101711358275188[/C][C]0.949144320862406[/C][/ROW]
[ROW][C]33[/C][C]0.0648502731343017[/C][C]0.129700546268603[/C][C]0.935149726865698[/C][/ROW]
[ROW][C]34[/C][C]0.0390403328589231[/C][C]0.0780806657178462[/C][C]0.960959667141077[/C][/ROW]
[ROW][C]35[/C][C]0.0241211488264090[/C][C]0.0482422976528179[/C][C]0.97587885117359[/C][/ROW]
[ROW][C]36[/C][C]0.0128894357483336[/C][C]0.0257788714966673[/C][C]0.987110564251666[/C][/ROW]
[ROW][C]37[/C][C]0.0103214246652685[/C][C]0.0206428493305370[/C][C]0.989678575334731[/C][/ROW]
[ROW][C]38[/C][C]0.00691351553868716[/C][C]0.0138270310773743[/C][C]0.993086484461313[/C][/ROW]
[ROW][C]39[/C][C]0.0074876189100448[/C][C]0.0149752378200896[/C][C]0.992512381089955[/C][/ROW]
[ROW][C]40[/C][C]0.0141397620704736[/C][C]0.0282795241409473[/C][C]0.985860237929526[/C][/ROW]
[ROW][C]41[/C][C]0.0154773560506687[/C][C]0.0309547121013374[/C][C]0.984522643949331[/C][/ROW]
[ROW][C]42[/C][C]0.0157374191002465[/C][C]0.031474838200493[/C][C]0.984262580899753[/C][/ROW]
[ROW][C]43[/C][C]0.0322384415687917[/C][C]0.0644768831375834[/C][C]0.967761558431208[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69497&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69497&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
170.06590472410639680.1318094482127940.934095275893603
180.02971116114946990.05942232229893980.97028883885053
190.01036726350807710.02073452701615420.989632736491923
200.008809577736853520.01761915547370700.991190422263146
210.005055766325012520.01011153265002500.994944233674987
220.003248479798500010.006496959597000020.9967515202015
230.007270577728288940.01454115545657790.992729422271711
240.01824707019312410.03649414038624830.981752929806876
250.01427950029425290.02855900058850590.985720499705747
260.04570517717638830.09141035435277670.954294822823612
270.05351491194890170.1070298238978030.946485088051098
280.1091177375879140.2182354751758280.890882262412086
290.1153432804967950.2306865609935910.884656719503204
300.09533125659925730.1906625131985150.904668743400743
310.07310283019708740.1462056603941750.926897169802913
320.05085567913759380.1017113582751880.949144320862406
330.06485027313430170.1297005462686030.935149726865698
340.03904033285892310.07808066571784620.960959667141077
350.02412114882640900.04824229765281790.97587885117359
360.01288943574833360.02577887149666730.987110564251666
370.01032142466526850.02064284933053700.989678575334731
380.006913515538687160.01382703107737430.993086484461313
390.00748761891004480.01497523782008960.992512381089955
400.01413976207047360.02827952414094730.985860237929526
410.01547735605066870.03095471210133740.984522643949331
420.01573741910024650.0314748382004930.984262580899753
430.03223844156879170.06447688313758340.967761558431208







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level10.0370370370370370NOK
5% type I error level150.555555555555556NOK
10% type I error level190.703703703703704NOK

\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 & 1 & 0.0370370370370370 & NOK \tabularnewline
5% type I error level & 15 & 0.555555555555556 & NOK \tabularnewline
10% type I error level & 19 & 0.703703703703704 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69497&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]1[/C][C]0.0370370370370370[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]15[/C][C]0.555555555555556[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]19[/C][C]0.703703703703704[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69497&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69497&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 level10.0370370370370370NOK
5% type I error level150.555555555555556NOK
10% type I error level190.703703703703704NOK



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