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 computationSat, 28 Nov 2009 06:15:46 -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/28/t1259414443uhhxatavw80x0f4.htm/, Retrieved Fri, 03 May 2024 07:02:53 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=61461, Retrieved Fri, 03 May 2024 07:02:53 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact117
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Q1 The Seatbeltlaw] [2007-11-14 19:27:43] [8cd6641b921d30ebe00b648d1481bba0]
- RMPD  [Multiple Regression] [Seatbelt] [2009-11-12 14:03:14] [b98453cac15ba1066b407e146608df68]
-    D      [Multiple Regression] [Seizoenaliteit] [2009-11-28 13:15:46] [df67ec12d4744494b58d8461e1971283] [Current]
Feedback Forum

Post a new message
Dataseries X:
4.3	29
3.9	31
4	31
4.3	33
4.8	37
4.4	30
4.3	20
4.7	19
4.7	17
4.9	22
5	12
4.2	25
4.3	25
4.8	29
4.8	32
4.8	31
4.2	28
4.6	28
4.8	28
4.5	32
4.4	35
4.3	30
3.9	32
3.7	38
4	37
4.1	28
3.7	34
3.8	35
3.8	32
3.8	39
3.3	37
3.3	38
3.3	35
3.2	25
3.4	25
4.2	26
4.9	13
5.1	19
5.5	17
5.6	21
6.4	23
6.1	18
7.1	12
7.8	7
7.9	4
7.4	14
7.5	16
6.8	13
5.2	13
4.7	10
4.1	19
3.9	13
2.6	14
2.7	25
1.8	28
1	30
0.3	31
1.3	42
1	41
1.1	38




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 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 & 4 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=61461&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]4 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=61461&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=61461&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 time4 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135







Multiple Linear Regression - Estimated Regression Equation
Consumentenprijsindex[t] = + 7.14986032404821 -0.112495011573150Consumentenvertrouwen[t] + 0.0225229467635058M1[t] + 0.0025229467635074M2[t] + 0.262506983797589M3[t] + 0.322506983797589M4[t] + 0.225005986112220M5[t] + 0.319999999999999M6[t] -0.0774850347194518M7[t] -0.0549860324048216M8[t] -0.284982041663342M9[t] + 0.062506983797589M10[t] -0.154986032404821M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Consumentenprijsindex[t] =  +  7.14986032404821 -0.112495011573150Consumentenvertrouwen[t] +  0.0225229467635058M1[t] +  0.0025229467635074M2[t] +  0.262506983797589M3[t] +  0.322506983797589M4[t] +  0.225005986112220M5[t] +  0.319999999999999M6[t] -0.0774850347194518M7[t] -0.0549860324048216M8[t] -0.284982041663342M9[t] +  0.062506983797589M10[t] -0.154986032404821M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=61461&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Consumentenprijsindex[t] =  +  7.14986032404821 -0.112495011573150Consumentenvertrouwen[t] +  0.0225229467635058M1[t] +  0.0025229467635074M2[t] +  0.262506983797589M3[t] +  0.322506983797589M4[t] +  0.225005986112220M5[t] +  0.319999999999999M6[t] -0.0774850347194518M7[t] -0.0549860324048216M8[t] -0.284982041663342M9[t] +  0.062506983797589M10[t] -0.154986032404821M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=61461&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=61461&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
Consumentenprijsindex[t] = + 7.14986032404821 -0.112495011573150Consumentenvertrouwen[t] + 0.0225229467635058M1[t] + 0.0025229467635074M2[t] + 0.262506983797589M3[t] + 0.322506983797589M4[t] + 0.225005986112220M5[t] + 0.319999999999999M6[t] -0.0774850347194518M7[t] -0.0549860324048216M8[t] -0.284982041663342M9[t] + 0.062506983797589M10[t] -0.154986032404821M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)7.149860324048210.8051728.879900
Consumentenvertrouwen-0.1124950115731500.019051-5.905100
M10.02252294676350580.8574480.02630.9791550.489578
M20.00252294676350740.8574480.00290.9976650.498832
M30.2625069837975890.8533740.30760.7597380.379869
M40.3225069837975890.8533740.37790.7071920.353596
M50.2250059861122200.8532640.26370.7931640.396582
M60.3199999999999990.8529580.37520.7092250.354613
M7-0.07748503471945180.85487-0.09060.9281640.464082
M8-0.05498603240482160.854624-0.06430.9489730.474486
M9-0.2849820416633420.85571-0.3330.7405880.370294
M100.0625069837975890.8533740.07320.9419210.47096
M11-0.1549860324048210.854624-0.18130.8568730.428436

\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) & 7.14986032404821 & 0.805172 & 8.8799 & 0 & 0 \tabularnewline
Consumentenvertrouwen & -0.112495011573150 & 0.019051 & -5.9051 & 0 & 0 \tabularnewline
M1 & 0.0225229467635058 & 0.857448 & 0.0263 & 0.979155 & 0.489578 \tabularnewline
M2 & 0.0025229467635074 & 0.857448 & 0.0029 & 0.997665 & 0.498832 \tabularnewline
M3 & 0.262506983797589 & 0.853374 & 0.3076 & 0.759738 & 0.379869 \tabularnewline
M4 & 0.322506983797589 & 0.853374 & 0.3779 & 0.707192 & 0.353596 \tabularnewline
M5 & 0.225005986112220 & 0.853264 & 0.2637 & 0.793164 & 0.396582 \tabularnewline
M6 & 0.319999999999999 & 0.852958 & 0.3752 & 0.709225 & 0.354613 \tabularnewline
M7 & -0.0774850347194518 & 0.85487 & -0.0906 & 0.928164 & 0.464082 \tabularnewline
M8 & -0.0549860324048216 & 0.854624 & -0.0643 & 0.948973 & 0.474486 \tabularnewline
M9 & -0.284982041663342 & 0.85571 & -0.333 & 0.740588 & 0.370294 \tabularnewline
M10 & 0.062506983797589 & 0.853374 & 0.0732 & 0.941921 & 0.47096 \tabularnewline
M11 & -0.154986032404821 & 0.854624 & -0.1813 & 0.856873 & 0.428436 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=61461&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]7.14986032404821[/C][C]0.805172[/C][C]8.8799[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Consumentenvertrouwen[/C][C]-0.112495011573150[/C][C]0.019051[/C][C]-5.9051[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]0.0225229467635058[/C][C]0.857448[/C][C]0.0263[/C][C]0.979155[/C][C]0.489578[/C][/ROW]
[ROW][C]M2[/C][C]0.0025229467635074[/C][C]0.857448[/C][C]0.0029[/C][C]0.997665[/C][C]0.498832[/C][/ROW]
[ROW][C]M3[/C][C]0.262506983797589[/C][C]0.853374[/C][C]0.3076[/C][C]0.759738[/C][C]0.379869[/C][/ROW]
[ROW][C]M4[/C][C]0.322506983797589[/C][C]0.853374[/C][C]0.3779[/C][C]0.707192[/C][C]0.353596[/C][/ROW]
[ROW][C]M5[/C][C]0.225005986112220[/C][C]0.853264[/C][C]0.2637[/C][C]0.793164[/C][C]0.396582[/C][/ROW]
[ROW][C]M6[/C][C]0.319999999999999[/C][C]0.852958[/C][C]0.3752[/C][C]0.709225[/C][C]0.354613[/C][/ROW]
[ROW][C]M7[/C][C]-0.0774850347194518[/C][C]0.85487[/C][C]-0.0906[/C][C]0.928164[/C][C]0.464082[/C][/ROW]
[ROW][C]M8[/C][C]-0.0549860324048216[/C][C]0.854624[/C][C]-0.0643[/C][C]0.948973[/C][C]0.474486[/C][/ROW]
[ROW][C]M9[/C][C]-0.284982041663342[/C][C]0.85571[/C][C]-0.333[/C][C]0.740588[/C][C]0.370294[/C][/ROW]
[ROW][C]M10[/C][C]0.062506983797589[/C][C]0.853374[/C][C]0.0732[/C][C]0.941921[/C][C]0.47096[/C][/ROW]
[ROW][C]M11[/C][C]-0.154986032404821[/C][C]0.854624[/C][C]-0.1813[/C][C]0.856873[/C][C]0.428436[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=61461&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=61461&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)7.149860324048210.8051728.879900
Consumentenvertrouwen-0.1124950115731500.019051-5.905100
M10.02252294676350580.8574480.02630.9791550.489578
M20.00252294676350740.8574480.00290.9976650.498832
M30.2625069837975890.8533740.30760.7597380.379869
M40.3225069837975890.8533740.37790.7071920.353596
M50.2250059861122200.8532640.26370.7931640.396582
M60.3199999999999990.8529580.37520.7092250.354613
M7-0.07748503471945180.85487-0.09060.9281640.464082
M8-0.05498603240482160.854624-0.06430.9489730.474486
M9-0.2849820416633420.85571-0.3330.7405880.370294
M100.0625069837975890.8533740.07320.9419210.47096
M11-0.1549860324048210.854624-0.18130.8568730.428436







Multiple Linear Regression - Regression Statistics
Multiple R0.65711124114075
R-squared0.431795183233536
Adjusted R-squared0.28672161299529
F-TEST (value)2.97638765299857
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0.00368177023589844
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.34864441298132
Sum Squared Residuals85.4855623752893

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.65711124114075 \tabularnewline
R-squared & 0.431795183233536 \tabularnewline
Adjusted R-squared & 0.28672161299529 \tabularnewline
F-TEST (value) & 2.97638765299857 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 0.00368177023589844 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 1.34864441298132 \tabularnewline
Sum Squared Residuals & 85.4855623752893 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=61461&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.65711124114075[/C][/ROW]
[ROW][C]R-squared[/C][C]0.431795183233536[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.28672161299529[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]2.97638765299857[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]47[/C][/ROW]
[ROW][C]p-value[/C][C]0.00368177023589844[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]1.34864441298132[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]85.4855623752893[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=61461&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=61461&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.65711124114075
R-squared0.431795183233536
Adjusted R-squared0.28672161299529
F-TEST (value)2.97638765299857
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0.00368177023589844
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.34864441298132
Sum Squared Residuals85.4855623752893







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
14.33.910027935190370.389972064809633
23.93.665037912044060.234962087955941
343.925021949078140.0749780509218616
44.33.760031925931840.539968074068162
54.83.212550881953871.58744911804613
64.44.09500997685370.304990023146301
74.34.82247505786575-0.522475057865752
84.74.95746907175353-0.257469071753532
94.74.95246308564131-0.252463085641312
104.94.737477053236490.162522946763509
1155.64493415276558-0.644934152765584
124.24.33748503471945-0.137485034719451
134.34.36000798148296-0.0600079814829574
144.83.890027935190360.909972064809642
154.83.812526937504990.987473062495012
164.83.985021949078140.814978050921861
174.24.22500598611222-0.0250059861122195
184.64.320.28
194.83.922514965280550.87748503471945
204.53.495033921302581.00496607869742
214.42.927552877324611.47244712267539
224.33.837516960651290.462483039348711
233.93.395033921302580.504966078697422
243.72.875049884268500.824950115731503
2543.010067842605150.989932157394846
264.14.002522946763510.0974770532364919
273.73.587536914358690.112463085641312
283.83.535041902785540.264958097214463
293.83.775025939819620.0249740601803812
303.83.082554872695350.717445127304654
313.32.910059861122200.389940138877804
323.32.820063851863680.479936148136324
333.32.927552877324610.372447122675394
343.24.39999201851704-1.19999201851704
353.44.18249900231463-0.78249900231463
364.24.2249900231463-0.0249900231463010
374.95.70994812036076-0.80994812036076
385.15.014978050921860.085021949078139
395.55.499952111102244.78888977568925e-05
405.65.109972064809640.490027935190358
416.44.787481043977971.61251895602203
426.15.44495011573150.655049884268497
437.15.722435150450951.37756484954905
447.86.307409210631341.49259078936866
457.96.414898236092271.48510176390773
467.45.637437145821691.76256285417831
477.55.194954106472982.30504589352702
486.85.687425173597251.11257482640274
495.25.70994812036076-0.509948120360761
504.76.02743315508021-1.32743315508021
514.15.27496208795594-1.17496208795594
523.96.00993215739484-2.10993215739484
532.65.79993614813632-3.19993614813632
542.74.65748503471945-1.95748503471945
551.83.92251496528055-2.12251496528055
5613.72002394444888-2.72002394444888
570.33.37753292361721-3.07753292361721
581.32.48757682177349-1.18757682177349
5912.38257881714422-1.38257881714423
601.12.87504988426850-1.77504988426850

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 4.3 & 3.91002793519037 & 0.389972064809633 \tabularnewline
2 & 3.9 & 3.66503791204406 & 0.234962087955941 \tabularnewline
3 & 4 & 3.92502194907814 & 0.0749780509218616 \tabularnewline
4 & 4.3 & 3.76003192593184 & 0.539968074068162 \tabularnewline
5 & 4.8 & 3.21255088195387 & 1.58744911804613 \tabularnewline
6 & 4.4 & 4.0950099768537 & 0.304990023146301 \tabularnewline
7 & 4.3 & 4.82247505786575 & -0.522475057865752 \tabularnewline
8 & 4.7 & 4.95746907175353 & -0.257469071753532 \tabularnewline
9 & 4.7 & 4.95246308564131 & -0.252463085641312 \tabularnewline
10 & 4.9 & 4.73747705323649 & 0.162522946763509 \tabularnewline
11 & 5 & 5.64493415276558 & -0.644934152765584 \tabularnewline
12 & 4.2 & 4.33748503471945 & -0.137485034719451 \tabularnewline
13 & 4.3 & 4.36000798148296 & -0.0600079814829574 \tabularnewline
14 & 4.8 & 3.89002793519036 & 0.909972064809642 \tabularnewline
15 & 4.8 & 3.81252693750499 & 0.987473062495012 \tabularnewline
16 & 4.8 & 3.98502194907814 & 0.814978050921861 \tabularnewline
17 & 4.2 & 4.22500598611222 & -0.0250059861122195 \tabularnewline
18 & 4.6 & 4.32 & 0.28 \tabularnewline
19 & 4.8 & 3.92251496528055 & 0.87748503471945 \tabularnewline
20 & 4.5 & 3.49503392130258 & 1.00496607869742 \tabularnewline
21 & 4.4 & 2.92755287732461 & 1.47244712267539 \tabularnewline
22 & 4.3 & 3.83751696065129 & 0.462483039348711 \tabularnewline
23 & 3.9 & 3.39503392130258 & 0.504966078697422 \tabularnewline
24 & 3.7 & 2.87504988426850 & 0.824950115731503 \tabularnewline
25 & 4 & 3.01006784260515 & 0.989932157394846 \tabularnewline
26 & 4.1 & 4.00252294676351 & 0.0974770532364919 \tabularnewline
27 & 3.7 & 3.58753691435869 & 0.112463085641312 \tabularnewline
28 & 3.8 & 3.53504190278554 & 0.264958097214463 \tabularnewline
29 & 3.8 & 3.77502593981962 & 0.0249740601803812 \tabularnewline
30 & 3.8 & 3.08255487269535 & 0.717445127304654 \tabularnewline
31 & 3.3 & 2.91005986112220 & 0.389940138877804 \tabularnewline
32 & 3.3 & 2.82006385186368 & 0.479936148136324 \tabularnewline
33 & 3.3 & 2.92755287732461 & 0.372447122675394 \tabularnewline
34 & 3.2 & 4.39999201851704 & -1.19999201851704 \tabularnewline
35 & 3.4 & 4.18249900231463 & -0.78249900231463 \tabularnewline
36 & 4.2 & 4.2249900231463 & -0.0249900231463010 \tabularnewline
37 & 4.9 & 5.70994812036076 & -0.80994812036076 \tabularnewline
38 & 5.1 & 5.01497805092186 & 0.085021949078139 \tabularnewline
39 & 5.5 & 5.49995211110224 & 4.78888977568925e-05 \tabularnewline
40 & 5.6 & 5.10997206480964 & 0.490027935190358 \tabularnewline
41 & 6.4 & 4.78748104397797 & 1.61251895602203 \tabularnewline
42 & 6.1 & 5.4449501157315 & 0.655049884268497 \tabularnewline
43 & 7.1 & 5.72243515045095 & 1.37756484954905 \tabularnewline
44 & 7.8 & 6.30740921063134 & 1.49259078936866 \tabularnewline
45 & 7.9 & 6.41489823609227 & 1.48510176390773 \tabularnewline
46 & 7.4 & 5.63743714582169 & 1.76256285417831 \tabularnewline
47 & 7.5 & 5.19495410647298 & 2.30504589352702 \tabularnewline
48 & 6.8 & 5.68742517359725 & 1.11257482640274 \tabularnewline
49 & 5.2 & 5.70994812036076 & -0.509948120360761 \tabularnewline
50 & 4.7 & 6.02743315508021 & -1.32743315508021 \tabularnewline
51 & 4.1 & 5.27496208795594 & -1.17496208795594 \tabularnewline
52 & 3.9 & 6.00993215739484 & -2.10993215739484 \tabularnewline
53 & 2.6 & 5.79993614813632 & -3.19993614813632 \tabularnewline
54 & 2.7 & 4.65748503471945 & -1.95748503471945 \tabularnewline
55 & 1.8 & 3.92251496528055 & -2.12251496528055 \tabularnewline
56 & 1 & 3.72002394444888 & -2.72002394444888 \tabularnewline
57 & 0.3 & 3.37753292361721 & -3.07753292361721 \tabularnewline
58 & 1.3 & 2.48757682177349 & -1.18757682177349 \tabularnewline
59 & 1 & 2.38257881714422 & -1.38257881714423 \tabularnewline
60 & 1.1 & 2.87504988426850 & -1.77504988426850 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=61461&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]4.3[/C][C]3.91002793519037[/C][C]0.389972064809633[/C][/ROW]
[ROW][C]2[/C][C]3.9[/C][C]3.66503791204406[/C][C]0.234962087955941[/C][/ROW]
[ROW][C]3[/C][C]4[/C][C]3.92502194907814[/C][C]0.0749780509218616[/C][/ROW]
[ROW][C]4[/C][C]4.3[/C][C]3.76003192593184[/C][C]0.539968074068162[/C][/ROW]
[ROW][C]5[/C][C]4.8[/C][C]3.21255088195387[/C][C]1.58744911804613[/C][/ROW]
[ROW][C]6[/C][C]4.4[/C][C]4.0950099768537[/C][C]0.304990023146301[/C][/ROW]
[ROW][C]7[/C][C]4.3[/C][C]4.82247505786575[/C][C]-0.522475057865752[/C][/ROW]
[ROW][C]8[/C][C]4.7[/C][C]4.95746907175353[/C][C]-0.257469071753532[/C][/ROW]
[ROW][C]9[/C][C]4.7[/C][C]4.95246308564131[/C][C]-0.252463085641312[/C][/ROW]
[ROW][C]10[/C][C]4.9[/C][C]4.73747705323649[/C][C]0.162522946763509[/C][/ROW]
[ROW][C]11[/C][C]5[/C][C]5.64493415276558[/C][C]-0.644934152765584[/C][/ROW]
[ROW][C]12[/C][C]4.2[/C][C]4.33748503471945[/C][C]-0.137485034719451[/C][/ROW]
[ROW][C]13[/C][C]4.3[/C][C]4.36000798148296[/C][C]-0.0600079814829574[/C][/ROW]
[ROW][C]14[/C][C]4.8[/C][C]3.89002793519036[/C][C]0.909972064809642[/C][/ROW]
[ROW][C]15[/C][C]4.8[/C][C]3.81252693750499[/C][C]0.987473062495012[/C][/ROW]
[ROW][C]16[/C][C]4.8[/C][C]3.98502194907814[/C][C]0.814978050921861[/C][/ROW]
[ROW][C]17[/C][C]4.2[/C][C]4.22500598611222[/C][C]-0.0250059861122195[/C][/ROW]
[ROW][C]18[/C][C]4.6[/C][C]4.32[/C][C]0.28[/C][/ROW]
[ROW][C]19[/C][C]4.8[/C][C]3.92251496528055[/C][C]0.87748503471945[/C][/ROW]
[ROW][C]20[/C][C]4.5[/C][C]3.49503392130258[/C][C]1.00496607869742[/C][/ROW]
[ROW][C]21[/C][C]4.4[/C][C]2.92755287732461[/C][C]1.47244712267539[/C][/ROW]
[ROW][C]22[/C][C]4.3[/C][C]3.83751696065129[/C][C]0.462483039348711[/C][/ROW]
[ROW][C]23[/C][C]3.9[/C][C]3.39503392130258[/C][C]0.504966078697422[/C][/ROW]
[ROW][C]24[/C][C]3.7[/C][C]2.87504988426850[/C][C]0.824950115731503[/C][/ROW]
[ROW][C]25[/C][C]4[/C][C]3.01006784260515[/C][C]0.989932157394846[/C][/ROW]
[ROW][C]26[/C][C]4.1[/C][C]4.00252294676351[/C][C]0.0974770532364919[/C][/ROW]
[ROW][C]27[/C][C]3.7[/C][C]3.58753691435869[/C][C]0.112463085641312[/C][/ROW]
[ROW][C]28[/C][C]3.8[/C][C]3.53504190278554[/C][C]0.264958097214463[/C][/ROW]
[ROW][C]29[/C][C]3.8[/C][C]3.77502593981962[/C][C]0.0249740601803812[/C][/ROW]
[ROW][C]30[/C][C]3.8[/C][C]3.08255487269535[/C][C]0.717445127304654[/C][/ROW]
[ROW][C]31[/C][C]3.3[/C][C]2.91005986112220[/C][C]0.389940138877804[/C][/ROW]
[ROW][C]32[/C][C]3.3[/C][C]2.82006385186368[/C][C]0.479936148136324[/C][/ROW]
[ROW][C]33[/C][C]3.3[/C][C]2.92755287732461[/C][C]0.372447122675394[/C][/ROW]
[ROW][C]34[/C][C]3.2[/C][C]4.39999201851704[/C][C]-1.19999201851704[/C][/ROW]
[ROW][C]35[/C][C]3.4[/C][C]4.18249900231463[/C][C]-0.78249900231463[/C][/ROW]
[ROW][C]36[/C][C]4.2[/C][C]4.2249900231463[/C][C]-0.0249900231463010[/C][/ROW]
[ROW][C]37[/C][C]4.9[/C][C]5.70994812036076[/C][C]-0.80994812036076[/C][/ROW]
[ROW][C]38[/C][C]5.1[/C][C]5.01497805092186[/C][C]0.085021949078139[/C][/ROW]
[ROW][C]39[/C][C]5.5[/C][C]5.49995211110224[/C][C]4.78888977568925e-05[/C][/ROW]
[ROW][C]40[/C][C]5.6[/C][C]5.10997206480964[/C][C]0.490027935190358[/C][/ROW]
[ROW][C]41[/C][C]6.4[/C][C]4.78748104397797[/C][C]1.61251895602203[/C][/ROW]
[ROW][C]42[/C][C]6.1[/C][C]5.4449501157315[/C][C]0.655049884268497[/C][/ROW]
[ROW][C]43[/C][C]7.1[/C][C]5.72243515045095[/C][C]1.37756484954905[/C][/ROW]
[ROW][C]44[/C][C]7.8[/C][C]6.30740921063134[/C][C]1.49259078936866[/C][/ROW]
[ROW][C]45[/C][C]7.9[/C][C]6.41489823609227[/C][C]1.48510176390773[/C][/ROW]
[ROW][C]46[/C][C]7.4[/C][C]5.63743714582169[/C][C]1.76256285417831[/C][/ROW]
[ROW][C]47[/C][C]7.5[/C][C]5.19495410647298[/C][C]2.30504589352702[/C][/ROW]
[ROW][C]48[/C][C]6.8[/C][C]5.68742517359725[/C][C]1.11257482640274[/C][/ROW]
[ROW][C]49[/C][C]5.2[/C][C]5.70994812036076[/C][C]-0.509948120360761[/C][/ROW]
[ROW][C]50[/C][C]4.7[/C][C]6.02743315508021[/C][C]-1.32743315508021[/C][/ROW]
[ROW][C]51[/C][C]4.1[/C][C]5.27496208795594[/C][C]-1.17496208795594[/C][/ROW]
[ROW][C]52[/C][C]3.9[/C][C]6.00993215739484[/C][C]-2.10993215739484[/C][/ROW]
[ROW][C]53[/C][C]2.6[/C][C]5.79993614813632[/C][C]-3.19993614813632[/C][/ROW]
[ROW][C]54[/C][C]2.7[/C][C]4.65748503471945[/C][C]-1.95748503471945[/C][/ROW]
[ROW][C]55[/C][C]1.8[/C][C]3.92251496528055[/C][C]-2.12251496528055[/C][/ROW]
[ROW][C]56[/C][C]1[/C][C]3.72002394444888[/C][C]-2.72002394444888[/C][/ROW]
[ROW][C]57[/C][C]0.3[/C][C]3.37753292361721[/C][C]-3.07753292361721[/C][/ROW]
[ROW][C]58[/C][C]1.3[/C][C]2.48757682177349[/C][C]-1.18757682177349[/C][/ROW]
[ROW][C]59[/C][C]1[/C][C]2.38257881714422[/C][C]-1.38257881714423[/C][/ROW]
[ROW][C]60[/C][C]1.1[/C][C]2.87504988426850[/C][C]-1.77504988426850[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=61461&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=61461&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
14.33.910027935190370.389972064809633
23.93.665037912044060.234962087955941
343.925021949078140.0749780509218616
44.33.760031925931840.539968074068162
54.83.212550881953871.58744911804613
64.44.09500997685370.304990023146301
74.34.82247505786575-0.522475057865752
84.74.95746907175353-0.257469071753532
94.74.95246308564131-0.252463085641312
104.94.737477053236490.162522946763509
1155.64493415276558-0.644934152765584
124.24.33748503471945-0.137485034719451
134.34.36000798148296-0.0600079814829574
144.83.890027935190360.909972064809642
154.83.812526937504990.987473062495012
164.83.985021949078140.814978050921861
174.24.22500598611222-0.0250059861122195
184.64.320.28
194.83.922514965280550.87748503471945
204.53.495033921302581.00496607869742
214.42.927552877324611.47244712267539
224.33.837516960651290.462483039348711
233.93.395033921302580.504966078697422
243.72.875049884268500.824950115731503
2543.010067842605150.989932157394846
264.14.002522946763510.0974770532364919
273.73.587536914358690.112463085641312
283.83.535041902785540.264958097214463
293.83.775025939819620.0249740601803812
303.83.082554872695350.717445127304654
313.32.910059861122200.389940138877804
323.32.820063851863680.479936148136324
333.32.927552877324610.372447122675394
343.24.39999201851704-1.19999201851704
353.44.18249900231463-0.78249900231463
364.24.2249900231463-0.0249900231463010
374.95.70994812036076-0.80994812036076
385.15.014978050921860.085021949078139
395.55.499952111102244.78888977568925e-05
405.65.109972064809640.490027935190358
416.44.787481043977971.61251895602203
426.15.44495011573150.655049884268497
437.15.722435150450951.37756484954905
447.86.307409210631341.49259078936866
457.96.414898236092271.48510176390773
467.45.637437145821691.76256285417831
477.55.194954106472982.30504589352702
486.85.687425173597251.11257482640274
495.25.70994812036076-0.509948120360761
504.76.02743315508021-1.32743315508021
514.15.27496208795594-1.17496208795594
523.96.00993215739484-2.10993215739484
532.65.79993614813632-3.19993614813632
542.74.65748503471945-1.95748503471945
551.83.92251496528055-2.12251496528055
5613.72002394444888-2.72002394444888
570.33.37753292361721-3.07753292361721
581.32.48757682177349-1.18757682177349
5912.38257881714422-1.38257881714423
601.12.87504988426850-1.77504988426850







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.04382063844103920.08764127688207850.95617936155896
170.01751855893966930.03503711787933870.98248144106033
180.004886486964536210.009772973929072430.995113513035464
190.001277300140477120.002554600280954240.998722699859523
200.0004479616710625820.0008959233421251630.999552038328937
210.0001475279623636470.0002950559247272940.999852472037636
225.37615012622098e-050.0001075230025244200.999946238498738
232.78209183745355e-055.5641836749071e-050.999972179081625
247.08801885710878e-061.41760377142176e-050.999992911981143
252.12071681729305e-064.24143363458609e-060.999997879283183
265.92647678339477e-071.18529535667895e-060.999999407352322
273.39414365500182e-076.78828731000364e-070.999999660585634
282.41764625663522e-074.83529251327044e-070.999999758235374
291.71970163446218e-073.43940326892436e-070.999999828029837
309.19623334233556e-081.83924666846711e-070.999999908037667
319.44021100923458e-081.88804220184692e-070.99999990559789
321.49959481058984e-072.99918962117968e-070.999999850040519
333.74988137408933e-077.49976274817865e-070.999999625011863
342.27985761662278e-064.55971523324556e-060.999997720142383
352.38350865389198e-064.76701730778396e-060.999997616491346
366.91353685153404e-071.38270737030681e-060.999999308646315
371.92816775551034e-073.85633551102067e-070.999999807183224
381.50933845002983e-073.01867690005967e-070.999999849066155
395.80185250530542e-081.16037050106108e-070.999999941981475
403.13781262288658e-076.27562524577315e-070.999999686218738
410.1129464097689020.2258928195378040.887053590231098
420.2447855898260400.4895711796520790.75521441017396
430.4252275843057310.8504551686114620.574772415694269
440.5392744330357260.9214511339285470.460725566964274

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.0438206384410392 & 0.0876412768820785 & 0.95617936155896 \tabularnewline
17 & 0.0175185589396693 & 0.0350371178793387 & 0.98248144106033 \tabularnewline
18 & 0.00488648696453621 & 0.00977297392907243 & 0.995113513035464 \tabularnewline
19 & 0.00127730014047712 & 0.00255460028095424 & 0.998722699859523 \tabularnewline
20 & 0.000447961671062582 & 0.000895923342125163 & 0.999552038328937 \tabularnewline
21 & 0.000147527962363647 & 0.000295055924727294 & 0.999852472037636 \tabularnewline
22 & 5.37615012622098e-05 & 0.000107523002524420 & 0.999946238498738 \tabularnewline
23 & 2.78209183745355e-05 & 5.5641836749071e-05 & 0.999972179081625 \tabularnewline
24 & 7.08801885710878e-06 & 1.41760377142176e-05 & 0.999992911981143 \tabularnewline
25 & 2.12071681729305e-06 & 4.24143363458609e-06 & 0.999997879283183 \tabularnewline
26 & 5.92647678339477e-07 & 1.18529535667895e-06 & 0.999999407352322 \tabularnewline
27 & 3.39414365500182e-07 & 6.78828731000364e-07 & 0.999999660585634 \tabularnewline
28 & 2.41764625663522e-07 & 4.83529251327044e-07 & 0.999999758235374 \tabularnewline
29 & 1.71970163446218e-07 & 3.43940326892436e-07 & 0.999999828029837 \tabularnewline
30 & 9.19623334233556e-08 & 1.83924666846711e-07 & 0.999999908037667 \tabularnewline
31 & 9.44021100923458e-08 & 1.88804220184692e-07 & 0.99999990559789 \tabularnewline
32 & 1.49959481058984e-07 & 2.99918962117968e-07 & 0.999999850040519 \tabularnewline
33 & 3.74988137408933e-07 & 7.49976274817865e-07 & 0.999999625011863 \tabularnewline
34 & 2.27985761662278e-06 & 4.55971523324556e-06 & 0.999997720142383 \tabularnewline
35 & 2.38350865389198e-06 & 4.76701730778396e-06 & 0.999997616491346 \tabularnewline
36 & 6.91353685153404e-07 & 1.38270737030681e-06 & 0.999999308646315 \tabularnewline
37 & 1.92816775551034e-07 & 3.85633551102067e-07 & 0.999999807183224 \tabularnewline
38 & 1.50933845002983e-07 & 3.01867690005967e-07 & 0.999999849066155 \tabularnewline
39 & 5.80185250530542e-08 & 1.16037050106108e-07 & 0.999999941981475 \tabularnewline
40 & 3.13781262288658e-07 & 6.27562524577315e-07 & 0.999999686218738 \tabularnewline
41 & 0.112946409768902 & 0.225892819537804 & 0.887053590231098 \tabularnewline
42 & 0.244785589826040 & 0.489571179652079 & 0.75521441017396 \tabularnewline
43 & 0.425227584305731 & 0.850455168611462 & 0.574772415694269 \tabularnewline
44 & 0.539274433035726 & 0.921451133928547 & 0.460725566964274 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=61461&T=5

[TABLE]
[ROW][C]Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]p-values[/C][C]Alternative Hypothesis[/C][/ROW]
[ROW][C]breakpoint index[/C][C]greater[/C][C]2-sided[/C][C]less[/C][/ROW]
[ROW][C]16[/C][C]0.0438206384410392[/C][C]0.0876412768820785[/C][C]0.95617936155896[/C][/ROW]
[ROW][C]17[/C][C]0.0175185589396693[/C][C]0.0350371178793387[/C][C]0.98248144106033[/C][/ROW]
[ROW][C]18[/C][C]0.00488648696453621[/C][C]0.00977297392907243[/C][C]0.995113513035464[/C][/ROW]
[ROW][C]19[/C][C]0.00127730014047712[/C][C]0.00255460028095424[/C][C]0.998722699859523[/C][/ROW]
[ROW][C]20[/C][C]0.000447961671062582[/C][C]0.000895923342125163[/C][C]0.999552038328937[/C][/ROW]
[ROW][C]21[/C][C]0.000147527962363647[/C][C]0.000295055924727294[/C][C]0.999852472037636[/C][/ROW]
[ROW][C]22[/C][C]5.37615012622098e-05[/C][C]0.000107523002524420[/C][C]0.999946238498738[/C][/ROW]
[ROW][C]23[/C][C]2.78209183745355e-05[/C][C]5.5641836749071e-05[/C][C]0.999972179081625[/C][/ROW]
[ROW][C]24[/C][C]7.08801885710878e-06[/C][C]1.41760377142176e-05[/C][C]0.999992911981143[/C][/ROW]
[ROW][C]25[/C][C]2.12071681729305e-06[/C][C]4.24143363458609e-06[/C][C]0.999997879283183[/C][/ROW]
[ROW][C]26[/C][C]5.92647678339477e-07[/C][C]1.18529535667895e-06[/C][C]0.999999407352322[/C][/ROW]
[ROW][C]27[/C][C]3.39414365500182e-07[/C][C]6.78828731000364e-07[/C][C]0.999999660585634[/C][/ROW]
[ROW][C]28[/C][C]2.41764625663522e-07[/C][C]4.83529251327044e-07[/C][C]0.999999758235374[/C][/ROW]
[ROW][C]29[/C][C]1.71970163446218e-07[/C][C]3.43940326892436e-07[/C][C]0.999999828029837[/C][/ROW]
[ROW][C]30[/C][C]9.19623334233556e-08[/C][C]1.83924666846711e-07[/C][C]0.999999908037667[/C][/ROW]
[ROW][C]31[/C][C]9.44021100923458e-08[/C][C]1.88804220184692e-07[/C][C]0.99999990559789[/C][/ROW]
[ROW][C]32[/C][C]1.49959481058984e-07[/C][C]2.99918962117968e-07[/C][C]0.999999850040519[/C][/ROW]
[ROW][C]33[/C][C]3.74988137408933e-07[/C][C]7.49976274817865e-07[/C][C]0.999999625011863[/C][/ROW]
[ROW][C]34[/C][C]2.27985761662278e-06[/C][C]4.55971523324556e-06[/C][C]0.999997720142383[/C][/ROW]
[ROW][C]35[/C][C]2.38350865389198e-06[/C][C]4.76701730778396e-06[/C][C]0.999997616491346[/C][/ROW]
[ROW][C]36[/C][C]6.91353685153404e-07[/C][C]1.38270737030681e-06[/C][C]0.999999308646315[/C][/ROW]
[ROW][C]37[/C][C]1.92816775551034e-07[/C][C]3.85633551102067e-07[/C][C]0.999999807183224[/C][/ROW]
[ROW][C]38[/C][C]1.50933845002983e-07[/C][C]3.01867690005967e-07[/C][C]0.999999849066155[/C][/ROW]
[ROW][C]39[/C][C]5.80185250530542e-08[/C][C]1.16037050106108e-07[/C][C]0.999999941981475[/C][/ROW]
[ROW][C]40[/C][C]3.13781262288658e-07[/C][C]6.27562524577315e-07[/C][C]0.999999686218738[/C][/ROW]
[ROW][C]41[/C][C]0.112946409768902[/C][C]0.225892819537804[/C][C]0.887053590231098[/C][/ROW]
[ROW][C]42[/C][C]0.244785589826040[/C][C]0.489571179652079[/C][C]0.75521441017396[/C][/ROW]
[ROW][C]43[/C][C]0.425227584305731[/C][C]0.850455168611462[/C][C]0.574772415694269[/C][/ROW]
[ROW][C]44[/C][C]0.539274433035726[/C][C]0.921451133928547[/C][C]0.460725566964274[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=61461&T=5

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

As an alternative you can also use a QR Code:  

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

Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.04382063844103920.08764127688207850.95617936155896
170.01751855893966930.03503711787933870.98248144106033
180.004886486964536210.009772973929072430.995113513035464
190.001277300140477120.002554600280954240.998722699859523
200.0004479616710625820.0008959233421251630.999552038328937
210.0001475279623636470.0002950559247272940.999852472037636
225.37615012622098e-050.0001075230025244200.999946238498738
232.78209183745355e-055.5641836749071e-050.999972179081625
247.08801885710878e-061.41760377142176e-050.999992911981143
252.12071681729305e-064.24143363458609e-060.999997879283183
265.92647678339477e-071.18529535667895e-060.999999407352322
273.39414365500182e-076.78828731000364e-070.999999660585634
282.41764625663522e-074.83529251327044e-070.999999758235374
291.71970163446218e-073.43940326892436e-070.999999828029837
309.19623334233556e-081.83924666846711e-070.999999908037667
319.44021100923458e-081.88804220184692e-070.99999990559789
321.49959481058984e-072.99918962117968e-070.999999850040519
333.74988137408933e-077.49976274817865e-070.999999625011863
342.27985761662278e-064.55971523324556e-060.999997720142383
352.38350865389198e-064.76701730778396e-060.999997616491346
366.91353685153404e-071.38270737030681e-060.999999308646315
371.92816775551034e-073.85633551102067e-070.999999807183224
381.50933845002983e-073.01867690005967e-070.999999849066155
395.80185250530542e-081.16037050106108e-070.999999941981475
403.13781262288658e-076.27562524577315e-070.999999686218738
410.1129464097689020.2258928195378040.887053590231098
420.2447855898260400.4895711796520790.75521441017396
430.4252275843057310.8504551686114620.574772415694269
440.5392744330357260.9214511339285470.460725566964274







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

\begin{tabular}{lllllllll}
\hline
Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
Description & # significant tests & % significant tests & OK/NOK \tabularnewline
1% type I error level & 23 & 0.793103448275862 & NOK \tabularnewline
5% type I error level & 24 & 0.827586206896552 & NOK \tabularnewline
10% type I error level & 25 & 0.862068965517241 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=61461&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]23[/C][C]0.793103448275862[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]24[/C][C]0.827586206896552[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]25[/C][C]0.862068965517241[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=61461&T=6

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



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