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 computationThu, 19 Nov 2009 09:06:21 -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/19/t12586472434jzxsfi7r88v08q.htm/, Retrieved Tue, 16 Apr 2024 14:21:05 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=57802, Retrieved Tue, 16 Apr 2024 14:21:05 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact132
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Q1 The Seatbeltlaw] [2007-11-14 19:27:43] [8cd6641b921d30ebe00b648d1481bba0]
- RM D  [Multiple Regression] [Seatbelt] [2009-11-12 14:06:21] [b98453cac15ba1066b407e146608df68]
-   PD      [Multiple Regression] [M3] [2009-11-19 16:06:21] [2ecea65fec1cd5f6b1ab182881aa2a91] [Current]
Feedback Forum

Post a new message
Dataseries X:
21	2472,81
19	2407,6
25	2454,62
21	2448,05
23	2497,84
23	2645,64
19	2756,76
18	2849,27
19	2921,44
19	2981,85
22	3080,58
23	3106,22
20	3119,31
14	3061,26
14	3097,31
14	3161,69
15	3257,16
11	3277,01
17	3295,32
16	3363,99
20	3494,17
24	3667,03
23	3813,06
20	3917,96
21	3895,51
19	3801,06
23	3570,12
23	3701,61
23	3862,27
23	3970,1
27	4138,52
26	4199,75
17	4290,89
24	4443,91
26	4502,64
24	4356,98
27	4591,27
27	4696,96
26	4621,4
24	4562,84
23	4202,52
23	4296,49
24	4435,23
17	4105,18
21	4116,68
19	3844,49
22	3720,98
22	3674,4
18	3857,62
16	3801,06
14	3504,37
12	3032,6
14	3047,03
16	2962,34
8	2197,82
3	2014,45
0	1862,83
5	1905,41
1	1810,99
1	1670,07
3	1864,44




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=57802&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=57802&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57802&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
Consvertr[t] = + 2.73170303613635 + 0.00637395336616299Aand[t] -0.190088819280827t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Consvertr[t] =  +  2.73170303613635 +  0.00637395336616299Aand[t] -0.190088819280827t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57802&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Consvertr[t] =  +  2.73170303613635 +  0.00637395336616299Aand[t] -0.190088819280827t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57802&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57802&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
Consvertr[t] = + 2.73170303613635 + 0.00637395336616299Aand[t] -0.190088819280827t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)2.731703036136351.895631.44110.1549470.077474
Aand0.006373953366162990.00051312.427200
t-0.1900888192808270.023593-8.057100

\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) & 2.73170303613635 & 1.89563 & 1.4411 & 0.154947 & 0.077474 \tabularnewline
Aand & 0.00637395336616299 & 0.000513 & 12.4272 & 0 & 0 \tabularnewline
t & -0.190088819280827 & 0.023593 & -8.0571 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57802&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]2.73170303613635[/C][C]1.89563[/C][C]1.4411[/C][C]0.154947[/C][C]0.077474[/C][/ROW]
[ROW][C]Aand[/C][C]0.00637395336616299[/C][C]0.000513[/C][C]12.4272[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]t[/C][C]-0.190088819280827[/C][C]0.023593[/C][C]-8.0571[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57802&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57802&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)2.731703036136351.895631.44110.1549470.077474
Aand0.006373953366162990.00051312.427200
t-0.1900888192808270.023593-8.057100







Multiple Linear Regression - Regression Statistics
Multiple R0.885297448485684
R-squared0.783751572295263
Adjusted R-squared0.776294729960617
F-TEST (value)105.105021284114
F-TEST (DF numerator)2
F-TEST (DF denominator)58
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation3.24057281102741
Sum Squared Residuals609.076104327064

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.885297448485684 \tabularnewline
R-squared & 0.783751572295263 \tabularnewline
Adjusted R-squared & 0.776294729960617 \tabularnewline
F-TEST (value) & 105.105021284114 \tabularnewline
F-TEST (DF numerator) & 2 \tabularnewline
F-TEST (DF denominator) & 58 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 3.24057281102741 \tabularnewline
Sum Squared Residuals & 609.076104327064 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57802&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.885297448485684[/C][/ROW]
[ROW][C]R-squared[/C][C]0.783751572295263[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.776294729960617[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]105.105021284114[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]2[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]58[/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]3.24057281102741[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]609.076104327064[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57802&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57802&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.885297448485684
R-squared0.783751572295263
Adjusted R-squared0.776294729960617
F-TEST (value)105.105021284114
F-TEST (DF numerator)2
F-TEST (DF denominator)58
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation3.24057281102741
Sum Squared Residuals609.076104327064







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
12118.30318984023702.69681015976295
21917.69745552194871.30254447805129
32517.80706998994497.19293001005515
42117.57510429704833.42489570295165
52317.70237461586885.29762538413122
62318.45435610410684.54564389589316
71918.97254098287400.0274590171259583
81819.3721065894970-1.37210658949695
91919.6420259846521-0.642025984652107
101919.8369876882212-0.836987688221185
112220.27619928478161.72380071521837
122320.24953862980922.75046137019078
132020.1428848600915-0.142884860091468
141419.5827880479049-5.58278804790488
151419.6224802474742-5.62248024747423
161419.8427465459070-5.84274654590697
171520.2611790544937-5.26117905449373
181120.1976132095312-9.19761320953123
191720.1242314763849-3.12423147638485
201620.3718420347584-4.37184203475844
212021.0115144646847-1.01151446468471
222421.92322722427882.07677277572118
232322.66392681505880.336073184941232
242023.1424657038884-3.14246570388844
252122.8092816315373-1.80928163153725
261922.0171729168223-3.01717291682233
272320.35508330715982.64491669284018
282321.00310561599581.99689438400423
292321.83705614452271.16294385547731
302322.33427071671520.665729283284787
312723.21768312336363.78231687663644
322623.41787146869292.58212853130711
331723.8087047592042-6.80870475920416
342424.5939582840136-0.59395828401359
352624.77821174592751.22178825407248
362423.65969287933140.340307120668616
372724.96295759420892.03704240579111
382725.44653190619781.55346809380217
392624.77482717056971.22517282943028
402424.2114796421664-0.211479642166392
412321.72472794598971.27527205401028
422322.13359952452720.866400475472777
432422.82783299526781.17216700473215
441720.5340208674849-3.53402086748493
452120.4172325119150.582767488085021
461918.49221732589820.507782674101756
472217.51488152636264.48511847363737
482217.02789395928594.97210604071407
491818.0056408757535-0.00564087575348349
501617.4550412540825-1.45504125408248
511415.3738642105948-1.37386421059475
521212.1767354117592-0.176735411759213
531412.07862273955211.92137726044788
541611.34872380969094.65127619030905
5586.28562016291121.71437983708881
5634.92673951487706-1.92673951487706
5703.7702318862186-3.7702318862186
5853.851546001268991.14845399873101
5913.05962850515506-2.05962850515506
6011.97132217751454-0.97132217751454
6133.02013867401481-0.0201386740148131

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 21 & 18.3031898402370 & 2.69681015976295 \tabularnewline
2 & 19 & 17.6974555219487 & 1.30254447805129 \tabularnewline
3 & 25 & 17.8070699899449 & 7.19293001005515 \tabularnewline
4 & 21 & 17.5751042970483 & 3.42489570295165 \tabularnewline
5 & 23 & 17.7023746158688 & 5.29762538413122 \tabularnewline
6 & 23 & 18.4543561041068 & 4.54564389589316 \tabularnewline
7 & 19 & 18.9725409828740 & 0.0274590171259583 \tabularnewline
8 & 18 & 19.3721065894970 & -1.37210658949695 \tabularnewline
9 & 19 & 19.6420259846521 & -0.642025984652107 \tabularnewline
10 & 19 & 19.8369876882212 & -0.836987688221185 \tabularnewline
11 & 22 & 20.2761992847816 & 1.72380071521837 \tabularnewline
12 & 23 & 20.2495386298092 & 2.75046137019078 \tabularnewline
13 & 20 & 20.1428848600915 & -0.142884860091468 \tabularnewline
14 & 14 & 19.5827880479049 & -5.58278804790488 \tabularnewline
15 & 14 & 19.6224802474742 & -5.62248024747423 \tabularnewline
16 & 14 & 19.8427465459070 & -5.84274654590697 \tabularnewline
17 & 15 & 20.2611790544937 & -5.26117905449373 \tabularnewline
18 & 11 & 20.1976132095312 & -9.19761320953123 \tabularnewline
19 & 17 & 20.1242314763849 & -3.12423147638485 \tabularnewline
20 & 16 & 20.3718420347584 & -4.37184203475844 \tabularnewline
21 & 20 & 21.0115144646847 & -1.01151446468471 \tabularnewline
22 & 24 & 21.9232272242788 & 2.07677277572118 \tabularnewline
23 & 23 & 22.6639268150588 & 0.336073184941232 \tabularnewline
24 & 20 & 23.1424657038884 & -3.14246570388844 \tabularnewline
25 & 21 & 22.8092816315373 & -1.80928163153725 \tabularnewline
26 & 19 & 22.0171729168223 & -3.01717291682233 \tabularnewline
27 & 23 & 20.3550833071598 & 2.64491669284018 \tabularnewline
28 & 23 & 21.0031056159958 & 1.99689438400423 \tabularnewline
29 & 23 & 21.8370561445227 & 1.16294385547731 \tabularnewline
30 & 23 & 22.3342707167152 & 0.665729283284787 \tabularnewline
31 & 27 & 23.2176831233636 & 3.78231687663644 \tabularnewline
32 & 26 & 23.4178714686929 & 2.58212853130711 \tabularnewline
33 & 17 & 23.8087047592042 & -6.80870475920416 \tabularnewline
34 & 24 & 24.5939582840136 & -0.59395828401359 \tabularnewline
35 & 26 & 24.7782117459275 & 1.22178825407248 \tabularnewline
36 & 24 & 23.6596928793314 & 0.340307120668616 \tabularnewline
37 & 27 & 24.9629575942089 & 2.03704240579111 \tabularnewline
38 & 27 & 25.4465319061978 & 1.55346809380217 \tabularnewline
39 & 26 & 24.7748271705697 & 1.22517282943028 \tabularnewline
40 & 24 & 24.2114796421664 & -0.211479642166392 \tabularnewline
41 & 23 & 21.7247279459897 & 1.27527205401028 \tabularnewline
42 & 23 & 22.1335995245272 & 0.866400475472777 \tabularnewline
43 & 24 & 22.8278329952678 & 1.17216700473215 \tabularnewline
44 & 17 & 20.5340208674849 & -3.53402086748493 \tabularnewline
45 & 21 & 20.417232511915 & 0.582767488085021 \tabularnewline
46 & 19 & 18.4922173258982 & 0.507782674101756 \tabularnewline
47 & 22 & 17.5148815263626 & 4.48511847363737 \tabularnewline
48 & 22 & 17.0278939592859 & 4.97210604071407 \tabularnewline
49 & 18 & 18.0056408757535 & -0.00564087575348349 \tabularnewline
50 & 16 & 17.4550412540825 & -1.45504125408248 \tabularnewline
51 & 14 & 15.3738642105948 & -1.37386421059475 \tabularnewline
52 & 12 & 12.1767354117592 & -0.176735411759213 \tabularnewline
53 & 14 & 12.0786227395521 & 1.92137726044788 \tabularnewline
54 & 16 & 11.3487238096909 & 4.65127619030905 \tabularnewline
55 & 8 & 6.2856201629112 & 1.71437983708881 \tabularnewline
56 & 3 & 4.92673951487706 & -1.92673951487706 \tabularnewline
57 & 0 & 3.7702318862186 & -3.7702318862186 \tabularnewline
58 & 5 & 3.85154600126899 & 1.14845399873101 \tabularnewline
59 & 1 & 3.05962850515506 & -2.05962850515506 \tabularnewline
60 & 1 & 1.97132217751454 & -0.97132217751454 \tabularnewline
61 & 3 & 3.02013867401481 & -0.0201386740148131 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57802&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]21[/C][C]18.3031898402370[/C][C]2.69681015976295[/C][/ROW]
[ROW][C]2[/C][C]19[/C][C]17.6974555219487[/C][C]1.30254447805129[/C][/ROW]
[ROW][C]3[/C][C]25[/C][C]17.8070699899449[/C][C]7.19293001005515[/C][/ROW]
[ROW][C]4[/C][C]21[/C][C]17.5751042970483[/C][C]3.42489570295165[/C][/ROW]
[ROW][C]5[/C][C]23[/C][C]17.7023746158688[/C][C]5.29762538413122[/C][/ROW]
[ROW][C]6[/C][C]23[/C][C]18.4543561041068[/C][C]4.54564389589316[/C][/ROW]
[ROW][C]7[/C][C]19[/C][C]18.9725409828740[/C][C]0.0274590171259583[/C][/ROW]
[ROW][C]8[/C][C]18[/C][C]19.3721065894970[/C][C]-1.37210658949695[/C][/ROW]
[ROW][C]9[/C][C]19[/C][C]19.6420259846521[/C][C]-0.642025984652107[/C][/ROW]
[ROW][C]10[/C][C]19[/C][C]19.8369876882212[/C][C]-0.836987688221185[/C][/ROW]
[ROW][C]11[/C][C]22[/C][C]20.2761992847816[/C][C]1.72380071521837[/C][/ROW]
[ROW][C]12[/C][C]23[/C][C]20.2495386298092[/C][C]2.75046137019078[/C][/ROW]
[ROW][C]13[/C][C]20[/C][C]20.1428848600915[/C][C]-0.142884860091468[/C][/ROW]
[ROW][C]14[/C][C]14[/C][C]19.5827880479049[/C][C]-5.58278804790488[/C][/ROW]
[ROW][C]15[/C][C]14[/C][C]19.6224802474742[/C][C]-5.62248024747423[/C][/ROW]
[ROW][C]16[/C][C]14[/C][C]19.8427465459070[/C][C]-5.84274654590697[/C][/ROW]
[ROW][C]17[/C][C]15[/C][C]20.2611790544937[/C][C]-5.26117905449373[/C][/ROW]
[ROW][C]18[/C][C]11[/C][C]20.1976132095312[/C][C]-9.19761320953123[/C][/ROW]
[ROW][C]19[/C][C]17[/C][C]20.1242314763849[/C][C]-3.12423147638485[/C][/ROW]
[ROW][C]20[/C][C]16[/C][C]20.3718420347584[/C][C]-4.37184203475844[/C][/ROW]
[ROW][C]21[/C][C]20[/C][C]21.0115144646847[/C][C]-1.01151446468471[/C][/ROW]
[ROW][C]22[/C][C]24[/C][C]21.9232272242788[/C][C]2.07677277572118[/C][/ROW]
[ROW][C]23[/C][C]23[/C][C]22.6639268150588[/C][C]0.336073184941232[/C][/ROW]
[ROW][C]24[/C][C]20[/C][C]23.1424657038884[/C][C]-3.14246570388844[/C][/ROW]
[ROW][C]25[/C][C]21[/C][C]22.8092816315373[/C][C]-1.80928163153725[/C][/ROW]
[ROW][C]26[/C][C]19[/C][C]22.0171729168223[/C][C]-3.01717291682233[/C][/ROW]
[ROW][C]27[/C][C]23[/C][C]20.3550833071598[/C][C]2.64491669284018[/C][/ROW]
[ROW][C]28[/C][C]23[/C][C]21.0031056159958[/C][C]1.99689438400423[/C][/ROW]
[ROW][C]29[/C][C]23[/C][C]21.8370561445227[/C][C]1.16294385547731[/C][/ROW]
[ROW][C]30[/C][C]23[/C][C]22.3342707167152[/C][C]0.665729283284787[/C][/ROW]
[ROW][C]31[/C][C]27[/C][C]23.2176831233636[/C][C]3.78231687663644[/C][/ROW]
[ROW][C]32[/C][C]26[/C][C]23.4178714686929[/C][C]2.58212853130711[/C][/ROW]
[ROW][C]33[/C][C]17[/C][C]23.8087047592042[/C][C]-6.80870475920416[/C][/ROW]
[ROW][C]34[/C][C]24[/C][C]24.5939582840136[/C][C]-0.59395828401359[/C][/ROW]
[ROW][C]35[/C][C]26[/C][C]24.7782117459275[/C][C]1.22178825407248[/C][/ROW]
[ROW][C]36[/C][C]24[/C][C]23.6596928793314[/C][C]0.340307120668616[/C][/ROW]
[ROW][C]37[/C][C]27[/C][C]24.9629575942089[/C][C]2.03704240579111[/C][/ROW]
[ROW][C]38[/C][C]27[/C][C]25.4465319061978[/C][C]1.55346809380217[/C][/ROW]
[ROW][C]39[/C][C]26[/C][C]24.7748271705697[/C][C]1.22517282943028[/C][/ROW]
[ROW][C]40[/C][C]24[/C][C]24.2114796421664[/C][C]-0.211479642166392[/C][/ROW]
[ROW][C]41[/C][C]23[/C][C]21.7247279459897[/C][C]1.27527205401028[/C][/ROW]
[ROW][C]42[/C][C]23[/C][C]22.1335995245272[/C][C]0.866400475472777[/C][/ROW]
[ROW][C]43[/C][C]24[/C][C]22.8278329952678[/C][C]1.17216700473215[/C][/ROW]
[ROW][C]44[/C][C]17[/C][C]20.5340208674849[/C][C]-3.53402086748493[/C][/ROW]
[ROW][C]45[/C][C]21[/C][C]20.417232511915[/C][C]0.582767488085021[/C][/ROW]
[ROW][C]46[/C][C]19[/C][C]18.4922173258982[/C][C]0.507782674101756[/C][/ROW]
[ROW][C]47[/C][C]22[/C][C]17.5148815263626[/C][C]4.48511847363737[/C][/ROW]
[ROW][C]48[/C][C]22[/C][C]17.0278939592859[/C][C]4.97210604071407[/C][/ROW]
[ROW][C]49[/C][C]18[/C][C]18.0056408757535[/C][C]-0.00564087575348349[/C][/ROW]
[ROW][C]50[/C][C]16[/C][C]17.4550412540825[/C][C]-1.45504125408248[/C][/ROW]
[ROW][C]51[/C][C]14[/C][C]15.3738642105948[/C][C]-1.37386421059475[/C][/ROW]
[ROW][C]52[/C][C]12[/C][C]12.1767354117592[/C][C]-0.176735411759213[/C][/ROW]
[ROW][C]53[/C][C]14[/C][C]12.0786227395521[/C][C]1.92137726044788[/C][/ROW]
[ROW][C]54[/C][C]16[/C][C]11.3487238096909[/C][C]4.65127619030905[/C][/ROW]
[ROW][C]55[/C][C]8[/C][C]6.2856201629112[/C][C]1.71437983708881[/C][/ROW]
[ROW][C]56[/C][C]3[/C][C]4.92673951487706[/C][C]-1.92673951487706[/C][/ROW]
[ROW][C]57[/C][C]0[/C][C]3.7702318862186[/C][C]-3.7702318862186[/C][/ROW]
[ROW][C]58[/C][C]5[/C][C]3.85154600126899[/C][C]1.14845399873101[/C][/ROW]
[ROW][C]59[/C][C]1[/C][C]3.05962850515506[/C][C]-2.05962850515506[/C][/ROW]
[ROW][C]60[/C][C]1[/C][C]1.97132217751454[/C][C]-0.97132217751454[/C][/ROW]
[ROW][C]61[/C][C]3[/C][C]3.02013867401481[/C][C]-0.0201386740148131[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57802&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57802&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
12118.30318984023702.69681015976295
21917.69745552194871.30254447805129
32517.80706998994497.19293001005515
42117.57510429704833.42489570295165
52317.70237461586885.29762538413122
62318.45435610410684.54564389589316
71918.97254098287400.0274590171259583
81819.3721065894970-1.37210658949695
91919.6420259846521-0.642025984652107
101919.8369876882212-0.836987688221185
112220.27619928478161.72380071521837
122320.24953862980922.75046137019078
132020.1428848600915-0.142884860091468
141419.5827880479049-5.58278804790488
151419.6224802474742-5.62248024747423
161419.8427465459070-5.84274654590697
171520.2611790544937-5.26117905449373
181120.1976132095312-9.19761320953123
191720.1242314763849-3.12423147638485
201620.3718420347584-4.37184203475844
212021.0115144646847-1.01151446468471
222421.92322722427882.07677277572118
232322.66392681505880.336073184941232
242023.1424657038884-3.14246570388844
252122.8092816315373-1.80928163153725
261922.0171729168223-3.01717291682233
272320.35508330715982.64491669284018
282321.00310561599581.99689438400423
292321.83705614452271.16294385547731
302322.33427071671520.665729283284787
312723.21768312336363.78231687663644
322623.41787146869292.58212853130711
331723.8087047592042-6.80870475920416
342424.5939582840136-0.59395828401359
352624.77821174592751.22178825407248
362423.65969287933140.340307120668616
372724.96295759420892.03704240579111
382725.44653190619781.55346809380217
392624.77482717056971.22517282943028
402424.2114796421664-0.211479642166392
412321.72472794598971.27527205401028
422322.13359952452720.866400475472777
432422.82783299526781.17216700473215
441720.5340208674849-3.53402086748493
452120.4172325119150.582767488085021
461918.49221732589820.507782674101756
472217.51488152636264.48511847363737
482217.02789395928594.97210604071407
491818.0056408757535-0.00564087575348349
501617.4550412540825-1.45504125408248
511415.3738642105948-1.37386421059475
521212.1767354117592-0.176735411759213
531412.07862273955211.92137726044788
541611.34872380969094.65127619030905
5586.28562016291121.71437983708881
5634.92673951487706-1.92673951487706
5703.7702318862186-3.7702318862186
5853.851546001268991.14845399873101
5913.05962850515506-2.05962850515506
6011.97132217751454-0.97132217751454
6133.02013867401481-0.0201386740148131







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
60.4554787792375160.9109575584750320.544521220762484
70.4856264310967380.9712528621934760.514373568903262
80.3764400639134080.7528801278268170.623559936086592
90.2604171192010560.5208342384021120.739582880798944
100.1721785700666170.3443571401332330.827821429933383
110.2613696916461480.5227393832922970.738630308353852
120.3520079868359930.7040159736719870.647992013164007
130.3041590816632450.6083181633264890.695840918336756
140.6027172033962920.7945655932074150.397282796603708
150.5982895543347650.803420891330470.401710445665235
160.5459675736303980.9080648527392040.454032426369602
170.4714089996631140.9428179993262270.528591000336886
180.6326020041936640.7347959916126730.367397995806336
190.6851368667183990.6297262665632020.314863133281601
200.6983019532536560.6033960934926880.301698046746344
210.8011921851091930.3976156297816150.198807814890808
220.9210528944886580.1578942110226840.078947105511342
230.9085035238404870.1829929523190250.0914964761595126
240.8954958818751260.2090082362497490.104504118124874
250.8736492047653750.2527015904692490.126350795234625
260.8857010215249030.2285979569501930.114298978475097
270.9715161621044810.0569676757910370.0284838378955185
280.9775638193974730.04487236120505310.0224361806025265
290.9746388289563850.050722342087230.025361171043615
300.9675823669280530.06483526614389420.0324176330719471
310.9854402644512480.02911947109750440.0145597355487522
320.9915918960958510.01681620780829760.00840810390414882
330.9983720759278850.003255848144230850.00162792407211542
340.9972725911637060.005454817672587420.00272740883629371
350.9957284285501840.008543142899631430.00427157144981571
360.992773016809740.01445396638051960.00722698319025982
370.9899057392395040.02018852152099110.0100942607604956
380.9842503605177670.03149927896446540.0157496394822327
390.9751774469430940.04964510611381110.0248225530569055
400.961927665400980.07614466919804010.0380723345990200
410.9444626605134010.1110746789731970.0555373394865986
420.9160741011355240.1678517977289530.0839258988644763
430.8772417322357470.2455165355285050.122758267764253
440.929416498392190.1411670032156200.0705835016078101
450.9027503414224090.1944993171551810.0972496585775907
460.8732848779075320.2534302441849350.126715122092468
470.8617891774846560.2764216450306880.138210822515344
480.9157731510412550.168453697917490.084226848958745
490.8678175765797560.2643648468404880.132182423420244
500.872402596245740.2551948075085190.127597403754260
510.9353119580433360.1293760839133290.0646880419566645
520.9367525974511720.1264948050976560.0632474025488278
530.9320160555142940.1359678889714110.0679839444857057
540.893789060637380.2124218787252400.106210939362620
550.8328754392129060.3342491215741880.167124560787094

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
6 & 0.455478779237516 & 0.910957558475032 & 0.544521220762484 \tabularnewline
7 & 0.485626431096738 & 0.971252862193476 & 0.514373568903262 \tabularnewline
8 & 0.376440063913408 & 0.752880127826817 & 0.623559936086592 \tabularnewline
9 & 0.260417119201056 & 0.520834238402112 & 0.739582880798944 \tabularnewline
10 & 0.172178570066617 & 0.344357140133233 & 0.827821429933383 \tabularnewline
11 & 0.261369691646148 & 0.522739383292297 & 0.738630308353852 \tabularnewline
12 & 0.352007986835993 & 0.704015973671987 & 0.647992013164007 \tabularnewline
13 & 0.304159081663245 & 0.608318163326489 & 0.695840918336756 \tabularnewline
14 & 0.602717203396292 & 0.794565593207415 & 0.397282796603708 \tabularnewline
15 & 0.598289554334765 & 0.80342089133047 & 0.401710445665235 \tabularnewline
16 & 0.545967573630398 & 0.908064852739204 & 0.454032426369602 \tabularnewline
17 & 0.471408999663114 & 0.942817999326227 & 0.528591000336886 \tabularnewline
18 & 0.632602004193664 & 0.734795991612673 & 0.367397995806336 \tabularnewline
19 & 0.685136866718399 & 0.629726266563202 & 0.314863133281601 \tabularnewline
20 & 0.698301953253656 & 0.603396093492688 & 0.301698046746344 \tabularnewline
21 & 0.801192185109193 & 0.397615629781615 & 0.198807814890808 \tabularnewline
22 & 0.921052894488658 & 0.157894211022684 & 0.078947105511342 \tabularnewline
23 & 0.908503523840487 & 0.182992952319025 & 0.0914964761595126 \tabularnewline
24 & 0.895495881875126 & 0.209008236249749 & 0.104504118124874 \tabularnewline
25 & 0.873649204765375 & 0.252701590469249 & 0.126350795234625 \tabularnewline
26 & 0.885701021524903 & 0.228597956950193 & 0.114298978475097 \tabularnewline
27 & 0.971516162104481 & 0.056967675791037 & 0.0284838378955185 \tabularnewline
28 & 0.977563819397473 & 0.0448723612050531 & 0.0224361806025265 \tabularnewline
29 & 0.974638828956385 & 0.05072234208723 & 0.025361171043615 \tabularnewline
30 & 0.967582366928053 & 0.0648352661438942 & 0.0324176330719471 \tabularnewline
31 & 0.985440264451248 & 0.0291194710975044 & 0.0145597355487522 \tabularnewline
32 & 0.991591896095851 & 0.0168162078082976 & 0.00840810390414882 \tabularnewline
33 & 0.998372075927885 & 0.00325584814423085 & 0.00162792407211542 \tabularnewline
34 & 0.997272591163706 & 0.00545481767258742 & 0.00272740883629371 \tabularnewline
35 & 0.995728428550184 & 0.00854314289963143 & 0.00427157144981571 \tabularnewline
36 & 0.99277301680974 & 0.0144539663805196 & 0.00722698319025982 \tabularnewline
37 & 0.989905739239504 & 0.0201885215209911 & 0.0100942607604956 \tabularnewline
38 & 0.984250360517767 & 0.0314992789644654 & 0.0157496394822327 \tabularnewline
39 & 0.975177446943094 & 0.0496451061138111 & 0.0248225530569055 \tabularnewline
40 & 0.96192766540098 & 0.0761446691980401 & 0.0380723345990200 \tabularnewline
41 & 0.944462660513401 & 0.111074678973197 & 0.0555373394865986 \tabularnewline
42 & 0.916074101135524 & 0.167851797728953 & 0.0839258988644763 \tabularnewline
43 & 0.877241732235747 & 0.245516535528505 & 0.122758267764253 \tabularnewline
44 & 0.92941649839219 & 0.141167003215620 & 0.0705835016078101 \tabularnewline
45 & 0.902750341422409 & 0.194499317155181 & 0.0972496585775907 \tabularnewline
46 & 0.873284877907532 & 0.253430244184935 & 0.126715122092468 \tabularnewline
47 & 0.861789177484656 & 0.276421645030688 & 0.138210822515344 \tabularnewline
48 & 0.915773151041255 & 0.16845369791749 & 0.084226848958745 \tabularnewline
49 & 0.867817576579756 & 0.264364846840488 & 0.132182423420244 \tabularnewline
50 & 0.87240259624574 & 0.255194807508519 & 0.127597403754260 \tabularnewline
51 & 0.935311958043336 & 0.129376083913329 & 0.0646880419566645 \tabularnewline
52 & 0.936752597451172 & 0.126494805097656 & 0.0632474025488278 \tabularnewline
53 & 0.932016055514294 & 0.135967888971411 & 0.0679839444857057 \tabularnewline
54 & 0.89378906063738 & 0.212421878725240 & 0.106210939362620 \tabularnewline
55 & 0.832875439212906 & 0.334249121574188 & 0.167124560787094 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57802&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.455478779237516[/C][C]0.910957558475032[/C][C]0.544521220762484[/C][/ROW]
[ROW][C]7[/C][C]0.485626431096738[/C][C]0.971252862193476[/C][C]0.514373568903262[/C][/ROW]
[ROW][C]8[/C][C]0.376440063913408[/C][C]0.752880127826817[/C][C]0.623559936086592[/C][/ROW]
[ROW][C]9[/C][C]0.260417119201056[/C][C]0.520834238402112[/C][C]0.739582880798944[/C][/ROW]
[ROW][C]10[/C][C]0.172178570066617[/C][C]0.344357140133233[/C][C]0.827821429933383[/C][/ROW]
[ROW][C]11[/C][C]0.261369691646148[/C][C]0.522739383292297[/C][C]0.738630308353852[/C][/ROW]
[ROW][C]12[/C][C]0.352007986835993[/C][C]0.704015973671987[/C][C]0.647992013164007[/C][/ROW]
[ROW][C]13[/C][C]0.304159081663245[/C][C]0.608318163326489[/C][C]0.695840918336756[/C][/ROW]
[ROW][C]14[/C][C]0.602717203396292[/C][C]0.794565593207415[/C][C]0.397282796603708[/C][/ROW]
[ROW][C]15[/C][C]0.598289554334765[/C][C]0.80342089133047[/C][C]0.401710445665235[/C][/ROW]
[ROW][C]16[/C][C]0.545967573630398[/C][C]0.908064852739204[/C][C]0.454032426369602[/C][/ROW]
[ROW][C]17[/C][C]0.471408999663114[/C][C]0.942817999326227[/C][C]0.528591000336886[/C][/ROW]
[ROW][C]18[/C][C]0.632602004193664[/C][C]0.734795991612673[/C][C]0.367397995806336[/C][/ROW]
[ROW][C]19[/C][C]0.685136866718399[/C][C]0.629726266563202[/C][C]0.314863133281601[/C][/ROW]
[ROW][C]20[/C][C]0.698301953253656[/C][C]0.603396093492688[/C][C]0.301698046746344[/C][/ROW]
[ROW][C]21[/C][C]0.801192185109193[/C][C]0.397615629781615[/C][C]0.198807814890808[/C][/ROW]
[ROW][C]22[/C][C]0.921052894488658[/C][C]0.157894211022684[/C][C]0.078947105511342[/C][/ROW]
[ROW][C]23[/C][C]0.908503523840487[/C][C]0.182992952319025[/C][C]0.0914964761595126[/C][/ROW]
[ROW][C]24[/C][C]0.895495881875126[/C][C]0.209008236249749[/C][C]0.104504118124874[/C][/ROW]
[ROW][C]25[/C][C]0.873649204765375[/C][C]0.252701590469249[/C][C]0.126350795234625[/C][/ROW]
[ROW][C]26[/C][C]0.885701021524903[/C][C]0.228597956950193[/C][C]0.114298978475097[/C][/ROW]
[ROW][C]27[/C][C]0.971516162104481[/C][C]0.056967675791037[/C][C]0.0284838378955185[/C][/ROW]
[ROW][C]28[/C][C]0.977563819397473[/C][C]0.0448723612050531[/C][C]0.0224361806025265[/C][/ROW]
[ROW][C]29[/C][C]0.974638828956385[/C][C]0.05072234208723[/C][C]0.025361171043615[/C][/ROW]
[ROW][C]30[/C][C]0.967582366928053[/C][C]0.0648352661438942[/C][C]0.0324176330719471[/C][/ROW]
[ROW][C]31[/C][C]0.985440264451248[/C][C]0.0291194710975044[/C][C]0.0145597355487522[/C][/ROW]
[ROW][C]32[/C][C]0.991591896095851[/C][C]0.0168162078082976[/C][C]0.00840810390414882[/C][/ROW]
[ROW][C]33[/C][C]0.998372075927885[/C][C]0.00325584814423085[/C][C]0.00162792407211542[/C][/ROW]
[ROW][C]34[/C][C]0.997272591163706[/C][C]0.00545481767258742[/C][C]0.00272740883629371[/C][/ROW]
[ROW][C]35[/C][C]0.995728428550184[/C][C]0.00854314289963143[/C][C]0.00427157144981571[/C][/ROW]
[ROW][C]36[/C][C]0.99277301680974[/C][C]0.0144539663805196[/C][C]0.00722698319025982[/C][/ROW]
[ROW][C]37[/C][C]0.989905739239504[/C][C]0.0201885215209911[/C][C]0.0100942607604956[/C][/ROW]
[ROW][C]38[/C][C]0.984250360517767[/C][C]0.0314992789644654[/C][C]0.0157496394822327[/C][/ROW]
[ROW][C]39[/C][C]0.975177446943094[/C][C]0.0496451061138111[/C][C]0.0248225530569055[/C][/ROW]
[ROW][C]40[/C][C]0.96192766540098[/C][C]0.0761446691980401[/C][C]0.0380723345990200[/C][/ROW]
[ROW][C]41[/C][C]0.944462660513401[/C][C]0.111074678973197[/C][C]0.0555373394865986[/C][/ROW]
[ROW][C]42[/C][C]0.916074101135524[/C][C]0.167851797728953[/C][C]0.0839258988644763[/C][/ROW]
[ROW][C]43[/C][C]0.877241732235747[/C][C]0.245516535528505[/C][C]0.122758267764253[/C][/ROW]
[ROW][C]44[/C][C]0.92941649839219[/C][C]0.141167003215620[/C][C]0.0705835016078101[/C][/ROW]
[ROW][C]45[/C][C]0.902750341422409[/C][C]0.194499317155181[/C][C]0.0972496585775907[/C][/ROW]
[ROW][C]46[/C][C]0.873284877907532[/C][C]0.253430244184935[/C][C]0.126715122092468[/C][/ROW]
[ROW][C]47[/C][C]0.861789177484656[/C][C]0.276421645030688[/C][C]0.138210822515344[/C][/ROW]
[ROW][C]48[/C][C]0.915773151041255[/C][C]0.16845369791749[/C][C]0.084226848958745[/C][/ROW]
[ROW][C]49[/C][C]0.867817576579756[/C][C]0.264364846840488[/C][C]0.132182423420244[/C][/ROW]
[ROW][C]50[/C][C]0.87240259624574[/C][C]0.255194807508519[/C][C]0.127597403754260[/C][/ROW]
[ROW][C]51[/C][C]0.935311958043336[/C][C]0.129376083913329[/C][C]0.0646880419566645[/C][/ROW]
[ROW][C]52[/C][C]0.936752597451172[/C][C]0.126494805097656[/C][C]0.0632474025488278[/C][/ROW]
[ROW][C]53[/C][C]0.932016055514294[/C][C]0.135967888971411[/C][C]0.0679839444857057[/C][/ROW]
[ROW][C]54[/C][C]0.89378906063738[/C][C]0.212421878725240[/C][C]0.106210939362620[/C][/ROW]
[ROW][C]55[/C][C]0.832875439212906[/C][C]0.334249121574188[/C][C]0.167124560787094[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57802&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57802&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.4554787792375160.9109575584750320.544521220762484
70.4856264310967380.9712528621934760.514373568903262
80.3764400639134080.7528801278268170.623559936086592
90.2604171192010560.5208342384021120.739582880798944
100.1721785700666170.3443571401332330.827821429933383
110.2613696916461480.5227393832922970.738630308353852
120.3520079868359930.7040159736719870.647992013164007
130.3041590816632450.6083181633264890.695840918336756
140.6027172033962920.7945655932074150.397282796603708
150.5982895543347650.803420891330470.401710445665235
160.5459675736303980.9080648527392040.454032426369602
170.4714089996631140.9428179993262270.528591000336886
180.6326020041936640.7347959916126730.367397995806336
190.6851368667183990.6297262665632020.314863133281601
200.6983019532536560.6033960934926880.301698046746344
210.8011921851091930.3976156297816150.198807814890808
220.9210528944886580.1578942110226840.078947105511342
230.9085035238404870.1829929523190250.0914964761595126
240.8954958818751260.2090082362497490.104504118124874
250.8736492047653750.2527015904692490.126350795234625
260.8857010215249030.2285979569501930.114298978475097
270.9715161621044810.0569676757910370.0284838378955185
280.9775638193974730.04487236120505310.0224361806025265
290.9746388289563850.050722342087230.025361171043615
300.9675823669280530.06483526614389420.0324176330719471
310.9854402644512480.02911947109750440.0145597355487522
320.9915918960958510.01681620780829760.00840810390414882
330.9983720759278850.003255848144230850.00162792407211542
340.9972725911637060.005454817672587420.00272740883629371
350.9957284285501840.008543142899631430.00427157144981571
360.992773016809740.01445396638051960.00722698319025982
370.9899057392395040.02018852152099110.0100942607604956
380.9842503605177670.03149927896446540.0157496394822327
390.9751774469430940.04964510611381110.0248225530569055
400.961927665400980.07614466919804010.0380723345990200
410.9444626605134010.1110746789731970.0555373394865986
420.9160741011355240.1678517977289530.0839258988644763
430.8772417322357470.2455165355285050.122758267764253
440.929416498392190.1411670032156200.0705835016078101
450.9027503414224090.1944993171551810.0972496585775907
460.8732848779075320.2534302441849350.126715122092468
470.8617891774846560.2764216450306880.138210822515344
480.9157731510412550.168453697917490.084226848958745
490.8678175765797560.2643648468404880.132182423420244
500.872402596245740.2551948075085190.127597403754260
510.9353119580433360.1293760839133290.0646880419566645
520.9367525974511720.1264948050976560.0632474025488278
530.9320160555142940.1359678889714110.0679839444857057
540.893789060637380.2124218787252400.106210939362620
550.8328754392129060.3342491215741880.167124560787094







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level30.06NOK
5% type I error level100.2NOK
10% type I error level140.28NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57802&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 level30.06NOK
5% type I error level100.2NOK
10% type I error level140.28NOK



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