Home » date » 2010 » Dec » 02 »

*The author of this computation has been verified*
R Software Module: /rwasp_multipleregression.wasp (opens new window with default values)
Title produced by software: Multiple Regression
Date of computation: Thu, 02 Dec 2010 16:13:35 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Dec/02/t1291306342vssbvjeydb3rs6d.htm/, Retrieved Thu, 02 Dec 2010 17:12:37 +0100
 
BibTeX entries for LaTeX users:
@Manual{KEY,
    author = {{YOUR NAME}},
    publisher = {Office for Research Development and Education},
    title = {Statistical Computations at FreeStatistics.org, URL http://www.freestatistics.org/blog/date/2010/Dec/02/t1291306342vssbvjeydb3rs6d.htm/},
    year = {2010},
}
@Manual{R,
    title = {R: A Language and Environment for Statistical Computing},
    author = {{R Development Core Team}},
    organization = {R Foundation for Statistical Computing},
    address = {Vienna, Austria},
    year = {2010},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
1 162556 1081 213118 6282929 1 29790 309 81767 4324047 1 87550 458 153198 4108272 0 84738 588 -26007 -1212617 1 54660 299 126942 1485329 1 42634 156 157214 1779876 0 40949 481 129352 1367203 1 42312 323 234817 2519076 1 37704 452 60448 912684 1 16275 109 47818 1443586 0 25830 115 245546 1220017 0 12679 110 48020 984885 1 18014 239 -1710 1457425 0 43556 247 32648 -572920 1 24524 497 95350 929144 0 6532 103 151352 1151176 0 7123 109 288170 790090 1 20813 502 114337 774497 1 37597 248 37884 990576 0 17821 373 122844 454195 1 12988 119 82340 876607 1 22330 84 79801 711969 0 13326 102 165548 702380 0 16189 295 116384 264449 0 7146 105 134028 450033 0 15824 64 63838 541063 1 26088 267 74996 588864 0 11326 129 31080 -37216 0 8568 37 32168 783310 0 14416 361 49857 467359 1 3369 28 87161 688779 1 11819 85 106113 608419 1 6620 44 80570 696348 1 4519 49 102129 597793 0 2220 22 301670 821730 0 18562 155 102313 377934 0 10327 91 88577 651939 1 5336 81 112477 697458 1 2365 79 191778 70 etc...
 
Output produced by software:

Enter (or paste) a matrix (table) containing all data (time) series. Every column represents a different variable and must be delimited by a space or Tab. Every row represents a period in time (or category) and must be delimited by hard returns. The easiest way to enter data is to copy and paste a block of spreadsheet cells. Please, do not use commas or spaces to seperate groups of digits!


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time29 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135
R Framework
error message
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.


Multiple Linear Regression - Estimated Regression Equation
Group[t] = + 0.0761928261752459 + 7.32009843802612e-07Costs[t] + 0.0001518049473316Trades[t] + 8.28576137963525e-07Dividends[t] + 1.68976894851889e-07`Wealth `[t] -0.0244610052209563M1[t] + 0.0377799205961304M2[t] + 0.102111416123679M3[t] + 0.200028069046625M4[t] + 0.0592382954538094M5[t] + 0.0911585426152266M6[t] + 0.0702732756616937M7[t] + 0.0572242088453046M8[t] -0.00739757344270558M9[t] + 0.183110754289409M10[t] + 0.0121927684361800M11[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)0.07619282617524590.0871430.87430.3824380.191219
Costs7.32009843802612e-073e-060.2150.829860.41493
Trades0.00015180494733160.0003080.49350.6219120.310956
Dividends8.28576137963525e-071e-061.08590.2781410.139071
`Wealth `1.68976894851889e-0702.3650.0184870.009243
M1-0.02446100522095630.104844-0.23330.8156370.407819
M20.03777992059613040.1042970.36220.7173610.35868
M30.1021114161236790.1044710.97740.3289360.164468
M40.2000280690466250.1046641.91120.0566740.028337
M50.05923829545380940.1046640.5660.5717090.285855
M60.09115854261522660.1044930.87240.38350.19175
M70.07027327566169370.1042670.6740.5007050.250352
M80.05722420884530460.104640.54690.5847650.292382
M9-0.007397573442705580.104262-0.0710.943470.471735
M100.1831107542894090.1044851.75250.0804260.040213
M110.01219276843618000.1051030.1160.9077030.453851


Multiple Linear Regression - Regression Statistics
Multiple R0.275541529327050
R-squared0.0759231343838893
Adjusted R-squared0.0425227657471624
F-TEST (value)2.27312264752685
F-TEST (DF numerator)15
F-TEST (DF denominator)415
p-value0.0042973313924235
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.439098732002138
Sum Squared Residuals80.0151940250423


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
111.57307988355429-0.573079883554292
210.9811012690702110.0188987309297888
311.13305762295241-0.133057622952406
400.201058219472366-0.201058219472366
510.5769998533022840.423000146697716
610.6532631369100830.346736863089917
700.587663050767355-0.587663050767355
810.8336522368837330.166347763116267
910.3693190667657760.630680933234224
1010.5713173134284820.428682686571518
1100.534359218518887-0.534359218518887
1200.308383558422506-0.308383558422506
1310.34605391447640.6539460855236
1400.113593100672637-0.113593100672637
1510.5077117132772280.492288286722772
1600.616567094637816-0.616567094637816
1700.529469707536083-0.529469707536083
1810.4844017812484390.515598218751561
1910.4104093378780370.589590662121963
2000.381619495650889-0.381619495650889
2110.3127186733816540.687281326618346
2210.4748284910890520.525171508910948
2300.369479576311417-0.369479576311417
2400.273944569106822-0.273944569106822
2500.259999864307775-0.259999864307775
2600.279593376323493-0.279593376323493
2710.3995771422943590.600422857705641
2800.323557979167653-0.323557979167653
2900.306334693734467-0.306334693734467
3000.35298880179697-0.35298880179697
3110.3417900429462210.658209957053779
3210.3457035330042540.654296466995746
3310.2647456777931470.735254322206853
3410.4556848326663180.544315167333682
3500.482160312652062-0.482160312652062
3600.261946383914723-0.261946383914723
3700.256660953243654-0.256660953243654
3810.3412249974310980.658775002568902
3910.469276720898710.53072327910129
4000.405521263313425-0.405521263313425
4100.430170499941631-0.430170499941631
4200.329711485968228-0.329711485968228
4300.346593149494830-0.346593149494830
4400.321672005247627-0.321672005247627
4500.203080047236755-0.203080047236755
4610.4067835240585020.593216475941498
4710.3753287083635230.624671291636477
4810.3253845776191790.674615422380821
4900.248359263728417-0.248359263728417
5000.219770858557562-0.219770858557562
5110.3818667322035330.618133267796467
5210.5001934325227990.499806567477201
5310.4027567090380270.597243290961973
5410.4058240561361070.594175943863893
5510.3592674045642620.640732595435738
5600.272240213759927-0.272240213759927
5700.200745487814247-0.200745487814247
5800.422970386483737-0.422970386483737
5900.250148538588515-0.250148538588515
6010.2394477815507380.760552218449262
6110.2244951414922640.775504858507736
6200.210206345750683-0.210206345750683
6310.3344869744337320.665513025566268
6410.4196418886263440.580358111373656
6500.259369936830786-0.259369936830786
6600.457064960328032-0.457064960328032
6700.265089697692440-0.265089697692440
6810.2951579253337620.704842074666238
6900.268836508548736-0.268836508548736
7010.4256695392406720.574330460759328
7110.1638699660524110.836130033947589
7200.183686176097319-0.183686176097319
7300.201697330736906-0.201697330736906
7400.237205586871848-0.237205586871848
7500.348828195968452-0.348828195968452
7610.3919918334902560.608008166509744
7700.300960245213906-0.300960245213906
7800.281293635612924-0.281293635612924
7900.28452155240641-0.28452155240641
8010.3285616543643700.67143834563563
8100.182714653978526-0.182714653978526
8210.4214045828599920.578595417140008
8300.283911747404069-0.283911747404069
8400.162620071479834-0.162620071479834
8500.209926146325070-0.209926146325070
8610.2426643840609150.757335615939085
8700.346263763902533-0.346263763902533
8800.430508485386799-0.430508485386799
8900.295670010341615-0.295670010341615
9000.323933697036232-0.323933697036232
9100.301329221243451-0.301329221243451
9210.2735494731462530.726450526853747
9300.210549435485673-0.210549435485673
9410.4430490450123270.556950954987673
9500.188296954927382-0.188296954927382
9610.1985195822211190.80148041777888
9700.225754690949577-0.225754690949577
9810.2648751102070320.735124889792968
9900.365064513815541-0.365064513815541
10010.3951856303341870.604814369665813
10110.2580573457036570.741942654296343
10200.295041757562565-0.295041757562565
10300.314608615265135-0.314608615265135
10400.299637865403317-0.299637865403317
10500.194756402009360-0.194756402009360
10600.36850926495064-0.36850926495064
10710.175370164423070.82462983557693
10810.2485700296638080.751429970336192
10900.203679648394412-0.203679648394412
11010.2259963278735930.774003672126407
11100.310970051641784-0.310970051641784
11210.3475105793350270.652489420664973
11300.253677359093255-0.253677359093255
11410.277962000651310.72203799934869
11510.2561961839999010.7438038160001
11600.247062766561850-0.247062766561850
11700.204916228643154-0.204916228643154
11800.414698496333458-0.414698496333458
11910.1921953672802980.807804632719702
12000.195218861801186-0.195218861801186
12100.235563113251363-0.235563113251363
12200.231645631824127-0.231645631824127
12300.335117130917774-0.335117130917774
12410.4530180817916530.546981918208347
12510.2423093848090310.757690615190969
12610.2731027872848890.726897212715111
12700.251789362822064-0.251789362822064
12800.239890657304252-0.239890657304252
12900.175776591044296-0.175776591044296
13000.364626841449779-0.364626841449779
13100.194880201756375-0.194880201756375
13200.196705520493874-0.196705520493874
13300.157055081939414-0.157055081939414
13400.219632320746623-0.219632320746623
13500.283627503284049-0.283627503284049
13600.383969660405907-0.383969660405907
13700.243010624028999-0.243010624028999
13800.272674629775598-0.272674629775598
13900.251789362822064-0.251789362822064
14000.238740296005676-0.238740296005676
14100.174538319222333-0.174538319222333
14200.364626841449779-0.364626841449779
14300.193488422407919-0.193488422407919
14400.18221384178506-0.18221384178506
14500.165323110996355-0.165323110996355
14600.217781576271967-0.217781576271967
14700.283627503284049-0.283627503284049
14800.382522388948895-0.382522388948895
14900.24075438261418-0.24075438261418
15000.273144462848675-0.273144462848675
15100.250698819021390-0.250698819021390
15200.251021209919965-0.251021209919965
15300.174118513717665-0.174118513717665
15400.361071297354882-0.361071297354882
15500.194356160695601-0.194356160695601
15600.181516087160371-0.181516087160371
15700.157055081939414-0.157055081939414
15800.220508075070435-0.220508075070435
15900.287628206880031-0.287628206880031
16000.381544156206995-0.381544156206995
16100.24075438261418-0.24075438261418
16200.272674629775598-0.272674629775598
16300.251789362822064-0.251789362822064
16400.244342880890293-0.244342880890293
16500.183916253707968-0.183916253707968
16600.364626841449779-0.364626841449779
16700.193708855596551-0.193708855596551
16800.183004126419483-0.183004126419483
16900.157055081939414-0.157055081939414
17000.219296007756501-0.219296007756501
17100.283627503284049-0.283627503284049
17200.382714490838292-0.382714490838292
17300.24075438261418-0.24075438261418
17400.275733658885015-0.275733658885015
17500.251789362822064-0.251789362822064
17600.240124656503502-0.240124656503502
17700.174118513717665-0.174118513717665
17810.3648929018156040.635107098184396
17900.193708855596551-0.193708855596551
18000.181516087160371-0.181516087160371
18100.182483303802434-0.182483303802434
18210.2343356370312510.765664362968749
18300.286877346556029-0.286877346556029
18410.3891109969621850.610889003037815
18510.2437227019012340.756277298098766
18610.2752295401281020.724770459871898
18710.263356049579680.73664395042032
18800.241191451490327-0.241191451490327
18900.176080833171319-0.176080833171319
19000.364626841449779-0.364626841449779
19100.194484046541326-0.194484046541326
19200.181516087160371-0.181516087160371
19300.159881600566279-0.159881600566279
19400.219296007756501-0.219296007756501
19500.284113589509649-0.284113589509649
19610.3815441562069950.618455843793005
19710.3118624208622290.688137579137771
19810.2726746297755980.727325370224402
19910.2517893628220640.748210637177936
20010.2569097308846310.743090269115369
20110.1741185137176650.825881486282335
20210.3646268414497790.63537315855022
20310.1937088555965510.806291144403449
20410.1752233185176710.824776681482329
20510.1841524034750430.815847596524957
20610.2205296638901520.779470336109848
20710.2887344838290620.711265516170938
20810.3815441562069950.618455843793005
20910.2416240194203870.758375980579613
21010.2726746297755980.727325370224402
21100.251789362822064-0.251789362822064
21200.238740296005676-0.238740296005676
21300.176143358289056-0.176143358289056
21400.366574569943055-0.366574569943055
21500.196522922374606-0.196522922374606
21600.181516087160371-0.181516087160371
21700.158473183846369-0.158473183846369
21800.224012407208359-0.224012407208359
21900.283627503284049-0.283627503284049
22000.382959105459238-0.382959105459238
22100.236701031549561-0.236701031549561
22200.272674629775598-0.272674629775598
22300.252072884625747-0.252072884625747
22400.238740296005676-0.238740296005676
22500.174541326113691-0.174541326113691
22600.369749052512305-0.369749052512305
22700.193708855596551-0.193708855596551
22800.181516087160371-0.181516087160371
22900.160388412140450-0.160388412140450
23000.219296007756501-0.219296007756501
23100.286895564354594-0.286895564354594
23200.381544156206995-0.381544156206995
23300.24075438261418-0.24075438261418
23400.277434938297414-0.277434938297414
23500.251789362822064-0.251789362822064
23600.238900117933649-0.238900117933649
23700.174118513717665-0.174118513717665
23800.365316041485075-0.365316041485075
23900.193708855596551-0.193708855596551
24000.181516087160371-0.181516087160371
24100.157055081939414-0.157055081939414
24200.221399359838456-0.221399359838456
24300.283627503284049-0.283627503284049
24400.381853559305495-0.381853559305495
24500.255417601446485-0.255417601446485
24610.2726746297755980.727325370224402
24710.2517893628220640.748210637177936
24800.240397390676541-0.240397390676541
24910.1741185137176650.825881486282335
25010.3646268414497790.63537315855022
25100.185825617911244-0.185825617911244
25210.1815160871603710.81848391283963
25300.159118626801703-0.159118626801703
25400.242015489074393-0.242015489074393
25500.317088889911729-0.317088889911729
25600.381544156206995-0.381544156206995
25700.238804663313038-0.238804663313038
25800.265383978359016-0.265383978359016
25910.2517893628220640.748210637177936
26000.238740296005676-0.238740296005676
26110.1741185137176650.825881486282335
26210.3646268414497790.63537315855022
26300.209640556955844-0.209640556955844
26400.183008572297224-0.183008572297224
26510.1570550819394140.842944918060586
26600.219296007756501-0.219296007756501
26710.2836275032840490.716372496715951
26800.407930765197555-0.407930765197555
26910.2407543826141790.75924561738582
27000.283107112461316-0.283107112461316
27110.2517893628220640.748210637177936
27210.2387402960056760.761259703994324
27310.1741185137176650.825881486282335
27400.366015915485331-0.366015915485331
27500.193708855596551-0.193708855596551
27600.189183882935173-0.189183882935173
27700.167307960075938-0.167307960075938
27800.219296007756501-0.219296007756501
27910.3014721854203190.698527814579681
28000.391491193008008-0.391491193008008
28110.2407543826141790.75924561738582
28200.272674629775598-0.272674629775598
28300.259218986425292-0.259218986425292
28400.238740296005676-0.238740296005676
28500.185066620565088-0.185066620565088
28600.364626841449779-0.364626841449779
28710.1937088555965510.806291144403449
28800.183681963623743-0.183681963623743
28910.1570550819394140.842944918060586
29000.221229852074113-0.221229852074113
29110.2836275032840490.716372496715951
29200.388823364216051-0.388823364216051
29300.269100254216660-0.269100254216660
29400.272674629775598-0.272674629775598
29500.251981665243967-0.251981665243967
29610.2461986857850390.753801314214961
29700.174118513717665-0.174118513717665
29810.3646268414497790.63537315855022
29900.193708855596551-0.193708855596551
30000.181516087160371-0.181516087160371
30110.1574932289209050.842506771079095
30200.215830850249765-0.215830850249765
30300.283627503284049-0.283627503284049
30410.3815441562069950.618455843793005
30500.25467664062358-0.25467664062358
30600.274059836270185-0.274059836270185
30710.2517893628220640.748210637177936
30810.2441073716439420.755892628356058
30900.172832841116581-0.172832841116581
31010.3646268414497790.63537315855022
31110.1937088555965510.806291144403449
31200.223721040530882-0.223721040530882
31310.1570550819394140.842944918060586
31410.2244431110992620.775556888900738
31500.284323442538862-0.284323442538862
31600.390939240364947-0.390939240364947
31700.240222890844877-0.240222890844877
31800.274082282908453-0.274082282908453
31900.252699589009075-0.252699589009075
32000.238740296005676-0.238740296005676
32100.174118513717665-0.174118513717665
32200.364626841449779-0.364626841449779
32300.193708855596551-0.193708855596551
32410.1815160871603710.81848391283963
32500.157055081939414-0.157055081939414
32600.21912548727909-0.21912548727909
32710.2836275032840490.716372496715951
32810.3815441562069950.618455843793005
32900.24075438261418-0.24075438261418
33000.272674629775598-0.272674629775598
33100.251789362822064-0.251789362822064
33200.238740296005676-0.238740296005676
33300.174118513717665-0.174118513717665
33400.365011038895549-0.365011038895549
33500.194020180372288-0.194020180372288
33600.181516087160371-0.181516087160371
33700.158084108404871-0.158084108404871
33800.219296007756501-0.219296007756501
33900.283975937543833-0.283975937543833
34000.382424620934447-0.382424620934447
34100.243402171091308-0.243402171091308
34200.272674629775598-0.272674629775598
34300.251789362822064-0.251789362822064
34400.238740296005676-0.238740296005676
34500.174118513717665-0.174118513717665
34600.364626841449779-0.364626841449779
34700.191134557430828-0.191134557430828
34800.181516087160371-0.181516087160371
34900.157055081939414-0.157055081939414
35000.219296007756501-0.219296007756501
35100.283380740209257-0.283380740209257
35200.383387812285693-0.383387812285693
35300.243324181604061-0.243324181604061
35400.273760604822863-0.273760604822863
35500.251789362822064-0.251789362822064
35600.238740296005676-0.238740296005676
35700.200680371080562-0.200680371080562
35800.364626841449779-0.364626841449779
35900.193708855596551-0.193708855596551
36000.181516087160371-0.181516087160371
36100.157664521913965-0.157664521913965
36200.219296007756501-0.219296007756501
36300.283627503284049-0.283627503284049
36410.3817698175424460.618230182457554
36500.240709202293797-0.240709202293797
36600.272674629775598-0.272674629775598
36700.251789362822064-0.251789362822064
36800.238740296005676-0.238740296005676
36900.174118513717665-0.174118513717665
37000.364626841449779-0.364626841449779
37100.193708855596551-0.193708855596551
37200.185948426153458-0.185948426153458
37300.174766209037747-0.174766209037747
37400.221565442955768-0.221565442955768
37500.283627503284049-0.283627503284049
37600.381544156206995-0.381544156206995
37700.238773733240492-0.238773733240492
37800.273656062259694-0.273656062259694
37900.251789362822064-0.251789362822064
38000.238740296005676-0.238740296005676
38100.174118513717665-0.174118513717665
38200.38867928693077-0.38867928693077
38300.184182431553559-0.184182431553559
38400.181516087160371-0.181516087160371
38500.161804318475233-0.161804318475233
38600.218748989310422-0.218748989310422
38700.284030844650923-0.284030844650923
38800.381240696995972-0.381240696995972
38900.240582890094381-0.240582890094381
39000.270503188455107-0.270503188455107
39100.256865178439914-0.256865178439914
39200.236206834766486-0.236206834766486
39300.171800480556137-0.171800480556137
39400.382037212208118-0.382037212208118
39510.2091833427004310.79081665729957
39600.177491563519568-0.177491563519568
39700.146636075996847-0.146636075996847
39810.3233532954202160.676646704579784
39900.287012788607693-0.287012788607693
40010.3451055129837620.654894487016238
40100.253990252024744-0.253990252024744
40200.280623856396477-0.280623856396477
40300.249870721141253-0.249870721141253
40410.2468584658394750.753141534160525
40500.177060159993059-0.177060159993059
40600.377065184200528-0.377065184200528
40700.205792075457339-0.205792075457339
40800.181425559927587-0.181425559927587
40900.152938331105415-0.152938331105415
41000.223700807547163-0.223700807547163
41100.300268887526634-0.300268887526634
41210.3852695345385510.614730465461449
41310.2382073957438800.76179260425612
41410.2891127029247980.710887297075202
41500.267130671634640-0.267130671634640
41600.246115809781287-0.246115809781287
41700.173500915731860-0.173500915731860
41810.3649224157508830.635077584249117
41900.205621127234826-0.205621127234826
42000.180961458834210-0.180961458834210
42100.154718916525590-0.154718916525590
42200.229542584237363-0.229542584237363
42310.1720739940307950.827926005969205
42400.321379502278277-0.321379502278277
42500.224810901856290-0.224810901856290
42610.2801587469155340.719841253084466
42700.200007373467974-0.200007373467974
42800.363994015156524-0.363994015156524
42900.182139069421383-0.182139069421383
43000.418973826997804-0.418973826997804
43100.101241534927578-0.101241534927578


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
190.3254711985021680.6509423970043360.674528801497832
200.6434525761056580.7130948477886840.356547423894342
210.5055926120083360.9888147759833270.494407387991664
220.4120398655779880.8240797311559760.587960134422012
230.3157131025336630.6314262050673260.684286897466337
240.2922250202943080.5844500405886170.707774979705692
250.2265568323279240.4531136646558470.773443167672076
260.1681114037006110.3362228074012210.83188859629939
270.1254021019639270.2508042039278540.874597898036073
280.08805662133483310.1761132426696660.911943378665167
290.2534287120797490.5068574241594990.746571287920251
300.4520188947701910.9040377895403830.547981105229808
310.4585542559056010.9171085118112020.541445744094399
320.438599962881550.87719992576310.56140003711845
330.3740075767797150.7480151535594290.625992423220285
340.3182388817204670.6364777634409340.681761118279533
350.275688336380740.551376672761480.72431166361926
360.223544547836290.447089095672580.77645545216371
370.2103268146294820.4206536292589640.789673185370518
380.3330529265357390.6661058530714790.666947073464261
390.2890992604869260.5781985209738530.710900739513074
400.2408375158018620.4816750316037250.759162484198138
410.1997313621199470.3994627242398930.800268637880053
420.2403772177852790.4807544355705580.75962278221472
430.2548703872970840.5097407745941680.745129612702916
440.2791890203653280.5583780407306560.720810979634672
450.4118772991513970.8237545983027930.588122700848603
460.3682202008592120.7364404017184250.631779799140788
470.531228324743080.937543350513840.46877167525692
480.6918099652449110.6163800695101780.308190034755089
490.6552048704117530.6895902591764940.344795129588247
500.6267681908467120.7464636183065750.373231809153288
510.5918685117157760.8162629765684490.408131488284224
520.698204113380440.6035917732391220.301795886619561
530.7535629660619460.4928740678761070.246437033938054
540.7602338252498860.4795323495002270.239766174750114
550.7716297224105680.4567405551788630.228370277589431
560.7556516083180140.4886967833639720.244348391681986
570.7845516694966840.4308966610066320.215448330503316
580.8503564766751570.2992870466496850.149643523324843
590.8243207165887770.3513585668224460.175679283411223
600.8581142321629660.2837715356740690.141885767837034
610.8913064352362230.2173871295275550.108693564763777
620.8767846989002330.2464306021995340.123215301099767
630.8640464939740270.2719070120519470.135953506025973
640.8857604759491480.2284790481017040.114239524050852
650.872552497736120.2548950045277590.127447502263880
660.8670134278844330.2659731442311330.132986572115567
670.8687490999267160.2625018001465680.131250900073284
680.887065091038390.2258698179232210.112934908961611
690.8931784774141930.2136430451716150.106821522585807
700.8839720032212870.2320559935574260.116027996778713
710.9222141565190930.1555716869618140.0777858434809068
720.9173269494612020.1653461010775970.0826730505387984
730.9080306104339020.1839387791321960.091969389566098
740.8955814758778750.2088370482442500.104418524122125
750.9235188967950210.1529622064099580.076481103204979
760.929816917787310.1403661644253790.0701830822126893
770.9225322554330560.1549354891338880.0774677445669438
780.9216426725814420.1567146548371160.078357327418558
790.9195046657455940.1609906685088120.0804953342544062
800.924602175847630.1507956483047390.0753978241523696
810.9210261310963880.1579477378072230.0789738689036116
820.9150114900166990.1699770199666020.0849885099833009
830.9052250839795680.1895498320408640.094774916020432
840.8952249732594350.2095500534811300.104775026740565
850.8826852775046920.2346294449906160.117314722495308
860.9111982532894480.1776034934211030.0888017467105517
870.9242306654171310.1515386691657380.075769334582869
880.9241880007985860.1516239984028280.0758119992014141
890.9155671076086450.1688657847827100.0844328923913551
900.91093248684290.1781350263142010.0890675131571006
910.90541612423410.1891677515318000.0945838757659002
920.912332182274120.1753356354517610.0876678177258804
930.9059931355160370.1880137289679260.0940068644839629
940.8989667755885620.2020664488228770.101033224411438
950.8858810821126160.2282378357747680.114118917887384
960.9101925869951970.1796148260096060.089807413004803
970.8988881218858870.2022237562282270.101111878114114
980.9162187015308580.1675625969382840.0837812984691419
990.9228788118332140.1542423763335710.0771211881667856
1000.9300423168258040.1399153663483920.069957683174196
1010.9471252270101380.1057495459797240.052874772989862
1020.9427281781346940.1145436437306120.0572718218653061
1030.9380222427172060.1239555145655880.061977757282794
1040.9398654146109590.1202691707780820.0601345853890412
1050.9335992291465420.1328015417069160.0664007708534579
1060.9460993035747530.1078013928504950.0539006964252474
1070.9604888665938150.07902226681237060.0395111334061853
1080.9682395978658840.06352080426823130.0317604021341157
1090.9632041511689830.07359169766203370.0367958488310168
1100.9701234756041280.05975304879174340.0298765243958717
1110.9706841006202150.05863179875957010.0293158993797851
1120.973256471979990.05348705604001920.0267435280200096
1130.9702949416784490.05941011664310190.0297050583215509
1140.9763058729113270.04738825417734690.0236941270886734
1150.9818663727479250.03626725450415010.0181336272520750
1160.9813820528410380.03723589431792350.0186179471589618
1170.9788607809977050.04227843800459030.0211392190022952
1180.9820769879522010.03584602409559760.0179230120477988
1190.9863118327033010.02737633459339730.0136881672966987
1200.9851459964551210.02970800708975760.0148540035448788
1210.9825391294864280.03492174102714390.0174608705135719
1220.9812087942173420.03758241156531560.0187912057826578
1230.9811009087039790.03779818259204280.0188990912960214
1240.9816767752495160.03664644950096720.0183232247504836
1250.9860279495436020.02794410091279530.0139720504563976
1260.9885629149367540.02287417012649240.0114370850632462
1270.9874367100005980.02512657999880460.0125632899994023
1280.9867164585549760.02656708289004860.0132835414450243
1290.9846421140072170.03071577198556560.0153578859927828
1300.985852980891860.02829403821627870.0141470191081393
1310.9843574814267870.03128503714642640.0156425185732132
1320.982749217932940.03450156413411930.0172507820670596
1330.979686537549870.04062692490026110.0203134624501305
1340.9777116387550780.04457672248984370.0222883612449219
1350.9764593322304320.04708133553913530.0235406677695677
1360.976987778891210.04602444221758160.0230122211087908
1370.9745055878127540.0509888243744930.0254944121872465
1380.9727154163702480.05456916725950410.0272845836297521
1390.9697280455022140.06054390899557250.0302719544977862
1400.967105765616540.06578846876692120.0328942343834606
1410.9624294169344940.07514116613101120.0375705830655056
1420.963203944094810.07359211181037860.0367960559051893
1430.9589058625396520.08218827492069520.0410941374603476
1440.9543889291092370.09122214178152670.0456110708907634
1450.9476713544814040.1046572910371920.0523286455185958
1460.942640904275290.1147181914494180.0573590957247092
1470.9385023262936620.1229953474126760.0614976737063382
1480.9377854578445240.1244290843109530.0622145421554763
1490.9313200837174750.137359832565050.068679916282525
1500.9259745339336530.1480509321326940.074025466066347
1510.9187283651419310.1625432697161380.081271634858069
1520.9123440294338670.1753119411322660.0876559705661332
1530.9020904500748830.1958190998502330.0979095499251165
1540.9012568915387220.1974862169225560.0987431084612778
1550.8911621223492460.2176757553015080.108837877650754
1560.8807905707676650.238418858464670.119209429232335
1570.8670941976309450.2658116047381110.132905802369055
1580.8562920190341730.2874159619316550.143707980965828
1590.8469053957818480.3061892084363040.153094604218152
1600.8433231375004730.3133537249990550.156676862499527
1610.8301360141868550.3397279716262900.169863985813145
1620.818671292327430.362657415345140.18132870767257
1630.804731701866530.3905365962669390.195268298133469
1640.7914120802117020.4171758395765960.208587919788298
1650.7739151579972210.4521696840055580.226084842002779
1660.7700216797811820.4599566404376370.229978320218819
1670.7518205930516380.4963588138967240.248179406948362
1680.7335884074138450.532823185172310.266411592586155
1690.7118695094971410.5762609810057170.288130490502859
1700.6940322818060340.6119354363879310.305967718193966
1710.6782378187412910.6435243625174180.321762181258709
1720.671208328396620.6575833432067590.328791671603379
1730.651306238673490.697387522653020.34869376132651
1740.6340839615777230.7318320768445530.365916038422277
1750.6142784877281970.7714430245436070.385721512271803
1760.5947835999579340.8104328000841330.405216400042066
1770.5705164506808120.8589670986383770.429483549319188
1780.595336199489050.80932760102190.40466380051095
1790.5721076741517350.855784651696530.427892325848265
1800.5492248425406560.9015503149186880.450775157459344
1810.5252127981416470.9495744037167070.474787201858353
1820.578402218311020.843195563377960.42159778168898
1830.561629266438970.876741467122060.43837073356103
1840.5872208312750770.8255583374498460.412779168724923
1850.6419973304814220.7160053390371560.358002669518578
1860.6846950881114650.630609823777070.315304911888535
1870.7283078076938690.5433843846122630.271692192306131
1880.711517422292170.576965155415660.28848257770783
1890.6903055974291650.6193888051416690.309694402570835
1900.68480096343580.6303980731284010.315199036564201
1910.6635683054125980.6728633891748040.336431694587402
1920.6419674184508330.7160651630983340.358032581549167
1930.6192521703274310.7614956593451380.380747829672569
1940.6001012392335030.7997975215329940.399898760766497
1950.582810612059990.834378775880020.41718938794001
1960.6081170269550280.7837659460899450.391882973044972
1970.6516183385204170.6967633229591660.348381661479583
1980.693517734068520.6129645318629590.306482265931479
1990.7372112112006940.5255775775986120.262788788799306
2000.7799796577161290.4400406845677420.220020342283871
2010.8280817872221410.3438364255557170.171918212777859
2020.846357155158390.307285689683220.15364284484161
2030.8822400468897140.2355199062205710.117759953110286
2040.9110175682368230.1779648635263540.0889824317631768
2050.9386332372972860.1227335254054270.0613667627027136
2060.9548526196222270.09029476075554590.0451473803777729
2070.96514219997410.06971560005180030.0348578000259001
2080.9705239408866390.05895211822672270.0294760591133613
2090.9775833659710380.04483326805792450.0224166340289623
2100.983546676189460.03290664762108150.0164533238105407
2110.9815560351420030.0368879297159940.018443964857997
2120.979312293975650.04137541204870090.0206877060243504
2130.9762763154606180.0474473690787630.0237236845393815
2140.9751949689015210.04961006219695810.0248050310984791
2150.9716926182719720.05661476345605530.0283073817280276
2160.9677712153986430.0644575692027150.0322287846013575
2170.9633738076186890.07325238476262250.0366261923813113
2180.9592353430161730.08152931396765490.0407646569838274
2190.9554347797984310.0891304404031380.044565220201569
2200.9540814023610880.09183719527782360.0459185976389118
2210.9491220062948380.1017559874103240.0508779937051618
2220.9446330516365950.1107338967268100.0553669483634051
2230.939121359461610.1217572810767790.0608786405383894
2240.9330717249863320.1338565500273370.0669282750136684
2250.9249572001668260.1500855996663490.0750427998331744
2260.9219717347408070.1560565305183850.0780282652591927
2270.9131067633713610.1737864732572780.0868932366286388
2280.9034080628706860.1931838742586270.0965919371293136
2290.8930011565337040.2139976869325910.106998843466296
2300.8829538001625950.2340923996748090.117046199837405
2310.8743752511345440.2512494977309130.125624748865456
2320.8699975157561520.2600049684876960.130002484243848
2330.8589184250342480.2821631499315040.141081574965752
2340.8489196960503920.3021606078992160.151080303949608
2350.837332285703010.3253354285939780.162667714296989
2360.8250867949386750.3498264101226490.174913205061325
2370.809150671562280.3816986568754410.190849328437721
2380.8023916256589120.3952167486821760.197608374341088
2390.7856182304585790.4287635390828420.214381769541421
2400.7676478469153780.4647043061692440.232352153084622
2410.7501799629076840.4996400741846330.249820037092316
2420.7326543924482750.534691215103450.267345607551725
2430.7189225127777460.5621549744445080.281077487222254
2440.7115908773765030.5768182452469930.288409122623497
2450.6932607699136150.613478460172770.306739230086385
2460.7415696693927180.5168606612145640.258430330607282
2470.784324208500860.4313515829982780.215675791499139
2480.7701121447952620.4597757104094760.229887855204738
2490.8221465430884460.3557069138231070.177853456911554
2500.8452654225276910.3094691549446180.154734577472309
2510.8312277430549890.3375445138900220.168772256945011
2520.8767681925579010.2464636148841970.123231807442099
2530.8652258143495850.2695483713008290.134774185650415
2540.8532367114413760.2935265771172480.146763288558624
2550.845797163973290.3084056720534190.154202836026710
2560.8402683759604870.3194632480790260.159731624039513
2570.8274330618742430.3451338762515150.172566938125757
2580.81550556557760.3689888688448010.184494434422401
2590.8553569269892350.2892861460215300.144643073010765
2600.8445345273642280.3109309452715440.155465472635772
2610.889995410255180.2200091794896410.110004589744820
2620.9105723471177590.1788553057644830.0894276528822414
2630.9005558693074770.1988882613850470.0994441306925234
2640.889066098318010.2218678033639780.110933901681989
2650.9191347723459460.1617304553081080.0808652276540538
2660.9098097702549550.180380459490090.090190229745045
2670.9283436576391460.1433126847217090.0716563423608543
2680.92553737725120.1489252454976020.0744626227488008
2690.9475094940371680.1049810119256640.0524905059628318
2700.9415816009250710.1168367981498580.0584183990749289
2710.9616962570149060.07660748597018850.0383037429850942
2720.9727056607746670.05458867845066680.0272943392253334
2730.9858840830196770.02823183396064540.0141159169803227
2740.98455816797850.03088366404299950.0154418320214997
2750.982077924390740.03584415121852020.0179220756092601
2760.97904211471430.04191577057139860.0209578852856993
2770.9764872617748130.0470254764503740.023512738225187
2780.9727806982539590.05443860349208290.0272193017460415
2790.9785269134541740.04294617309165160.0214730865458258
2800.977958147880020.04408370423996170.0220418521199808
2810.987455348270170.02508930345966080.0125446517298304
2820.9855097381956340.02898052360873240.0144902618043662
2830.9835727583588980.03285448328220390.0164272416411019
2840.9813361237288750.037327752542250.018663876271125
2850.978003014379510.04399397124098110.0219969856204905
2860.97581551744650.04836896510699860.0241844825534993
2870.9855619217435180.02887615651296360.0144380782564818
2880.9828013871118470.03439722577630680.0171986128881534
2890.9898732178323180.02025356433536360.0101267821676818
2900.9886222971621880.02275540567562370.0113777028378118
2910.9932428124410320.01351437511793540.00675718755896768
2920.9933578994577350.01328420108453070.00664210054226537
2930.9920469256635650.01590614867287090.00795307433643546
2940.990649036212710.01870192757458020.0093509637872901
2950.9889574843795760.02208503124084740.0110425156204237
2960.992815211681270.01436957663745930.00718478831872967
2970.9912310153303580.01753796933928350.00876898466964177
2980.9947376860118180.01052462797636480.00526231398818242
2990.993595563142350.01280887371529960.00640443685764982
3000.9921422333608470.01571553327830690.00785776663915345
3010.9962427916568230.007514416686354770.00375720834317738
3020.995447018714930.009105962570140440.00455298128507022
3030.994565207858240.01086958428351850.00543479214175924
3040.9958810870755220.008237825848956440.00411891292447822
3050.9951259454965980.009748109006804630.00487405450340231
3060.994220284706480.01155943058703810.00577971529351905
3070.9977308527545020.004538294490995290.00226914724549764
3080.9990034228603780.00199315427924330.00099657713962165
3090.9987087235440970.002582552911806280.00129127645590314
3100.9994993664017720.001001267196455180.000500633598227592
3110.999856560964060.000286878071878320.00014343903593916
3120.9998284695888930.0003430608222146530.000171530411107326
3130.99996687995286.62400944014554e-053.31200472007277e-05
3140.999992793137051.44137258977679e-057.20686294888397e-06
3150.9999904777615571.90444768865395e-059.52223844326977e-06
3160.999990942652681.81146946404538e-059.0573473202269e-06
3170.9999871997596782.56004806432903e-051.28002403216452e-05
3180.9999836169283953.27661432093383e-051.63830716046692e-05
3190.9999769454297644.61091404721216e-052.30545702360608e-05
3200.999967782000376.443599926108e-053.221799963054e-05
3210.9999542892791669.14214416682457e-054.57107208341229e-05
3220.9999389976022750.0001220047954509406.10023977254698e-05
3230.999914007750950.0001719844981014248.59922490507121e-05
3240.9999872873762532.54252474946749e-051.27126237473375e-05
3250.9999813407341833.73185316348476e-051.86592658174238e-05
3260.999973093945165.38121096813081e-052.69060548406541e-05
3270.9999949072948931.01854102136432e-055.09270510682161e-06
3280.999997966847464.06630507823403e-062.03315253911702e-06
3290.9999969660948456.06781030976958e-063.03390515488479e-06
3300.9999958451115328.30977693525848e-064.15488846762924e-06
3310.9999938028289051.23943421890394e-056.19717109451972e-06
3320.999990911895891.81762082211596e-059.08810411057978e-06
3330.9999864371656172.71256687658756e-051.35628343829378e-05
3340.9999810222654873.79554690250906e-051.89777345125453e-05
3350.9999718124438685.63751122646444e-052.81875561323222e-05
3360.9999584811141348.30377717329506e-054.15188858664753e-05
3370.9999388950433630.000122209913273526.110495663676e-05
3380.9999117512920870.0001764974158261168.82487079130581e-05
3390.9998759197070290.0002481605859423050.000124080292971152
3400.9998743255071860.0002513489856278100.000125674492813905
3410.9998280480071250.0003439039857496850.000171951992874843
3420.9997790677160920.0004418645678152170.000220932283907608
3430.9996884790261120.0006230419477755020.000311520973887751
3440.999570836320290.0008583273594217960.000429163679710898
3450.9993985887175810.001202822564837410.000601411282418707
3460.9991952888917310.001609422216537060.000804711108268529
3470.9988851314030870.002229737193825930.00111486859691296
3480.9984622675182170.003075464963565230.00153773248178261
3490.9978879329110570.004224134177886190.00211206708894309
3500.9971512476905030.005697504618994430.00284875230949721
3510.9963213097111910.00735738057761710.00367869028880855
3520.9964774050884050.007045189823190650.00352259491159533
3530.9954669616270810.009066076745838080.00453303837291904
3540.994587320207830.01082535958434030.00541267979217014
3550.99283375254880.01433249490240160.00716624745120078
3560.9907904566262820.01841908674743550.00920954337371774
3570.988101961877620.02379607624476000.0118980381223800
3580.9850001391196410.02999972176071790.0149998608803590
3590.9806158800347130.03876823993057350.0193841199652867
3600.9751025246337110.04979495073257770.0248974753662889
3610.9681919618224720.06361607635505570.0318080381775279
3620.9601585759245420.07968284815091640.0398414240754582
3630.9512647114278620.09747057714427620.0487352885721381
3640.9640860680156670.07182786396866670.0359139319843333
3650.956566955300350.0868660893992990.0434330446996495
3660.9512593047840130.0974813904319750.0487406952159875
3670.939211675252720.1215766494945610.0607883247472806
3680.9268681396509890.1462637206980220.0731318603490108
3690.909968420979640.1800631580407210.0900315790203607
3700.8930903263952170.2138193472095660.106909673604783
3710.8708979481270520.2582041037458970.129102051872948
3720.8464563456886680.3070873086226650.153543654311332
3730.8172020432913370.3655959134173260.182797956708663
3740.786577555502780.426844888994440.21342244449722
3750.755426220018740.489147559962520.24457377998126
3760.745114288414290.5097714231714190.254885711585710
3770.7210539591692120.5578920816615750.278946040830788
3780.7151262703834850.5697474592330310.284873729616515
3790.6724714395387010.6550571209225980.327528560461299
3800.6389358806317250.722128238736550.361064119368275
3810.5909718429201410.8180563141597180.409028157079859
3820.5725391023035240.8549217953929520.427460897696476
3830.5728306956928630.8543386086142740.427169304307137
3840.5208881317924080.9582237364151840.479111868207592
3850.4682394215604920.9364788431209830.531760578439508
3860.4262597236575240.8525194473150480.573740276342476
3870.3865249591946710.7730499183893420.613475040805329
3880.401189098548720.802378197097440.59881090145128
3890.3685174437425960.7370348874851910.631482556257404
3900.3945567902908620.7891135805817250.605443209709138
3910.3417626826427050.683525365285410.658237317357295
3920.329378914145970.658757828291940.67062108585403
3930.2771104971213170.5542209942426340.722889502878683
3940.2493938552348620.4987877104697230.750606144765138
3950.49914840283730.99829680567460.5008515971627
3960.4340714658417960.8681429316835930.565928534158204
3970.3712272929002880.7424545858005770.628772707099712
3980.5246761863260520.9506476273478970.475323813673948
3990.4644222994887350.928844598977470.535577700511265
4000.3986657976390010.7973315952780020.601334202360999
4010.3636663543212010.7273327086424020.636333645678799
4020.5987909713657150.802418057268570.401209028634285
4030.5232656502428650.953468699514270.476734349757135
4040.6196156234563450.760768753087310.380384376543655
4050.5309952476189620.9380095047620770.469004752381038
4060.4823931608511310.9647863217022610.517606839148869
4070.3841063006884910.7682126013769830.615893699311509
4080.2888906818383550.577781363676710.711109318161645
4090.2027771127297890.4055542254595780.797222887270211
4100.1336808623815480.2673617247630960.866319137618452
4110.1515617733685870.3031235467371740.848438226631413
4120.3135638472846320.6271276945692640.686436152715368


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level510.129441624365482NOK
5% type I error level1160.294416243654822NOK
10% type I error level1490.378172588832487NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/02/t1291306342vssbvjeydb3rs6d/104vvm1291306384.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/02/t1291306342vssbvjeydb3rs6d/104vvm1291306384.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/02/t1291306342vssbvjeydb3rs6d/1xbya1291306384.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/02/t1291306342vssbvjeydb3rs6d/1xbya1291306384.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/02/t1291306342vssbvjeydb3rs6d/2qlfv1291306384.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/02/t1291306342vssbvjeydb3rs6d/2qlfv1291306384.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/02/t1291306342vssbvjeydb3rs6d/3qlfv1291306384.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/02/t1291306342vssbvjeydb3rs6d/3qlfv1291306384.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/02/t1291306342vssbvjeydb3rs6d/4icwg1291306384.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/02/t1291306342vssbvjeydb3rs6d/4icwg1291306384.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/02/t1291306342vssbvjeydb3rs6d/5icwg1291306384.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/02/t1291306342vssbvjeydb3rs6d/5icwg1291306384.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/02/t1291306342vssbvjeydb3rs6d/6icwg1291306384.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/02/t1291306342vssbvjeydb3rs6d/6icwg1291306384.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/02/t1291306342vssbvjeydb3rs6d/7b3e11291306384.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/02/t1291306342vssbvjeydb3rs6d/7b3e11291306384.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/02/t1291306342vssbvjeydb3rs6d/84vvm1291306384.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/02/t1291306342vssbvjeydb3rs6d/84vvm1291306384.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/02/t1291306342vssbvjeydb3rs6d/94vvm1291306384.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/02/t1291306342vssbvjeydb3rs6d/94vvm1291306384.ps (open in new window)


 
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('http://www.xycoon.com/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<br />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<br />Forecast', 1, TRUE)
a<-table.element(a, 'Residuals<br />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')
}
 





Copyright

Creative Commons License

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.

Software written by Ed van Stee & Patrick Wessa


Disclaimer

Information provided on this web site is provided "AS IS" without warranty of any kind, either express or implied, including, without limitation, warranties of merchantability, fitness for a particular purpose, and noninfringement. We use reasonable efforts to include accurate and timely information and periodically update the information, and software without notice. However, we make no warranties or representations as to the accuracy or completeness of such information (or software), and we assume no liability or responsibility for errors or omissions in the content of this web site, or any software bugs in online applications. Your use of this web site is AT YOUR OWN RISK. Under no circumstances and under no legal theory shall we be liable to you or any other person for any direct, indirect, special, incidental, exemplary, or consequential damages arising from your access to, or use of, this web site.


Privacy Policy

We may request personal information to be submitted to our servers in order to be able to:

  • personalize online software applications according to your needs
  • enforce strict security rules with respect to the data that you upload (e.g. statistical data)
  • manage user sessions of online applications
  • alert you about important changes or upgrades in resources or applications

We NEVER allow other companies to directly offer registered users information about their products and services. Banner references and hyperlinks of third parties NEVER contain any personal data of the visitor.

We do NOT sell, nor transmit by any means, personal information, nor statistical data series uploaded by you to third parties.

We carefully protect your data from loss, misuse, alteration, and destruction. However, at any time, and under any circumstance you are solely responsible for managing your passwords, and keeping them secret.

We store a unique ANONYMOUS USER ID in the form of a small 'Cookie' on your computer. This allows us to track your progress when using this website which is necessary to create state-dependent features. The cookie is used for NO OTHER PURPOSE. At any time you may opt to disallow cookies from this website - this will not affect other features of this website.

We examine cookies that are used by third-parties (banner and online ads) very closely: abuse from third-parties automatically results in termination of the advertising contract without refund. We have very good reason to believe that the cookies that are produced by third parties (banner ads) do NOT cause any privacy or security risk.

FreeStatistics.org is safe. There is no need to download any software to use the applications and services contained in this website. Hence, your system's security is not compromised by their use, and your personal data - other than data you submit in the account application form, and the user-agent information that is transmitted by your browser - is never transmitted to our servers.

As a general rule, we do not log on-line behavior of individuals (other than normal logging of webserver 'hits'). However, in cases of abuse, hacking, unauthorized access, Denial of Service attacks, illegal copying, hotlinking, non-compliance with international webstandards (such as robots.txt), or any other harmful behavior, our system engineers are empowered to log, track, identify, publish, and ban misbehaving individuals - even if this leads to ban entire blocks of IP addresses, or disclosing user's identity.


FreeStatistics.org is powered by