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 computationSun, 23 Nov 2008 13:07:02 -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/2008/Nov/23/t1227470940j9gr1hk1x1g9ye9.htm/, Retrieved Sun, 19 May 2024 11:39:54 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=25333, Retrieved Sun, 19 May 2024 11:39:54 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsSeatbelt Q3
Estimated Impact130
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [loiqueverhasselt] [2008-11-23 20:07:02] [6440ec5a21e5d35520cb2ae6b4b70e45] [Current]
Feedback Forum

Post a new message
Dataseries X:
99.4	0
97.5	0
94.6	0
92.6	0
92.5	0
89.8	0
88.8	0
87.4	0
85.2	0
83.1	0
84.7	0
84.8	0
85.8	0
86.3	0
89	0
89	0
89.3	0
91.9	0
94.9	0
94.4	0
96.8	0
96.9	0
98	0
97.9	0
100.9	0
103.9	0
103.1	0
102.5	0
104.3	0
102.6	0
101.7	0
102.8	0
105.4	0
110.9	1
113.5	1
116.3	1
124	1
128.8	1
133.5	1
132.6	1
128.4	1
127.3	1
126.7	1
123.3	1
123.2	1
124.4	1
128.2	1
128.7	1
135.7	1
139	1
145.4	1
142.4	1
137.7	1
137	1
137.1	1
139.3	1
139.6	1
140.4	1
142.3	1
148.3	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time9 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001

\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 & 9 seconds \tabularnewline
R Server & 'Herman Ole Andreas Wold' @ 193.190.124.10:1001 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25333&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]9 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Herman Ole Andreas Wold' @ 193.190.124.10:1001[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25333&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25333&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 time9 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001







Multiple Linear Regression - Estimated Regression Equation
Grondstofprijzen[t] = + 83.0241658485503 + 16.9368028739519Wet[t] + 0.673801295896329t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Grondstofprijzen[t] =  +  83.0241658485503 +  16.9368028739519Wet[t] +  0.673801295896329t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25333&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Grondstofprijzen[t] =  +  83.0241658485503 +  16.9368028739519Wet[t] +  0.673801295896329t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25333&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25333&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
Grondstofprijzen[t] = + 83.0241658485503 + 16.9368028739519Wet[t] + 0.673801295896329t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)83.02416584855031.7038348.72800
Wet16.93680287395192.8625755.916600
t0.6738012958963290.0822338.193800

\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) & 83.0241658485503 & 1.70383 & 48.728 & 0 & 0 \tabularnewline
Wet & 16.9368028739519 & 2.862575 & 5.9166 & 0 & 0 \tabularnewline
t & 0.673801295896329 & 0.082233 & 8.1938 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25333&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]83.0241658485503[/C][C]1.70383[/C][C]48.728[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Wet[/C][C]16.9368028739519[/C][C]2.862575[/C][C]5.9166[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]t[/C][C]0.673801295896329[/C][C]0.082233[/C][C]8.1938[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25333&T=2

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







Multiple Linear Regression - Regression Statistics
Multiple R0.962708348317625
R-squared0.92680736392045
Adjusted R-squared0.924239201250991
F-TEST (value)360.883434270959
F-TEST (DF numerator)2
F-TEST (DF denominator)57
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation5.59544543012153
Sum Squared Residuals1784.61354500367

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.962708348317625 \tabularnewline
R-squared & 0.92680736392045 \tabularnewline
Adjusted R-squared & 0.924239201250991 \tabularnewline
F-TEST (value) & 360.883434270959 \tabularnewline
F-TEST (DF numerator) & 2 \tabularnewline
F-TEST (DF denominator) & 57 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 5.59544543012153 \tabularnewline
Sum Squared Residuals & 1784.61354500367 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25333&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.962708348317625[/C][/ROW]
[ROW][C]R-squared[/C][C]0.92680736392045[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.924239201250991[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]360.883434270959[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]2[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]57[/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]5.59544543012153[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]1784.61354500367[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25333&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25333&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.962708348317625
R-squared0.92680736392045
Adjusted R-squared0.924239201250991
F-TEST (value)360.883434270959
F-TEST (DF numerator)2
F-TEST (DF denominator)57
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation5.59544543012153
Sum Squared Residuals1784.61354500367







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
199.483.697967144446715.7020328555533
297.584.37176844034313.1282315596571
394.685.04556973623939.55443026376071
492.685.71937103213566.88062896786439
592.586.3931723280326.10682767196807
689.887.06697362392832.73302637607174
788.887.74077491982461.05922508017541
887.488.414576215721-1.01457621572091
985.289.0883775116173-3.88837751161725
1083.189.7621788075136-6.66217880751358
1184.790.4359801034099-5.7359801034099
1284.891.1097813993062-6.30978139930624
1385.891.7835826952026-5.98358269520257
1486.392.4573839910989-6.1573839910989
158993.1311852869952-4.13118528699522
168993.8049865828915-4.80498658289155
1789.394.4787878787879-5.17878787878788
1891.995.1525891746842-3.2525891746842
1994.995.8263904705805-0.926390470580529
2094.496.5001917664769-2.10019176647686
2196.897.1739930623732-0.373993062373196
2296.997.8477943582695-0.947794358269515
239898.5215956541658-0.52159565416585
2497.999.1953969500622-1.29539695006217
25100.999.86919824595851.0308017540415
26103.9100.5429995418553.35700045814517
27103.1101.2168008377511.88319916224883
28102.5101.8906021336470.609397866352507
29104.3102.5644034295441.73559657045618
30102.6103.238204725440-0.638204725440157
31101.7103.912006021336-2.21200602133648
32102.8104.585807317233-1.78580731723281
33105.4105.2596086131290.140391386870868
34110.9122.870212782977-11.9702127829774
35113.5123.544014078874-10.0440140788737
36116.3124.21781537477-7.91781537477001
37124124.891616670666-0.891616670666342
38128.8125.5654179665633.23458203343734
39133.5126.2392192624597.260780737541
40132.6126.9130205583555.68697944164467
41128.4127.5868218542520.813178145748348
42127.3128.260623150148-0.960623150147989
43126.7128.934424446044-2.23442444604431
44123.3129.608225741941-6.30822574194065
45123.2130.282027037837-7.08202703783697
46124.4130.955828333733-6.5558283337333
47128.2131.629629629630-3.42962962962964
48128.7132.303430925526-3.60343092552597
49135.7132.9772322214222.7227677785777
50139133.6510335173195.34896648268138
51145.4134.32483481321511.0751651867851
52142.4134.9986361091117.40136389088873
53137.7135.6724374050082.02756259499239
54137136.3462387009040.65376129909607
55137.1137.0200399968000.0799600031997352
56139.3137.6938412926971.60615870730342
57139.6138.3676425885931.23235741140708
58140.4139.0414438844891.35855611551076
59142.3139.7152451803862.58475481961444
60148.3140.3890464762827.9109535237181

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 99.4 & 83.6979671444467 & 15.7020328555533 \tabularnewline
2 & 97.5 & 84.371768440343 & 13.1282315596571 \tabularnewline
3 & 94.6 & 85.0455697362393 & 9.55443026376071 \tabularnewline
4 & 92.6 & 85.7193710321356 & 6.88062896786439 \tabularnewline
5 & 92.5 & 86.393172328032 & 6.10682767196807 \tabularnewline
6 & 89.8 & 87.0669736239283 & 2.73302637607174 \tabularnewline
7 & 88.8 & 87.7407749198246 & 1.05922508017541 \tabularnewline
8 & 87.4 & 88.414576215721 & -1.01457621572091 \tabularnewline
9 & 85.2 & 89.0883775116173 & -3.88837751161725 \tabularnewline
10 & 83.1 & 89.7621788075136 & -6.66217880751358 \tabularnewline
11 & 84.7 & 90.4359801034099 & -5.7359801034099 \tabularnewline
12 & 84.8 & 91.1097813993062 & -6.30978139930624 \tabularnewline
13 & 85.8 & 91.7835826952026 & -5.98358269520257 \tabularnewline
14 & 86.3 & 92.4573839910989 & -6.1573839910989 \tabularnewline
15 & 89 & 93.1311852869952 & -4.13118528699522 \tabularnewline
16 & 89 & 93.8049865828915 & -4.80498658289155 \tabularnewline
17 & 89.3 & 94.4787878787879 & -5.17878787878788 \tabularnewline
18 & 91.9 & 95.1525891746842 & -3.2525891746842 \tabularnewline
19 & 94.9 & 95.8263904705805 & -0.926390470580529 \tabularnewline
20 & 94.4 & 96.5001917664769 & -2.10019176647686 \tabularnewline
21 & 96.8 & 97.1739930623732 & -0.373993062373196 \tabularnewline
22 & 96.9 & 97.8477943582695 & -0.947794358269515 \tabularnewline
23 & 98 & 98.5215956541658 & -0.52159565416585 \tabularnewline
24 & 97.9 & 99.1953969500622 & -1.29539695006217 \tabularnewline
25 & 100.9 & 99.8691982459585 & 1.0308017540415 \tabularnewline
26 & 103.9 & 100.542999541855 & 3.35700045814517 \tabularnewline
27 & 103.1 & 101.216800837751 & 1.88319916224883 \tabularnewline
28 & 102.5 & 101.890602133647 & 0.609397866352507 \tabularnewline
29 & 104.3 & 102.564403429544 & 1.73559657045618 \tabularnewline
30 & 102.6 & 103.238204725440 & -0.638204725440157 \tabularnewline
31 & 101.7 & 103.912006021336 & -2.21200602133648 \tabularnewline
32 & 102.8 & 104.585807317233 & -1.78580731723281 \tabularnewline
33 & 105.4 & 105.259608613129 & 0.140391386870868 \tabularnewline
34 & 110.9 & 122.870212782977 & -11.9702127829774 \tabularnewline
35 & 113.5 & 123.544014078874 & -10.0440140788737 \tabularnewline
36 & 116.3 & 124.21781537477 & -7.91781537477001 \tabularnewline
37 & 124 & 124.891616670666 & -0.891616670666342 \tabularnewline
38 & 128.8 & 125.565417966563 & 3.23458203343734 \tabularnewline
39 & 133.5 & 126.239219262459 & 7.260780737541 \tabularnewline
40 & 132.6 & 126.913020558355 & 5.68697944164467 \tabularnewline
41 & 128.4 & 127.586821854252 & 0.813178145748348 \tabularnewline
42 & 127.3 & 128.260623150148 & -0.960623150147989 \tabularnewline
43 & 126.7 & 128.934424446044 & -2.23442444604431 \tabularnewline
44 & 123.3 & 129.608225741941 & -6.30822574194065 \tabularnewline
45 & 123.2 & 130.282027037837 & -7.08202703783697 \tabularnewline
46 & 124.4 & 130.955828333733 & -6.5558283337333 \tabularnewline
47 & 128.2 & 131.629629629630 & -3.42962962962964 \tabularnewline
48 & 128.7 & 132.303430925526 & -3.60343092552597 \tabularnewline
49 & 135.7 & 132.977232221422 & 2.7227677785777 \tabularnewline
50 & 139 & 133.651033517319 & 5.34896648268138 \tabularnewline
51 & 145.4 & 134.324834813215 & 11.0751651867851 \tabularnewline
52 & 142.4 & 134.998636109111 & 7.40136389088873 \tabularnewline
53 & 137.7 & 135.672437405008 & 2.02756259499239 \tabularnewline
54 & 137 & 136.346238700904 & 0.65376129909607 \tabularnewline
55 & 137.1 & 137.020039996800 & 0.0799600031997352 \tabularnewline
56 & 139.3 & 137.693841292697 & 1.60615870730342 \tabularnewline
57 & 139.6 & 138.367642588593 & 1.23235741140708 \tabularnewline
58 & 140.4 & 139.041443884489 & 1.35855611551076 \tabularnewline
59 & 142.3 & 139.715245180386 & 2.58475481961444 \tabularnewline
60 & 148.3 & 140.389046476282 & 7.9109535237181 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25333&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]99.4[/C][C]83.6979671444467[/C][C]15.7020328555533[/C][/ROW]
[ROW][C]2[/C][C]97.5[/C][C]84.371768440343[/C][C]13.1282315596571[/C][/ROW]
[ROW][C]3[/C][C]94.6[/C][C]85.0455697362393[/C][C]9.55443026376071[/C][/ROW]
[ROW][C]4[/C][C]92.6[/C][C]85.7193710321356[/C][C]6.88062896786439[/C][/ROW]
[ROW][C]5[/C][C]92.5[/C][C]86.393172328032[/C][C]6.10682767196807[/C][/ROW]
[ROW][C]6[/C][C]89.8[/C][C]87.0669736239283[/C][C]2.73302637607174[/C][/ROW]
[ROW][C]7[/C][C]88.8[/C][C]87.7407749198246[/C][C]1.05922508017541[/C][/ROW]
[ROW][C]8[/C][C]87.4[/C][C]88.414576215721[/C][C]-1.01457621572091[/C][/ROW]
[ROW][C]9[/C][C]85.2[/C][C]89.0883775116173[/C][C]-3.88837751161725[/C][/ROW]
[ROW][C]10[/C][C]83.1[/C][C]89.7621788075136[/C][C]-6.66217880751358[/C][/ROW]
[ROW][C]11[/C][C]84.7[/C][C]90.4359801034099[/C][C]-5.7359801034099[/C][/ROW]
[ROW][C]12[/C][C]84.8[/C][C]91.1097813993062[/C][C]-6.30978139930624[/C][/ROW]
[ROW][C]13[/C][C]85.8[/C][C]91.7835826952026[/C][C]-5.98358269520257[/C][/ROW]
[ROW][C]14[/C][C]86.3[/C][C]92.4573839910989[/C][C]-6.1573839910989[/C][/ROW]
[ROW][C]15[/C][C]89[/C][C]93.1311852869952[/C][C]-4.13118528699522[/C][/ROW]
[ROW][C]16[/C][C]89[/C][C]93.8049865828915[/C][C]-4.80498658289155[/C][/ROW]
[ROW][C]17[/C][C]89.3[/C][C]94.4787878787879[/C][C]-5.17878787878788[/C][/ROW]
[ROW][C]18[/C][C]91.9[/C][C]95.1525891746842[/C][C]-3.2525891746842[/C][/ROW]
[ROW][C]19[/C][C]94.9[/C][C]95.8263904705805[/C][C]-0.926390470580529[/C][/ROW]
[ROW][C]20[/C][C]94.4[/C][C]96.5001917664769[/C][C]-2.10019176647686[/C][/ROW]
[ROW][C]21[/C][C]96.8[/C][C]97.1739930623732[/C][C]-0.373993062373196[/C][/ROW]
[ROW][C]22[/C][C]96.9[/C][C]97.8477943582695[/C][C]-0.947794358269515[/C][/ROW]
[ROW][C]23[/C][C]98[/C][C]98.5215956541658[/C][C]-0.52159565416585[/C][/ROW]
[ROW][C]24[/C][C]97.9[/C][C]99.1953969500622[/C][C]-1.29539695006217[/C][/ROW]
[ROW][C]25[/C][C]100.9[/C][C]99.8691982459585[/C][C]1.0308017540415[/C][/ROW]
[ROW][C]26[/C][C]103.9[/C][C]100.542999541855[/C][C]3.35700045814517[/C][/ROW]
[ROW][C]27[/C][C]103.1[/C][C]101.216800837751[/C][C]1.88319916224883[/C][/ROW]
[ROW][C]28[/C][C]102.5[/C][C]101.890602133647[/C][C]0.609397866352507[/C][/ROW]
[ROW][C]29[/C][C]104.3[/C][C]102.564403429544[/C][C]1.73559657045618[/C][/ROW]
[ROW][C]30[/C][C]102.6[/C][C]103.238204725440[/C][C]-0.638204725440157[/C][/ROW]
[ROW][C]31[/C][C]101.7[/C][C]103.912006021336[/C][C]-2.21200602133648[/C][/ROW]
[ROW][C]32[/C][C]102.8[/C][C]104.585807317233[/C][C]-1.78580731723281[/C][/ROW]
[ROW][C]33[/C][C]105.4[/C][C]105.259608613129[/C][C]0.140391386870868[/C][/ROW]
[ROW][C]34[/C][C]110.9[/C][C]122.870212782977[/C][C]-11.9702127829774[/C][/ROW]
[ROW][C]35[/C][C]113.5[/C][C]123.544014078874[/C][C]-10.0440140788737[/C][/ROW]
[ROW][C]36[/C][C]116.3[/C][C]124.21781537477[/C][C]-7.91781537477001[/C][/ROW]
[ROW][C]37[/C][C]124[/C][C]124.891616670666[/C][C]-0.891616670666342[/C][/ROW]
[ROW][C]38[/C][C]128.8[/C][C]125.565417966563[/C][C]3.23458203343734[/C][/ROW]
[ROW][C]39[/C][C]133.5[/C][C]126.239219262459[/C][C]7.260780737541[/C][/ROW]
[ROW][C]40[/C][C]132.6[/C][C]126.913020558355[/C][C]5.68697944164467[/C][/ROW]
[ROW][C]41[/C][C]128.4[/C][C]127.586821854252[/C][C]0.813178145748348[/C][/ROW]
[ROW][C]42[/C][C]127.3[/C][C]128.260623150148[/C][C]-0.960623150147989[/C][/ROW]
[ROW][C]43[/C][C]126.7[/C][C]128.934424446044[/C][C]-2.23442444604431[/C][/ROW]
[ROW][C]44[/C][C]123.3[/C][C]129.608225741941[/C][C]-6.30822574194065[/C][/ROW]
[ROW][C]45[/C][C]123.2[/C][C]130.282027037837[/C][C]-7.08202703783697[/C][/ROW]
[ROW][C]46[/C][C]124.4[/C][C]130.955828333733[/C][C]-6.5558283337333[/C][/ROW]
[ROW][C]47[/C][C]128.2[/C][C]131.629629629630[/C][C]-3.42962962962964[/C][/ROW]
[ROW][C]48[/C][C]128.7[/C][C]132.303430925526[/C][C]-3.60343092552597[/C][/ROW]
[ROW][C]49[/C][C]135.7[/C][C]132.977232221422[/C][C]2.7227677785777[/C][/ROW]
[ROW][C]50[/C][C]139[/C][C]133.651033517319[/C][C]5.34896648268138[/C][/ROW]
[ROW][C]51[/C][C]145.4[/C][C]134.324834813215[/C][C]11.0751651867851[/C][/ROW]
[ROW][C]52[/C][C]142.4[/C][C]134.998636109111[/C][C]7.40136389088873[/C][/ROW]
[ROW][C]53[/C][C]137.7[/C][C]135.672437405008[/C][C]2.02756259499239[/C][/ROW]
[ROW][C]54[/C][C]137[/C][C]136.346238700904[/C][C]0.65376129909607[/C][/ROW]
[ROW][C]55[/C][C]137.1[/C][C]137.020039996800[/C][C]0.0799600031997352[/C][/ROW]
[ROW][C]56[/C][C]139.3[/C][C]137.693841292697[/C][C]1.60615870730342[/C][/ROW]
[ROW][C]57[/C][C]139.6[/C][C]138.367642588593[/C][C]1.23235741140708[/C][/ROW]
[ROW][C]58[/C][C]140.4[/C][C]139.041443884489[/C][C]1.35855611551076[/C][/ROW]
[ROW][C]59[/C][C]142.3[/C][C]139.715245180386[/C][C]2.58475481961444[/C][/ROW]
[ROW][C]60[/C][C]148.3[/C][C]140.389046476282[/C][C]7.9109535237181[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25333&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25333&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
199.483.697967144446715.7020328555533
297.584.37176844034313.1282315596571
394.685.04556973623939.55443026376071
492.685.71937103213566.88062896786439
592.586.3931723280326.10682767196807
689.887.06697362392832.73302637607174
788.887.74077491982461.05922508017541
887.488.414576215721-1.01457621572091
985.289.0883775116173-3.88837751161725
1083.189.7621788075136-6.66217880751358
1184.790.4359801034099-5.7359801034099
1284.891.1097813993062-6.30978139930624
1385.891.7835826952026-5.98358269520257
1486.392.4573839910989-6.1573839910989
158993.1311852869952-4.13118528699522
168993.8049865828915-4.80498658289155
1789.394.4787878787879-5.17878787878788
1891.995.1525891746842-3.2525891746842
1994.995.8263904705805-0.926390470580529
2094.496.5001917664769-2.10019176647686
2196.897.1739930623732-0.373993062373196
2296.997.8477943582695-0.947794358269515
239898.5215956541658-0.52159565416585
2497.999.1953969500622-1.29539695006217
25100.999.86919824595851.0308017540415
26103.9100.5429995418553.35700045814517
27103.1101.2168008377511.88319916224883
28102.5101.8906021336470.609397866352507
29104.3102.5644034295441.73559657045618
30102.6103.238204725440-0.638204725440157
31101.7103.912006021336-2.21200602133648
32102.8104.585807317233-1.78580731723281
33105.4105.2596086131290.140391386870868
34110.9122.870212782977-11.9702127829774
35113.5123.544014078874-10.0440140788737
36116.3124.21781537477-7.91781537477001
37124124.891616670666-0.891616670666342
38128.8125.5654179665633.23458203343734
39133.5126.2392192624597.260780737541
40132.6126.9130205583555.68697944164467
41128.4127.5868218542520.813178145748348
42127.3128.260623150148-0.960623150147989
43126.7128.934424446044-2.23442444604431
44123.3129.608225741941-6.30822574194065
45123.2130.282027037837-7.08202703783697
46124.4130.955828333733-6.5558283337333
47128.2131.629629629630-3.42962962962964
48128.7132.303430925526-3.60343092552597
49135.7132.9772322214222.7227677785777
50139133.6510335173195.34896648268138
51145.4134.32483481321511.0751651867851
52142.4134.9986361091117.40136389088873
53137.7135.6724374050082.02756259499239
54137136.3462387009040.65376129909607
55137.1137.0200399968000.0799600031997352
56139.3137.6938412926971.60615870730342
57139.6138.3676425885931.23235741140708
58140.4139.0414438844891.35855611551076
59142.3139.7152451803862.58475481961444
60148.3140.3890464762827.9109535237181







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
60.01433765998128310.02867531996256630.985662340018717
70.003997808600029940.007995617200059880.99600219139997
80.001094843438450980.002189686876901950.998905156561549
90.0001984465454817160.0003968930909634310.999801553454518
103.68051753433521e-057.36103506867043e-050.999963194824657
110.0003490263925429750.0006980527850859490.999650973607457
120.001586840674622350.003173681349244710.998413159325378
130.008805632381292780.01761126476258560.991194367618707
140.02524685501559170.05049371003118340.974753144984408
150.1125038325063820.2250076650127630.887496167493618
160.1880952573258650.376190514651730.811904742674135
170.2439476060378280.4878952120756550.756052393962172
180.3691224116045860.7382448232091710.630877588395414
190.5607882048707450.878423590258510.439211795129255
200.6198773730459990.7602452539080020.380122626954001
210.7004123645791280.5991752708417430.299587635420872
220.722791640471690.5544167190566210.277208359528311
230.7348005129628830.5303989740742350.265199487037117
240.7170341033207460.5659317933585080.282965896679254
250.7351251492790020.5297497014419970.264874850720998
260.7926243706166330.4147512587667330.207375629383367
270.7926748893168960.4146502213662070.207325110683104
280.762916406276170.4741671874476610.237083593723830
290.7468508686952070.5062982626095860.253149131304793
300.6914895295772660.6170209408454680.308510470422734
310.6220660380510680.7558679238978630.377933961948932
320.5511991365520790.8976017268958410.448800863447921
330.4883967135693350.976793427138670.511603286430665
340.5121314134470910.9757371731058190.487868586552909
350.5354604031133580.9290791937732850.464539596886642
360.5519346537693130.8961306924613750.448065346230687
370.5498089833157330.9003820333685340.450191016684267
380.6059103071805570.7881793856388850.394089692819442
390.7933030257612790.4133939484774420.206696974238721
400.890259575413710.2194808491725800.109740424586290
410.880851501983550.2382969960329000.119148498016450
420.8490245708892340.3019508582215320.150975429110766
430.7968669200086540.4062661599826920.203133079991346
440.749970839598670.5000583208026590.250029160401330
450.7437506783615780.5124986432768440.256249321638422
460.7811207831181230.4377584337637540.218879216881877
470.7833906296487230.4332187407025550.216609370351277
480.8747991211887620.2504017576224760.125200878811238
490.8424703580700060.3150592838599880.157529641929994
500.783004804231530.4339903915369410.216995195768470
510.917957131881060.1640857362378790.0820428681189397
520.981615710559470.03676857888106170.0183842894405309
530.9737148882164820.05257022356703540.0262851117835177
540.9387771295177670.1224457409644660.0612228704822329

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
6 & 0.0143376599812831 & 0.0286753199625663 & 0.985662340018717 \tabularnewline
7 & 0.00399780860002994 & 0.00799561720005988 & 0.99600219139997 \tabularnewline
8 & 0.00109484343845098 & 0.00218968687690195 & 0.998905156561549 \tabularnewline
9 & 0.000198446545481716 & 0.000396893090963431 & 0.999801553454518 \tabularnewline
10 & 3.68051753433521e-05 & 7.36103506867043e-05 & 0.999963194824657 \tabularnewline
11 & 0.000349026392542975 & 0.000698052785085949 & 0.999650973607457 \tabularnewline
12 & 0.00158684067462235 & 0.00317368134924471 & 0.998413159325378 \tabularnewline
13 & 0.00880563238129278 & 0.0176112647625856 & 0.991194367618707 \tabularnewline
14 & 0.0252468550155917 & 0.0504937100311834 & 0.974753144984408 \tabularnewline
15 & 0.112503832506382 & 0.225007665012763 & 0.887496167493618 \tabularnewline
16 & 0.188095257325865 & 0.37619051465173 & 0.811904742674135 \tabularnewline
17 & 0.243947606037828 & 0.487895212075655 & 0.756052393962172 \tabularnewline
18 & 0.369122411604586 & 0.738244823209171 & 0.630877588395414 \tabularnewline
19 & 0.560788204870745 & 0.87842359025851 & 0.439211795129255 \tabularnewline
20 & 0.619877373045999 & 0.760245253908002 & 0.380122626954001 \tabularnewline
21 & 0.700412364579128 & 0.599175270841743 & 0.299587635420872 \tabularnewline
22 & 0.72279164047169 & 0.554416719056621 & 0.277208359528311 \tabularnewline
23 & 0.734800512962883 & 0.530398974074235 & 0.265199487037117 \tabularnewline
24 & 0.717034103320746 & 0.565931793358508 & 0.282965896679254 \tabularnewline
25 & 0.735125149279002 & 0.529749701441997 & 0.264874850720998 \tabularnewline
26 & 0.792624370616633 & 0.414751258766733 & 0.207375629383367 \tabularnewline
27 & 0.792674889316896 & 0.414650221366207 & 0.207325110683104 \tabularnewline
28 & 0.76291640627617 & 0.474167187447661 & 0.237083593723830 \tabularnewline
29 & 0.746850868695207 & 0.506298262609586 & 0.253149131304793 \tabularnewline
30 & 0.691489529577266 & 0.617020940845468 & 0.308510470422734 \tabularnewline
31 & 0.622066038051068 & 0.755867923897863 & 0.377933961948932 \tabularnewline
32 & 0.551199136552079 & 0.897601726895841 & 0.448800863447921 \tabularnewline
33 & 0.488396713569335 & 0.97679342713867 & 0.511603286430665 \tabularnewline
34 & 0.512131413447091 & 0.975737173105819 & 0.487868586552909 \tabularnewline
35 & 0.535460403113358 & 0.929079193773285 & 0.464539596886642 \tabularnewline
36 & 0.551934653769313 & 0.896130692461375 & 0.448065346230687 \tabularnewline
37 & 0.549808983315733 & 0.900382033368534 & 0.450191016684267 \tabularnewline
38 & 0.605910307180557 & 0.788179385638885 & 0.394089692819442 \tabularnewline
39 & 0.793303025761279 & 0.413393948477442 & 0.206696974238721 \tabularnewline
40 & 0.89025957541371 & 0.219480849172580 & 0.109740424586290 \tabularnewline
41 & 0.88085150198355 & 0.238296996032900 & 0.119148498016450 \tabularnewline
42 & 0.849024570889234 & 0.301950858221532 & 0.150975429110766 \tabularnewline
43 & 0.796866920008654 & 0.406266159982692 & 0.203133079991346 \tabularnewline
44 & 0.74997083959867 & 0.500058320802659 & 0.250029160401330 \tabularnewline
45 & 0.743750678361578 & 0.512498643276844 & 0.256249321638422 \tabularnewline
46 & 0.781120783118123 & 0.437758433763754 & 0.218879216881877 \tabularnewline
47 & 0.783390629648723 & 0.433218740702555 & 0.216609370351277 \tabularnewline
48 & 0.874799121188762 & 0.250401757622476 & 0.125200878811238 \tabularnewline
49 & 0.842470358070006 & 0.315059283859988 & 0.157529641929994 \tabularnewline
50 & 0.78300480423153 & 0.433990391536941 & 0.216995195768470 \tabularnewline
51 & 0.91795713188106 & 0.164085736237879 & 0.0820428681189397 \tabularnewline
52 & 0.98161571055947 & 0.0367685788810617 & 0.0183842894405309 \tabularnewline
53 & 0.973714888216482 & 0.0525702235670354 & 0.0262851117835177 \tabularnewline
54 & 0.938777129517767 & 0.122445740964466 & 0.0612228704822329 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25333&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]6[/C][C]0.0143376599812831[/C][C]0.0286753199625663[/C][C]0.985662340018717[/C][/ROW]
[ROW][C]7[/C][C]0.00399780860002994[/C][C]0.00799561720005988[/C][C]0.99600219139997[/C][/ROW]
[ROW][C]8[/C][C]0.00109484343845098[/C][C]0.00218968687690195[/C][C]0.998905156561549[/C][/ROW]
[ROW][C]9[/C][C]0.000198446545481716[/C][C]0.000396893090963431[/C][C]0.999801553454518[/C][/ROW]
[ROW][C]10[/C][C]3.68051753433521e-05[/C][C]7.36103506867043e-05[/C][C]0.999963194824657[/C][/ROW]
[ROW][C]11[/C][C]0.000349026392542975[/C][C]0.000698052785085949[/C][C]0.999650973607457[/C][/ROW]
[ROW][C]12[/C][C]0.00158684067462235[/C][C]0.00317368134924471[/C][C]0.998413159325378[/C][/ROW]
[ROW][C]13[/C][C]0.00880563238129278[/C][C]0.0176112647625856[/C][C]0.991194367618707[/C][/ROW]
[ROW][C]14[/C][C]0.0252468550155917[/C][C]0.0504937100311834[/C][C]0.974753144984408[/C][/ROW]
[ROW][C]15[/C][C]0.112503832506382[/C][C]0.225007665012763[/C][C]0.887496167493618[/C][/ROW]
[ROW][C]16[/C][C]0.188095257325865[/C][C]0.37619051465173[/C][C]0.811904742674135[/C][/ROW]
[ROW][C]17[/C][C]0.243947606037828[/C][C]0.487895212075655[/C][C]0.756052393962172[/C][/ROW]
[ROW][C]18[/C][C]0.369122411604586[/C][C]0.738244823209171[/C][C]0.630877588395414[/C][/ROW]
[ROW][C]19[/C][C]0.560788204870745[/C][C]0.87842359025851[/C][C]0.439211795129255[/C][/ROW]
[ROW][C]20[/C][C]0.619877373045999[/C][C]0.760245253908002[/C][C]0.380122626954001[/C][/ROW]
[ROW][C]21[/C][C]0.700412364579128[/C][C]0.599175270841743[/C][C]0.299587635420872[/C][/ROW]
[ROW][C]22[/C][C]0.72279164047169[/C][C]0.554416719056621[/C][C]0.277208359528311[/C][/ROW]
[ROW][C]23[/C][C]0.734800512962883[/C][C]0.530398974074235[/C][C]0.265199487037117[/C][/ROW]
[ROW][C]24[/C][C]0.717034103320746[/C][C]0.565931793358508[/C][C]0.282965896679254[/C][/ROW]
[ROW][C]25[/C][C]0.735125149279002[/C][C]0.529749701441997[/C][C]0.264874850720998[/C][/ROW]
[ROW][C]26[/C][C]0.792624370616633[/C][C]0.414751258766733[/C][C]0.207375629383367[/C][/ROW]
[ROW][C]27[/C][C]0.792674889316896[/C][C]0.414650221366207[/C][C]0.207325110683104[/C][/ROW]
[ROW][C]28[/C][C]0.76291640627617[/C][C]0.474167187447661[/C][C]0.237083593723830[/C][/ROW]
[ROW][C]29[/C][C]0.746850868695207[/C][C]0.506298262609586[/C][C]0.253149131304793[/C][/ROW]
[ROW][C]30[/C][C]0.691489529577266[/C][C]0.617020940845468[/C][C]0.308510470422734[/C][/ROW]
[ROW][C]31[/C][C]0.622066038051068[/C][C]0.755867923897863[/C][C]0.377933961948932[/C][/ROW]
[ROW][C]32[/C][C]0.551199136552079[/C][C]0.897601726895841[/C][C]0.448800863447921[/C][/ROW]
[ROW][C]33[/C][C]0.488396713569335[/C][C]0.97679342713867[/C][C]0.511603286430665[/C][/ROW]
[ROW][C]34[/C][C]0.512131413447091[/C][C]0.975737173105819[/C][C]0.487868586552909[/C][/ROW]
[ROW][C]35[/C][C]0.535460403113358[/C][C]0.929079193773285[/C][C]0.464539596886642[/C][/ROW]
[ROW][C]36[/C][C]0.551934653769313[/C][C]0.896130692461375[/C][C]0.448065346230687[/C][/ROW]
[ROW][C]37[/C][C]0.549808983315733[/C][C]0.900382033368534[/C][C]0.450191016684267[/C][/ROW]
[ROW][C]38[/C][C]0.605910307180557[/C][C]0.788179385638885[/C][C]0.394089692819442[/C][/ROW]
[ROW][C]39[/C][C]0.793303025761279[/C][C]0.413393948477442[/C][C]0.206696974238721[/C][/ROW]
[ROW][C]40[/C][C]0.89025957541371[/C][C]0.219480849172580[/C][C]0.109740424586290[/C][/ROW]
[ROW][C]41[/C][C]0.88085150198355[/C][C]0.238296996032900[/C][C]0.119148498016450[/C][/ROW]
[ROW][C]42[/C][C]0.849024570889234[/C][C]0.301950858221532[/C][C]0.150975429110766[/C][/ROW]
[ROW][C]43[/C][C]0.796866920008654[/C][C]0.406266159982692[/C][C]0.203133079991346[/C][/ROW]
[ROW][C]44[/C][C]0.74997083959867[/C][C]0.500058320802659[/C][C]0.250029160401330[/C][/ROW]
[ROW][C]45[/C][C]0.743750678361578[/C][C]0.512498643276844[/C][C]0.256249321638422[/C][/ROW]
[ROW][C]46[/C][C]0.781120783118123[/C][C]0.437758433763754[/C][C]0.218879216881877[/C][/ROW]
[ROW][C]47[/C][C]0.783390629648723[/C][C]0.433218740702555[/C][C]0.216609370351277[/C][/ROW]
[ROW][C]48[/C][C]0.874799121188762[/C][C]0.250401757622476[/C][C]0.125200878811238[/C][/ROW]
[ROW][C]49[/C][C]0.842470358070006[/C][C]0.315059283859988[/C][C]0.157529641929994[/C][/ROW]
[ROW][C]50[/C][C]0.78300480423153[/C][C]0.433990391536941[/C][C]0.216995195768470[/C][/ROW]
[ROW][C]51[/C][C]0.91795713188106[/C][C]0.164085736237879[/C][C]0.0820428681189397[/C][/ROW]
[ROW][C]52[/C][C]0.98161571055947[/C][C]0.0367685788810617[/C][C]0.0183842894405309[/C][/ROW]
[ROW][C]53[/C][C]0.973714888216482[/C][C]0.0525702235670354[/C][C]0.0262851117835177[/C][/ROW]
[ROW][C]54[/C][C]0.938777129517767[/C][C]0.122445740964466[/C][C]0.0612228704822329[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25333&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25333&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
60.01433765998128310.02867531996256630.985662340018717
70.003997808600029940.007995617200059880.99600219139997
80.001094843438450980.002189686876901950.998905156561549
90.0001984465454817160.0003968930909634310.999801553454518
103.68051753433521e-057.36103506867043e-050.999963194824657
110.0003490263925429750.0006980527850859490.999650973607457
120.001586840674622350.003173681349244710.998413159325378
130.008805632381292780.01761126476258560.991194367618707
140.02524685501559170.05049371003118340.974753144984408
150.1125038325063820.2250076650127630.887496167493618
160.1880952573258650.376190514651730.811904742674135
170.2439476060378280.4878952120756550.756052393962172
180.3691224116045860.7382448232091710.630877588395414
190.5607882048707450.878423590258510.439211795129255
200.6198773730459990.7602452539080020.380122626954001
210.7004123645791280.5991752708417430.299587635420872
220.722791640471690.5544167190566210.277208359528311
230.7348005129628830.5303989740742350.265199487037117
240.7170341033207460.5659317933585080.282965896679254
250.7351251492790020.5297497014419970.264874850720998
260.7926243706166330.4147512587667330.207375629383367
270.7926748893168960.4146502213662070.207325110683104
280.762916406276170.4741671874476610.237083593723830
290.7468508686952070.5062982626095860.253149131304793
300.6914895295772660.6170209408454680.308510470422734
310.6220660380510680.7558679238978630.377933961948932
320.5511991365520790.8976017268958410.448800863447921
330.4883967135693350.976793427138670.511603286430665
340.5121314134470910.9757371731058190.487868586552909
350.5354604031133580.9290791937732850.464539596886642
360.5519346537693130.8961306924613750.448065346230687
370.5498089833157330.9003820333685340.450191016684267
380.6059103071805570.7881793856388850.394089692819442
390.7933030257612790.4133939484774420.206696974238721
400.890259575413710.2194808491725800.109740424586290
410.880851501983550.2382969960329000.119148498016450
420.8490245708892340.3019508582215320.150975429110766
430.7968669200086540.4062661599826920.203133079991346
440.749970839598670.5000583208026590.250029160401330
450.7437506783615780.5124986432768440.256249321638422
460.7811207831181230.4377584337637540.218879216881877
470.7833906296487230.4332187407025550.216609370351277
480.8747991211887620.2504017576224760.125200878811238
490.8424703580700060.3150592838599880.157529641929994
500.783004804231530.4339903915369410.216995195768470
510.917957131881060.1640857362378790.0820428681189397
520.981615710559470.03676857888106170.0183842894405309
530.9737148882164820.05257022356703540.0262851117835177
540.9387771295177670.1224457409644660.0612228704822329







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level60.122448979591837NOK
5% type I error level90.183673469387755NOK
10% type I error level110.224489795918367NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25333&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 level60.122448979591837NOK
5% type I error level90.183673469387755NOK
10% type I error level110.224489795918367NOK



Parameters (Session):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Do not include Seasonal 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')
}