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 computationMon, 23 Nov 2009 05:23: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/23/t1258979080znr3b8jg4e260c1.htm/, Retrieved Fri, 03 May 2024 14:04:08 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=58737, Retrieved Fri, 03 May 2024 14:04:08 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact155
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [] [2009-11-23 12:23:56] [09bbdaa13608b41d3e388e84e1f7dd72] [Current]
Feedback Forum

Post a new message
Dataseries X:
5560	174
3922	70
3759	65
4138	75
4634	45
3996	313
4308	102
4143	50
4429	230
5219	147
4929	103
5755	159
5592	74
4163	58
4962	72
5208	58
4755	99
4491	46
5732	70
5731	73
5040	82
6102	175
4904	83
5369	135
5578	139
4619	167
4731	52
5011	66
5299	129
4146	78
4625	96
4736	130
4219	59
5116	75
4205	93
4121	151
5103	116
4300	80
4578	109
3809	163
5526	69
4247	106
3830	69
4394	129
4826	90
4409	141
4569	122
4106	111
4794	226
3914	78
3793	78
4405	91
4022	49
4100	167
4788	72
3163	95
3585	134
3903	155
4178	70
3863	113
4187	215




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58737&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
Y[t] = + 100.823599279710 + 0.00175497853996659X[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  100.823599279710 +  0.00175497853996659X[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58737&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  100.823599279710 +  0.00175497853996659X[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58737&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58737&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
Y[t] = + 100.823599279710 + 0.00175497853996659X[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)100.82359927971049.6793442.02950.0469270.023464
X0.001754978539966590.0107370.16350.8707170.435359

\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) & 100.823599279710 & 49.679344 & 2.0295 & 0.046927 & 0.023464 \tabularnewline
X & 0.00175497853996659 & 0.010737 & 0.1635 & 0.870717 & 0.435359 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58737&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]100.823599279710[/C][C]49.679344[/C][C]2.0295[/C][C]0.046927[/C][C]0.023464[/C][/ROW]
[ROW][C]X[/C][C]0.00175497853996659[/C][C]0.010737[/C][C]0.1635[/C][C]0.870717[/C][C]0.435359[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58737&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58737&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)100.82359927971049.6793442.02950.0469270.023464
X0.001754978539966590.0107370.16350.8707170.435359







Multiple Linear Regression - Regression Statistics
Multiple R0.0212754586064359
R-squared0.000452645138914167
Adjusted R-squared-0.0164888354519517
F-TEST (value)0.0267181570398407
F-TEST (DF numerator)1
F-TEST (DF denominator)59
p-value0.870717336814817
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation52.6750217513372
Sum Squared Residuals163704.817073727

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.0212754586064359 \tabularnewline
R-squared & 0.000452645138914167 \tabularnewline
Adjusted R-squared & -0.0164888354519517 \tabularnewline
F-TEST (value) & 0.0267181570398407 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 59 \tabularnewline
p-value & 0.870717336814817 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 52.6750217513372 \tabularnewline
Sum Squared Residuals & 163704.817073727 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58737&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.0212754586064359[/C][/ROW]
[ROW][C]R-squared[/C][C]0.000452645138914167[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]-0.0164888354519517[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]0.0267181570398407[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]1[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]59[/C][/ROW]
[ROW][C]p-value[/C][C]0.870717336814817[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]52.6750217513372[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]163704.817073727[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58737&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58737&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.0212754586064359
R-squared0.000452645138914167
Adjusted R-squared-0.0164888354519517
F-TEST (value)0.0267181570398407
F-TEST (DF numerator)1
F-TEST (DF denominator)59
p-value0.870717336814817
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation52.6750217513372
Sum Squared Residuals163704.817073727







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1174110.58127996192463.4187200380762
270107.706625113458-37.7066251134585
365107.420563611444-42.4205636114440
475108.085700478091-33.0857004780913
545108.956169833915-63.9561698339147
6313107.836493525416205.163506474584
7102108.384046829886-6.38404682988562
850108.094475370791-58.0944753707911
9230108.596399233222121.403600766778
10147109.98283227979537.0171677202048
11103109.473888503205-6.47388850320487
12159110.92350077721748.0764992227827
1374110.637439275203-36.6374392752027
1458108.129574941590-50.1295749415905
1572109.531802795024-37.5318027950238
1658109.963527515856-51.9635275158555
1799109.168522237251-10.1685222372507
1846108.705207902699-62.7052079026995
1970110.883136270798-40.8831362707980
2073110.881381292258-37.8813812922581
2182109.668691121141-27.6686911211412
22175111.53247833058663.4675216694143
2383109.430014039706-26.4300140397057
24135110.24607906079024.7539209392098
25139110.61286957564328.3871304243568
26167108.92984515581558.0701548441848
2752109.126402752291-57.1264027522915
2866109.617796743482-43.6177967434821
29129110.12323056299318.8767694370075
3078108.099740306411-30.0997403064110
3196108.940375027055-12.9403750270550
32130109.13517764499120.8648223550087
3359108.227853739829-49.2278537398286
3475109.802069490179-34.8020694901786
3593108.203284040269-15.2032840402691
36151108.05586584291242.9441341570881
37116109.7792547691596.22074523084094
3880108.370007001566-28.3700070015659
39109108.8578910356770.142108964323403
40163107.50831253844255.4916874615577
4169110.521610691565-41.5216106915649
42106108.276993138948-2.27699313894766
4369107.545167087782-38.5451670877816
44129108.53497498432320.4650250156773
4590109.293125713588-19.2931257135883
46141108.56129966242232.4387003375778
47122108.84209622881713.1579037711831
48111108.0295411648122.97045883518763
49226109.236966400309116.763033599691
5078107.692585285139-29.6925852851388
5178107.480232881803-29.4802328818028
5291108.554279748262-17.5542797482624
5349107.882122967455-58.8821229674552
54167108.01901129357358.9809887064274
5572109.226436529070-37.2264365290696
5695106.374596401624-11.3745964016239
57134107.11519734549026.8848026545102
58155107.67328052119947.3267194788009
5970108.15589961969-38.1558996196900
60113107.6030813796005.39691862039952
61215108.171694426550106.828305573450

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 174 & 110.581279961924 & 63.4187200380762 \tabularnewline
2 & 70 & 107.706625113458 & -37.7066251134585 \tabularnewline
3 & 65 & 107.420563611444 & -42.4205636114440 \tabularnewline
4 & 75 & 108.085700478091 & -33.0857004780913 \tabularnewline
5 & 45 & 108.956169833915 & -63.9561698339147 \tabularnewline
6 & 313 & 107.836493525416 & 205.163506474584 \tabularnewline
7 & 102 & 108.384046829886 & -6.38404682988562 \tabularnewline
8 & 50 & 108.094475370791 & -58.0944753707911 \tabularnewline
9 & 230 & 108.596399233222 & 121.403600766778 \tabularnewline
10 & 147 & 109.982832279795 & 37.0171677202048 \tabularnewline
11 & 103 & 109.473888503205 & -6.47388850320487 \tabularnewline
12 & 159 & 110.923500777217 & 48.0764992227827 \tabularnewline
13 & 74 & 110.637439275203 & -36.6374392752027 \tabularnewline
14 & 58 & 108.129574941590 & -50.1295749415905 \tabularnewline
15 & 72 & 109.531802795024 & -37.5318027950238 \tabularnewline
16 & 58 & 109.963527515856 & -51.9635275158555 \tabularnewline
17 & 99 & 109.168522237251 & -10.1685222372507 \tabularnewline
18 & 46 & 108.705207902699 & -62.7052079026995 \tabularnewline
19 & 70 & 110.883136270798 & -40.8831362707980 \tabularnewline
20 & 73 & 110.881381292258 & -37.8813812922581 \tabularnewline
21 & 82 & 109.668691121141 & -27.6686911211412 \tabularnewline
22 & 175 & 111.532478330586 & 63.4675216694143 \tabularnewline
23 & 83 & 109.430014039706 & -26.4300140397057 \tabularnewline
24 & 135 & 110.246079060790 & 24.7539209392098 \tabularnewline
25 & 139 & 110.612869575643 & 28.3871304243568 \tabularnewline
26 & 167 & 108.929845155815 & 58.0701548441848 \tabularnewline
27 & 52 & 109.126402752291 & -57.1264027522915 \tabularnewline
28 & 66 & 109.617796743482 & -43.6177967434821 \tabularnewline
29 & 129 & 110.123230562993 & 18.8767694370075 \tabularnewline
30 & 78 & 108.099740306411 & -30.0997403064110 \tabularnewline
31 & 96 & 108.940375027055 & -12.9403750270550 \tabularnewline
32 & 130 & 109.135177644991 & 20.8648223550087 \tabularnewline
33 & 59 & 108.227853739829 & -49.2278537398286 \tabularnewline
34 & 75 & 109.802069490179 & -34.8020694901786 \tabularnewline
35 & 93 & 108.203284040269 & -15.2032840402691 \tabularnewline
36 & 151 & 108.055865842912 & 42.9441341570881 \tabularnewline
37 & 116 & 109.779254769159 & 6.22074523084094 \tabularnewline
38 & 80 & 108.370007001566 & -28.3700070015659 \tabularnewline
39 & 109 & 108.857891035677 & 0.142108964323403 \tabularnewline
40 & 163 & 107.508312538442 & 55.4916874615577 \tabularnewline
41 & 69 & 110.521610691565 & -41.5216106915649 \tabularnewline
42 & 106 & 108.276993138948 & -2.27699313894766 \tabularnewline
43 & 69 & 107.545167087782 & -38.5451670877816 \tabularnewline
44 & 129 & 108.534974984323 & 20.4650250156773 \tabularnewline
45 & 90 & 109.293125713588 & -19.2931257135883 \tabularnewline
46 & 141 & 108.561299662422 & 32.4387003375778 \tabularnewline
47 & 122 & 108.842096228817 & 13.1579037711831 \tabularnewline
48 & 111 & 108.029541164812 & 2.97045883518763 \tabularnewline
49 & 226 & 109.236966400309 & 116.763033599691 \tabularnewline
50 & 78 & 107.692585285139 & -29.6925852851388 \tabularnewline
51 & 78 & 107.480232881803 & -29.4802328818028 \tabularnewline
52 & 91 & 108.554279748262 & -17.5542797482624 \tabularnewline
53 & 49 & 107.882122967455 & -58.8821229674552 \tabularnewline
54 & 167 & 108.019011293573 & 58.9809887064274 \tabularnewline
55 & 72 & 109.226436529070 & -37.2264365290696 \tabularnewline
56 & 95 & 106.374596401624 & -11.3745964016239 \tabularnewline
57 & 134 & 107.115197345490 & 26.8848026545102 \tabularnewline
58 & 155 & 107.673280521199 & 47.3267194788009 \tabularnewline
59 & 70 & 108.15589961969 & -38.1558996196900 \tabularnewline
60 & 113 & 107.603081379600 & 5.39691862039952 \tabularnewline
61 & 215 & 108.171694426550 & 106.828305573450 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58737&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]174[/C][C]110.581279961924[/C][C]63.4187200380762[/C][/ROW]
[ROW][C]2[/C][C]70[/C][C]107.706625113458[/C][C]-37.7066251134585[/C][/ROW]
[ROW][C]3[/C][C]65[/C][C]107.420563611444[/C][C]-42.4205636114440[/C][/ROW]
[ROW][C]4[/C][C]75[/C][C]108.085700478091[/C][C]-33.0857004780913[/C][/ROW]
[ROW][C]5[/C][C]45[/C][C]108.956169833915[/C][C]-63.9561698339147[/C][/ROW]
[ROW][C]6[/C][C]313[/C][C]107.836493525416[/C][C]205.163506474584[/C][/ROW]
[ROW][C]7[/C][C]102[/C][C]108.384046829886[/C][C]-6.38404682988562[/C][/ROW]
[ROW][C]8[/C][C]50[/C][C]108.094475370791[/C][C]-58.0944753707911[/C][/ROW]
[ROW][C]9[/C][C]230[/C][C]108.596399233222[/C][C]121.403600766778[/C][/ROW]
[ROW][C]10[/C][C]147[/C][C]109.982832279795[/C][C]37.0171677202048[/C][/ROW]
[ROW][C]11[/C][C]103[/C][C]109.473888503205[/C][C]-6.47388850320487[/C][/ROW]
[ROW][C]12[/C][C]159[/C][C]110.923500777217[/C][C]48.0764992227827[/C][/ROW]
[ROW][C]13[/C][C]74[/C][C]110.637439275203[/C][C]-36.6374392752027[/C][/ROW]
[ROW][C]14[/C][C]58[/C][C]108.129574941590[/C][C]-50.1295749415905[/C][/ROW]
[ROW][C]15[/C][C]72[/C][C]109.531802795024[/C][C]-37.5318027950238[/C][/ROW]
[ROW][C]16[/C][C]58[/C][C]109.963527515856[/C][C]-51.9635275158555[/C][/ROW]
[ROW][C]17[/C][C]99[/C][C]109.168522237251[/C][C]-10.1685222372507[/C][/ROW]
[ROW][C]18[/C][C]46[/C][C]108.705207902699[/C][C]-62.7052079026995[/C][/ROW]
[ROW][C]19[/C][C]70[/C][C]110.883136270798[/C][C]-40.8831362707980[/C][/ROW]
[ROW][C]20[/C][C]73[/C][C]110.881381292258[/C][C]-37.8813812922581[/C][/ROW]
[ROW][C]21[/C][C]82[/C][C]109.668691121141[/C][C]-27.6686911211412[/C][/ROW]
[ROW][C]22[/C][C]175[/C][C]111.532478330586[/C][C]63.4675216694143[/C][/ROW]
[ROW][C]23[/C][C]83[/C][C]109.430014039706[/C][C]-26.4300140397057[/C][/ROW]
[ROW][C]24[/C][C]135[/C][C]110.246079060790[/C][C]24.7539209392098[/C][/ROW]
[ROW][C]25[/C][C]139[/C][C]110.612869575643[/C][C]28.3871304243568[/C][/ROW]
[ROW][C]26[/C][C]167[/C][C]108.929845155815[/C][C]58.0701548441848[/C][/ROW]
[ROW][C]27[/C][C]52[/C][C]109.126402752291[/C][C]-57.1264027522915[/C][/ROW]
[ROW][C]28[/C][C]66[/C][C]109.617796743482[/C][C]-43.6177967434821[/C][/ROW]
[ROW][C]29[/C][C]129[/C][C]110.123230562993[/C][C]18.8767694370075[/C][/ROW]
[ROW][C]30[/C][C]78[/C][C]108.099740306411[/C][C]-30.0997403064110[/C][/ROW]
[ROW][C]31[/C][C]96[/C][C]108.940375027055[/C][C]-12.9403750270550[/C][/ROW]
[ROW][C]32[/C][C]130[/C][C]109.135177644991[/C][C]20.8648223550087[/C][/ROW]
[ROW][C]33[/C][C]59[/C][C]108.227853739829[/C][C]-49.2278537398286[/C][/ROW]
[ROW][C]34[/C][C]75[/C][C]109.802069490179[/C][C]-34.8020694901786[/C][/ROW]
[ROW][C]35[/C][C]93[/C][C]108.203284040269[/C][C]-15.2032840402691[/C][/ROW]
[ROW][C]36[/C][C]151[/C][C]108.055865842912[/C][C]42.9441341570881[/C][/ROW]
[ROW][C]37[/C][C]116[/C][C]109.779254769159[/C][C]6.22074523084094[/C][/ROW]
[ROW][C]38[/C][C]80[/C][C]108.370007001566[/C][C]-28.3700070015659[/C][/ROW]
[ROW][C]39[/C][C]109[/C][C]108.857891035677[/C][C]0.142108964323403[/C][/ROW]
[ROW][C]40[/C][C]163[/C][C]107.508312538442[/C][C]55.4916874615577[/C][/ROW]
[ROW][C]41[/C][C]69[/C][C]110.521610691565[/C][C]-41.5216106915649[/C][/ROW]
[ROW][C]42[/C][C]106[/C][C]108.276993138948[/C][C]-2.27699313894766[/C][/ROW]
[ROW][C]43[/C][C]69[/C][C]107.545167087782[/C][C]-38.5451670877816[/C][/ROW]
[ROW][C]44[/C][C]129[/C][C]108.534974984323[/C][C]20.4650250156773[/C][/ROW]
[ROW][C]45[/C][C]90[/C][C]109.293125713588[/C][C]-19.2931257135883[/C][/ROW]
[ROW][C]46[/C][C]141[/C][C]108.561299662422[/C][C]32.4387003375778[/C][/ROW]
[ROW][C]47[/C][C]122[/C][C]108.842096228817[/C][C]13.1579037711831[/C][/ROW]
[ROW][C]48[/C][C]111[/C][C]108.029541164812[/C][C]2.97045883518763[/C][/ROW]
[ROW][C]49[/C][C]226[/C][C]109.236966400309[/C][C]116.763033599691[/C][/ROW]
[ROW][C]50[/C][C]78[/C][C]107.692585285139[/C][C]-29.6925852851388[/C][/ROW]
[ROW][C]51[/C][C]78[/C][C]107.480232881803[/C][C]-29.4802328818028[/C][/ROW]
[ROW][C]52[/C][C]91[/C][C]108.554279748262[/C][C]-17.5542797482624[/C][/ROW]
[ROW][C]53[/C][C]49[/C][C]107.882122967455[/C][C]-58.8821229674552[/C][/ROW]
[ROW][C]54[/C][C]167[/C][C]108.019011293573[/C][C]58.9809887064274[/C][/ROW]
[ROW][C]55[/C][C]72[/C][C]109.226436529070[/C][C]-37.2264365290696[/C][/ROW]
[ROW][C]56[/C][C]95[/C][C]106.374596401624[/C][C]-11.3745964016239[/C][/ROW]
[ROW][C]57[/C][C]134[/C][C]107.115197345490[/C][C]26.8848026545102[/C][/ROW]
[ROW][C]58[/C][C]155[/C][C]107.673280521199[/C][C]47.3267194788009[/C][/ROW]
[ROW][C]59[/C][C]70[/C][C]108.15589961969[/C][C]-38.1558996196900[/C][/ROW]
[ROW][C]60[/C][C]113[/C][C]107.603081379600[/C][C]5.39691862039952[/C][/ROW]
[ROW][C]61[/C][C]215[/C][C]108.171694426550[/C][C]106.828305573450[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58737&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58737&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
1174110.58127996192463.4187200380762
270107.706625113458-37.7066251134585
365107.420563611444-42.4205636114440
475108.085700478091-33.0857004780913
545108.956169833915-63.9561698339147
6313107.836493525416205.163506474584
7102108.384046829886-6.38404682988562
850108.094475370791-58.0944753707911
9230108.596399233222121.403600766778
10147109.98283227979537.0171677202048
11103109.473888503205-6.47388850320487
12159110.92350077721748.0764992227827
1374110.637439275203-36.6374392752027
1458108.129574941590-50.1295749415905
1572109.531802795024-37.5318027950238
1658109.963527515856-51.9635275158555
1799109.168522237251-10.1685222372507
1846108.705207902699-62.7052079026995
1970110.883136270798-40.8831362707980
2073110.881381292258-37.8813812922581
2182109.668691121141-27.6686911211412
22175111.53247833058663.4675216694143
2383109.430014039706-26.4300140397057
24135110.24607906079024.7539209392098
25139110.61286957564328.3871304243568
26167108.92984515581558.0701548441848
2752109.126402752291-57.1264027522915
2866109.617796743482-43.6177967434821
29129110.12323056299318.8767694370075
3078108.099740306411-30.0997403064110
3196108.940375027055-12.9403750270550
32130109.13517764499120.8648223550087
3359108.227853739829-49.2278537398286
3475109.802069490179-34.8020694901786
3593108.203284040269-15.2032840402691
36151108.05586584291242.9441341570881
37116109.7792547691596.22074523084094
3880108.370007001566-28.3700070015659
39109108.8578910356770.142108964323403
40163107.50831253844255.4916874615577
4169110.521610691565-41.5216106915649
42106108.276993138948-2.27699313894766
4369107.545167087782-38.5451670877816
44129108.53497498432320.4650250156773
4590109.293125713588-19.2931257135883
46141108.56129966242232.4387003375778
47122108.84209622881713.1579037711831
48111108.0295411648122.97045883518763
49226109.236966400309116.763033599691
5078107.692585285139-29.6925852851388
5178107.480232881803-29.4802328818028
5291108.554279748262-17.5542797482624
5349107.882122967455-58.8821229674552
54167108.01901129357358.9809887064274
5572109.226436529070-37.2264365290696
5695106.374596401624-11.3745964016239
57134107.11519734549026.8848026545102
58155107.67328052119947.3267194788009
5970108.15589961969-38.1558996196900
60113107.6030813796005.39691862039952
61215108.171694426550106.828305573450







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.2860529970849620.5721059941699250.713947002915038
60.9997150635861050.0005698728277901410.000284936413895070
70.9992431544709140.001513691058171050.000756845529085527
80.9991233230340460.001753353931907280.000876676965953642
90.9998838495907940.0002323008184114430.000116150409205721
100.9997555216227920.0004889567544156340.000244478377207817
110.9995129096693370.000974180661326290.000487090330663145
120.9992165821654680.001566835669063090.000783417834531547
130.9991116351277540.001776729744491500.000888364872245749
140.9990003229720270.001999354055946480.000999677027973239
150.9986270083344380.002745983331123760.00137299166556188
160.9985597124434550.002880575113090160.00144028755654508
170.997316061868390.005367876263221070.00268393813161053
180.9976879870785020.004624025842995930.00231201292149797
190.9969628600893720.006074279821256330.00303713991062816
200.9958795149630530.008240970073893770.00412048503694689
210.9937838208769940.01243235824601180.00621617912300591
220.9947832350672180.01043352986556380.00521676493278188
230.9920900414190680.01581991716186370.00790995858093186
240.9881583127058730.02368337458825380.0118416872941269
250.9835132136223760.03297357275524780.0164867863776239
260.9856125703056810.0287748593886380.014387429694319
270.986245524723890.02750895055221850.0137544752761093
280.9837211155190770.03255776896184680.0162788844809234
290.9758910847457740.04821783050845120.0241089152542256
300.9676778676404410.06464426471911760.0323221323595588
310.952204091636430.09559181672713960.0477959083635698
320.9343981269339460.1312037461321090.0656018730660543
330.9321438486041690.1357123027916620.067856151395831
340.9171013506452180.1657972987095640.0828986493547821
350.8878617280553580.2242765438892830.112138271944642
360.8748393281019730.2503213437960540.125160671898027
370.8297610711706520.3404778576586960.170238928829348
380.7950416821371490.4099166357257020.204958317862851
390.7341141061645350.531771787670930.265885893835465
400.7377000435742540.5245999128514920.262299956425746
410.7495789804610780.5008420390778440.250421019538922
420.6812016640652570.6375966718694860.318798335934743
430.6470534905435520.7058930189128970.352946509456448
440.5694518552651050.861096289469790.430548144734895
450.5325808881877770.9348382236244460.467419111812223
460.4567408421774920.9134816843549840.543259157822508
470.3716642950870090.7433285901740190.62833570491299
480.2886017391479330.5772034782958650.711398260852067
490.543528867627090.912942264745820.45647113237291
500.477946726705090.955893453410180.52205327329491
510.4196908693736790.8393817387473570.580309130626321
520.3276250974151210.6552501948302410.672374902584879
530.4002811271067780.8005622542135550.599718872893222
540.3596545083533570.7193090167067140.640345491646643
550.3956721055140220.7913442110280450.604327894485978
560.2555240705383770.5110481410767530.744475929461623

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.286052997084962 & 0.572105994169925 & 0.713947002915038 \tabularnewline
6 & 0.999715063586105 & 0.000569872827790141 & 0.000284936413895070 \tabularnewline
7 & 0.999243154470914 & 0.00151369105817105 & 0.000756845529085527 \tabularnewline
8 & 0.999123323034046 & 0.00175335393190728 & 0.000876676965953642 \tabularnewline
9 & 0.999883849590794 & 0.000232300818411443 & 0.000116150409205721 \tabularnewline
10 & 0.999755521622792 & 0.000488956754415634 & 0.000244478377207817 \tabularnewline
11 & 0.999512909669337 & 0.00097418066132629 & 0.000487090330663145 \tabularnewline
12 & 0.999216582165468 & 0.00156683566906309 & 0.000783417834531547 \tabularnewline
13 & 0.999111635127754 & 0.00177672974449150 & 0.000888364872245749 \tabularnewline
14 & 0.999000322972027 & 0.00199935405594648 & 0.000999677027973239 \tabularnewline
15 & 0.998627008334438 & 0.00274598333112376 & 0.00137299166556188 \tabularnewline
16 & 0.998559712443455 & 0.00288057511309016 & 0.00144028755654508 \tabularnewline
17 & 0.99731606186839 & 0.00536787626322107 & 0.00268393813161053 \tabularnewline
18 & 0.997687987078502 & 0.00462402584299593 & 0.00231201292149797 \tabularnewline
19 & 0.996962860089372 & 0.00607427982125633 & 0.00303713991062816 \tabularnewline
20 & 0.995879514963053 & 0.00824097007389377 & 0.00412048503694689 \tabularnewline
21 & 0.993783820876994 & 0.0124323582460118 & 0.00621617912300591 \tabularnewline
22 & 0.994783235067218 & 0.0104335298655638 & 0.00521676493278188 \tabularnewline
23 & 0.992090041419068 & 0.0158199171618637 & 0.00790995858093186 \tabularnewline
24 & 0.988158312705873 & 0.0236833745882538 & 0.0118416872941269 \tabularnewline
25 & 0.983513213622376 & 0.0329735727552478 & 0.0164867863776239 \tabularnewline
26 & 0.985612570305681 & 0.028774859388638 & 0.014387429694319 \tabularnewline
27 & 0.98624552472389 & 0.0275089505522185 & 0.0137544752761093 \tabularnewline
28 & 0.983721115519077 & 0.0325577689618468 & 0.0162788844809234 \tabularnewline
29 & 0.975891084745774 & 0.0482178305084512 & 0.0241089152542256 \tabularnewline
30 & 0.967677867640441 & 0.0646442647191176 & 0.0323221323595588 \tabularnewline
31 & 0.95220409163643 & 0.0955918167271396 & 0.0477959083635698 \tabularnewline
32 & 0.934398126933946 & 0.131203746132109 & 0.0656018730660543 \tabularnewline
33 & 0.932143848604169 & 0.135712302791662 & 0.067856151395831 \tabularnewline
34 & 0.917101350645218 & 0.165797298709564 & 0.0828986493547821 \tabularnewline
35 & 0.887861728055358 & 0.224276543889283 & 0.112138271944642 \tabularnewline
36 & 0.874839328101973 & 0.250321343796054 & 0.125160671898027 \tabularnewline
37 & 0.829761071170652 & 0.340477857658696 & 0.170238928829348 \tabularnewline
38 & 0.795041682137149 & 0.409916635725702 & 0.204958317862851 \tabularnewline
39 & 0.734114106164535 & 0.53177178767093 & 0.265885893835465 \tabularnewline
40 & 0.737700043574254 & 0.524599912851492 & 0.262299956425746 \tabularnewline
41 & 0.749578980461078 & 0.500842039077844 & 0.250421019538922 \tabularnewline
42 & 0.681201664065257 & 0.637596671869486 & 0.318798335934743 \tabularnewline
43 & 0.647053490543552 & 0.705893018912897 & 0.352946509456448 \tabularnewline
44 & 0.569451855265105 & 0.86109628946979 & 0.430548144734895 \tabularnewline
45 & 0.532580888187777 & 0.934838223624446 & 0.467419111812223 \tabularnewline
46 & 0.456740842177492 & 0.913481684354984 & 0.543259157822508 \tabularnewline
47 & 0.371664295087009 & 0.743328590174019 & 0.62833570491299 \tabularnewline
48 & 0.288601739147933 & 0.577203478295865 & 0.711398260852067 \tabularnewline
49 & 0.54352886762709 & 0.91294226474582 & 0.45647113237291 \tabularnewline
50 & 0.47794672670509 & 0.95589345341018 & 0.52205327329491 \tabularnewline
51 & 0.419690869373679 & 0.839381738747357 & 0.580309130626321 \tabularnewline
52 & 0.327625097415121 & 0.655250194830241 & 0.672374902584879 \tabularnewline
53 & 0.400281127106778 & 0.800562254213555 & 0.599718872893222 \tabularnewline
54 & 0.359654508353357 & 0.719309016706714 & 0.640345491646643 \tabularnewline
55 & 0.395672105514022 & 0.791344211028045 & 0.604327894485978 \tabularnewline
56 & 0.255524070538377 & 0.511048141076753 & 0.744475929461623 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58737&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]5[/C][C]0.286052997084962[/C][C]0.572105994169925[/C][C]0.713947002915038[/C][/ROW]
[ROW][C]6[/C][C]0.999715063586105[/C][C]0.000569872827790141[/C][C]0.000284936413895070[/C][/ROW]
[ROW][C]7[/C][C]0.999243154470914[/C][C]0.00151369105817105[/C][C]0.000756845529085527[/C][/ROW]
[ROW][C]8[/C][C]0.999123323034046[/C][C]0.00175335393190728[/C][C]0.000876676965953642[/C][/ROW]
[ROW][C]9[/C][C]0.999883849590794[/C][C]0.000232300818411443[/C][C]0.000116150409205721[/C][/ROW]
[ROW][C]10[/C][C]0.999755521622792[/C][C]0.000488956754415634[/C][C]0.000244478377207817[/C][/ROW]
[ROW][C]11[/C][C]0.999512909669337[/C][C]0.00097418066132629[/C][C]0.000487090330663145[/C][/ROW]
[ROW][C]12[/C][C]0.999216582165468[/C][C]0.00156683566906309[/C][C]0.000783417834531547[/C][/ROW]
[ROW][C]13[/C][C]0.999111635127754[/C][C]0.00177672974449150[/C][C]0.000888364872245749[/C][/ROW]
[ROW][C]14[/C][C]0.999000322972027[/C][C]0.00199935405594648[/C][C]0.000999677027973239[/C][/ROW]
[ROW][C]15[/C][C]0.998627008334438[/C][C]0.00274598333112376[/C][C]0.00137299166556188[/C][/ROW]
[ROW][C]16[/C][C]0.998559712443455[/C][C]0.00288057511309016[/C][C]0.00144028755654508[/C][/ROW]
[ROW][C]17[/C][C]0.99731606186839[/C][C]0.00536787626322107[/C][C]0.00268393813161053[/C][/ROW]
[ROW][C]18[/C][C]0.997687987078502[/C][C]0.00462402584299593[/C][C]0.00231201292149797[/C][/ROW]
[ROW][C]19[/C][C]0.996962860089372[/C][C]0.00607427982125633[/C][C]0.00303713991062816[/C][/ROW]
[ROW][C]20[/C][C]0.995879514963053[/C][C]0.00824097007389377[/C][C]0.00412048503694689[/C][/ROW]
[ROW][C]21[/C][C]0.993783820876994[/C][C]0.0124323582460118[/C][C]0.00621617912300591[/C][/ROW]
[ROW][C]22[/C][C]0.994783235067218[/C][C]0.0104335298655638[/C][C]0.00521676493278188[/C][/ROW]
[ROW][C]23[/C][C]0.992090041419068[/C][C]0.0158199171618637[/C][C]0.00790995858093186[/C][/ROW]
[ROW][C]24[/C][C]0.988158312705873[/C][C]0.0236833745882538[/C][C]0.0118416872941269[/C][/ROW]
[ROW][C]25[/C][C]0.983513213622376[/C][C]0.0329735727552478[/C][C]0.0164867863776239[/C][/ROW]
[ROW][C]26[/C][C]0.985612570305681[/C][C]0.028774859388638[/C][C]0.014387429694319[/C][/ROW]
[ROW][C]27[/C][C]0.98624552472389[/C][C]0.0275089505522185[/C][C]0.0137544752761093[/C][/ROW]
[ROW][C]28[/C][C]0.983721115519077[/C][C]0.0325577689618468[/C][C]0.0162788844809234[/C][/ROW]
[ROW][C]29[/C][C]0.975891084745774[/C][C]0.0482178305084512[/C][C]0.0241089152542256[/C][/ROW]
[ROW][C]30[/C][C]0.967677867640441[/C][C]0.0646442647191176[/C][C]0.0323221323595588[/C][/ROW]
[ROW][C]31[/C][C]0.95220409163643[/C][C]0.0955918167271396[/C][C]0.0477959083635698[/C][/ROW]
[ROW][C]32[/C][C]0.934398126933946[/C][C]0.131203746132109[/C][C]0.0656018730660543[/C][/ROW]
[ROW][C]33[/C][C]0.932143848604169[/C][C]0.135712302791662[/C][C]0.067856151395831[/C][/ROW]
[ROW][C]34[/C][C]0.917101350645218[/C][C]0.165797298709564[/C][C]0.0828986493547821[/C][/ROW]
[ROW][C]35[/C][C]0.887861728055358[/C][C]0.224276543889283[/C][C]0.112138271944642[/C][/ROW]
[ROW][C]36[/C][C]0.874839328101973[/C][C]0.250321343796054[/C][C]0.125160671898027[/C][/ROW]
[ROW][C]37[/C][C]0.829761071170652[/C][C]0.340477857658696[/C][C]0.170238928829348[/C][/ROW]
[ROW][C]38[/C][C]0.795041682137149[/C][C]0.409916635725702[/C][C]0.204958317862851[/C][/ROW]
[ROW][C]39[/C][C]0.734114106164535[/C][C]0.53177178767093[/C][C]0.265885893835465[/C][/ROW]
[ROW][C]40[/C][C]0.737700043574254[/C][C]0.524599912851492[/C][C]0.262299956425746[/C][/ROW]
[ROW][C]41[/C][C]0.749578980461078[/C][C]0.500842039077844[/C][C]0.250421019538922[/C][/ROW]
[ROW][C]42[/C][C]0.681201664065257[/C][C]0.637596671869486[/C][C]0.318798335934743[/C][/ROW]
[ROW][C]43[/C][C]0.647053490543552[/C][C]0.705893018912897[/C][C]0.352946509456448[/C][/ROW]
[ROW][C]44[/C][C]0.569451855265105[/C][C]0.86109628946979[/C][C]0.430548144734895[/C][/ROW]
[ROW][C]45[/C][C]0.532580888187777[/C][C]0.934838223624446[/C][C]0.467419111812223[/C][/ROW]
[ROW][C]46[/C][C]0.456740842177492[/C][C]0.913481684354984[/C][C]0.543259157822508[/C][/ROW]
[ROW][C]47[/C][C]0.371664295087009[/C][C]0.743328590174019[/C][C]0.62833570491299[/C][/ROW]
[ROW][C]48[/C][C]0.288601739147933[/C][C]0.577203478295865[/C][C]0.711398260852067[/C][/ROW]
[ROW][C]49[/C][C]0.54352886762709[/C][C]0.91294226474582[/C][C]0.45647113237291[/C][/ROW]
[ROW][C]50[/C][C]0.47794672670509[/C][C]0.95589345341018[/C][C]0.52205327329491[/C][/ROW]
[ROW][C]51[/C][C]0.419690869373679[/C][C]0.839381738747357[/C][C]0.580309130626321[/C][/ROW]
[ROW][C]52[/C][C]0.327625097415121[/C][C]0.655250194830241[/C][C]0.672374902584879[/C][/ROW]
[ROW][C]53[/C][C]0.400281127106778[/C][C]0.800562254213555[/C][C]0.599718872893222[/C][/ROW]
[ROW][C]54[/C][C]0.359654508353357[/C][C]0.719309016706714[/C][C]0.640345491646643[/C][/ROW]
[ROW][C]55[/C][C]0.395672105514022[/C][C]0.791344211028045[/C][C]0.604327894485978[/C][/ROW]
[ROW][C]56[/C][C]0.255524070538377[/C][C]0.511048141076753[/C][C]0.744475929461623[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58737&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58737&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
50.2860529970849620.5721059941699250.713947002915038
60.9997150635861050.0005698728277901410.000284936413895070
70.9992431544709140.001513691058171050.000756845529085527
80.9991233230340460.001753353931907280.000876676965953642
90.9998838495907940.0002323008184114430.000116150409205721
100.9997555216227920.0004889567544156340.000244478377207817
110.9995129096693370.000974180661326290.000487090330663145
120.9992165821654680.001566835669063090.000783417834531547
130.9991116351277540.001776729744491500.000888364872245749
140.9990003229720270.001999354055946480.000999677027973239
150.9986270083344380.002745983331123760.00137299166556188
160.9985597124434550.002880575113090160.00144028755654508
170.997316061868390.005367876263221070.00268393813161053
180.9976879870785020.004624025842995930.00231201292149797
190.9969628600893720.006074279821256330.00303713991062816
200.9958795149630530.008240970073893770.00412048503694689
210.9937838208769940.01243235824601180.00621617912300591
220.9947832350672180.01043352986556380.00521676493278188
230.9920900414190680.01581991716186370.00790995858093186
240.9881583127058730.02368337458825380.0118416872941269
250.9835132136223760.03297357275524780.0164867863776239
260.9856125703056810.0287748593886380.014387429694319
270.986245524723890.02750895055221850.0137544752761093
280.9837211155190770.03255776896184680.0162788844809234
290.9758910847457740.04821783050845120.0241089152542256
300.9676778676404410.06464426471911760.0323221323595588
310.952204091636430.09559181672713960.0477959083635698
320.9343981269339460.1312037461321090.0656018730660543
330.9321438486041690.1357123027916620.067856151395831
340.9171013506452180.1657972987095640.0828986493547821
350.8878617280553580.2242765438892830.112138271944642
360.8748393281019730.2503213437960540.125160671898027
370.8297610711706520.3404778576586960.170238928829348
380.7950416821371490.4099166357257020.204958317862851
390.7341141061645350.531771787670930.265885893835465
400.7377000435742540.5245999128514920.262299956425746
410.7495789804610780.5008420390778440.250421019538922
420.6812016640652570.6375966718694860.318798335934743
430.6470534905435520.7058930189128970.352946509456448
440.5694518552651050.861096289469790.430548144734895
450.5325808881877770.9348382236244460.467419111812223
460.4567408421774920.9134816843549840.543259157822508
470.3716642950870090.7433285901740190.62833570491299
480.2886017391479330.5772034782958650.711398260852067
490.543528867627090.912942264745820.45647113237291
500.477946726705090.955893453410180.52205327329491
510.4196908693736790.8393817387473570.580309130626321
520.3276250974151210.6552501948302410.672374902584879
530.4002811271067780.8005622542135550.599718872893222
540.3596545083533570.7193090167067140.640345491646643
550.3956721055140220.7913442110280450.604327894485978
560.2555240705383770.5110481410767530.744475929461623







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level150.288461538461538NOK
5% type I error level240.461538461538462NOK
10% type I error level260.5NOK

\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 & 15 & 0.288461538461538 & NOK \tabularnewline
5% type I error level & 24 & 0.461538461538462 & NOK \tabularnewline
10% type I error level & 26 & 0.5 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58737&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]15[/C][C]0.288461538461538[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]24[/C][C]0.461538461538462[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]26[/C][C]0.5[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58737&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58737&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 level150.288461538461538NOK
5% type I error level240.461538461538462NOK
10% type I error level260.5NOK



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