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 computationTue, 30 Nov 2010 19:33:32 +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/Nov/30/t1291145504u95fzx6jkmcux2n.htm/, Retrieved Mon, 29 Apr 2024 08:51:23 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=103791, Retrieved Mon, 29 Apr 2024 08:51:23 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact132
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [HPC Retail Sales] [2008-03-08 13:40:54] [1c0f2c85e8a48e42648374b3bcceca26]
-  MPD    [Multiple Regression] [Multiple Regression] [2010-11-30 19:33:32] [214713b86cef2e1efaaf6d85aa84ff3c] [Current]
Feedback Forum

Post a new message
Dataseries X:
0.96
0.95
0.95
0.96
0.96
0.96
0.95
0.96
0.96
0.96
0.95
0.95
0.96
0.96
0.96
0.96
0.96
0.95
0.95
0.95
0.95
0.95
0.95
0.95
0.95
0.95
0.95
0.96
0.96
0.96
0.97
0.97
0.97
0.96
0.95
0.95
0.95
0.95
0.95
0.95
0.95
0.95
0.95
0.95
0.95
0.95
0.94
0.94
0.94
0.93
0.93
0.93
0.93
0.92
0.93




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time6 seconds
R Server'George Udny Yule' @ 72.249.76.132

\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 & 6 seconds \tabularnewline
R Server & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=103791&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]6 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=103791&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=103791&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 time6 seconds
R Server'George Udny Yule' @ 72.249.76.132







Multiple Linear Regression - Estimated Regression Equation
suikerprijs[t] = + 0.959605263157894 + 0.00248245614035033M1[t] -0.00111403508771925M2[t] -0.000710526315789426M3[t] + 0.00369298245614038M4[t] + 0.00409649122807021M5[t] + 0.000500000000000024M6[t] + 0.00290350877192985M7[t] + 0.00838596491228074M8[t] + 0.00878947368421055M9[t] + 0.00669298245614037M10[t] -0.000403508771929817M11[t] -0.000403508771929818t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
suikerprijs[t] =  +  0.959605263157894 +  0.00248245614035033M1[t] -0.00111403508771925M2[t] -0.000710526315789426M3[t] +  0.00369298245614038M4[t] +  0.00409649122807021M5[t] +  0.000500000000000024M6[t] +  0.00290350877192985M7[t] +  0.00838596491228074M8[t] +  0.00878947368421055M9[t] +  0.00669298245614037M10[t] -0.000403508771929817M11[t] -0.000403508771929818t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=103791&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]suikerprijs[t] =  +  0.959605263157894 +  0.00248245614035033M1[t] -0.00111403508771925M2[t] -0.000710526315789426M3[t] +  0.00369298245614038M4[t] +  0.00409649122807021M5[t] +  0.000500000000000024M6[t] +  0.00290350877192985M7[t] +  0.00838596491228074M8[t] +  0.00878947368421055M9[t] +  0.00669298245614037M10[t] -0.000403508771929817M11[t] -0.000403508771929818t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=103791&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=103791&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
suikerprijs[t] = + 0.959605263157894 + 0.00248245614035033M1[t] -0.00111403508771925M2[t] -0.000710526315789426M3[t] + 0.00369298245614038M4[t] + 0.00409649122807021M5[t] + 0.000500000000000024M6[t] + 0.00290350877192985M7[t] + 0.00838596491228074M8[t] + 0.00878947368421055M9[t] + 0.00669298245614037M10[t] -0.000403508771929817M11[t] -0.000403508771929818t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)0.9596052631578940.004791200.300100
M10.002482456140350330.0057310.43320.667090.333545
M2-0.001114035087719250.005726-0.19450.8466880.423344
M3-0.0007105263157894260.005723-0.12410.9017890.450895
M40.003692982456140380.0057210.64550.5220940.261047
M50.004096491228070210.0057190.71620.4778080.238904
M60.0005000000000000240.0057190.08740.9307470.465373
M70.002903508771929850.0057190.50770.6143510.307175
M80.008385964912280740.0060351.38950.1720130.086007
M90.008789473684210550.0060321.45710.1525340.076267
M100.006692982456140370.006031.10990.2733440.136672
M11-0.0004035087719298170.006029-0.06690.9469550.473477
t-0.0004035087719298187.3e-05-5.53582e-061e-06

\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) & 0.959605263157894 & 0.004791 & 200.3001 & 0 & 0 \tabularnewline
M1 & 0.00248245614035033 & 0.005731 & 0.4332 & 0.66709 & 0.333545 \tabularnewline
M2 & -0.00111403508771925 & 0.005726 & -0.1945 & 0.846688 & 0.423344 \tabularnewline
M3 & -0.000710526315789426 & 0.005723 & -0.1241 & 0.901789 & 0.450895 \tabularnewline
M4 & 0.00369298245614038 & 0.005721 & 0.6455 & 0.522094 & 0.261047 \tabularnewline
M5 & 0.00409649122807021 & 0.005719 & 0.7162 & 0.477808 & 0.238904 \tabularnewline
M6 & 0.000500000000000024 & 0.005719 & 0.0874 & 0.930747 & 0.465373 \tabularnewline
M7 & 0.00290350877192985 & 0.005719 & 0.5077 & 0.614351 & 0.307175 \tabularnewline
M8 & 0.00838596491228074 & 0.006035 & 1.3895 & 0.172013 & 0.086007 \tabularnewline
M9 & 0.00878947368421055 & 0.006032 & 1.4571 & 0.152534 & 0.076267 \tabularnewline
M10 & 0.00669298245614037 & 0.00603 & 1.1099 & 0.273344 & 0.136672 \tabularnewline
M11 & -0.000403508771929817 & 0.006029 & -0.0669 & 0.946955 & 0.473477 \tabularnewline
t & -0.000403508771929818 & 7.3e-05 & -5.5358 & 2e-06 & 1e-06 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=103791&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]0.959605263157894[/C][C]0.004791[/C][C]200.3001[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]0.00248245614035033[/C][C]0.005731[/C][C]0.4332[/C][C]0.66709[/C][C]0.333545[/C][/ROW]
[ROW][C]M2[/C][C]-0.00111403508771925[/C][C]0.005726[/C][C]-0.1945[/C][C]0.846688[/C][C]0.423344[/C][/ROW]
[ROW][C]M3[/C][C]-0.000710526315789426[/C][C]0.005723[/C][C]-0.1241[/C][C]0.901789[/C][C]0.450895[/C][/ROW]
[ROW][C]M4[/C][C]0.00369298245614038[/C][C]0.005721[/C][C]0.6455[/C][C]0.522094[/C][C]0.261047[/C][/ROW]
[ROW][C]M5[/C][C]0.00409649122807021[/C][C]0.005719[/C][C]0.7162[/C][C]0.477808[/C][C]0.238904[/C][/ROW]
[ROW][C]M6[/C][C]0.000500000000000024[/C][C]0.005719[/C][C]0.0874[/C][C]0.930747[/C][C]0.465373[/C][/ROW]
[ROW][C]M7[/C][C]0.00290350877192985[/C][C]0.005719[/C][C]0.5077[/C][C]0.614351[/C][C]0.307175[/C][/ROW]
[ROW][C]M8[/C][C]0.00838596491228074[/C][C]0.006035[/C][C]1.3895[/C][C]0.172013[/C][C]0.086007[/C][/ROW]
[ROW][C]M9[/C][C]0.00878947368421055[/C][C]0.006032[/C][C]1.4571[/C][C]0.152534[/C][C]0.076267[/C][/ROW]
[ROW][C]M10[/C][C]0.00669298245614037[/C][C]0.00603[/C][C]1.1099[/C][C]0.273344[/C][C]0.136672[/C][/ROW]
[ROW][C]M11[/C][C]-0.000403508771929817[/C][C]0.006029[/C][C]-0.0669[/C][C]0.946955[/C][C]0.473477[/C][/ROW]
[ROW][C]t[/C][C]-0.000403508771929818[/C][C]7.3e-05[/C][C]-5.5358[/C][C]2e-06[/C][C]1e-06[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=103791&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=103791&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)0.9596052631578940.004791200.300100
M10.002482456140350330.0057310.43320.667090.333545
M2-0.001114035087719250.005726-0.19450.8466880.423344
M3-0.0007105263157894260.005723-0.12410.9017890.450895
M40.003692982456140380.0057210.64550.5220940.261047
M50.004096491228070210.0057190.71620.4778080.238904
M60.0005000000000000240.0057190.08740.9307470.465373
M70.002903508771929850.0057190.50770.6143510.307175
M80.008385964912280740.0060351.38950.1720130.086007
M90.008789473684210550.0060321.45710.1525340.076267
M100.006692982456140370.006031.10990.2733440.136672
M11-0.0004035087719298170.006029-0.06690.9469550.473477
t-0.0004035087719298187.3e-05-5.53582e-061e-06







Multiple Linear Regression - Regression Statistics
Multiple R0.696861977056488
R-squared0.485616615067078
Adjusted R-squared0.338649933657671
F-TEST (value)3.30426332288399
F-TEST (DF numerator)12
F-TEST (DF denominator)42
p-value0.00198459704748566
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.00852535654742085
Sum Squared Residuals0.00305263157894737

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.696861977056488 \tabularnewline
R-squared & 0.485616615067078 \tabularnewline
Adjusted R-squared & 0.338649933657671 \tabularnewline
F-TEST (value) & 3.30426332288399 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 42 \tabularnewline
p-value & 0.00198459704748566 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.00852535654742085 \tabularnewline
Sum Squared Residuals & 0.00305263157894737 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=103791&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.696861977056488[/C][/ROW]
[ROW][C]R-squared[/C][C]0.485616615067078[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.338649933657671[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]3.30426332288399[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]42[/C][/ROW]
[ROW][C]p-value[/C][C]0.00198459704748566[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]0.00852535654742085[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]0.00305263157894737[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=103791&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=103791&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.696861977056488
R-squared0.485616615067078
Adjusted R-squared0.338649933657671
F-TEST (value)3.30426332288399
F-TEST (DF numerator)12
F-TEST (DF denominator)42
p-value0.00198459704748566
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.00852535654742085
Sum Squared Residuals0.00305263157894737







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
10.960.961684210526318-0.00168421052631794
20.950.957684210526316-0.00768421052631566
30.950.957684210526316-0.00768421052631567
40.960.961684210526316-0.00168421052631567
50.960.961684210526316-0.00168421052631566
60.960.9576842105263160.00231578947368434
70.950.959684210526316-0.00968421052631567
80.960.964763157894737-0.00476315789473673
90.960.964763157894737-0.00476315789473674
100.960.962263157894737-0.00226315789473673
110.950.954763157894737-0.00476315789473674
120.950.954763157894737-0.00476315789473673
130.960.9568421052631570.00315789473684274
140.960.9528421052631580.00715789473684216
150.960.9528421052631580.00715789473684216
160.960.9568421052631580.00315789473684216
170.960.9568421052631580.00315789473684216
180.950.952842105263158-0.00284210526315785
190.950.954842105263158-0.00484210526315785
200.950.959921052631579-0.00992105263157892
210.950.959921052631579-0.00992105263157892
220.950.957421052631579-0.00742105263157892
230.950.9499210526315797.89473684210919e-05
240.950.9499210526315797.89473684210923e-05
250.950.952-0.00199999999999942
260.950.9480.00199999999999998
270.950.9480.00199999999999998
280.960.9520.00799999999999998
290.960.9520.00799999999999998
300.960.9480.0120000000000000
310.970.950.02
320.970.9550789473684210.0149210526315789
330.970.9550789473684210.0149210526315789
340.960.9525789473684210.00742105263157891
350.950.9450789473684210.00492105263157891
360.950.9450789473684210.00492105263157892
370.950.9471578947368420.0028421052631584
380.950.9431578947368420.0068421052631578
390.950.9431578947368420.0068421052631578
400.950.9471578947368420.00284210526315780
410.950.9471578947368420.0028421052631578
420.950.9431578947368420.0068421052631578
430.950.9451578947368420.0048421052631578
440.950.950236842105263-0.000236842105263269
450.950.950236842105263-0.000236842105263266
460.950.9477368421052630.00226315789473673
470.940.940236842105263-0.000236842105263269
480.940.940236842105263-0.000236842105263267
490.940.942315789473684-0.00231578947368378
500.930.938315789473684-0.00831578947368428
510.930.938315789473684-0.00831578947368427
520.930.942315789473684-0.0123157894736843
530.930.942315789473684-0.0123157894736843
540.920.938315789473684-0.0183157894736843
550.930.940315789473684-0.0103157894736843

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 0.96 & 0.961684210526318 & -0.00168421052631794 \tabularnewline
2 & 0.95 & 0.957684210526316 & -0.00768421052631566 \tabularnewline
3 & 0.95 & 0.957684210526316 & -0.00768421052631567 \tabularnewline
4 & 0.96 & 0.961684210526316 & -0.00168421052631567 \tabularnewline
5 & 0.96 & 0.961684210526316 & -0.00168421052631566 \tabularnewline
6 & 0.96 & 0.957684210526316 & 0.00231578947368434 \tabularnewline
7 & 0.95 & 0.959684210526316 & -0.00968421052631567 \tabularnewline
8 & 0.96 & 0.964763157894737 & -0.00476315789473673 \tabularnewline
9 & 0.96 & 0.964763157894737 & -0.00476315789473674 \tabularnewline
10 & 0.96 & 0.962263157894737 & -0.00226315789473673 \tabularnewline
11 & 0.95 & 0.954763157894737 & -0.00476315789473674 \tabularnewline
12 & 0.95 & 0.954763157894737 & -0.00476315789473673 \tabularnewline
13 & 0.96 & 0.956842105263157 & 0.00315789473684274 \tabularnewline
14 & 0.96 & 0.952842105263158 & 0.00715789473684216 \tabularnewline
15 & 0.96 & 0.952842105263158 & 0.00715789473684216 \tabularnewline
16 & 0.96 & 0.956842105263158 & 0.00315789473684216 \tabularnewline
17 & 0.96 & 0.956842105263158 & 0.00315789473684216 \tabularnewline
18 & 0.95 & 0.952842105263158 & -0.00284210526315785 \tabularnewline
19 & 0.95 & 0.954842105263158 & -0.00484210526315785 \tabularnewline
20 & 0.95 & 0.959921052631579 & -0.00992105263157892 \tabularnewline
21 & 0.95 & 0.959921052631579 & -0.00992105263157892 \tabularnewline
22 & 0.95 & 0.957421052631579 & -0.00742105263157892 \tabularnewline
23 & 0.95 & 0.949921052631579 & 7.89473684210919e-05 \tabularnewline
24 & 0.95 & 0.949921052631579 & 7.89473684210923e-05 \tabularnewline
25 & 0.95 & 0.952 & -0.00199999999999942 \tabularnewline
26 & 0.95 & 0.948 & 0.00199999999999998 \tabularnewline
27 & 0.95 & 0.948 & 0.00199999999999998 \tabularnewline
28 & 0.96 & 0.952 & 0.00799999999999998 \tabularnewline
29 & 0.96 & 0.952 & 0.00799999999999998 \tabularnewline
30 & 0.96 & 0.948 & 0.0120000000000000 \tabularnewline
31 & 0.97 & 0.95 & 0.02 \tabularnewline
32 & 0.97 & 0.955078947368421 & 0.0149210526315789 \tabularnewline
33 & 0.97 & 0.955078947368421 & 0.0149210526315789 \tabularnewline
34 & 0.96 & 0.952578947368421 & 0.00742105263157891 \tabularnewline
35 & 0.95 & 0.945078947368421 & 0.00492105263157891 \tabularnewline
36 & 0.95 & 0.945078947368421 & 0.00492105263157892 \tabularnewline
37 & 0.95 & 0.947157894736842 & 0.0028421052631584 \tabularnewline
38 & 0.95 & 0.943157894736842 & 0.0068421052631578 \tabularnewline
39 & 0.95 & 0.943157894736842 & 0.0068421052631578 \tabularnewline
40 & 0.95 & 0.947157894736842 & 0.00284210526315780 \tabularnewline
41 & 0.95 & 0.947157894736842 & 0.0028421052631578 \tabularnewline
42 & 0.95 & 0.943157894736842 & 0.0068421052631578 \tabularnewline
43 & 0.95 & 0.945157894736842 & 0.0048421052631578 \tabularnewline
44 & 0.95 & 0.950236842105263 & -0.000236842105263269 \tabularnewline
45 & 0.95 & 0.950236842105263 & -0.000236842105263266 \tabularnewline
46 & 0.95 & 0.947736842105263 & 0.00226315789473673 \tabularnewline
47 & 0.94 & 0.940236842105263 & -0.000236842105263269 \tabularnewline
48 & 0.94 & 0.940236842105263 & -0.000236842105263267 \tabularnewline
49 & 0.94 & 0.942315789473684 & -0.00231578947368378 \tabularnewline
50 & 0.93 & 0.938315789473684 & -0.00831578947368428 \tabularnewline
51 & 0.93 & 0.938315789473684 & -0.00831578947368427 \tabularnewline
52 & 0.93 & 0.942315789473684 & -0.0123157894736843 \tabularnewline
53 & 0.93 & 0.942315789473684 & -0.0123157894736843 \tabularnewline
54 & 0.92 & 0.938315789473684 & -0.0183157894736843 \tabularnewline
55 & 0.93 & 0.940315789473684 & -0.0103157894736843 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=103791&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]0.96[/C][C]0.961684210526318[/C][C]-0.00168421052631794[/C][/ROW]
[ROW][C]2[/C][C]0.95[/C][C]0.957684210526316[/C][C]-0.00768421052631566[/C][/ROW]
[ROW][C]3[/C][C]0.95[/C][C]0.957684210526316[/C][C]-0.00768421052631567[/C][/ROW]
[ROW][C]4[/C][C]0.96[/C][C]0.961684210526316[/C][C]-0.00168421052631567[/C][/ROW]
[ROW][C]5[/C][C]0.96[/C][C]0.961684210526316[/C][C]-0.00168421052631566[/C][/ROW]
[ROW][C]6[/C][C]0.96[/C][C]0.957684210526316[/C][C]0.00231578947368434[/C][/ROW]
[ROW][C]7[/C][C]0.95[/C][C]0.959684210526316[/C][C]-0.00968421052631567[/C][/ROW]
[ROW][C]8[/C][C]0.96[/C][C]0.964763157894737[/C][C]-0.00476315789473673[/C][/ROW]
[ROW][C]9[/C][C]0.96[/C][C]0.964763157894737[/C][C]-0.00476315789473674[/C][/ROW]
[ROW][C]10[/C][C]0.96[/C][C]0.962263157894737[/C][C]-0.00226315789473673[/C][/ROW]
[ROW][C]11[/C][C]0.95[/C][C]0.954763157894737[/C][C]-0.00476315789473674[/C][/ROW]
[ROW][C]12[/C][C]0.95[/C][C]0.954763157894737[/C][C]-0.00476315789473673[/C][/ROW]
[ROW][C]13[/C][C]0.96[/C][C]0.956842105263157[/C][C]0.00315789473684274[/C][/ROW]
[ROW][C]14[/C][C]0.96[/C][C]0.952842105263158[/C][C]0.00715789473684216[/C][/ROW]
[ROW][C]15[/C][C]0.96[/C][C]0.952842105263158[/C][C]0.00715789473684216[/C][/ROW]
[ROW][C]16[/C][C]0.96[/C][C]0.956842105263158[/C][C]0.00315789473684216[/C][/ROW]
[ROW][C]17[/C][C]0.96[/C][C]0.956842105263158[/C][C]0.00315789473684216[/C][/ROW]
[ROW][C]18[/C][C]0.95[/C][C]0.952842105263158[/C][C]-0.00284210526315785[/C][/ROW]
[ROW][C]19[/C][C]0.95[/C][C]0.954842105263158[/C][C]-0.00484210526315785[/C][/ROW]
[ROW][C]20[/C][C]0.95[/C][C]0.959921052631579[/C][C]-0.00992105263157892[/C][/ROW]
[ROW][C]21[/C][C]0.95[/C][C]0.959921052631579[/C][C]-0.00992105263157892[/C][/ROW]
[ROW][C]22[/C][C]0.95[/C][C]0.957421052631579[/C][C]-0.00742105263157892[/C][/ROW]
[ROW][C]23[/C][C]0.95[/C][C]0.949921052631579[/C][C]7.89473684210919e-05[/C][/ROW]
[ROW][C]24[/C][C]0.95[/C][C]0.949921052631579[/C][C]7.89473684210923e-05[/C][/ROW]
[ROW][C]25[/C][C]0.95[/C][C]0.952[/C][C]-0.00199999999999942[/C][/ROW]
[ROW][C]26[/C][C]0.95[/C][C]0.948[/C][C]0.00199999999999998[/C][/ROW]
[ROW][C]27[/C][C]0.95[/C][C]0.948[/C][C]0.00199999999999998[/C][/ROW]
[ROW][C]28[/C][C]0.96[/C][C]0.952[/C][C]0.00799999999999998[/C][/ROW]
[ROW][C]29[/C][C]0.96[/C][C]0.952[/C][C]0.00799999999999998[/C][/ROW]
[ROW][C]30[/C][C]0.96[/C][C]0.948[/C][C]0.0120000000000000[/C][/ROW]
[ROW][C]31[/C][C]0.97[/C][C]0.95[/C][C]0.02[/C][/ROW]
[ROW][C]32[/C][C]0.97[/C][C]0.955078947368421[/C][C]0.0149210526315789[/C][/ROW]
[ROW][C]33[/C][C]0.97[/C][C]0.955078947368421[/C][C]0.0149210526315789[/C][/ROW]
[ROW][C]34[/C][C]0.96[/C][C]0.952578947368421[/C][C]0.00742105263157891[/C][/ROW]
[ROW][C]35[/C][C]0.95[/C][C]0.945078947368421[/C][C]0.00492105263157891[/C][/ROW]
[ROW][C]36[/C][C]0.95[/C][C]0.945078947368421[/C][C]0.00492105263157892[/C][/ROW]
[ROW][C]37[/C][C]0.95[/C][C]0.947157894736842[/C][C]0.0028421052631584[/C][/ROW]
[ROW][C]38[/C][C]0.95[/C][C]0.943157894736842[/C][C]0.0068421052631578[/C][/ROW]
[ROW][C]39[/C][C]0.95[/C][C]0.943157894736842[/C][C]0.0068421052631578[/C][/ROW]
[ROW][C]40[/C][C]0.95[/C][C]0.947157894736842[/C][C]0.00284210526315780[/C][/ROW]
[ROW][C]41[/C][C]0.95[/C][C]0.947157894736842[/C][C]0.0028421052631578[/C][/ROW]
[ROW][C]42[/C][C]0.95[/C][C]0.943157894736842[/C][C]0.0068421052631578[/C][/ROW]
[ROW][C]43[/C][C]0.95[/C][C]0.945157894736842[/C][C]0.0048421052631578[/C][/ROW]
[ROW][C]44[/C][C]0.95[/C][C]0.950236842105263[/C][C]-0.000236842105263269[/C][/ROW]
[ROW][C]45[/C][C]0.95[/C][C]0.950236842105263[/C][C]-0.000236842105263266[/C][/ROW]
[ROW][C]46[/C][C]0.95[/C][C]0.947736842105263[/C][C]0.00226315789473673[/C][/ROW]
[ROW][C]47[/C][C]0.94[/C][C]0.940236842105263[/C][C]-0.000236842105263269[/C][/ROW]
[ROW][C]48[/C][C]0.94[/C][C]0.940236842105263[/C][C]-0.000236842105263267[/C][/ROW]
[ROW][C]49[/C][C]0.94[/C][C]0.942315789473684[/C][C]-0.00231578947368378[/C][/ROW]
[ROW][C]50[/C][C]0.93[/C][C]0.938315789473684[/C][C]-0.00831578947368428[/C][/ROW]
[ROW][C]51[/C][C]0.93[/C][C]0.938315789473684[/C][C]-0.00831578947368427[/C][/ROW]
[ROW][C]52[/C][C]0.93[/C][C]0.942315789473684[/C][C]-0.0123157894736843[/C][/ROW]
[ROW][C]53[/C][C]0.93[/C][C]0.942315789473684[/C][C]-0.0123157894736843[/C][/ROW]
[ROW][C]54[/C][C]0.92[/C][C]0.938315789473684[/C][C]-0.0183157894736843[/C][/ROW]
[ROW][C]55[/C][C]0.93[/C][C]0.940315789473684[/C][C]-0.0103157894736843[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=103791&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=103791&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
10.960.961684210526318-0.00168421052631794
20.950.957684210526316-0.00768421052631566
30.950.957684210526316-0.00768421052631567
40.960.961684210526316-0.00168421052631567
50.960.961684210526316-0.00168421052631566
60.960.9576842105263160.00231578947368434
70.950.959684210526316-0.00968421052631567
80.960.964763157894737-0.00476315789473673
90.960.964763157894737-0.00476315789473674
100.960.962263157894737-0.00226315789473673
110.950.954763157894737-0.00476315789473674
120.950.954763157894737-0.00476315789473673
130.960.9568421052631570.00315789473684274
140.960.9528421052631580.00715789473684216
150.960.9528421052631580.00715789473684216
160.960.9568421052631580.00315789473684216
170.960.9568421052631580.00315789473684216
180.950.952842105263158-0.00284210526315785
190.950.954842105263158-0.00484210526315785
200.950.959921052631579-0.00992105263157892
210.950.959921052631579-0.00992105263157892
220.950.957421052631579-0.00742105263157892
230.950.9499210526315797.89473684210919e-05
240.950.9499210526315797.89473684210923e-05
250.950.952-0.00199999999999942
260.950.9480.00199999999999998
270.950.9480.00199999999999998
280.960.9520.00799999999999998
290.960.9520.00799999999999998
300.960.9480.0120000000000000
310.970.950.02
320.970.9550789473684210.0149210526315789
330.970.9550789473684210.0149210526315789
340.960.9525789473684210.00742105263157891
350.950.9450789473684210.00492105263157891
360.950.9450789473684210.00492105263157892
370.950.9471578947368420.0028421052631584
380.950.9431578947368420.0068421052631578
390.950.9431578947368420.0068421052631578
400.950.9471578947368420.00284210526315780
410.950.9471578947368420.0028421052631578
420.950.9431578947368420.0068421052631578
430.950.9451578947368420.0048421052631578
440.950.950236842105263-0.000236842105263269
450.950.950236842105263-0.000236842105263266
460.950.9477368421052630.00226315789473673
470.940.940236842105263-0.000236842105263269
480.940.940236842105263-0.000236842105263267
490.940.942315789473684-0.00231578947368378
500.930.938315789473684-0.00831578947368428
510.930.938315789473684-0.00831578947368427
520.930.942315789473684-0.0123157894736843
530.930.942315789473684-0.0123157894736843
540.920.938315789473684-0.0183157894736843
550.930.940315789473684-0.0103157894736843







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.09372301851231640.1874460370246330.906276981487684
170.04312693036086170.08625386072172340.956873069639138
180.08944550170440530.1788910034088110.910554498295595
190.05065619519536210.1013123903907240.949343804804638
200.08792820700115020.1758564140023000.91207179299885
210.1581287415895820.3162574831791630.841871258410418
220.2608977224504130.5217954449008270.739102277549587
230.2428144702912860.4856289405825720.757185529708714
240.2599090943369890.5198181886739780.740090905663011
250.4161114335478980.8322228670957960.583888566452102
260.4815262146103140.9630524292206290.518473785389685
270.6709451793964240.6581096412071530.329054820603576
280.6453161301709830.7093677396580330.354683869829017
290.6361887296732030.7276225406535940.363811270326797
300.6209529927775280.7580940144449430.379047007222472
310.8722184620098460.2555630759803070.127781537990154
320.8827746529360250.2344506941279500.117225347063975
330.8717832696825150.2564334606349690.128216730317485
340.8513327274020.2973345451960010.148667272598001
350.8453022406924740.3093955186150510.154697759307526
360.8724486510437740.2551026979124510.127551348956226
370.9608682170953290.07826356580934290.0391317829046714
380.9119370119657940.1761259760684130.0880629880342064
390.8176422448934520.3647155102130960.182357755106548

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.0937230185123164 & 0.187446037024633 & 0.906276981487684 \tabularnewline
17 & 0.0431269303608617 & 0.0862538607217234 & 0.956873069639138 \tabularnewline
18 & 0.0894455017044053 & 0.178891003408811 & 0.910554498295595 \tabularnewline
19 & 0.0506561951953621 & 0.101312390390724 & 0.949343804804638 \tabularnewline
20 & 0.0879282070011502 & 0.175856414002300 & 0.91207179299885 \tabularnewline
21 & 0.158128741589582 & 0.316257483179163 & 0.841871258410418 \tabularnewline
22 & 0.260897722450413 & 0.521795444900827 & 0.739102277549587 \tabularnewline
23 & 0.242814470291286 & 0.485628940582572 & 0.757185529708714 \tabularnewline
24 & 0.259909094336989 & 0.519818188673978 & 0.740090905663011 \tabularnewline
25 & 0.416111433547898 & 0.832222867095796 & 0.583888566452102 \tabularnewline
26 & 0.481526214610314 & 0.963052429220629 & 0.518473785389685 \tabularnewline
27 & 0.670945179396424 & 0.658109641207153 & 0.329054820603576 \tabularnewline
28 & 0.645316130170983 & 0.709367739658033 & 0.354683869829017 \tabularnewline
29 & 0.636188729673203 & 0.727622540653594 & 0.363811270326797 \tabularnewline
30 & 0.620952992777528 & 0.758094014444943 & 0.379047007222472 \tabularnewline
31 & 0.872218462009846 & 0.255563075980307 & 0.127781537990154 \tabularnewline
32 & 0.882774652936025 & 0.234450694127950 & 0.117225347063975 \tabularnewline
33 & 0.871783269682515 & 0.256433460634969 & 0.128216730317485 \tabularnewline
34 & 0.851332727402 & 0.297334545196001 & 0.148667272598001 \tabularnewline
35 & 0.845302240692474 & 0.309395518615051 & 0.154697759307526 \tabularnewline
36 & 0.872448651043774 & 0.255102697912451 & 0.127551348956226 \tabularnewline
37 & 0.960868217095329 & 0.0782635658093429 & 0.0391317829046714 \tabularnewline
38 & 0.911937011965794 & 0.176125976068413 & 0.0880629880342064 \tabularnewline
39 & 0.817642244893452 & 0.364715510213096 & 0.182357755106548 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=103791&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]16[/C][C]0.0937230185123164[/C][C]0.187446037024633[/C][C]0.906276981487684[/C][/ROW]
[ROW][C]17[/C][C]0.0431269303608617[/C][C]0.0862538607217234[/C][C]0.956873069639138[/C][/ROW]
[ROW][C]18[/C][C]0.0894455017044053[/C][C]0.178891003408811[/C][C]0.910554498295595[/C][/ROW]
[ROW][C]19[/C][C]0.0506561951953621[/C][C]0.101312390390724[/C][C]0.949343804804638[/C][/ROW]
[ROW][C]20[/C][C]0.0879282070011502[/C][C]0.175856414002300[/C][C]0.91207179299885[/C][/ROW]
[ROW][C]21[/C][C]0.158128741589582[/C][C]0.316257483179163[/C][C]0.841871258410418[/C][/ROW]
[ROW][C]22[/C][C]0.260897722450413[/C][C]0.521795444900827[/C][C]0.739102277549587[/C][/ROW]
[ROW][C]23[/C][C]0.242814470291286[/C][C]0.485628940582572[/C][C]0.757185529708714[/C][/ROW]
[ROW][C]24[/C][C]0.259909094336989[/C][C]0.519818188673978[/C][C]0.740090905663011[/C][/ROW]
[ROW][C]25[/C][C]0.416111433547898[/C][C]0.832222867095796[/C][C]0.583888566452102[/C][/ROW]
[ROW][C]26[/C][C]0.481526214610314[/C][C]0.963052429220629[/C][C]0.518473785389685[/C][/ROW]
[ROW][C]27[/C][C]0.670945179396424[/C][C]0.658109641207153[/C][C]0.329054820603576[/C][/ROW]
[ROW][C]28[/C][C]0.645316130170983[/C][C]0.709367739658033[/C][C]0.354683869829017[/C][/ROW]
[ROW][C]29[/C][C]0.636188729673203[/C][C]0.727622540653594[/C][C]0.363811270326797[/C][/ROW]
[ROW][C]30[/C][C]0.620952992777528[/C][C]0.758094014444943[/C][C]0.379047007222472[/C][/ROW]
[ROW][C]31[/C][C]0.872218462009846[/C][C]0.255563075980307[/C][C]0.127781537990154[/C][/ROW]
[ROW][C]32[/C][C]0.882774652936025[/C][C]0.234450694127950[/C][C]0.117225347063975[/C][/ROW]
[ROW][C]33[/C][C]0.871783269682515[/C][C]0.256433460634969[/C][C]0.128216730317485[/C][/ROW]
[ROW][C]34[/C][C]0.851332727402[/C][C]0.297334545196001[/C][C]0.148667272598001[/C][/ROW]
[ROW][C]35[/C][C]0.845302240692474[/C][C]0.309395518615051[/C][C]0.154697759307526[/C][/ROW]
[ROW][C]36[/C][C]0.872448651043774[/C][C]0.255102697912451[/C][C]0.127551348956226[/C][/ROW]
[ROW][C]37[/C][C]0.960868217095329[/C][C]0.0782635658093429[/C][C]0.0391317829046714[/C][/ROW]
[ROW][C]38[/C][C]0.911937011965794[/C][C]0.176125976068413[/C][C]0.0880629880342064[/C][/ROW]
[ROW][C]39[/C][C]0.817642244893452[/C][C]0.364715510213096[/C][C]0.182357755106548[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=103791&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=103791&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
160.09372301851231640.1874460370246330.906276981487684
170.04312693036086170.08625386072172340.956873069639138
180.08944550170440530.1788910034088110.910554498295595
190.05065619519536210.1013123903907240.949343804804638
200.08792820700115020.1758564140023000.91207179299885
210.1581287415895820.3162574831791630.841871258410418
220.2608977224504130.5217954449008270.739102277549587
230.2428144702912860.4856289405825720.757185529708714
240.2599090943369890.5198181886739780.740090905663011
250.4161114335478980.8322228670957960.583888566452102
260.4815262146103140.9630524292206290.518473785389685
270.6709451793964240.6581096412071530.329054820603576
280.6453161301709830.7093677396580330.354683869829017
290.6361887296732030.7276225406535940.363811270326797
300.6209529927775280.7580940144449430.379047007222472
310.8722184620098460.2555630759803070.127781537990154
320.8827746529360250.2344506941279500.117225347063975
330.8717832696825150.2564334606349690.128216730317485
340.8513327274020.2973345451960010.148667272598001
350.8453022406924740.3093955186150510.154697759307526
360.8724486510437740.2551026979124510.127551348956226
370.9608682170953290.07826356580934290.0391317829046714
380.9119370119657940.1761259760684130.0880629880342064
390.8176422448934520.3647155102130960.182357755106548







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 level20.0833333333333333OK

\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 & 2 & 0.0833333333333333 & OK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=103791&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]2[/C][C]0.0833333333333333[/C][C]OK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=103791&T=6

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



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')
}