Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationSun, 20 Dec 2009 10:02:26 -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/Dec/20/t126132861944yr56w7wi8ftve.htm/, Retrieved Sat, 27 Apr 2024 09:23:24 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=69952, Retrieved Sat, 27 Apr 2024 09:23:24 +0000
QR Codes:

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

Post a new message
Dataseries X:
5560	611
3922	594
3759	595
4138	591
4634	589
3996	584
4308	573
4143	567
4429	569
5219	621
4929	629
5755	628
5592	612
4163	595
4962	597
5208	593
4755	590
4491	580
5732	574
5731	573
5040	573
6102	620
4904	626
5369	620
5578	588
4619	566
4731	557
5011	561
5299	549
4146	532
4625	526
4736	511
4219	499
5116	555
4205	565
4121	542
5103	527
4300	510
4578	514
3809	517
5526	508
4247	493
3830	490
4394	469
4826	478
4409	528
4569	534
4106	518
4794	506
3914	502
3793	516
4405	528
4022	533
4100	536
4788	537
3163	524
3585	536
3903	
4178	
3863	
4187	




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69952&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] = + 5545.45096713486 -0.178613936386478X[t] + 43.6242818380755M1[t] -931.523238964048M2[t] -737.34522798693M3[t] -574.60293979709M4[t] -229.603780800123M5[t] -869.626245910535M6[t] -397.169978062677M7[t] -609.621116620415M8[t] -610.078828430576M9[t] + 70.0960717549703M10[t] -371.561402011425M11[t] -12.7493375297899t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  5545.45096713486 -0.178613936386478X[t] +  43.6242818380755M1[t] -931.523238964048M2[t] -737.34522798693M3[t] -574.60293979709M4[t] -229.603780800123M5[t] -869.626245910535M6[t] -397.169978062677M7[t] -609.621116620415M8[t] -610.078828430576M9[t] +  70.0960717549703M10[t] -371.561402011425M11[t] -12.7493375297899t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69952&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  5545.45096713486 -0.178613936386478X[t] +  43.6242818380755M1[t] -931.523238964048M2[t] -737.34522798693M3[t] -574.60293979709M4[t] -229.603780800123M5[t] -869.626245910535M6[t] -397.169978062677M7[t] -609.621116620415M8[t] -610.078828430576M9[t] +  70.0960717549703M10[t] -371.561402011425M11[t] -12.7493375297899t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69952&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69952&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] = + 5545.45096713486 -0.178613936386478X[t] + 43.6242818380755M1[t] -931.523238964048M2[t] -737.34522798693M3[t] -574.60293979709M4[t] -229.603780800123M5[t] -869.626245910535M6[t] -397.169978062677M7[t] -609.621116620415M8[t] -610.078828430576M9[t] + 70.0960717549703M10[t] -371.561402011425M11[t] -12.7493375297899t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)5545.45096713486299.69681318.503500
X-0.1786139363864780.128893-1.38570.1723640.086182
M143.6242818380755346.624690.12590.9003840.450192
M2-931.523238964048363.852446-2.56020.0137360.006868
M3-737.34522798693363.376425-2.02910.0481280.024064
M4-574.60293979709362.949809-1.58310.1200950.060047
M5-229.603780800123362.564867-0.63330.5296230.264811
M6-869.626245910535362.233019-2.40070.0203730.010186
M7-397.169978062677361.961702-1.09730.2781130.139057
M8-609.621116620415361.752756-1.68520.0985820.049291
M9-610.078828430576361.587572-1.68720.0981870.049094
M1070.0960717549703373.5694040.18760.8519680.425984
M11-371.561402011425373.494856-0.99480.3249170.162458
t-12.74933752978994.337665-2.93920.0050880.002544

\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) & 5545.45096713486 & 299.696813 & 18.5035 & 0 & 0 \tabularnewline
X & -0.178613936386478 & 0.128893 & -1.3857 & 0.172364 & 0.086182 \tabularnewline
M1 & 43.6242818380755 & 346.62469 & 0.1259 & 0.900384 & 0.450192 \tabularnewline
M2 & -931.523238964048 & 363.852446 & -2.5602 & 0.013736 & 0.006868 \tabularnewline
M3 & -737.34522798693 & 363.376425 & -2.0291 & 0.048128 & 0.024064 \tabularnewline
M4 & -574.60293979709 & 362.949809 & -1.5831 & 0.120095 & 0.060047 \tabularnewline
M5 & -229.603780800123 & 362.564867 & -0.6333 & 0.529623 & 0.264811 \tabularnewline
M6 & -869.626245910535 & 362.233019 & -2.4007 & 0.020373 & 0.010186 \tabularnewline
M7 & -397.169978062677 & 361.961702 & -1.0973 & 0.278113 & 0.139057 \tabularnewline
M8 & -609.621116620415 & 361.752756 & -1.6852 & 0.098582 & 0.049291 \tabularnewline
M9 & -610.078828430576 & 361.587572 & -1.6872 & 0.098187 & 0.049094 \tabularnewline
M10 & 70.0960717549703 & 373.569404 & 0.1876 & 0.851968 & 0.425984 \tabularnewline
M11 & -371.561402011425 & 373.494856 & -0.9948 & 0.324917 & 0.162458 \tabularnewline
t & -12.7493375297899 & 4.337665 & -2.9392 & 0.005088 & 0.002544 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69952&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]5545.45096713486[/C][C]299.696813[/C][C]18.5035[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]X[/C][C]-0.178613936386478[/C][C]0.128893[/C][C]-1.3857[/C][C]0.172364[/C][C]0.086182[/C][/ROW]
[ROW][C]M1[/C][C]43.6242818380755[/C][C]346.62469[/C][C]0.1259[/C][C]0.900384[/C][C]0.450192[/C][/ROW]
[ROW][C]M2[/C][C]-931.523238964048[/C][C]363.852446[/C][C]-2.5602[/C][C]0.013736[/C][C]0.006868[/C][/ROW]
[ROW][C]M3[/C][C]-737.34522798693[/C][C]363.376425[/C][C]-2.0291[/C][C]0.048128[/C][C]0.024064[/C][/ROW]
[ROW][C]M4[/C][C]-574.60293979709[/C][C]362.949809[/C][C]-1.5831[/C][C]0.120095[/C][C]0.060047[/C][/ROW]
[ROW][C]M5[/C][C]-229.603780800123[/C][C]362.564867[/C][C]-0.6333[/C][C]0.529623[/C][C]0.264811[/C][/ROW]
[ROW][C]M6[/C][C]-869.626245910535[/C][C]362.233019[/C][C]-2.4007[/C][C]0.020373[/C][C]0.010186[/C][/ROW]
[ROW][C]M7[/C][C]-397.169978062677[/C][C]361.961702[/C][C]-1.0973[/C][C]0.278113[/C][C]0.139057[/C][/ROW]
[ROW][C]M8[/C][C]-609.621116620415[/C][C]361.752756[/C][C]-1.6852[/C][C]0.098582[/C][C]0.049291[/C][/ROW]
[ROW][C]M9[/C][C]-610.078828430576[/C][C]361.587572[/C][C]-1.6872[/C][C]0.098187[/C][C]0.049094[/C][/ROW]
[ROW][C]M10[/C][C]70.0960717549703[/C][C]373.569404[/C][C]0.1876[/C][C]0.851968[/C][C]0.425984[/C][/ROW]
[ROW][C]M11[/C][C]-371.561402011425[/C][C]373.494856[/C][C]-0.9948[/C][C]0.324917[/C][C]0.162458[/C][/ROW]
[ROW][C]t[/C][C]-12.7493375297899[/C][C]4.337665[/C][C]-2.9392[/C][C]0.005088[/C][C]0.002544[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69952&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69952&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)5545.45096713486299.69681318.503500
X-0.1786139363864780.128893-1.38570.1723640.086182
M143.6242818380755346.624690.12590.9003840.450192
M2-931.523238964048363.852446-2.56020.0137360.006868
M3-737.34522798693363.376425-2.02910.0481280.024064
M4-574.60293979709362.949809-1.58310.1200950.060047
M5-229.603780800123362.564867-0.63330.5296230.264811
M6-869.626245910535362.233019-2.40070.0203730.010186
M7-397.169978062677361.961702-1.09730.2781130.139057
M8-609.621116620415361.752756-1.68520.0985820.049291
M9-610.078828430576361.587572-1.68720.0981870.049094
M1070.0960717549703373.5694040.18760.8519680.425984
M11-371.561402011425373.494856-0.99480.3249170.162458
t-12.74933752978994.337665-2.93920.0050880.002544







Multiple Linear Regression - Regression Statistics
Multiple R0.623840267592213
R-squared0.389176679469524
Adjusted R-squared0.220225548258967
F-TEST (value)2.30348667499899
F-TEST (DF numerator)13
F-TEST (DF denominator)47
p-value0.0186249399858107
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation571.339391925744
Sum Squared Residuals15342148.9360057

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.623840267592213 \tabularnewline
R-squared & 0.389176679469524 \tabularnewline
Adjusted R-squared & 0.220225548258967 \tabularnewline
F-TEST (value) & 2.30348667499899 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 0.0186249399858107 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 571.339391925744 \tabularnewline
Sum Squared Residuals & 15342148.9360057 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69952&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.623840267592213[/C][/ROW]
[ROW][C]R-squared[/C][C]0.389176679469524[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.220225548258967[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]2.30348667499899[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]47[/C][/ROW]
[ROW][C]p-value[/C][C]0.0186249399858107[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]571.339391925744[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]15342148.9360057[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69952&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69952&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.623840267592213
R-squared0.389176679469524
Adjusted R-squared0.220225548258967
F-TEST (value)2.30348667499899
F-TEST (DF numerator)13
F-TEST (DF denominator)47
p-value0.0186249399858107
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation571.339391925744
Sum Squared Residuals15342148.9360057







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
155605467.1927963110292.8072036889818
239224482.33237489767-560.332374897667
337594663.58243440861-904.582434408608
441384814.2898408142-676.289840814204
546345146.89689015415-512.896890154154
639964495.01815719588-499.018157195885
743084956.6898408142-648.689840814204
841434732.56104834499-589.561048344993
944294718.99677113227-289.996771132271
1052195377.13440909593-158.134409095932
1149294921.298686308657.701313691347
1257555280.28936472668474.710635273324
1355925314.02213201714277.977867982856
1441634329.1617106038-166.161710603801
1549624510.23315617836451.766843821644
1652084660.94056258395547.059437416048
1747554993.72622586029-238.726225860288
1844914342.74056258395148.259437416048
1957324803.51917652034928.480823479661
2057314578.497314369201152.50268563080
2150404565.29026502925474.709734970753
2261025224.32097267484877.679027325162
2349044768.84247776033135.157522239666
2453695128.72622586029240.273774139712
2555785165.31681613294412.683183867059
2646194181.34946440153437.65053559847
2747314364.38566327634366.614336723664
2850114513.66415819084497.33584180916
2952994848.05734689465450.942653105345
3041464198.32198117302-52.3219811730241
3146254659.10059510941-34.1005951094108
3247364436.57932806768299.420671932320
3342194425.51564596437-206.515645964367
3451165082.9388281824833.0611718175198
3542054626.74587752243-421.74587752243
3641214989.66606254095-868.666062540955
3751035023.2202158950479.7797841049627
3843004038.35979448169261.640205518306
3945784219.07401218348358.925987816524
4038094368.53112103437-559.531121034367
4155264702.38846792902823.611532070978
4242474052.29587433462194.704125665382
4338304512.53864646185-682.538646461845
4443944291.08906303843102.910936961568
4548264276.27448827100549.725511728995
4644094934.76935410744-525.769354107436
4745694479.2908591929389.7091408070676
4841064840.96074665675-734.960746656751
4947944873.97905820167-79.9790582016743
5039143886.7966556153127.2033443846928
5137934065.72473395322-272.724733953224
5244054213.57431737664191.425682623363
5340224544.93106916188-522.931069161881
5441003891.62342471252208.376575287479
5547884351.1517410942436.848258905798
5631634128.2732461797-965.273246179697
5735854112.92282960311-527.92282960311
5839034129.83643593931-226.836435939314
5938633673.82209921565189.177900784350
6055604671.35760021533888.64239978467
6139224705.26898144219-783.268981442186

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 5560 & 5467.19279631102 & 92.8072036889818 \tabularnewline
2 & 3922 & 4482.33237489767 & -560.332374897667 \tabularnewline
3 & 3759 & 4663.58243440861 & -904.582434408608 \tabularnewline
4 & 4138 & 4814.2898408142 & -676.289840814204 \tabularnewline
5 & 4634 & 5146.89689015415 & -512.896890154154 \tabularnewline
6 & 3996 & 4495.01815719588 & -499.018157195885 \tabularnewline
7 & 4308 & 4956.6898408142 & -648.689840814204 \tabularnewline
8 & 4143 & 4732.56104834499 & -589.561048344993 \tabularnewline
9 & 4429 & 4718.99677113227 & -289.996771132271 \tabularnewline
10 & 5219 & 5377.13440909593 & -158.134409095932 \tabularnewline
11 & 4929 & 4921.29868630865 & 7.701313691347 \tabularnewline
12 & 5755 & 5280.28936472668 & 474.710635273324 \tabularnewline
13 & 5592 & 5314.02213201714 & 277.977867982856 \tabularnewline
14 & 4163 & 4329.1617106038 & -166.161710603801 \tabularnewline
15 & 4962 & 4510.23315617836 & 451.766843821644 \tabularnewline
16 & 5208 & 4660.94056258395 & 547.059437416048 \tabularnewline
17 & 4755 & 4993.72622586029 & -238.726225860288 \tabularnewline
18 & 4491 & 4342.74056258395 & 148.259437416048 \tabularnewline
19 & 5732 & 4803.51917652034 & 928.480823479661 \tabularnewline
20 & 5731 & 4578.49731436920 & 1152.50268563080 \tabularnewline
21 & 5040 & 4565.29026502925 & 474.709734970753 \tabularnewline
22 & 6102 & 5224.32097267484 & 877.679027325162 \tabularnewline
23 & 4904 & 4768.84247776033 & 135.157522239666 \tabularnewline
24 & 5369 & 5128.72622586029 & 240.273774139712 \tabularnewline
25 & 5578 & 5165.31681613294 & 412.683183867059 \tabularnewline
26 & 4619 & 4181.34946440153 & 437.65053559847 \tabularnewline
27 & 4731 & 4364.38566327634 & 366.614336723664 \tabularnewline
28 & 5011 & 4513.66415819084 & 497.33584180916 \tabularnewline
29 & 5299 & 4848.05734689465 & 450.942653105345 \tabularnewline
30 & 4146 & 4198.32198117302 & -52.3219811730241 \tabularnewline
31 & 4625 & 4659.10059510941 & -34.1005951094108 \tabularnewline
32 & 4736 & 4436.57932806768 & 299.420671932320 \tabularnewline
33 & 4219 & 4425.51564596437 & -206.515645964367 \tabularnewline
34 & 5116 & 5082.93882818248 & 33.0611718175198 \tabularnewline
35 & 4205 & 4626.74587752243 & -421.74587752243 \tabularnewline
36 & 4121 & 4989.66606254095 & -868.666062540955 \tabularnewline
37 & 5103 & 5023.22021589504 & 79.7797841049627 \tabularnewline
38 & 4300 & 4038.35979448169 & 261.640205518306 \tabularnewline
39 & 4578 & 4219.07401218348 & 358.925987816524 \tabularnewline
40 & 3809 & 4368.53112103437 & -559.531121034367 \tabularnewline
41 & 5526 & 4702.38846792902 & 823.611532070978 \tabularnewline
42 & 4247 & 4052.29587433462 & 194.704125665382 \tabularnewline
43 & 3830 & 4512.53864646185 & -682.538646461845 \tabularnewline
44 & 4394 & 4291.08906303843 & 102.910936961568 \tabularnewline
45 & 4826 & 4276.27448827100 & 549.725511728995 \tabularnewline
46 & 4409 & 4934.76935410744 & -525.769354107436 \tabularnewline
47 & 4569 & 4479.29085919293 & 89.7091408070676 \tabularnewline
48 & 4106 & 4840.96074665675 & -734.960746656751 \tabularnewline
49 & 4794 & 4873.97905820167 & -79.9790582016743 \tabularnewline
50 & 3914 & 3886.79665561531 & 27.2033443846928 \tabularnewline
51 & 3793 & 4065.72473395322 & -272.724733953224 \tabularnewline
52 & 4405 & 4213.57431737664 & 191.425682623363 \tabularnewline
53 & 4022 & 4544.93106916188 & -522.931069161881 \tabularnewline
54 & 4100 & 3891.62342471252 & 208.376575287479 \tabularnewline
55 & 4788 & 4351.1517410942 & 436.848258905798 \tabularnewline
56 & 3163 & 4128.2732461797 & -965.273246179697 \tabularnewline
57 & 3585 & 4112.92282960311 & -527.92282960311 \tabularnewline
58 & 3903 & 4129.83643593931 & -226.836435939314 \tabularnewline
59 & 3863 & 3673.82209921565 & 189.177900784350 \tabularnewline
60 & 5560 & 4671.35760021533 & 888.64239978467 \tabularnewline
61 & 3922 & 4705.26898144219 & -783.268981442186 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69952&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]5560[/C][C]5467.19279631102[/C][C]92.8072036889818[/C][/ROW]
[ROW][C]2[/C][C]3922[/C][C]4482.33237489767[/C][C]-560.332374897667[/C][/ROW]
[ROW][C]3[/C][C]3759[/C][C]4663.58243440861[/C][C]-904.582434408608[/C][/ROW]
[ROW][C]4[/C][C]4138[/C][C]4814.2898408142[/C][C]-676.289840814204[/C][/ROW]
[ROW][C]5[/C][C]4634[/C][C]5146.89689015415[/C][C]-512.896890154154[/C][/ROW]
[ROW][C]6[/C][C]3996[/C][C]4495.01815719588[/C][C]-499.018157195885[/C][/ROW]
[ROW][C]7[/C][C]4308[/C][C]4956.6898408142[/C][C]-648.689840814204[/C][/ROW]
[ROW][C]8[/C][C]4143[/C][C]4732.56104834499[/C][C]-589.561048344993[/C][/ROW]
[ROW][C]9[/C][C]4429[/C][C]4718.99677113227[/C][C]-289.996771132271[/C][/ROW]
[ROW][C]10[/C][C]5219[/C][C]5377.13440909593[/C][C]-158.134409095932[/C][/ROW]
[ROW][C]11[/C][C]4929[/C][C]4921.29868630865[/C][C]7.701313691347[/C][/ROW]
[ROW][C]12[/C][C]5755[/C][C]5280.28936472668[/C][C]474.710635273324[/C][/ROW]
[ROW][C]13[/C][C]5592[/C][C]5314.02213201714[/C][C]277.977867982856[/C][/ROW]
[ROW][C]14[/C][C]4163[/C][C]4329.1617106038[/C][C]-166.161710603801[/C][/ROW]
[ROW][C]15[/C][C]4962[/C][C]4510.23315617836[/C][C]451.766843821644[/C][/ROW]
[ROW][C]16[/C][C]5208[/C][C]4660.94056258395[/C][C]547.059437416048[/C][/ROW]
[ROW][C]17[/C][C]4755[/C][C]4993.72622586029[/C][C]-238.726225860288[/C][/ROW]
[ROW][C]18[/C][C]4491[/C][C]4342.74056258395[/C][C]148.259437416048[/C][/ROW]
[ROW][C]19[/C][C]5732[/C][C]4803.51917652034[/C][C]928.480823479661[/C][/ROW]
[ROW][C]20[/C][C]5731[/C][C]4578.49731436920[/C][C]1152.50268563080[/C][/ROW]
[ROW][C]21[/C][C]5040[/C][C]4565.29026502925[/C][C]474.709734970753[/C][/ROW]
[ROW][C]22[/C][C]6102[/C][C]5224.32097267484[/C][C]877.679027325162[/C][/ROW]
[ROW][C]23[/C][C]4904[/C][C]4768.84247776033[/C][C]135.157522239666[/C][/ROW]
[ROW][C]24[/C][C]5369[/C][C]5128.72622586029[/C][C]240.273774139712[/C][/ROW]
[ROW][C]25[/C][C]5578[/C][C]5165.31681613294[/C][C]412.683183867059[/C][/ROW]
[ROW][C]26[/C][C]4619[/C][C]4181.34946440153[/C][C]437.65053559847[/C][/ROW]
[ROW][C]27[/C][C]4731[/C][C]4364.38566327634[/C][C]366.614336723664[/C][/ROW]
[ROW][C]28[/C][C]5011[/C][C]4513.66415819084[/C][C]497.33584180916[/C][/ROW]
[ROW][C]29[/C][C]5299[/C][C]4848.05734689465[/C][C]450.942653105345[/C][/ROW]
[ROW][C]30[/C][C]4146[/C][C]4198.32198117302[/C][C]-52.3219811730241[/C][/ROW]
[ROW][C]31[/C][C]4625[/C][C]4659.10059510941[/C][C]-34.1005951094108[/C][/ROW]
[ROW][C]32[/C][C]4736[/C][C]4436.57932806768[/C][C]299.420671932320[/C][/ROW]
[ROW][C]33[/C][C]4219[/C][C]4425.51564596437[/C][C]-206.515645964367[/C][/ROW]
[ROW][C]34[/C][C]5116[/C][C]5082.93882818248[/C][C]33.0611718175198[/C][/ROW]
[ROW][C]35[/C][C]4205[/C][C]4626.74587752243[/C][C]-421.74587752243[/C][/ROW]
[ROW][C]36[/C][C]4121[/C][C]4989.66606254095[/C][C]-868.666062540955[/C][/ROW]
[ROW][C]37[/C][C]5103[/C][C]5023.22021589504[/C][C]79.7797841049627[/C][/ROW]
[ROW][C]38[/C][C]4300[/C][C]4038.35979448169[/C][C]261.640205518306[/C][/ROW]
[ROW][C]39[/C][C]4578[/C][C]4219.07401218348[/C][C]358.925987816524[/C][/ROW]
[ROW][C]40[/C][C]3809[/C][C]4368.53112103437[/C][C]-559.531121034367[/C][/ROW]
[ROW][C]41[/C][C]5526[/C][C]4702.38846792902[/C][C]823.611532070978[/C][/ROW]
[ROW][C]42[/C][C]4247[/C][C]4052.29587433462[/C][C]194.704125665382[/C][/ROW]
[ROW][C]43[/C][C]3830[/C][C]4512.53864646185[/C][C]-682.538646461845[/C][/ROW]
[ROW][C]44[/C][C]4394[/C][C]4291.08906303843[/C][C]102.910936961568[/C][/ROW]
[ROW][C]45[/C][C]4826[/C][C]4276.27448827100[/C][C]549.725511728995[/C][/ROW]
[ROW][C]46[/C][C]4409[/C][C]4934.76935410744[/C][C]-525.769354107436[/C][/ROW]
[ROW][C]47[/C][C]4569[/C][C]4479.29085919293[/C][C]89.7091408070676[/C][/ROW]
[ROW][C]48[/C][C]4106[/C][C]4840.96074665675[/C][C]-734.960746656751[/C][/ROW]
[ROW][C]49[/C][C]4794[/C][C]4873.97905820167[/C][C]-79.9790582016743[/C][/ROW]
[ROW][C]50[/C][C]3914[/C][C]3886.79665561531[/C][C]27.2033443846928[/C][/ROW]
[ROW][C]51[/C][C]3793[/C][C]4065.72473395322[/C][C]-272.724733953224[/C][/ROW]
[ROW][C]52[/C][C]4405[/C][C]4213.57431737664[/C][C]191.425682623363[/C][/ROW]
[ROW][C]53[/C][C]4022[/C][C]4544.93106916188[/C][C]-522.931069161881[/C][/ROW]
[ROW][C]54[/C][C]4100[/C][C]3891.62342471252[/C][C]208.376575287479[/C][/ROW]
[ROW][C]55[/C][C]4788[/C][C]4351.1517410942[/C][C]436.848258905798[/C][/ROW]
[ROW][C]56[/C][C]3163[/C][C]4128.2732461797[/C][C]-965.273246179697[/C][/ROW]
[ROW][C]57[/C][C]3585[/C][C]4112.92282960311[/C][C]-527.92282960311[/C][/ROW]
[ROW][C]58[/C][C]3903[/C][C]4129.83643593931[/C][C]-226.836435939314[/C][/ROW]
[ROW][C]59[/C][C]3863[/C][C]3673.82209921565[/C][C]189.177900784350[/C][/ROW]
[ROW][C]60[/C][C]5560[/C][C]4671.35760021533[/C][C]888.64239978467[/C][/ROW]
[ROW][C]61[/C][C]3922[/C][C]4705.26898144219[/C][C]-783.268981442186[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69952&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69952&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
155605467.1927963110292.8072036889818
239224482.33237489767-560.332374897667
337594663.58243440861-904.582434408608
441384814.2898408142-676.289840814204
546345146.89689015415-512.896890154154
639964495.01815719588-499.018157195885
743084956.6898408142-648.689840814204
841434732.56104834499-589.561048344993
944294718.99677113227-289.996771132271
1052195377.13440909593-158.134409095932
1149294921.298686308657.701313691347
1257555280.28936472668474.710635273324
1355925314.02213201714277.977867982856
1441634329.1617106038-166.161710603801
1549624510.23315617836451.766843821644
1652084660.94056258395547.059437416048
1747554993.72622586029-238.726225860288
1844914342.74056258395148.259437416048
1957324803.51917652034928.480823479661
2057314578.497314369201152.50268563080
2150404565.29026502925474.709734970753
2261025224.32097267484877.679027325162
2349044768.84247776033135.157522239666
2453695128.72622586029240.273774139712
2555785165.31681613294412.683183867059
2646194181.34946440153437.65053559847
2747314364.38566327634366.614336723664
2850114513.66415819084497.33584180916
2952994848.05734689465450.942653105345
3041464198.32198117302-52.3219811730241
3146254659.10059510941-34.1005951094108
3247364436.57932806768299.420671932320
3342194425.51564596437-206.515645964367
3451165082.9388281824833.0611718175198
3542054626.74587752243-421.74587752243
3641214989.66606254095-868.666062540955
3751035023.2202158950479.7797841049627
3843004038.35979448169261.640205518306
3945784219.07401218348358.925987816524
4038094368.53112103437-559.531121034367
4155264702.38846792902823.611532070978
4242474052.29587433462194.704125665382
4338304512.53864646185-682.538646461845
4443944291.08906303843102.910936961568
4548264276.27448827100549.725511728995
4644094934.76935410744-525.769354107436
4745694479.2908591929389.7091408070676
4841064840.96074665675-734.960746656751
4947944873.97905820167-79.9790582016743
5039143886.7966556153127.2033443846928
5137934065.72473395322-272.724733953224
5244054213.57431737664191.425682623363
5340224544.93106916188-522.931069161881
5441003891.62342471252208.376575287479
5547884351.1517410942436.848258905798
5631634128.2732461797-965.273246179697
5735854112.92282960311-527.92282960311
5839034129.83643593931-226.836435939314
5938633673.82209921565189.177900784350
6055604671.35760021533888.64239978467
6139224705.26898144219-783.268981442186







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.003523933396206390.007047866792412790.996476066603794
180.2792011085258880.5584022170517750.720798891474112
190.329425242478940.658850484957880.67057475752106
200.2729344008689300.5458688017378590.72706559913107
210.2080339870627360.4160679741254720.791966012937264
220.1767427392488490.3534854784976980.823257260751151
230.1245015514209670.2490031028419340.875498448579033
240.07476545375457070.1495309075091410.92523454624543
250.1002636930785610.2005273861571220.899736306921439
260.1213446193197450.242689238639490.878655380680255
270.09431508693195660.1886301738639130.905684913068043
280.06462690686864420.1292538137372880.935373093131356
290.04960151877719720.09920303755439440.950398481222803
300.03037582449309270.06075164898618550.969624175506907
310.02031433506958380.04062867013916770.979685664930416
320.01360876446628090.02721752893256180.986391235533719
330.007165311175387350.01433062235077470.992834688824613
340.004202816292860020.008405632585720040.99579718370714
350.002660778960859970.005321557921719930.99733922103914
360.004967866639148130.009935733278296250.995032133360852
370.002395523730878410.004791047461756810.997604476269122
380.001608253144553890.003216506289107780.998391746855446
390.0009658850604870310.001931770120974060.999034114939513
400.002026596725657130.004053193451314260.997973403274343
410.006686390662150630.01337278132430130.99331360933785
420.003073491054991550.006146982109983090.996926508945008
430.01018516423498020.02037032846996040.98981483576502
440.008192304296000750.01638460859200150.991807695704

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
17 & 0.00352393339620639 & 0.00704786679241279 & 0.996476066603794 \tabularnewline
18 & 0.279201108525888 & 0.558402217051775 & 0.720798891474112 \tabularnewline
19 & 0.32942524247894 & 0.65885048495788 & 0.67057475752106 \tabularnewline
20 & 0.272934400868930 & 0.545868801737859 & 0.72706559913107 \tabularnewline
21 & 0.208033987062736 & 0.416067974125472 & 0.791966012937264 \tabularnewline
22 & 0.176742739248849 & 0.353485478497698 & 0.823257260751151 \tabularnewline
23 & 0.124501551420967 & 0.249003102841934 & 0.875498448579033 \tabularnewline
24 & 0.0747654537545707 & 0.149530907509141 & 0.92523454624543 \tabularnewline
25 & 0.100263693078561 & 0.200527386157122 & 0.899736306921439 \tabularnewline
26 & 0.121344619319745 & 0.24268923863949 & 0.878655380680255 \tabularnewline
27 & 0.0943150869319566 & 0.188630173863913 & 0.905684913068043 \tabularnewline
28 & 0.0646269068686442 & 0.129253813737288 & 0.935373093131356 \tabularnewline
29 & 0.0496015187771972 & 0.0992030375543944 & 0.950398481222803 \tabularnewline
30 & 0.0303758244930927 & 0.0607516489861855 & 0.969624175506907 \tabularnewline
31 & 0.0203143350695838 & 0.0406286701391677 & 0.979685664930416 \tabularnewline
32 & 0.0136087644662809 & 0.0272175289325618 & 0.986391235533719 \tabularnewline
33 & 0.00716531117538735 & 0.0143306223507747 & 0.992834688824613 \tabularnewline
34 & 0.00420281629286002 & 0.00840563258572004 & 0.99579718370714 \tabularnewline
35 & 0.00266077896085997 & 0.00532155792171993 & 0.99733922103914 \tabularnewline
36 & 0.00496786663914813 & 0.00993573327829625 & 0.995032133360852 \tabularnewline
37 & 0.00239552373087841 & 0.00479104746175681 & 0.997604476269122 \tabularnewline
38 & 0.00160825314455389 & 0.00321650628910778 & 0.998391746855446 \tabularnewline
39 & 0.000965885060487031 & 0.00193177012097406 & 0.999034114939513 \tabularnewline
40 & 0.00202659672565713 & 0.00405319345131426 & 0.997973403274343 \tabularnewline
41 & 0.00668639066215063 & 0.0133727813243013 & 0.99331360933785 \tabularnewline
42 & 0.00307349105499155 & 0.00614698210998309 & 0.996926508945008 \tabularnewline
43 & 0.0101851642349802 & 0.0203703284699604 & 0.98981483576502 \tabularnewline
44 & 0.00819230429600075 & 0.0163846085920015 & 0.991807695704 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69952&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]17[/C][C]0.00352393339620639[/C][C]0.00704786679241279[/C][C]0.996476066603794[/C][/ROW]
[ROW][C]18[/C][C]0.279201108525888[/C][C]0.558402217051775[/C][C]0.720798891474112[/C][/ROW]
[ROW][C]19[/C][C]0.32942524247894[/C][C]0.65885048495788[/C][C]0.67057475752106[/C][/ROW]
[ROW][C]20[/C][C]0.272934400868930[/C][C]0.545868801737859[/C][C]0.72706559913107[/C][/ROW]
[ROW][C]21[/C][C]0.208033987062736[/C][C]0.416067974125472[/C][C]0.791966012937264[/C][/ROW]
[ROW][C]22[/C][C]0.176742739248849[/C][C]0.353485478497698[/C][C]0.823257260751151[/C][/ROW]
[ROW][C]23[/C][C]0.124501551420967[/C][C]0.249003102841934[/C][C]0.875498448579033[/C][/ROW]
[ROW][C]24[/C][C]0.0747654537545707[/C][C]0.149530907509141[/C][C]0.92523454624543[/C][/ROW]
[ROW][C]25[/C][C]0.100263693078561[/C][C]0.200527386157122[/C][C]0.899736306921439[/C][/ROW]
[ROW][C]26[/C][C]0.121344619319745[/C][C]0.24268923863949[/C][C]0.878655380680255[/C][/ROW]
[ROW][C]27[/C][C]0.0943150869319566[/C][C]0.188630173863913[/C][C]0.905684913068043[/C][/ROW]
[ROW][C]28[/C][C]0.0646269068686442[/C][C]0.129253813737288[/C][C]0.935373093131356[/C][/ROW]
[ROW][C]29[/C][C]0.0496015187771972[/C][C]0.0992030375543944[/C][C]0.950398481222803[/C][/ROW]
[ROW][C]30[/C][C]0.0303758244930927[/C][C]0.0607516489861855[/C][C]0.969624175506907[/C][/ROW]
[ROW][C]31[/C][C]0.0203143350695838[/C][C]0.0406286701391677[/C][C]0.979685664930416[/C][/ROW]
[ROW][C]32[/C][C]0.0136087644662809[/C][C]0.0272175289325618[/C][C]0.986391235533719[/C][/ROW]
[ROW][C]33[/C][C]0.00716531117538735[/C][C]0.0143306223507747[/C][C]0.992834688824613[/C][/ROW]
[ROW][C]34[/C][C]0.00420281629286002[/C][C]0.00840563258572004[/C][C]0.99579718370714[/C][/ROW]
[ROW][C]35[/C][C]0.00266077896085997[/C][C]0.00532155792171993[/C][C]0.99733922103914[/C][/ROW]
[ROW][C]36[/C][C]0.00496786663914813[/C][C]0.00993573327829625[/C][C]0.995032133360852[/C][/ROW]
[ROW][C]37[/C][C]0.00239552373087841[/C][C]0.00479104746175681[/C][C]0.997604476269122[/C][/ROW]
[ROW][C]38[/C][C]0.00160825314455389[/C][C]0.00321650628910778[/C][C]0.998391746855446[/C][/ROW]
[ROW][C]39[/C][C]0.000965885060487031[/C][C]0.00193177012097406[/C][C]0.999034114939513[/C][/ROW]
[ROW][C]40[/C][C]0.00202659672565713[/C][C]0.00405319345131426[/C][C]0.997973403274343[/C][/ROW]
[ROW][C]41[/C][C]0.00668639066215063[/C][C]0.0133727813243013[/C][C]0.99331360933785[/C][/ROW]
[ROW][C]42[/C][C]0.00307349105499155[/C][C]0.00614698210998309[/C][C]0.996926508945008[/C][/ROW]
[ROW][C]43[/C][C]0.0101851642349802[/C][C]0.0203703284699604[/C][C]0.98981483576502[/C][/ROW]
[ROW][C]44[/C][C]0.00819230429600075[/C][C]0.0163846085920015[/C][C]0.991807695704[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69952&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69952&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
170.003523933396206390.007047866792412790.996476066603794
180.2792011085258880.5584022170517750.720798891474112
190.329425242478940.658850484957880.67057475752106
200.2729344008689300.5458688017378590.72706559913107
210.2080339870627360.4160679741254720.791966012937264
220.1767427392488490.3534854784976980.823257260751151
230.1245015514209670.2490031028419340.875498448579033
240.07476545375457070.1495309075091410.92523454624543
250.1002636930785610.2005273861571220.899736306921439
260.1213446193197450.242689238639490.878655380680255
270.09431508693195660.1886301738639130.905684913068043
280.06462690686864420.1292538137372880.935373093131356
290.04960151877719720.09920303755439440.950398481222803
300.03037582449309270.06075164898618550.969624175506907
310.02031433506958380.04062867013916770.979685664930416
320.01360876446628090.02721752893256180.986391235533719
330.007165311175387350.01433062235077470.992834688824613
340.004202816292860020.008405632585720040.99579718370714
350.002660778960859970.005321557921719930.99733922103914
360.004967866639148130.009935733278296250.995032133360852
370.002395523730878410.004791047461756810.997604476269122
380.001608253144553890.003216506289107780.998391746855446
390.0009658850604870310.001931770120974060.999034114939513
400.002026596725657130.004053193451314260.997973403274343
410.006686390662150630.01337278132430130.99331360933785
420.003073491054991550.006146982109983090.996926508945008
430.01018516423498020.02037032846996040.98981483576502
440.008192304296000750.01638460859200150.991807695704







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level90.321428571428571NOK
5% type I error level150.535714285714286NOK
10% type I error level170.607142857142857NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69952&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 level90.321428571428571NOK
5% type I error level150.535714285714286NOK
10% type I error level170.607142857142857NOK



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