Home » date » 2010 » Dec » 03 »

W4_Mini3

*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: Fri, 03 Dec 2010 07:52:50 +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/03/t1291362708qwebq2di92b2fqg.htm/, Retrieved Fri, 03 Dec 2010 08:51:59 +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/03/t1291362708qwebq2di92b2fqg.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 time26 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.313646727285059 + 1.11202781485527e-06Costs[t] -2.50004628949094e-05Trades[t] + 1.93349244293284e-07Dividends[t] + 1.51386858038574e-07`Wealth `[t] -0.000520076474390447t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)0.3136467272850590.0814993.84850.0001376.9e-05
Costs1.11202781485527e-063e-060.33170.7402430.370121
Trades-2.50004628949094e-050.000309-0.0810.9354510.467726
Dividends1.93349244293284e-071e-060.24820.8040970.402048
`Wealth `1.51386858038574e-0702.15890.0314160.015708
t-0.0005200764743904470.000195-2.66390.0080170.004009


Multiple Linear Regression - Regression Statistics
Multiple R0.262035028549278
R-squared0.0686623561868209
Adjusted R-squared0.0577054427301953
F-TEST (value)6.26657830771683
F-TEST (DF numerator)5
F-TEST (DF denominator)425
p-value1.26549942522924e-05
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.435603435204097
Sum Squared Residuals80.6438999236841


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
111.45922702872759-0.459227028727592
211.00842221690554-0.00842221690553681
311.04955342862169-0.0495534286216868
400.202494450749997-0.202494450749997
510.6137580771001730.386241922899827
610.6538834335162370.346116566483763
700.575504074221118-0.575504074221118
810.7752197771746290.224780222825371
910.4894496647794650.510550335220535
1010.5516046877844650.448395312215535
1100.565945185214445-0.565945185214445
1200.477138435728766-0.477138435728766
1310.5412470559120270.458752944087973
1400.268205933232613-0.268205933232613
1510.4797877615106980.520212238489302
1600.513550934214959-0.513550934214959
1700.485328045285782-0.485328045285782
1810.454235393218430.54576460678157
1910.4966591002880400.503340899711960
2000.406248421378777-0.406248421378777
2110.4628202397374330.537179760262567
2210.4481488000457270.551851199954273
2300.452293485862956-0.452293485862956
2400.374329235309653-0.374329235309653
2500.4000096119841-0.4000096119841
2600.410374294096021-0.410374294096021
2710.4255868112145650.574413188785435
2800.308829634523604-0.308829634523604
2900.431969844978924-0.431969844978924
3000.385442082786015-0.385442082786015
3110.4216953675009410.578304632499059
3210.4206458066429340.579354193357066
3310.4237418918312930.576258108168707
3410.4100089271671440.589991072832856
3500.480089531628675-0.480089531628675
3600.388686744794963-0.388686744794963
3700.41943405970776-0.41943405970776
3810.4251258823680430.574874117631957
3910.4371252963601020.562874703639898
4000.34338479596061-0.34338479596061
4100.35809033697646-0.35809033697646
4200.380752127874281-0.380752127874281
4300.384755695250311-0.384755695250311
4400.381134488862953-0.381134488862953
4500.364712075705733-0.364712075705733
4610.3637721871204380.636227812879562
4710.4270708524705110.572929147529489
4810.388301005919570.61169899408043
4900.386102764155497-0.386102764155497
5000.336213336181271-0.336213336181271
5110.3942075121254780.605792487874522
5210.3910239841432950.608976015856705
5310.4067021705859010.593297829414099
5410.3933769663900570.606623033609943
5510.36640460996760.6335953900324
5600.360686367875028-0.360686367875028
5700.374836961781222-0.374836961781222
5800.373779950551825-0.373779950551825
5900.356628092028412-0.356628092028412
6010.368705757593810.63129424240619
6110.3798744301772380.620125569822762
6200.3290794907804-0.3290794907804
6310.3647852531730180.635214746826982
6410.3534177805310220.646582219468978
6500.346981209393706-0.346981209393706
6600.342590567805319-0.342590567805319
6700.32921187218587-0.32921187218587
6810.3604594373903130.639540562609687
6900.370515010790445-0.370515010790445
7010.3629420893118420.637057910688158
7110.3213954959112340.678604504088766
7200.345519632097207-0.345519632097207
7300.346537275231477-0.346537275231477
7400.340521983906118-0.340521983906118
7500.357417171195569-0.357417171195569
7610.3330770224467890.666922977553211
7700.351788694735948-0.351788694735948
7800.327976021335395-0.327976021335395
7900.339857050871519-0.339857050871519
8010.354936484321920.64506351567808
8100.336547183589334-0.336547183589334
8210.3570966152847420.642903384715258
8300.360261748342112-0.360261748342112
8400.323110906532448-0.323110906532448
8500.352593012581194-0.352593012581194
8610.3399543563276440.660045643672356
8700.357139235668203-0.357139235668203
8800.347027609761090-0.347027609761090
8900.343045084608983-0.343045084608983
9000.348876264782787-0.348876264782787
9100.345147747561891-0.345147747561891
9210.340577368610360.65942263138964
9300.342455214877345-0.342455214877345
9410.3506125159926990.649387484007301
9500.326765624269226-0.326765624269226
9610.334708820332920.66529117966708
9700.355911579882981-0.355911579882981
9810.3281103655286910.671889634471309
9900.355662345188499-0.355662345188499
10010.3268833741824510.673116625817549
10110.3244577297521740.675542270247826
10200.322037992694488-0.322037992694488
10300.339821390308003-0.339821390308003
10400.343389322837339-0.343389322837339
10500.330263028660123-0.330263028660123
10600.313708406754727-0.313708406754727
10710.2948786441649790.70512135583502
10810.3558854791082910.644114520891709
10900.330377929094218-0.330377929094218
11010.3118359775378630.688164022462137
11100.333074059938399-0.333074059938399
11210.2869048209244800.71309517907552
11300.304452126745165-0.304452126745165
11410.3116588057686120.688341194231388
11510.3197475763583340.680252423641666
11600.318597565959009-0.318597565959009
11700.324088923497949-0.324088923497949
11800.340503201846915-0.340503201846915
11910.3008234073189070.699176592681093
12000.313514683513335-0.313514683513335
12100.344869677034468-0.344869677034468
12200.316984721658514-0.316984721658514
12300.323110571547649-0.323110571547649
12410.3445810891132060.655418910886794
12510.3050987280067110.694901271993289
12610.2990299655025900.70097003449741
12700.308622686653997-0.308622686653997
12800.308009010881694-0.308009010881694
12900.306281345417523-0.306281345417523
13000.307062457230825-0.307062457230825
13100.306368688654458-0.306368688654458
13200.312988599055996-0.312988599055996
13300.305502227807654-0.305502227807654
13400.304728384937169-0.304728384937169
13500.304462074858873-0.304462074858873
13600.304928182273161-0.304928182273161
13700.303279202524912-0.303279202524912
13800.302901845435702-0.302901845435702
13900.302381768961311-0.302381768961311
14000.301861692486921-0.301861692486921
14100.300590874462116-0.300590874462116
14200.30082153953814-0.30082153953814
14300.300325491343848-0.300325491343848
14400.299844400385183-0.299844400385183
14500.303021869554617-0.303021869554617
14600.298051847314174-0.298051847314174
14700.298221157166188-0.298221157166188
14800.297552438408815-0.297552438408815
14900.297181004217407-0.297181004217407
15000.296764740183315-0.296764740183315
15100.294927411258104-0.294927411258104
15200.295830557342365-0.295830557342365
15300.295100698319845-0.295100698319845
15400.290983217294317-0.290983217294317
15500.294046906936772-0.294046906936772
15600.293540468896674-0.293540468896674
15700.293020392422283-0.293020392422283
15800.292886203611118-0.292886203611118
15900.294553606761531-0.294553606761531
16000.291460162999112-0.291460162999112
16100.290940086524722-0.290940086524722
16200.290420010050331-0.290420010050331
16300.289899933575941-0.289899933575941
16400.290212115281021-0.290212115281021
16500.288238632391188-0.288238632391188
16600.288339704152769-0.288339704152769
16700.287819627678379-0.287819627678379
16800.294170624843252-0.294170624843252
16900.286779474729598-0.286779474729598
17000.286259398255207-0.286259398255207
17100.285739321780817-0.285739321780817
17200.285176829060932-0.285176829060932
17300.284699168832036-0.284699168832036
17400.284894620010107-0.284894620010107
17500.283659015883255-0.283659015883255
17600.283005414878868-0.283005414878868
17700.282618862934474-0.282618862934474
17810.2821948148702280.717805185129772
17900.281578709985694-0.281578709985694
18000.281058633511303-0.281058633511303
18100.292293216518670-0.292293216518670
18210.2861293987721220.713870601227878
18300.279272737733513-0.279272737733513
18410.2781538501679790.72184614983202
18510.2793156868623150.720684313137685
18610.2784562930475740.721543706952426
18710.2832436833772990.716756316622701
18800.277631785304419-0.277631785304419
18900.274675487066048-0.274675487066048
19000.275857868767399-0.275857868767399
19100.276183484986229-0.276183484986229
19200.274817715818618-0.274817715818618
19300.275428667579813-0.275428667579813
19400.273777562869837-0.273777562869837
19500.273290414977257-0.273290414977257
19610.2727374099210560.727262590078944
19710.2952272440723250.704772755927675
19810.2716972569722750.728302743027725
19910.2711771804978840.728822819502116
20010.2733214968668280.726678503133172
20110.2701370275491040.729862972450896
20210.2696169510747130.730383048925287
20310.2690968746003220.730903125399678
20410.2641282527091690.735871747290831
20510.275181373664980.72481862633502
20610.2678105973755200.73218940262448
20710.2682493518178110.731750648182189
20810.266496492228370.73350350777163
20910.2688180852451560.731181914754844
21010.2654563392795890.73454366072041
21100.264936262805199-0.264936262805199
21200.264416186330809-0.264416186330809
21300.262370731245113-0.262370731245113
21400.261427136743318-0.261427136743318
21500.263450635709244-0.263450635709244
21600.262335880433247-0.262335880433247
21700.261744169006428-0.261744169006428
21800.261234823323082-0.261234823323082
21900.260775651010076-0.260775651010076
22000.261254860158711-0.261254860158711
22100.255706753612477-0.255706753612477
22200.259215421586904-0.259215421586904
22300.258640793302201-0.258640793302201
22400.258175268638123-0.258175268638123
22500.257674446625329-0.257674446625329
22600.257289372568420-0.257289372568420
22700.256615039214952-0.256615039214952
22800.256094962740562-0.256094962740562
22900.255503680818310-0.255503680818310
23000.255054809791781-0.255054809791781
23100.254404219830409-0.254404219830409
23200.254014656843-0.254014656843
23300.253494580368609-0.253494580368609
23400.254139806514457-0.254139806514457
23500.252454427419828-0.252454427419828
23600.251904818943297-0.251904818943297
23700.251414274471048-0.251414274471048
23800.250773485670377-0.250773485670377
23900.250374121522267-0.250374121522267
24000.249854045047876-0.249854045047876
24100.249333968573486-0.249333968573486
24200.2499068230692-0.2499068230692
24300.248293815624705-0.248293815624705
24400.247269034924573-0.247269034924573
24500.254244635946121-0.254244635946121
24610.2467335862015330.753266413798467
24710.2462135097271430.753786490272857
24800.244869477145091-0.244869477145091
24910.2451733567783620.754826643221638
25010.2446532803039720.755346719696028
25100.239893239339339-0.239893239339339
25210.2436131273551910.75638687264481
25300.242760834273138-0.242760834273138
25400.244712725375006-0.244712725375006
25500.246665525567201-0.246665525567201
25600.241532821457629-0.241532821457629
25700.241383431154896-0.241383431154896
25800.235636816481454-0.235636816481454
25910.2399725920344580.760027407965542
26000.239452515560067-0.239452515560067
26110.2389324390856770.761067560914323
26210.2384123626112860.761587637388714
26300.243685786347063-0.243685786347063
26400.237457634446288-0.237457634446288
26510.2368521331881150.763147866811885
26600.236332056713725-0.236332056713725
26710.2358119802393340.764188019760666
26800.247949594259451-0.247949594259451
26910.2347718272905530.765228172709447
27000.237701161098561-0.237701161098561
27110.2337316743417720.766268325658228
27210.2332115978673820.766788402132618
27310.2326915213929910.767308478607009
27400.231498092268367-0.231498092268367
27500.231651368444211-0.231651368444211
27600.23234863312511-0.23234863312511
27700.232739826901941-0.232739826901941
27800.230091139021039-0.230091139021039
27910.2290377193363310.770962280663669
28000.229463581882093-0.229463581882093
28110.2285309095978680.771469090402132
28200.228010833123477-0.228010833123477
28300.224860967795438-0.224860967795438
28400.226970680174697-0.226970680174697
28500.228778224614571-0.228778224614571
28600.225930527225916-0.225930527225916
28710.2254104507515250.774589549248475
28800.225473072679016-0.225473072679016
28910.2243702978027440.775629702197256
29000.219225963579658-0.219225963579658
29110.2233301448539630.776669855146037
29200.224378361704010-0.224378361704010
29300.233308918603159-0.233308918603159
29400.221769915430792-0.221769915430792
29500.219858716686940-0.219858716686940
29610.2249488282584390.775051171741561
29700.220209686007621-0.220209686007621
29810.219689609533230.78031039046677
29900.21916953305884-0.21916953305884
30000.218649456584449-0.218649456584449
30110.2178487720177670.782151227982233
30200.215374677583789-0.215374677583789
30300.217089227161278-0.217089227161278
30410.2165691506868870.783430849313113
30500.219558599541476-0.219558599541476
30600.215313659472088-0.215313659472088
30710.2150089212637160.784991078736284
30810.2154901144580320.784509885541968
30900.212764212386003-0.212764212386003
31010.2134486918405450.786551308159455
31110.2129286153661540.787071384633846
31200.222490898390659-0.222490898390659
31310.2118884624173730.788111537582627
31410.2128546448880960.787145355111904
31500.210806652332324-0.210806652332324
31600.213658855508205-0.213658855508205
31700.209587436893353-0.209587436893353
31800.207734647311236-0.207734647311236
31900.208618465311658-0.208618465311658
32000.208247927096640-0.208247927096640
32100.20772785062225-0.20772785062225
32200.207207774147860-0.207207774147860
32300.206687697673469-0.206687697673469
32410.2061676211990780.793832378800922
32500.205647544724688-0.205647544724688
32600.204661631491173-0.204661631491173
32710.2046073917759070.795392608224093
32810.2040873153015170.795912684698483
32900.203567238827126-0.203567238827126
33000.203047162352736-0.203047162352736
33100.202527085878346-0.202527085878346
33200.202007009403955-0.202007009403955
33300.201486932929565-0.201486932929565
33400.200737042561189-0.200737042561189
33500.200400304235525-0.200400304235525
33600.199926703506393-0.199926703506393
33700.199125928075572-0.199125928075572
33800.198886550557612-0.198886550557612
33900.19843287653982-0.19843287653982
34000.197140486296948-0.197140486296948
34100.196187485101199-0.196187485101199
34200.196806244660051-0.196806244660051
34300.19628616818566-0.19628616818566
34400.195766091711270-0.195766091711270
34500.195246015236879-0.195246015236879
34600.194725938762489-0.194725938762489
34700.191867270922296-0.191867270922296
34800.193685785813708-0.193685785813708
34900.193165709339318-0.193165709339318
35000.192645632864927-0.192645632864927
35100.190957703391388-0.190957703391388
35200.191452774577359-0.191452774577359
35300.192341054450850-0.192341054450850
35400.190539468042157-0.190539468042157
35500.190045250492975-0.190045250492975
35600.189525174018584-0.189525174018584
35700.194749804517785-0.194749804517785
35800.188485021069804-0.188485021069804
35900.187964944595413-0.187964944595413
36000.187444868121023-0.187444868121023
36100.186826137134498-0.186826137134498
36200.186404715172242-0.186404715172242
36300.185884638697851-0.185884638697851
36410.1846270872622790.815372912737721
36500.183710732847104-0.183710732847104
36600.18432440927468-0.18432440927468
36700.183804332800289-0.183804332800289
36800.183284256325899-0.183284256325899
36900.182764179851509-0.182764179851509
37000.182244103377118-0.182244103377118
37100.181724026902728-0.181724026902728
37200.179454650565755-0.179454650565755
37300.186463988154668-0.186463988154668
37400.179864574778020-0.179864574778020
37500.179643721005166-0.179643721005166
37600.179123644530775-0.179123644530775
37700.175513672637450-0.175513672637450
37800.177624560585346-0.177624560585346
37900.177563415107604-0.177563415107604
38000.177043338633214-0.177043338633214
38100.176523262158823-0.176523262158823
38200.181154345750920-0.181154345750920
38300.164892540233940-0.164892540233940
38400.174963032735652-0.174963032735652
38500.175070379100074-0.175070379100074
38600.164239280154678-0.164239280154678
38700.173439268812889-0.173439268812889
38800.172896769068051-0.172896769068051
38900.171935618426834-0.171935618426834
39000.168756888854237-0.168756888854237
39100.173348564764046-0.173348564764046
39200.168215780169636-0.168215780169636
39300.167236095412700-0.167236095412700
39400.180359386537845-0.180359386537845
39510.1701648257898870.829835174210113
39600.164522767953884-0.164522767953884
39700.158690563177578-0.158690563177578
39810.2093795422575350.790620457742465
39900.167257815766138-0.167257815766138
40010.1345525587087750.865447441291225
40100.172336510384678-0.172336510384678
40200.169701488847406-0.169701488847406
40300.163193320131066-0.163193320131066
40410.1637675117000920.836232488299908
40500.163871057349466-0.163871057349466
40600.167635636860247-0.167635636860247
40700.167534649692253-0.167534649692253
40800.162062925486165-0.162062925486165
40900.158019242502817-0.158019242502817
41000.160152019510003-0.160152019510003
41100.161584030373478-0.161584030373478
41210.161375627428790.83862437257121
41310.157259463619960.84274053638004
41410.1623190204799940.837680979520006
41500.161815335170059-0.161815335170059
41600.157875167511427-0.157875167511427
41700.162088831744429-0.162088831744429
41810.1544668514635230.845533148536477
41900.159167317166967-0.159167317166967
42000.152707271406669-0.152707271406669
42100.148799151466189-0.148799151466189
42200.148322970551750-0.148322970551750
42310.09004659310788680.909953406892113
42400.101733985849943-0.101733985849943
42500.139569509278181-0.139569509278181
42610.1432573559547600.85674264404524
42700.108400137843521-0.108400137843521
42800.191635612683102-0.191635612683102
42900.144922791114472-0.144922791114472
43000.183010952480545-0.183010952480545
43100.0652979270216367-0.0652979270216367


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
90.3233481391047630.6466962782095250.676651860895237
100.3703134469977530.7406268939955060.629686553002247
110.6480321136242940.7039357727514110.351967886375706
120.7843802155028190.4312395689943620.215619784497181
130.7467897171452760.5064205657094490.253210282854724
140.6849041086276530.6301917827446940.315095891372347
150.7098326187636480.5803347624727050.290167381236352
160.7270236674995620.5459526650008760.272976332500438
170.6594180877987870.6811638244024260.340581912201213
180.6615103266604270.6769793466791460.338489673339573
190.640509647448910.718980705102180.35949035255109
200.6565726017866960.6868547964266080.343427398213304
210.6360208585548420.7279582828903170.363979141445158
220.5994810745922410.8010378508155180.400518925407759
230.6152203914031670.7695592171936650.384779608596833
240.6103894817157360.7792210365685280.389610518284264
250.5926807433452620.8146385133094760.407319256654738
260.6000551156082450.799889768783510.399944884391755
270.6316059826251070.7367880347497860.368394017374893
280.6286853866659550.742629226668090.371314613334045
290.6430452587868440.7139094824263110.356954741213156
300.6297478503760060.7405042992479880.370252149623994
310.6971902557618320.6056194884763360.302809744238168
320.7455318879467960.5089362241064080.254468112053204
330.753378348582680.4932433028346390.246621651417320
340.7601301964975170.4797396070049660.239869803502483
350.735482421347430.5290351573051410.264517578652571
360.7329943273083910.5340113453832170.267005672691609
370.7388769293244130.5222461413511740.261123070675587
380.7589383160681470.4821233678637050.241061683931853
390.7912549356464640.4174901287070720.208745064353536
400.7936484808882680.4127030382234630.206351519111732
410.766705914636580.4665881707268400.233294085363420
420.7629535887234740.4740928225530520.237046411276526
430.7509222873914760.4981554252170490.249077712608524
440.7327777093110490.5344445813779010.267222290688951
450.7178804294244850.564239141151030.282119570575515
460.767120922836510.4657581543269790.232879077163489
470.811702119967140.3765957600657190.188297880032860
480.843149880563420.313700238873160.15685011943658
490.8407498306932110.3185003386135780.159250169306789
500.83458570894390.3308285821122020.165414291056101
510.8504081830949360.2991836338101280.149591816905064
520.8644482626015050.2711034747969910.135551737398495
530.875769926553840.2484601468923190.124230073446160
540.8805023675479930.2389952649040130.119497632452007
550.8852696743007050.2294606513985890.114730325699295
560.8985173559008330.2029652881983340.101482644099167
570.9083783262281830.1832433475436330.0916216737718165
580.9108928676265790.1782142647468420.0891071323734209
590.9089285612665430.1821428774669150.0910714387334574
600.915643072084750.1687138558305020.0843569279152508
610.9188438224921310.1623123550157380.081156177507869
620.9197318803966870.1605362392066260.0802681196033132
630.9238899697352120.1522200605295760.076110030264788
640.9263227889348330.1473544221303340.073677211065167
650.930150716166790.1396985676664200.0698492838332102
660.9260583509580910.1478832980838170.0739416490419087
670.926189156113850.1476216877723010.0738108438861505
680.9308410446025630.1383179107948740.0691589553974372
690.9318680263344950.1362639473310100.0681319736655051
700.9360435786514680.1279128426970630.0639564213485315
710.9381730084274230.1236539831451540.0618269915725768
720.9419708346293250.1160583307413510.0580291653706755
730.9426954382792460.1146091234415070.0573045617207537
740.9426691846480620.1146616307038770.0573308153519384
750.9413537576208720.1172924847582560.0586462423791282
760.9475604822885850.1048790354228290.0524395177114147
770.9464571217426580.1070857565146840.0535428782573421
780.9445788255095910.1108423489808180.055421174490409
790.9423446685684030.1153106628631940.0576553314315972
800.9495435144816360.1009129710367280.0504564855183642
810.947506980008810.1049860399823820.0524930199911909
820.9541816195339730.09163676093205450.0458183804660273
830.9522904304156920.09541913916861520.0477095695843076
840.9498733249859860.1002533500280280.0501266750140138
850.946839587947530.1063208241049390.0531604120524694
860.9551923432380310.08961531352393740.0448076567619687
870.9526058937381830.09478821252363340.0473941062618167
880.9494707227716550.1010585544566910.0505292772283454
890.9458048571208390.1083902857583230.0541951428791613
900.9415260916960270.1169478166079460.0584739083039731
910.9365739629956360.1268520740087280.0634260370043638
920.9486800911543290.1026398176913420.0513199088456711
930.9443813772865360.1112372454269270.0556186227134635
940.9546203626979770.09075927460404530.0453796373020227
950.9508234225289570.09835315494208610.0491765774710431
960.960013282355810.07997343528837970.0399867176441899
970.9570435030799240.08591299384015290.0429564969200764
980.964626663092140.07074667381571920.0353733369078596
990.9621913826478740.07561723470425160.0378086173521258
1000.9688064731317570.0623870537364860.031193526868243
1010.9739102417064340.05217951658713210.0260897582935661
1020.972390795033080.05521840993384070.0276092049669204
1030.970516165757410.05896766848518010.0294838342425900
1040.9686627796502970.0626744406994060.031337220349703
1050.9660228260648650.06795434787026970.0339771739351349
1060.9632438277348130.07351234453037460.0367561722651873
1070.9703333443491970.05933331130160570.0296666556508028
1080.975922348513140.04815530297371950.0240776514868598
1090.9741759608601530.05164807827969420.0258240391398471
1100.9786952060737750.04260958785245070.0213047939262254
1110.9770798016222650.04584039675546920.0229201983777346
1120.9813392143593920.03732157128121630.0186607856406081
1130.9800795553061750.03984088938765050.0199204446938252
1140.9835347974221170.03293040515576570.0164652025778829
1150.986671401187810.02665719762437980.0133285988121899
1160.9858210066452770.02835798670944570.0141789933547229
1170.9849366666589040.03012666668219260.0150633333410963
1180.9838364020090480.03232719598190450.0161635979909522
1190.9867481798051060.02650364038978780.0132518201948939
1200.9857306896315130.02853862073697490.0142693103684875
1210.9845513723996250.03089725520074940.0154486276003747
1220.9832358826253410.0335282347493180.016764117374659
1230.9819630629373240.03607387412535150.0180369370626757
1240.9853840122624560.0292319754750870.0146159877375435
1250.9884626802637740.02307463947245220.0115373197362261
1260.990858911841860.01828217631627840.00914108815813919
1270.990155695092140.01968860981571830.00984430490785917
1280.989329088207010.02134182358598130.0106709117929906
1290.98836789805870.02326420388260150.0116321019413007
1300.987260175627120.02547964874576180.0127398243728809
1310.98599173675620.02801652648759860.0140082632437993
1320.9845846230064890.03083075398702280.0154153769935114
1330.9829345713997840.03413085720043130.0170654286002156
1340.9810649862710460.03787002745790760.0189350137289538
1350.9789503403955780.04209931920884310.0210496596044215
1360.976576043686830.04684791262633930.0234239563131697
1370.9739210723253660.05215785534926850.0260789276746343
1380.9709250828131580.05814983437368420.0290749171868421
1390.9675784625654330.06484307486913410.0324215374345670
1400.9638513510457220.0722972979085570.0361486489542785
1410.9597317486338010.08053650273239780.0402682513661989
1420.9551534543394160.08969309132116770.0448465456605838
1430.9500903213948970.09981935721020640.0499096786051032
1440.9445460583615280.1109078832769450.0554539416384723
1450.9385273615047840.1229452769904330.0614726384952165
1460.93189234403750.1362153119249980.0681076559624991
1470.9246533673302150.1506932653395710.0753466326697854
1480.9168442111301370.1663115777397260.0831557888698631
1490.9083573531519920.1832852936960160.0916426468480082
1500.899226506064580.201546987870840.10077349393542
1510.889455939489890.2210881210202180.110544060510109
1520.8797990541158260.2404018917683470.120200945884174
1530.8686816050790560.2626367898418870.131318394920944
1540.8570379099626050.2859241800747900.142962090037395
1550.8446249389927770.3107501220144450.155375061007223
1560.8314911705879660.3370176588240670.168508829412034
1570.8177040684560630.3645918630878740.182295931543937
1580.8033284467400310.3933431065199380.196671553259969
1590.7883530466305750.4232939067388510.211646953369425
1600.7727607377151850.4544785245696310.227239262284815
1610.7566364810381120.4867270379237760.243363518961888
1620.7400240614590130.5199518770819740.259975938540987
1630.7229718501165980.5540562997668050.277028149883402
1640.7061970800417930.5876058399164140.293802919958207
1650.6903068300849380.6193863398301240.309693169915062
1660.6723068826527920.6553862346944160.327693117347208
1670.6540847393511940.6918305212976120.345915260648806
1680.6355883563307920.7288232873384150.364411643669208
1690.6170742748403780.7658514503192430.382925725159622
1700.5985236565527660.8029526868944680.401476343447234
1710.5799991553712600.8400016892574790.420000844628739
1720.5617549486347390.8764901027305230.438245051365261
1730.5434664293054050.913067141389190.456533570694595
1740.5257769642412240.9484460715175520.474223035758776
1750.5079507776442510.9840984447114970.492049222355749
1760.4908156223541590.9816312447083180.509184377645841
1770.4736553497522190.9473106995044390.526344650247781
1780.552498644424080.895002711151840.44750135557592
1790.5354327035109180.9291345929781640.464567296489082
1800.5186413094011140.9627173811977720.481358690598886
1810.5033232076583980.9933535846832040.496676792341602
1820.5781981195073760.8436037609852470.421801880492624
1830.5642015615659680.8715968768680630.435798438434032
1840.6341540308001420.7316919383997150.365845969199858
1850.6956976934748460.6086046130503080.304302306525154
1860.7488408702253910.5023182595492170.251159129774609
1870.7942181625185760.4115636749628470.205781837481424
1880.7819988112740560.4360023774518870.218001188725944
1890.7695359518934860.4609280962130280.230464048106514
1900.7567323211977160.4865353576045690.243267678802284
1910.743969364662120.512061270675760.25603063533788
1920.730907366729620.538185266540760.26909263327038
1930.7180089116068390.5639821767863220.281991088393161
1940.7048651714251470.5902696571497070.295134828574853
1950.6918398951059910.6163202097880180.308160104894009
1960.7433710661197950.513257867760410.256628933880205
1970.78725048575340.4254990284932010.212749514246600
1980.8253955292356650.349208941528670.174604470764335
1990.8578286092622390.2843427814755220.142171390737761
2000.8863197765077670.2273604469844650.113680223492232
2010.9089629980587870.1820740038824260.0910370019412128
2020.9277309757107090.1445380485785830.0722690242892914
2030.9431714482002760.1136571035994490.0568285517997245
2040.9548884160137480.09022316797250380.0451115839862519
2050.966344964556090.06731007088781960.0336550354439098
2060.974463332474410.05107333505118210.0255366675255910
2070.9810699140305170.0378601719389670.0189300859694835
2080.9860763208160140.02784735836797120.0139236791839856
2090.989285568730550.02142886253889970.0107144312694499
2100.9923804931283790.01523901374324280.0076195068716214
2110.9914533500821110.01709329983577740.0085466499178887
2120.990420329561210.01915934087758010.00957967043879003
2130.9893531611814510.02129367763709830.0106468388185491
2140.9881093638352960.02378127232940710.0118906361647036
2150.9867191706798070.02656165864038530.0132808293201927
2160.9851756589407750.02964868211845090.0148243410592255
2170.983497544736890.03300491052621850.0165024552631093
2180.9817411792198360.03651764156032760.0182588207801638
2190.9797079459812820.04058410803743630.0202920540187182
2200.9777226166792050.04455476664159020.0222773833207951
2210.975303920378810.04939215924237860.0246960796211893
2220.9727028146495120.05459437070097550.0272971853504878
2230.9698981725571140.06020365488577190.0301018274428860
2240.9668602339527460.06627953209450870.0331397660472543
2250.9636041937993880.07279161240122340.0363958062006117
2260.960295803179860.0794083936402820.039704196820141
2270.956565971357990.08686805728401930.0434340286420097
2280.9525938956265270.0948122087469450.0474061043734725
2290.9482163166570560.1035673666858880.0517836833429438
2300.9437442618222490.1125114763555030.0562557381777514
2310.938986719992220.1220265600155590.0610132800077794
2320.9340376254619070.1319247490761870.0659623745380934
2330.9288646818506420.1422706362987150.0711353181493577
2340.9237161328515840.1525677342968330.0762838671484164
2350.9181424118069480.1637151763861040.081857588193052
2360.9123994935254580.1752010129490840.087600506474542
2370.9064857563218380.1870284873563240.0935142436781618
2380.9005655323193730.1988689353612540.0994344676806272
2390.894410952642990.2111780947140190.105589047357009
2400.888177275764330.2236454484713410.111822724235671
2410.881897795287250.2362044094254990.118102204712750
2420.875637121424230.248725757151540.12436287857577
2430.8693739531777170.2612520936445670.130626046822283
2440.8633998826257120.2732002347485760.136600117374288
2450.85720881480190.2855823703962010.142791185198101
2460.8817385451829980.2365229096340030.118261454817002
2470.9031313719602660.1937372560794680.096868628039734
2480.8978893565052040.2042212869895920.102110643494796
2490.9170161207253210.1659677585493580.082983879274679
2500.933481826481580.1330363470368400.0665181735184199
2510.9297262530400790.1405474939198410.0702737469599206
2520.9442459901885360.1115080196229280.0557540098114638
2530.94008775203330.1198244959334000.0599122479666998
2540.9364104122708130.1271791754583730.0635895877291865
2550.9330535518217260.1338928963565470.0669464481782735
2560.9287937114639420.1424125770721160.0712062885360582
2570.9251841835722720.1496316328554560.074815816427728
2580.9233493797571350.1533012404857310.0766506202428655
2590.938528939128520.1229421217429610.0614710608714806
2600.9347383927546960.1305232144906090.0652616072453043
2610.9482262659569760.1035474680860470.0517737340430237
2620.9596850555075560.08062988898488760.0403149444924438
2630.9564027135070410.08719457298591770.0435972864929589
2640.9537456439454780.09250871210904440.0462543560545222
2650.9642981896332830.07140362073343370.0357018103667168
2660.9614535997330480.07709280053390390.0385464002669519
2670.9707237133094920.05855257338101630.0292762866905082
2680.967962311915250.0640753761694980.032037688084749
2690.9761355814804070.04772883703918660.0238644185195933
2700.9737654550001510.05246908999969790.0262345449998490
2710.9808782853115580.03824342937688360.0191217146884418
2720.98653455047940.02693089904119780.0134654495205989
2730.9908944709120830.01821105817583430.00910552908791715
2740.9897901084518730.0204197830962550.0102098915481275
2750.9884842465490820.02303150690183590.0115157534509180
2760.9873711863950250.02525762720995090.0126288136049754
2770.9862378346491190.02752433070176230.0137621653508811
2780.9846334126989120.03073317460217670.0153665873010884
2790.9879857332443020.02402853351139600.0120142667556980
2800.9866680976183340.02666380476333220.0133319023816661
2810.9910661545040260.01786769099194760.00893384549597378
2820.9898753172540740.02024936549185200.0101246827459260
2830.9893866141921830.02122677161563370.0106133858078169
2840.9880558870014990.02388822599700270.0119441129985014
2850.9866264291417650.02674714171646910.0133735708582345
2860.9850632946330130.02987341073397470.0149367053669874
2870.9899264381015530.02014712379689410.0100735618984471
2880.988653820328480.02269235934304020.0113461796715201
2890.9926488577180350.01470228456393070.00735114228196535
2900.9923217658759530.01535646824809480.00767823412404741
2910.995268630105450.009462739789102480.00473136989455124
2920.994678691829630.01064261634073820.0053213081703691
2930.993908493277260.01218301344548040.0060915067227402
2940.9930023886304650.01399522273906970.00699761136953484
2950.9921521739375140.01569565212497220.00784782606248608
2960.9947765671148260.01044686577034780.00522343288517391
2970.9939574006900160.01208519861996830.00604259930998416
2980.996482931542950.007034136914098340.00351706845704917
2990.9958684710089530.008263057982093750.00413152899104688
3000.9951671918785780.009665616242843830.00483280812142192
3010.9972798128721060.005440374255788190.00272018712789409
3020.996774585832330.006450828335341560.00322541416767078
3030.9961821982822960.007635603435408470.00381780171770423
3040.9980064384292030.003987123141593460.00199356157079673
3050.9977938960678350.004412207864329120.00220610393216456
3060.9973848048585060.005230390282987840.00261519514149392
3070.9987311744915220.002537651016955820.00126882550847791
3080.9994248821658130.001150235668373580.000575117834186791
3090.999303546094250.001392907811497930.000696453905748964
3100.999741696905460.0005166061890794960.000258303094539748
3110.999922468610480.0001550627790414037.75313895207014e-05
3120.9999107970770210.0001784058459571228.9202922978561e-05
3130.9999787484759444.25030481127834e-052.12515240563917e-05
3140.999996073340597.85331881864925e-063.92665940932462e-06
3150.9999944407839951.11184320103583e-055.55921600517917e-06
3160.999992213052151.55738957020070e-057.78694785100352e-06
3170.9999890421825722.19156348553101e-051.09578174276550e-05
3180.9999848144870783.03710258447655e-051.51855129223828e-05
3190.9999788772318264.22455363471918e-052.11227681735959e-05
3200.9999706234028965.87531942081755e-052.93765971040878e-05
3210.9999593199311018.13601377970878e-054.06800688985439e-05
3220.9999439159039030.0001121681921942055.60840960971024e-05
3230.9999230294183560.0001539411632886057.69705816443023e-05
3240.99998707704832.58459034013285e-051.29229517006642e-05
3250.999981621243033.67575139392196e-051.83787569696098e-05
3260.999973988084295.20238314187709e-052.60119157093854e-05
3270.9999971164094735.7671810541199e-062.88359052705995e-06
3280.99999984348053.13038998762111e-071.56519499381056e-07
3290.9999997602243954.79551209468982e-072.39775604734491e-07
3300.9999996341096377.31780725892672e-073.65890362946336e-07
3310.999999443891831.11221634088892e-065.56108170444461e-07
3320.9999991582493791.68350124213519e-068.41750621067595e-07
3330.9999987312454742.53750905227692e-061.26875452613846e-06
3340.9999980859280243.82814395163406e-061.91407197581703e-06
3350.9999971330153835.73396923472964e-062.86698461736482e-06
3360.9999957346262358.53074752987692e-064.26537376493846e-06
3370.9999936451765411.27096469176393e-056.35482345881965e-06
3380.9999906316658841.87366682311720e-059.36833411558598e-06
3390.9999862447942352.75104115308602e-051.37552057654301e-05
3400.999979745634144.05087317211565e-052.02543658605783e-05
3410.9999703520342255.92959315490901e-052.96479657745451e-05
3420.9999571218300798.57563398420821e-054.28781699210411e-05
3430.9999383129237910.0001233741524172246.16870762086118e-05
3440.9999117275091010.0001765449817980358.82724908990174e-05
3450.999874371982170.0002512560356580940.000125628017829047
3460.9998221989809180.0003556020381640440.000177801019082022
3470.9997488835648620.0005022328702750480.000251116435137524
3480.9996485942497730.0007028115004542990.000351405750227149
3490.9995111271649780.0009777456700435150.000488872835021758
3500.9993239286964060.001352142607187330.000676071303593665
3510.99906684423870.001866311522601430.000933155761300717
3520.9987208479244190.002558304151162240.00127915207558112
3530.9982582268285220.003483546342954940.00174177317147747
3540.9976489220327240.004702155934551880.00235107796727594
3550.9968472702571540.006305459485692410.00315272974284620
3560.995800262415310.008399475169380170.00419973758469008
3570.9945524032521820.01089519349563560.00544759674781778
3580.9928327205061180.01433455898776410.00716727949388204
3590.9906363380032670.01872732399346530.00936366199673267
3600.987854039437060.02429192112588060.0121459605629403
3610.9843571258055870.03128574838882620.0156428741944131
3620.9800034218995720.03999315620085620.0199965781004281
3630.97462853399710.05074293200579960.0253714660028998
3640.9941105521107060.01177889577858820.00588944788929409
3650.9921555201783160.01568895964336740.00784447982168369
3660.9896851103075520.02062977938489510.0103148896924475
3670.9865366119923550.02692677601528930.0134633880076446
3680.9825584115743110.03488317685137730.0174415884256887
3690.977576056346950.04484788730609860.0224239436530493
3700.9713921909937120.0572156180125760.028607809006288
3710.9637876800599960.07242463988000810.0362123199400041
3720.9549301036350540.09013979272989160.0450698963649458
3730.9437896966271420.1124206067457170.0562103033728585
3740.9305394641454610.1389210717090770.0694605358545387
3750.9147712760310880.1704574479378240.0852287239689122
3760.8963057355982280.2073885288035430.103694264401772
3770.8755641538753780.2488716922492440.124435846124622
3780.8511387579700520.2977224840598970.148861242029948
3790.8234518791475760.3530962417048480.176548120852424
3800.7924805490651380.4150389018697230.207519450934862
3810.7582645089242140.4834709821515720.241735491075786
3820.7313388534762850.5373222930474290.268661146523715
3830.7272735314778410.5454529370443180.272726468522159
3840.6879957812001180.6240084375997630.312004218799882
3850.650289392262420.6994212154751610.349710607737580
3860.6123137136116320.7753725727767360.387686286388368
3870.5709082068494040.8581835863011910.429091793150596
3880.5289907103395030.9420185793209940.471009289660497
3890.4871972849854240.9743945699708470.512802715014576
3900.4519397732949350.903879546589870.548060226705065
3910.4167772687893170.8335545375786340.583222731210683
3920.3838376111343270.7676752222686540.616162388865673
3930.3531899632859280.7063799265718550.646810036714072
3940.3278942656972440.6557885313944890.672105734302756
3950.473896033032240.947792066064480.52610396696776
3960.436129886621640.872259773243280.56387011337836
3970.4125216244820130.8250432489640260.587478375517987
3980.4518308696604120.9036617393208250.548169130339587
3990.4156365492289090.8312730984578180.584363450771091
4000.3975364743049350.795072948609870.602463525695065
4010.3566844725430270.7133689450860540.643315527456973
4020.3270829851330950.654165970266190.672917014866905
4030.3081270094700020.6162540189400030.691872990529998
4040.4055420985105140.8110841970210280.594457901489486
4050.3640120401893010.7280240803786030.635987959810699
4060.3249052473163110.6498104946326220.675094752683689
4070.2965654780270290.5931309560540580.703434521972971
4080.292939805573630.585879611147260.70706019442637
4090.3048224350775290.6096448701550590.69517756492247
4100.3167439981098680.6334879962197360.683256001890132
4110.3800871802599940.7601743605199870.619912819740006
4120.3503324852662620.7006649705325250.649667514733738
4130.3595832575226220.7191665150452450.640416742477378
4140.4862764633340620.9725529266681250.513723536665938
4150.4035243627772840.8070487255545690.596475637222716
4160.3286453364965150.657290672993030.671354663503485
4170.5086079545932470.9827840908135050.491392045406753
4180.6466289405795980.7067421188408040.353371059420402
4190.5815633645488430.8368732709023140.418436635451157
4200.4880265881376040.9760531762752070.511973411862396
4210.3745943462521020.7491886925042040.625405653747898
4220.612544138586270.774911722827460.38745586141373


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level600.144927536231884NOK
5% type I error level1420.342995169082126NOK
10% type I error level1900.458937198067633NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/03/t1291362708qwebq2di92b2fqg/10429l1291362742.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/03/t1291362708qwebq2di92b2fqg/10429l1291362742.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/03/t1291362708qwebq2di92b2fqg/1x09i1291362741.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/03/t1291362708qwebq2di92b2fqg/1x09i1291362741.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/03/t1291362708qwebq2di92b2fqg/2x09i1291362741.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/03/t1291362708qwebq2di92b2fqg/2x09i1291362741.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/03/t1291362708qwebq2di92b2fqg/3x09i1291362741.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/03/t1291362708qwebq2di92b2fqg/3x09i1291362741.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/03/t1291362708qwebq2di92b2fqg/4q9831291362741.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/03/t1291362708qwebq2di92b2fqg/4q9831291362741.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/03/t1291362708qwebq2di92b2fqg/5q9831291362741.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/03/t1291362708qwebq2di92b2fqg/5q9831291362741.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/03/t1291362708qwebq2di92b2fqg/6q9831291362741.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/03/t1291362708qwebq2di92b2fqg/6q9831291362741.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/03/t1291362708qwebq2di92b2fqg/7tsa11291362742.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/03/t1291362708qwebq2di92b2fqg/7tsa11291362742.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/03/t1291362708qwebq2di92b2fqg/8429l1291362742.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/03/t1291362708qwebq2di92b2fqg/8429l1291362742.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/03/t1291362708qwebq2di92b2fqg/9429l1291362742.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/03/t1291362708qwebq2di92b2fqg/9429l1291362742.ps (open in new window)


 
Parameters (Session):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = Linear Trend ;
 
Parameters (R input):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = Linear Trend ;
 
R code (references can be found in the software module):
library(lattice)
library(lmtest)
n25 <- 25 #minimum number of obs. for Goldfeld-Quandt test
par1 <- as.numeric(par1)
x <- t(y)
k <- length(x[1,])
n <- length(x[,1])
x1 <- cbind(x[,par1], x[,1:k!=par1])
mycolnames <- c(colnames(x)[par1], colnames(x)[1:k!=par1])
colnames(x1) <- mycolnames #colnames(x)[par1]
x <- x1
if (par3 == 'First Differences'){
x2 <- array(0, dim=c(n-1,k), dimnames=list(1:(n-1), paste('(1-B)',colnames(x),sep='')))
for (i in 1:n-1) {
for (j in 1:k) {
x2[i,j] <- x[i+1,j] - x[i,j]
}
}
x <- x2
}
if (par2 == 'Include Monthly Dummies'){
x2 <- array(0, dim=c(n,11), dimnames=list(1:n, paste('M', seq(1:11), sep ='')))
for (i in 1:11){
x2[seq(i,n,12),i] <- 1
}
x <- cbind(x, x2)
}
if (par2 == 'Include Quarterly Dummies'){
x2 <- array(0, dim=c(n,3), dimnames=list(1:n, paste('Q', seq(1:3), sep ='')))
for (i in 1:3){
x2[seq(i,n,4),i] <- 1
}
x <- cbind(x, x2)
}
k <- length(x[1,])
if (par3 == 'Linear Trend'){
x <- cbind(x, c(1:n))
colnames(x)[k+1] <- 't'
}
x
k <- length(x[1,])
df <- as.data.frame(x)
(mylm <- lm(df))
(mysum <- summary(mylm))
if (n > n25) {
kp3 <- k + 3
nmkm3 <- n - k - 3
gqarr <- array(NA, dim=c(nmkm3-kp3+1,3))
numgqtests <- 0
numsignificant1 <- 0
numsignificant5 <- 0
numsignificant10 <- 0
for (mypoint in kp3:nmkm3) {
j <- 0
numgqtests <- numgqtests + 1
for (myalt in c('greater', 'two.sided', 'less')) {
j <- j + 1
gqarr[mypoint-kp3+1,j] <- gqtest(mylm, point=mypoint, alternative=myalt)$p.value
}
if (gqarr[mypoint-kp3+1,2] < 0.01) numsignificant1 <- numsignificant1 + 1
if (gqarr[mypoint-kp3+1,2] < 0.05) numsignificant5 <- numsignificant5 + 1
if (gqarr[mypoint-kp3+1,2] < 0.10) numsignificant10 <- numsignificant10 + 1
}
gqarr
}
bitmap(file='test0.png')
plot(x[,1], type='l', main='Actuals and Interpolation', ylab='value of Actuals and Interpolation (dots)', xlab='time or index')
points(x[,1]-mysum$resid)
grid()
dev.off()
bitmap(file='test1.png')
plot(mysum$resid, type='b', pch=19, main='Residuals', ylab='value of Residuals', xlab='time or index')
grid()
dev.off()
bitmap(file='test2.png')
hist(mysum$resid, main='Residual Histogram', xlab='values of Residuals')
grid()
dev.off()
bitmap(file='test3.png')
densityplot(~mysum$resid,col='black',main='Residual Density Plot', xlab='values of Residuals')
dev.off()
bitmap(file='test4.png')
qqnorm(mysum$resid, main='Residual Normal Q-Q Plot')
qqline(mysum$resid)
grid()
dev.off()
(myerror <- as.ts(mysum$resid))
bitmap(file='test5.png')
dum <- cbind(lag(myerror,k=1),myerror)
dum
dum1 <- dum[2:length(myerror),]
dum1
z <- as.data.frame(dum1)
z
plot(z,main=paste('Residual Lag plot, lowess, and regression line'), ylab='values of Residuals', xlab='lagged values of Residuals')
lines(lowess(z))
abline(lm(z))
grid()
dev.off()
bitmap(file='test6.png')
acf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Autocorrelation Function')
grid()
dev.off()
bitmap(file='test7.png')
pacf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Partial Autocorrelation Function')
grid()
dev.off()
bitmap(file='test8.png')
opar <- par(mfrow = c(2,2), oma = c(0, 0, 1.1, 0))
plot(mylm, las = 1, sub='Residual Diagnostics')
par(opar)
dev.off()
if (n > n25) {
bitmap(file='test9.png')
plot(kp3:nmkm3,gqarr[,2], main='Goldfeld-Quandt test',ylab='2-sided p-value',xlab='breakpoint')
grid()
dev.off()
}
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Estimated Regression Equation', 1, TRUE)
a<-table.row.end(a)
myeq <- colnames(x)[1]
myeq <- paste(myeq, '[t] = ', sep='')
for (i in 1:k){
if (mysum$coefficients[i,1] > 0) myeq <- paste(myeq, '+', '')
myeq <- paste(myeq, mysum$coefficients[i,1], sep=' ')
if (rownames(mysum$coefficients)[i] != '(Intercept)') {
myeq <- paste(myeq, rownames(mysum$coefficients)[i], sep='')
if (rownames(mysum$coefficients)[i] != 't') myeq <- paste(myeq, '[t]', sep='')
}
}
myeq <- paste(myeq, ' + e[t]')
a<-table.row.start(a)
a<-table.element(a, myeq)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable1.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,hyperlink('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