Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationWed, 18 Nov 2009 11:29:56 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Nov/18/t1258569285jmga4mecu5i7ane.htm/, Retrieved Sun, 05 May 2024 09:20:19 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=57583, Retrieved Sun, 05 May 2024 09:20:19 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact162
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Q1 The Seatbeltlaw] [2007-11-14 19:27:43] [8cd6641b921d30ebe00b648d1481bba0]
- RMPD  [Multiple Regression] [Seatbelt] [2009-11-12 13:54:52] [b98453cac15ba1066b407e146608df68]
- R PD    [Multiple Regression] [] [2009-11-18 18:07:50] [c0117c881d5fcd069841276db0c34efe]
-    D        [Multiple Regression] [] [2009-11-18 18:29:56] [d5837f25ec8937f9733a894c487f865c] [Current]
Feedback Forum

Post a new message
Dataseries X:
3030.29	101.2
2803.47	101.1
2767.63	100.7
2882.6	100.1
2863.36	99.9
2897.06	99.7
3012.61	99.5
3142.95	99.2
3032.93	99
3045.78	99
3110.52	99.3
3013.24	99.5
2987.1	99.7
2995.55	100
2833.18	100.4
2848.96	100.6
2794.83	100.7
2845.26	100.7
2915.02	100.6
2892.63	100.5
2604.42	100.6
2641.65	100.5
2659.81	100.4
2638.53	100.3
2720.25	100.4
2745.88	100.4
2735.7	100.4
2811.7	100.4
2799.43	100.4
2555.28	100.5
2304.98	100.6
2214.95	100.6
2065.81	100.5
1940.49	100.5
2042.00	100.7
1995.37	101.1
1946.81	101.5
1765.9	101.9
1635.25	102.1
1833.42	102.1
1910.43	102.1
1959.67	102.4
1969.6	102.8
2061.41	103.1
2093.48	103.1
2120.88	102.9
2174.56	102.4
2196.72	101.9
2350.44	101.3
2440.25	100.7
2408.64	100.6
2472.81	101
2407.6	101.5
2454.62	101.9
2448.05	102.1
2497.84	102.3
2645.64	102.5
2756.76	102.9
2849.27	103.6
2921.44	104.3




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

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 3 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57583&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]3 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57583&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57583&T=0

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

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







Multiple Linear Regression - Estimated Regression Equation
G.indx[t] = + 105.437532012466 -0.00157361441269152Bel20[t] -0.515153858096571M1[t] -0.604484801076168M2[t] -0.701136837488991M3[t] -0.553503480519101M4[t] -0.496742618165726M5[t] -0.396809349156366M6[t] -0.336205720407209M7[t] -0.266001126184697M8[t] -0.381661785517524M9[t] -0.341746121510495M10[t] -0.117698736543333M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
G.indx[t] =  +  105.437532012466 -0.00157361441269152Bel20[t] -0.515153858096571M1[t] -0.604484801076168M2[t] -0.701136837488991M3[t] -0.553503480519101M4[t] -0.496742618165726M5[t] -0.396809349156366M6[t] -0.336205720407209M7[t] -0.266001126184697M8[t] -0.381661785517524M9[t] -0.341746121510495M10[t] -0.117698736543333M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57583&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]G.indx[t] =  +  105.437532012466 -0.00157361441269152Bel20[t] -0.515153858096571M1[t] -0.604484801076168M2[t] -0.701136837488991M3[t] -0.553503480519101M4[t] -0.496742618165726M5[t] -0.396809349156366M6[t] -0.336205720407209M7[t] -0.266001126184697M8[t] -0.381661785517524M9[t] -0.341746121510495M10[t] -0.117698736543333M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57583&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57583&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
G.indx[t] = + 105.437532012466 -0.00157361441269152Bel20[t] -0.515153858096571M1[t] -0.604484801076168M2[t] -0.701136837488991M3[t] -0.553503480519101M4[t] -0.496742618165726M5[t] -0.396809349156366M6[t] -0.336205720407209M7[t] -0.266001126184697M8[t] -0.381661785517524M9[t] -0.341746121510495M10[t] -0.117698736543333M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)105.4375320124661.045403100.858300
Bel20-0.001573614412691520.000361-4.36476.9e-053.5e-05
M1-0.5151538580965710.701168-0.73470.4661670.233084
M2-0.6044848010761680.700899-0.86240.3928240.196412
M3-0.7011368374889910.701447-0.99960.3226430.161322
M4-0.5535034805191010.700925-0.78970.4336830.216841
M5-0.4967426181657260.700899-0.70870.4819970.240999
M6-0.3968093491563660.700909-0.56610.5739950.286998
M7-0.3362057204072090.700947-0.47960.6337050.316852
M8-0.2660011261846970.700906-0.37950.7060180.353009
M9-0.3816617855175240.701285-0.54420.5888550.294427
M10-0.3417461215104950.701148-0.48740.6282340.314117
M11-0.1176987365433330.700917-0.16790.8673660.433683

\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) & 105.437532012466 & 1.045403 & 100.8583 & 0 & 0 \tabularnewline
Bel20 & -0.00157361441269152 & 0.000361 & -4.3647 & 6.9e-05 & 3.5e-05 \tabularnewline
M1 & -0.515153858096571 & 0.701168 & -0.7347 & 0.466167 & 0.233084 \tabularnewline
M2 & -0.604484801076168 & 0.700899 & -0.8624 & 0.392824 & 0.196412 \tabularnewline
M3 & -0.701136837488991 & 0.701447 & -0.9996 & 0.322643 & 0.161322 \tabularnewline
M4 & -0.553503480519101 & 0.700925 & -0.7897 & 0.433683 & 0.216841 \tabularnewline
M5 & -0.496742618165726 & 0.700899 & -0.7087 & 0.481997 & 0.240999 \tabularnewline
M6 & -0.396809349156366 & 0.700909 & -0.5661 & 0.573995 & 0.286998 \tabularnewline
M7 & -0.336205720407209 & 0.700947 & -0.4796 & 0.633705 & 0.316852 \tabularnewline
M8 & -0.266001126184697 & 0.700906 & -0.3795 & 0.706018 & 0.353009 \tabularnewline
M9 & -0.381661785517524 & 0.701285 & -0.5442 & 0.588855 & 0.294427 \tabularnewline
M10 & -0.341746121510495 & 0.701148 & -0.4874 & 0.628234 & 0.314117 \tabularnewline
M11 & -0.117698736543333 & 0.700917 & -0.1679 & 0.867366 & 0.433683 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57583&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]105.437532012466[/C][C]1.045403[/C][C]100.8583[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Bel20[/C][C]-0.00157361441269152[/C][C]0.000361[/C][C]-4.3647[/C][C]6.9e-05[/C][C]3.5e-05[/C][/ROW]
[ROW][C]M1[/C][C]-0.515153858096571[/C][C]0.701168[/C][C]-0.7347[/C][C]0.466167[/C][C]0.233084[/C][/ROW]
[ROW][C]M2[/C][C]-0.604484801076168[/C][C]0.700899[/C][C]-0.8624[/C][C]0.392824[/C][C]0.196412[/C][/ROW]
[ROW][C]M3[/C][C]-0.701136837488991[/C][C]0.701447[/C][C]-0.9996[/C][C]0.322643[/C][C]0.161322[/C][/ROW]
[ROW][C]M4[/C][C]-0.553503480519101[/C][C]0.700925[/C][C]-0.7897[/C][C]0.433683[/C][C]0.216841[/C][/ROW]
[ROW][C]M5[/C][C]-0.496742618165726[/C][C]0.700899[/C][C]-0.7087[/C][C]0.481997[/C][C]0.240999[/C][/ROW]
[ROW][C]M6[/C][C]-0.396809349156366[/C][C]0.700909[/C][C]-0.5661[/C][C]0.573995[/C][C]0.286998[/C][/ROW]
[ROW][C]M7[/C][C]-0.336205720407209[/C][C]0.700947[/C][C]-0.4796[/C][C]0.633705[/C][C]0.316852[/C][/ROW]
[ROW][C]M8[/C][C]-0.266001126184697[/C][C]0.700906[/C][C]-0.3795[/C][C]0.706018[/C][C]0.353009[/C][/ROW]
[ROW][C]M9[/C][C]-0.381661785517524[/C][C]0.701285[/C][C]-0.5442[/C][C]0.588855[/C][C]0.294427[/C][/ROW]
[ROW][C]M10[/C][C]-0.341746121510495[/C][C]0.701148[/C][C]-0.4874[/C][C]0.628234[/C][C]0.314117[/C][/ROW]
[ROW][C]M11[/C][C]-0.117698736543333[/C][C]0.700917[/C][C]-0.1679[/C][C]0.867366[/C][C]0.433683[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57583&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57583&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)105.4375320124661.045403100.858300
Bel20-0.001573614412691520.000361-4.36476.9e-053.5e-05
M1-0.5151538580965710.701168-0.73470.4661670.233084
M2-0.6044848010761680.700899-0.86240.3928240.196412
M3-0.7011368374889910.701447-0.99960.3226430.161322
M4-0.5535034805191010.700925-0.78970.4336830.216841
M5-0.4967426181657260.700899-0.70870.4819970.240999
M6-0.3968093491563660.700909-0.56610.5739950.286998
M7-0.3362057204072090.700947-0.47960.6337050.316852
M8-0.2660011261846970.700906-0.37950.7060180.353009
M9-0.3816617855175240.701285-0.54420.5888550.294427
M10-0.3417461215104950.701148-0.48740.6282340.314117
M11-0.1176987365433330.700917-0.16790.8673660.433683







Multiple Linear Regression - Regression Statistics
Multiple R0.554033310974916
R-squared0.306952909669829
Adjusted R-squared0.13000471639404
F-TEST (value)1.73470496639328
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0.0892788781851681
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.10821739728157
Sum Squared Residuals57.7228525829639

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.554033310974916 \tabularnewline
R-squared & 0.306952909669829 \tabularnewline
Adjusted R-squared & 0.13000471639404 \tabularnewline
F-TEST (value) & 1.73470496639328 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 0.0892788781851681 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 1.10821739728157 \tabularnewline
Sum Squared Residuals & 57.7228525829639 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57583&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.554033310974916[/C][/ROW]
[ROW][C]R-squared[/C][C]0.306952909669829[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.13000471639404[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]1.73470496639328[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]47[/C][/ROW]
[ROW][C]p-value[/C][C]0.0892788781851681[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]1.10821739728157[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]57.7228525829639[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57583&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57583&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.554033310974916
R-squared0.306952909669829
Adjusted R-squared0.13000471639404
F-TEST (value)1.73470496639328
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0.0892788781851681
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.10821739728157
Sum Squared Residuals57.7228525829639







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1101.2100.1538701357351.04612986426497
2101.1100.4214664138420.678533586158247
3100.7100.3812127179800.318787282020214
4100.1100.347927625923-0.247927625922541
599.9100.434964829576-0.53496482957609
699.7100.481867292878-0.781867292877748
799.5100.360639776240-0.860639776240403
899.2100.225739467913-1.0257394679127
999100.283207866264-1.28320786626420
1099100.302902585068-1.30290258506814
1199.3100.425074172958-1.12507417295766
1299.5100.695854119568-1.19585411956762
1399.7100.221834542219-0.521834542218798
14100100.119206557452-0.119206557451961
15100.4100.2780622932280.121937706772146
16100.6100.4008640147650.199135985234517
17100.7100.5428046252780.157195374722158
18100.7100.5633805194550.136619480544832
19100.6100.5142088067750.0857911932250263
20100.5100.619646627698-0.119646627697643
21100.6100.957517378247-0.357517378246644
22100.5100.938847377669-0.438847377669162
23100.4101.134317924902-0.73431792490184
24100.3101.285503176147-0.985503176147257
25100.4100.641753548246-0.241753548245527
26100.4100.512090867869-0.112090867868647
27100.4100.431458226177-0.0314582261770233
28100.4100.459496887782-0.059496887782358
29100.4100.535565998979-0.135565998979459
30100.5101.019697226847-0.519697226847457
31100.6101.474176543093-0.874176543093307
32100.6101.686053642890-1.08605364289044
33100.5101.805081837066-1.30508183706642
34100.5102.042202859272-1.54220285927195
35100.7102.106512645207-1.40651264520679
36101.1102.297589021814-1.19758902181394
37101.5101.858849879598-0.35884987959766
38101.9102.054201520018-0.154201520018080
39102.1102.163142206623-0.063142206623415
40102.1101.9989323954300.101067604569773
41102.1101.9345092118620.165490788137771
42102.4101.9569577071910.443042292809353
43102.8102.0019353448220.798064655178214
44103.1101.9276663998151.17233360018491
45103.1101.7615399262671.33846007373275
46102.9101.7583385553671.14166144463348
47102.4101.8979143186600.502085681339601
48101.9101.980741759818-0.080741759818489
49101.3101.2236918942030.0763081057970145
50100.7100.993034640820-0.293034640819558
51100.6100.946124555992-0.346124555991922
52101100.9927790760990.00722092390060805
53101.5101.1521553343040.347844665695618
54101.9101.1780972536290.72190274637102
55102.1101.2490395290700.850960470930469
56102.3101.2408938616841.05910613831587
57102.5100.8926529921551.60734700784451
58102.9100.7577086226242.14229137737577
59103.6100.8361809382732.76381906172668
60104.3100.8403119226533.4596880773473

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 101.2 & 100.153870135735 & 1.04612986426497 \tabularnewline
2 & 101.1 & 100.421466413842 & 0.678533586158247 \tabularnewline
3 & 100.7 & 100.381212717980 & 0.318787282020214 \tabularnewline
4 & 100.1 & 100.347927625923 & -0.247927625922541 \tabularnewline
5 & 99.9 & 100.434964829576 & -0.53496482957609 \tabularnewline
6 & 99.7 & 100.481867292878 & -0.781867292877748 \tabularnewline
7 & 99.5 & 100.360639776240 & -0.860639776240403 \tabularnewline
8 & 99.2 & 100.225739467913 & -1.0257394679127 \tabularnewline
9 & 99 & 100.283207866264 & -1.28320786626420 \tabularnewline
10 & 99 & 100.302902585068 & -1.30290258506814 \tabularnewline
11 & 99.3 & 100.425074172958 & -1.12507417295766 \tabularnewline
12 & 99.5 & 100.695854119568 & -1.19585411956762 \tabularnewline
13 & 99.7 & 100.221834542219 & -0.521834542218798 \tabularnewline
14 & 100 & 100.119206557452 & -0.119206557451961 \tabularnewline
15 & 100.4 & 100.278062293228 & 0.121937706772146 \tabularnewline
16 & 100.6 & 100.400864014765 & 0.199135985234517 \tabularnewline
17 & 100.7 & 100.542804625278 & 0.157195374722158 \tabularnewline
18 & 100.7 & 100.563380519455 & 0.136619480544832 \tabularnewline
19 & 100.6 & 100.514208806775 & 0.0857911932250263 \tabularnewline
20 & 100.5 & 100.619646627698 & -0.119646627697643 \tabularnewline
21 & 100.6 & 100.957517378247 & -0.357517378246644 \tabularnewline
22 & 100.5 & 100.938847377669 & -0.438847377669162 \tabularnewline
23 & 100.4 & 101.134317924902 & -0.73431792490184 \tabularnewline
24 & 100.3 & 101.285503176147 & -0.985503176147257 \tabularnewline
25 & 100.4 & 100.641753548246 & -0.241753548245527 \tabularnewline
26 & 100.4 & 100.512090867869 & -0.112090867868647 \tabularnewline
27 & 100.4 & 100.431458226177 & -0.0314582261770233 \tabularnewline
28 & 100.4 & 100.459496887782 & -0.059496887782358 \tabularnewline
29 & 100.4 & 100.535565998979 & -0.135565998979459 \tabularnewline
30 & 100.5 & 101.019697226847 & -0.519697226847457 \tabularnewline
31 & 100.6 & 101.474176543093 & -0.874176543093307 \tabularnewline
32 & 100.6 & 101.686053642890 & -1.08605364289044 \tabularnewline
33 & 100.5 & 101.805081837066 & -1.30508183706642 \tabularnewline
34 & 100.5 & 102.042202859272 & -1.54220285927195 \tabularnewline
35 & 100.7 & 102.106512645207 & -1.40651264520679 \tabularnewline
36 & 101.1 & 102.297589021814 & -1.19758902181394 \tabularnewline
37 & 101.5 & 101.858849879598 & -0.35884987959766 \tabularnewline
38 & 101.9 & 102.054201520018 & -0.154201520018080 \tabularnewline
39 & 102.1 & 102.163142206623 & -0.063142206623415 \tabularnewline
40 & 102.1 & 101.998932395430 & 0.101067604569773 \tabularnewline
41 & 102.1 & 101.934509211862 & 0.165490788137771 \tabularnewline
42 & 102.4 & 101.956957707191 & 0.443042292809353 \tabularnewline
43 & 102.8 & 102.001935344822 & 0.798064655178214 \tabularnewline
44 & 103.1 & 101.927666399815 & 1.17233360018491 \tabularnewline
45 & 103.1 & 101.761539926267 & 1.33846007373275 \tabularnewline
46 & 102.9 & 101.758338555367 & 1.14166144463348 \tabularnewline
47 & 102.4 & 101.897914318660 & 0.502085681339601 \tabularnewline
48 & 101.9 & 101.980741759818 & -0.080741759818489 \tabularnewline
49 & 101.3 & 101.223691894203 & 0.0763081057970145 \tabularnewline
50 & 100.7 & 100.993034640820 & -0.293034640819558 \tabularnewline
51 & 100.6 & 100.946124555992 & -0.346124555991922 \tabularnewline
52 & 101 & 100.992779076099 & 0.00722092390060805 \tabularnewline
53 & 101.5 & 101.152155334304 & 0.347844665695618 \tabularnewline
54 & 101.9 & 101.178097253629 & 0.72190274637102 \tabularnewline
55 & 102.1 & 101.249039529070 & 0.850960470930469 \tabularnewline
56 & 102.3 & 101.240893861684 & 1.05910613831587 \tabularnewline
57 & 102.5 & 100.892652992155 & 1.60734700784451 \tabularnewline
58 & 102.9 & 100.757708622624 & 2.14229137737577 \tabularnewline
59 & 103.6 & 100.836180938273 & 2.76381906172668 \tabularnewline
60 & 104.3 & 100.840311922653 & 3.4596880773473 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57583&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]101.2[/C][C]100.153870135735[/C][C]1.04612986426497[/C][/ROW]
[ROW][C]2[/C][C]101.1[/C][C]100.421466413842[/C][C]0.678533586158247[/C][/ROW]
[ROW][C]3[/C][C]100.7[/C][C]100.381212717980[/C][C]0.318787282020214[/C][/ROW]
[ROW][C]4[/C][C]100.1[/C][C]100.347927625923[/C][C]-0.247927625922541[/C][/ROW]
[ROW][C]5[/C][C]99.9[/C][C]100.434964829576[/C][C]-0.53496482957609[/C][/ROW]
[ROW][C]6[/C][C]99.7[/C][C]100.481867292878[/C][C]-0.781867292877748[/C][/ROW]
[ROW][C]7[/C][C]99.5[/C][C]100.360639776240[/C][C]-0.860639776240403[/C][/ROW]
[ROW][C]8[/C][C]99.2[/C][C]100.225739467913[/C][C]-1.0257394679127[/C][/ROW]
[ROW][C]9[/C][C]99[/C][C]100.283207866264[/C][C]-1.28320786626420[/C][/ROW]
[ROW][C]10[/C][C]99[/C][C]100.302902585068[/C][C]-1.30290258506814[/C][/ROW]
[ROW][C]11[/C][C]99.3[/C][C]100.425074172958[/C][C]-1.12507417295766[/C][/ROW]
[ROW][C]12[/C][C]99.5[/C][C]100.695854119568[/C][C]-1.19585411956762[/C][/ROW]
[ROW][C]13[/C][C]99.7[/C][C]100.221834542219[/C][C]-0.521834542218798[/C][/ROW]
[ROW][C]14[/C][C]100[/C][C]100.119206557452[/C][C]-0.119206557451961[/C][/ROW]
[ROW][C]15[/C][C]100.4[/C][C]100.278062293228[/C][C]0.121937706772146[/C][/ROW]
[ROW][C]16[/C][C]100.6[/C][C]100.400864014765[/C][C]0.199135985234517[/C][/ROW]
[ROW][C]17[/C][C]100.7[/C][C]100.542804625278[/C][C]0.157195374722158[/C][/ROW]
[ROW][C]18[/C][C]100.7[/C][C]100.563380519455[/C][C]0.136619480544832[/C][/ROW]
[ROW][C]19[/C][C]100.6[/C][C]100.514208806775[/C][C]0.0857911932250263[/C][/ROW]
[ROW][C]20[/C][C]100.5[/C][C]100.619646627698[/C][C]-0.119646627697643[/C][/ROW]
[ROW][C]21[/C][C]100.6[/C][C]100.957517378247[/C][C]-0.357517378246644[/C][/ROW]
[ROW][C]22[/C][C]100.5[/C][C]100.938847377669[/C][C]-0.438847377669162[/C][/ROW]
[ROW][C]23[/C][C]100.4[/C][C]101.134317924902[/C][C]-0.73431792490184[/C][/ROW]
[ROW][C]24[/C][C]100.3[/C][C]101.285503176147[/C][C]-0.985503176147257[/C][/ROW]
[ROW][C]25[/C][C]100.4[/C][C]100.641753548246[/C][C]-0.241753548245527[/C][/ROW]
[ROW][C]26[/C][C]100.4[/C][C]100.512090867869[/C][C]-0.112090867868647[/C][/ROW]
[ROW][C]27[/C][C]100.4[/C][C]100.431458226177[/C][C]-0.0314582261770233[/C][/ROW]
[ROW][C]28[/C][C]100.4[/C][C]100.459496887782[/C][C]-0.059496887782358[/C][/ROW]
[ROW][C]29[/C][C]100.4[/C][C]100.535565998979[/C][C]-0.135565998979459[/C][/ROW]
[ROW][C]30[/C][C]100.5[/C][C]101.019697226847[/C][C]-0.519697226847457[/C][/ROW]
[ROW][C]31[/C][C]100.6[/C][C]101.474176543093[/C][C]-0.874176543093307[/C][/ROW]
[ROW][C]32[/C][C]100.6[/C][C]101.686053642890[/C][C]-1.08605364289044[/C][/ROW]
[ROW][C]33[/C][C]100.5[/C][C]101.805081837066[/C][C]-1.30508183706642[/C][/ROW]
[ROW][C]34[/C][C]100.5[/C][C]102.042202859272[/C][C]-1.54220285927195[/C][/ROW]
[ROW][C]35[/C][C]100.7[/C][C]102.106512645207[/C][C]-1.40651264520679[/C][/ROW]
[ROW][C]36[/C][C]101.1[/C][C]102.297589021814[/C][C]-1.19758902181394[/C][/ROW]
[ROW][C]37[/C][C]101.5[/C][C]101.858849879598[/C][C]-0.35884987959766[/C][/ROW]
[ROW][C]38[/C][C]101.9[/C][C]102.054201520018[/C][C]-0.154201520018080[/C][/ROW]
[ROW][C]39[/C][C]102.1[/C][C]102.163142206623[/C][C]-0.063142206623415[/C][/ROW]
[ROW][C]40[/C][C]102.1[/C][C]101.998932395430[/C][C]0.101067604569773[/C][/ROW]
[ROW][C]41[/C][C]102.1[/C][C]101.934509211862[/C][C]0.165490788137771[/C][/ROW]
[ROW][C]42[/C][C]102.4[/C][C]101.956957707191[/C][C]0.443042292809353[/C][/ROW]
[ROW][C]43[/C][C]102.8[/C][C]102.001935344822[/C][C]0.798064655178214[/C][/ROW]
[ROW][C]44[/C][C]103.1[/C][C]101.927666399815[/C][C]1.17233360018491[/C][/ROW]
[ROW][C]45[/C][C]103.1[/C][C]101.761539926267[/C][C]1.33846007373275[/C][/ROW]
[ROW][C]46[/C][C]102.9[/C][C]101.758338555367[/C][C]1.14166144463348[/C][/ROW]
[ROW][C]47[/C][C]102.4[/C][C]101.897914318660[/C][C]0.502085681339601[/C][/ROW]
[ROW][C]48[/C][C]101.9[/C][C]101.980741759818[/C][C]-0.080741759818489[/C][/ROW]
[ROW][C]49[/C][C]101.3[/C][C]101.223691894203[/C][C]0.0763081057970145[/C][/ROW]
[ROW][C]50[/C][C]100.7[/C][C]100.993034640820[/C][C]-0.293034640819558[/C][/ROW]
[ROW][C]51[/C][C]100.6[/C][C]100.946124555992[/C][C]-0.346124555991922[/C][/ROW]
[ROW][C]52[/C][C]101[/C][C]100.992779076099[/C][C]0.00722092390060805[/C][/ROW]
[ROW][C]53[/C][C]101.5[/C][C]101.152155334304[/C][C]0.347844665695618[/C][/ROW]
[ROW][C]54[/C][C]101.9[/C][C]101.178097253629[/C][C]0.72190274637102[/C][/ROW]
[ROW][C]55[/C][C]102.1[/C][C]101.249039529070[/C][C]0.850960470930469[/C][/ROW]
[ROW][C]56[/C][C]102.3[/C][C]101.240893861684[/C][C]1.05910613831587[/C][/ROW]
[ROW][C]57[/C][C]102.5[/C][C]100.892652992155[/C][C]1.60734700784451[/C][/ROW]
[ROW][C]58[/C][C]102.9[/C][C]100.757708622624[/C][C]2.14229137737577[/C][/ROW]
[ROW][C]59[/C][C]103.6[/C][C]100.836180938273[/C][C]2.76381906172668[/C][/ROW]
[ROW][C]60[/C][C]104.3[/C][C]100.840311922653[/C][C]3.4596880773473[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57583&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57583&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
1101.2100.1538701357351.04612986426497
2101.1100.4214664138420.678533586158247
3100.7100.3812127179800.318787282020214
4100.1100.347927625923-0.247927625922541
599.9100.434964829576-0.53496482957609
699.7100.481867292878-0.781867292877748
799.5100.360639776240-0.860639776240403
899.2100.225739467913-1.0257394679127
999100.283207866264-1.28320786626420
1099100.302902585068-1.30290258506814
1199.3100.425074172958-1.12507417295766
1299.5100.695854119568-1.19585411956762
1399.7100.221834542219-0.521834542218798
14100100.119206557452-0.119206557451961
15100.4100.2780622932280.121937706772146
16100.6100.4008640147650.199135985234517
17100.7100.5428046252780.157195374722158
18100.7100.5633805194550.136619480544832
19100.6100.5142088067750.0857911932250263
20100.5100.619646627698-0.119646627697643
21100.6100.957517378247-0.357517378246644
22100.5100.938847377669-0.438847377669162
23100.4101.134317924902-0.73431792490184
24100.3101.285503176147-0.985503176147257
25100.4100.641753548246-0.241753548245527
26100.4100.512090867869-0.112090867868647
27100.4100.431458226177-0.0314582261770233
28100.4100.459496887782-0.059496887782358
29100.4100.535565998979-0.135565998979459
30100.5101.019697226847-0.519697226847457
31100.6101.474176543093-0.874176543093307
32100.6101.686053642890-1.08605364289044
33100.5101.805081837066-1.30508183706642
34100.5102.042202859272-1.54220285927195
35100.7102.106512645207-1.40651264520679
36101.1102.297589021814-1.19758902181394
37101.5101.858849879598-0.35884987959766
38101.9102.054201520018-0.154201520018080
39102.1102.163142206623-0.063142206623415
40102.1101.9989323954300.101067604569773
41102.1101.9345092118620.165490788137771
42102.4101.9569577071910.443042292809353
43102.8102.0019353448220.798064655178214
44103.1101.9276663998151.17233360018491
45103.1101.7615399262671.33846007373275
46102.9101.7583385553671.14166144463348
47102.4101.8979143186600.502085681339601
48101.9101.980741759818-0.080741759818489
49101.3101.2236918942030.0763081057970145
50100.7100.993034640820-0.293034640819558
51100.6100.946124555992-0.346124555991922
52101100.9927790760990.00722092390060805
53101.5101.1521553343040.347844665695618
54101.9101.1780972536290.72190274637102
55102.1101.2490395290700.850960470930469
56102.3101.2408938616841.05910613831587
57102.5100.8926529921551.60734700784451
58102.9100.7577086226242.14229137737577
59103.6100.8361809382732.76381906172668
60104.3100.8403119226533.4596880773473







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.2324986082840540.4649972165681070.767501391715946
170.1235742327581450.247148465516290.876425767241855
180.07395318757100390.1479063751420080.926046812428996
190.03820363603297330.07640727206594650.961796363967027
200.01735775766368550.03471551532737100.982642242336314
210.009543544434297160.01908708886859430.990456455565703
220.004501862743927690.009003725487855380.995498137256072
230.003213576277918380.006427152555836760.996786423722082
240.002359991423298840.004719982846597690.9976400085767
250.002688224124620910.005376448249241820.99731177587538
260.001642645134681440.003285290269362870.998357354865319
270.0008008205985071240.001601641197014250.999199179401493
280.0003759467316114830.0007518934632229670.999624053268388
290.0002038346977897560.0004076693955795130.99979616530221
300.0001869988390843510.0003739976781687010.999813001160916
310.0003597977538483120.0007195955076966250.999640202246152
320.0005473118755293370.001094623751058670.99945268812447
330.0008178497166020960.001635699433204190.999182150283398
340.001803257542453840.003606515084907680.998196742457546
350.005240684479471130.01048136895894230.994759315520529
360.0195128874148380.0390257748296760.980487112585162
370.01033696685779130.02067393371558250.989663033142209
380.00758036546246150.0151607309249230.992419634537538
390.009814885677772470.01962977135554490.990185114322228
400.01222002790592090.02444005581184170.98777997209408
410.01040753701849580.02081507403699160.989592462981504
420.01239415794034140.02478831588068280.987605842059659
430.0291289791133760.0582579582267520.970871020886624
440.09227333322631680.1845466664526340.907726666773683

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.232498608284054 & 0.464997216568107 & 0.767501391715946 \tabularnewline
17 & 0.123574232758145 & 0.24714846551629 & 0.876425767241855 \tabularnewline
18 & 0.0739531875710039 & 0.147906375142008 & 0.926046812428996 \tabularnewline
19 & 0.0382036360329733 & 0.0764072720659465 & 0.961796363967027 \tabularnewline
20 & 0.0173577576636855 & 0.0347155153273710 & 0.982642242336314 \tabularnewline
21 & 0.00954354443429716 & 0.0190870888685943 & 0.990456455565703 \tabularnewline
22 & 0.00450186274392769 & 0.00900372548785538 & 0.995498137256072 \tabularnewline
23 & 0.00321357627791838 & 0.00642715255583676 & 0.996786423722082 \tabularnewline
24 & 0.00235999142329884 & 0.00471998284659769 & 0.9976400085767 \tabularnewline
25 & 0.00268822412462091 & 0.00537644824924182 & 0.99731177587538 \tabularnewline
26 & 0.00164264513468144 & 0.00328529026936287 & 0.998357354865319 \tabularnewline
27 & 0.000800820598507124 & 0.00160164119701425 & 0.999199179401493 \tabularnewline
28 & 0.000375946731611483 & 0.000751893463222967 & 0.999624053268388 \tabularnewline
29 & 0.000203834697789756 & 0.000407669395579513 & 0.99979616530221 \tabularnewline
30 & 0.000186998839084351 & 0.000373997678168701 & 0.999813001160916 \tabularnewline
31 & 0.000359797753848312 & 0.000719595507696625 & 0.999640202246152 \tabularnewline
32 & 0.000547311875529337 & 0.00109462375105867 & 0.99945268812447 \tabularnewline
33 & 0.000817849716602096 & 0.00163569943320419 & 0.999182150283398 \tabularnewline
34 & 0.00180325754245384 & 0.00360651508490768 & 0.998196742457546 \tabularnewline
35 & 0.00524068447947113 & 0.0104813689589423 & 0.994759315520529 \tabularnewline
36 & 0.019512887414838 & 0.039025774829676 & 0.980487112585162 \tabularnewline
37 & 0.0103369668577913 & 0.0206739337155825 & 0.989663033142209 \tabularnewline
38 & 0.0075803654624615 & 0.015160730924923 & 0.992419634537538 \tabularnewline
39 & 0.00981488567777247 & 0.0196297713555449 & 0.990185114322228 \tabularnewline
40 & 0.0122200279059209 & 0.0244400558118417 & 0.98777997209408 \tabularnewline
41 & 0.0104075370184958 & 0.0208150740369916 & 0.989592462981504 \tabularnewline
42 & 0.0123941579403414 & 0.0247883158806828 & 0.987605842059659 \tabularnewline
43 & 0.029128979113376 & 0.058257958226752 & 0.970871020886624 \tabularnewline
44 & 0.0922733332263168 & 0.184546666452634 & 0.907726666773683 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57583&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.232498608284054[/C][C]0.464997216568107[/C][C]0.767501391715946[/C][/ROW]
[ROW][C]17[/C][C]0.123574232758145[/C][C]0.24714846551629[/C][C]0.876425767241855[/C][/ROW]
[ROW][C]18[/C][C]0.0739531875710039[/C][C]0.147906375142008[/C][C]0.926046812428996[/C][/ROW]
[ROW][C]19[/C][C]0.0382036360329733[/C][C]0.0764072720659465[/C][C]0.961796363967027[/C][/ROW]
[ROW][C]20[/C][C]0.0173577576636855[/C][C]0.0347155153273710[/C][C]0.982642242336314[/C][/ROW]
[ROW][C]21[/C][C]0.00954354443429716[/C][C]0.0190870888685943[/C][C]0.990456455565703[/C][/ROW]
[ROW][C]22[/C][C]0.00450186274392769[/C][C]0.00900372548785538[/C][C]0.995498137256072[/C][/ROW]
[ROW][C]23[/C][C]0.00321357627791838[/C][C]0.00642715255583676[/C][C]0.996786423722082[/C][/ROW]
[ROW][C]24[/C][C]0.00235999142329884[/C][C]0.00471998284659769[/C][C]0.9976400085767[/C][/ROW]
[ROW][C]25[/C][C]0.00268822412462091[/C][C]0.00537644824924182[/C][C]0.99731177587538[/C][/ROW]
[ROW][C]26[/C][C]0.00164264513468144[/C][C]0.00328529026936287[/C][C]0.998357354865319[/C][/ROW]
[ROW][C]27[/C][C]0.000800820598507124[/C][C]0.00160164119701425[/C][C]0.999199179401493[/C][/ROW]
[ROW][C]28[/C][C]0.000375946731611483[/C][C]0.000751893463222967[/C][C]0.999624053268388[/C][/ROW]
[ROW][C]29[/C][C]0.000203834697789756[/C][C]0.000407669395579513[/C][C]0.99979616530221[/C][/ROW]
[ROW][C]30[/C][C]0.000186998839084351[/C][C]0.000373997678168701[/C][C]0.999813001160916[/C][/ROW]
[ROW][C]31[/C][C]0.000359797753848312[/C][C]0.000719595507696625[/C][C]0.999640202246152[/C][/ROW]
[ROW][C]32[/C][C]0.000547311875529337[/C][C]0.00109462375105867[/C][C]0.99945268812447[/C][/ROW]
[ROW][C]33[/C][C]0.000817849716602096[/C][C]0.00163569943320419[/C][C]0.999182150283398[/C][/ROW]
[ROW][C]34[/C][C]0.00180325754245384[/C][C]0.00360651508490768[/C][C]0.998196742457546[/C][/ROW]
[ROW][C]35[/C][C]0.00524068447947113[/C][C]0.0104813689589423[/C][C]0.994759315520529[/C][/ROW]
[ROW][C]36[/C][C]0.019512887414838[/C][C]0.039025774829676[/C][C]0.980487112585162[/C][/ROW]
[ROW][C]37[/C][C]0.0103369668577913[/C][C]0.0206739337155825[/C][C]0.989663033142209[/C][/ROW]
[ROW][C]38[/C][C]0.0075803654624615[/C][C]0.015160730924923[/C][C]0.992419634537538[/C][/ROW]
[ROW][C]39[/C][C]0.00981488567777247[/C][C]0.0196297713555449[/C][C]0.990185114322228[/C][/ROW]
[ROW][C]40[/C][C]0.0122200279059209[/C][C]0.0244400558118417[/C][C]0.98777997209408[/C][/ROW]
[ROW][C]41[/C][C]0.0104075370184958[/C][C]0.0208150740369916[/C][C]0.989592462981504[/C][/ROW]
[ROW][C]42[/C][C]0.0123941579403414[/C][C]0.0247883158806828[/C][C]0.987605842059659[/C][/ROW]
[ROW][C]43[/C][C]0.029128979113376[/C][C]0.058257958226752[/C][C]0.970871020886624[/C][/ROW]
[ROW][C]44[/C][C]0.0922733332263168[/C][C]0.184546666452634[/C][C]0.907726666773683[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57583&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57583&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.2324986082840540.4649972165681070.767501391715946
170.1235742327581450.247148465516290.876425767241855
180.07395318757100390.1479063751420080.926046812428996
190.03820363603297330.07640727206594650.961796363967027
200.01735775766368550.03471551532737100.982642242336314
210.009543544434297160.01908708886859430.990456455565703
220.004501862743927690.009003725487855380.995498137256072
230.003213576277918380.006427152555836760.996786423722082
240.002359991423298840.004719982846597690.9976400085767
250.002688224124620910.005376448249241820.99731177587538
260.001642645134681440.003285290269362870.998357354865319
270.0008008205985071240.001601641197014250.999199179401493
280.0003759467316114830.0007518934632229670.999624053268388
290.0002038346977897560.0004076693955795130.99979616530221
300.0001869988390843510.0003739976781687010.999813001160916
310.0003597977538483120.0007195955076966250.999640202246152
320.0005473118755293370.001094623751058670.99945268812447
330.0008178497166020960.001635699433204190.999182150283398
340.001803257542453840.003606515084907680.998196742457546
350.005240684479471130.01048136895894230.994759315520529
360.0195128874148380.0390257748296760.980487112585162
370.01033696685779130.02067393371558250.989663033142209
380.00758036546246150.0151607309249230.992419634537538
390.009814885677772470.01962977135554490.990185114322228
400.01222002790592090.02444005581184170.98777997209408
410.01040753701849580.02081507403699160.989592462981504
420.01239415794034140.02478831588068280.987605842059659
430.0291289791133760.0582579582267520.970871020886624
440.09227333322631680.1845466664526340.907726666773683







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level130.448275862068966NOK
5% type I error level230.793103448275862NOK
10% type I error level250.862068965517241NOK

\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 & 13 & 0.448275862068966 & NOK \tabularnewline
5% type I error level & 23 & 0.793103448275862 & NOK \tabularnewline
10% type I error level & 25 & 0.862068965517241 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57583&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]13[/C][C]0.448275862068966[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]23[/C][C]0.793103448275862[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]25[/C][C]0.862068965517241[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57583&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57583&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 level130.448275862068966NOK
5% type I error level230.793103448275862NOK
10% type I error level250.862068965517241NOK



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