Home » date » 2010 » Dec » 01 »

*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: Wed, 01 Dec 2010 15:27:32 +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/01/t12912175515o3p7xfwssxh4ta.htm/, Retrieved Wed, 01 Dec 2010 16:32:31 +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/01/t12912175515o3p7xfwssxh4ta.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 «
0 162556 807 213118 6282154 0 29790 444 81767 4321023 0 87550 412 153198 4111912 1 84738 428 -26007 223193 0 54660 315 126942 1491348 0 42634 168 157214 1629616 1 40949 263 129352 1398893 0 45187 267 234817 1926517 0 37704 228 60448 983660 0 16275 129 47818 1443586 1 25830 104 245546 1073089 1 12679 122 48020 984885 0 18014 393 -1710 1405225 1 43556 190 32648 227132 0 24811 280 95350 929118 1 6575 63 151352 1071292 1 7123 102 288170 638830 0 21950 265 114337 856956 0 37597 234 37884 992426 1 17821 277 122844 444477 0 12988 73 82340 857217 0 22330 67 79801 711969 1 13326 103 165548 702380 1 16189 290 116384 358589 1 7146 83 134028 297978 1 15824 56 63838 585715 0 27664 236 74996 657954 1 11920 73 31080 209458 1 8568 34 32168 786690 1 14416 139 49857 439798 0 3369 26 87161 688779 0 11819 70 106113 574339 0 6984 40 80570 741409 0 4519 42 102129 597793 1 2220 12 301670 644190 1 18562 211 102313 377934 1 10327 74 88577 640273 0 5336 80 112477 697458 0 2365 83 191778 550608 1 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 time16 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24
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
Orders[t] = -0.0321496042297002 -6.80069463873589Group[t] + 0.00478203964047135Costs[t] + 0.000206178289283141Dividends[t] + 1.78540150556557e-05`Wealth `[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.03214960422970025.445825-0.00590.9952920.497646
Group-6.800694638735893.825673-1.77760.0761750.038088
Costs0.004782039640471350.00023320.480300
Dividends0.0002061782892831415.6e-053.65480.000290.000145
`Wealth `1.78540150556557e-057e-062.71250.0069470.003474


Multiple Linear Regression - Regression Statistics
Multiple R0.886269902342121
R-squared0.785474339797513
Adjusted R-squared0.783460014349603
F-TEST (value)389.944107895888
F-TEST (DF numerator)4
F-TEST (DF denominator)426
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation34.6604478309839
Sum Squared Residuals511773.670277695


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1807933.419062945624-126.419062945624
2444236.431001163061207.568998836939
3412523.635661236168-111.635661236168
4428397.01044322422630.9895567757735
5315314.1533711873370.846628812662884
6168265.354630597923-97.3546305979233
7263240.632327753322.3676722466998
8267298.864106507325-31.8641065073254
9228210.29521868033617.7047813196641
10129113.42838515951715.5716148404833
11104186.472441052786-82.4724410527862
1212281.283469428036740.7165305719633
13393110.847855911131282.152144088869
14190212.240201273542-22.2402012735420
15280154.862622559133125.137377440867
166374.9414263297191-11.9414263297191
1710298.04970217683923.95029782316082
18265143.807532891918121.192467108082
19234205.28784181539928.7121581846014
20277111.651349008465165.348650991535
217394.3584668097501-21.3584668097501
2267135.915534475740-68.9155344757398
23103103.565322534993-0.565322534992599
24290100.981702921347189.018297078653
258360.293378482137722.7066215178623
265692.4575250874337-36.4575250874337
27236159.46786261477776.5321373852228
287360.316755787900512.6832442120995
293454.8175897103869-20.8175897103869
3013980.236630296306358.7633697036937
312646.3467184527456-20.3467184527456
327088.6192308702534-18.6192308702534
334063.2145274607636-23.2145274607636
344253.3076752594239-11.3076752594239
351277.4824662456288-65.4824662456288
36211109.773734200934101.226265799066
377472.24537723574471.75462276425525
388061.127554993712818.8724450062872
398360.648397629391822.3516023706082
4013132.781924996501898.2180750034982
4120366.3011834563275136.698816543673
425684.8262740777907-28.8262740777907
438943.105910826268245.8940891737318
448857.029280806880130.9707191931199
453936.47550400535882.5244959946412
462545.3325042027528-20.3325042027528
474973.3922856762823-24.3922856762823
4814971.718834232863677.2811657671364
495850.11663250509867.88336749490143
504123.314455082190517.6855449178095
519046.840321831016443.1596781689836
5213656.852591503558279.1474084964418
539782.518252367267614.4817476327324
546344.946688962535318.0533110374647
5511458.705547230745855.2944527692542
567724.464394151034952.5356058489651
57633.1286499751412-27.1286499751412
584744.90410811392242.09589188607761
595125.918838016628125.0811619833719
608569.515817776352215.4841822236478
614354.8431673408851-11.8431673408851
623215.527529888532616.4724701114674
632541.816087587754-16.816087587754
647759.623386712372717.3766132876273
655424.468489253356129.5315107466439
6625181.657947375811169.342052624189
671518.6964552069016-3.69645520690162
684437.58103507760226.4189649223978
697333.704290749726739.2957092502733
708547.52758856196237.4724114380380
714923.771506759184325.2284932408157
723832.45360196087395.54639803912609
733527.59607748339357.40392251660653
74917.9789825398686-8.97898253986856
753434.1659527348412-0.165952734841173
762028.8233406698778-8.8233406698778
772928.24091993129460.759080068705391
781116.5280284057-5.5280284057
795219.187542876946832.8124571230532
801333.5221546362926-20.5221546362926
812918.541751918058410.4582480819416
826648.527314723558517.4726852764415
833332.30881473444280.691185265557162
841510.61933865623904.38066134376104
851523.5449652465983-8.54496524659828
866846.811360982159421.1886390178406
8710037.376671697560462.6233283024396
881323.5081441618991-10.5081441618991
894530.695922351866114.3040776481339
901424.0815024018228-10.0815024018228
913629.45931064094786.5406893590522
924037.92078939666182.07921060333825
936825.130975355616742.8690246443833
942963.8888430587835-34.8888430587835
954316.341005945509126.6589940544909
963033.7231589764289-3.72315897642892
97925.4263584453537-16.4263584453537
982227.1016447630315-5.10164476303154
991939.4655142783714-20.4655142783714
100927.3536402922156-18.3536402922156
1013127.18166623493743.81833376506263
1021920.6938577705354-1.69385777053537
1035536.972204857306518.0277951426936
104824.9841230276603-16.9841230276603
1052821.96689673874546.03310326125457
1062916.303413442140112.6965865578599
1074829.806689102083218.1933108979168
1081639.0503521254017-23.0503521254017
1094747.1046607920999-0.104660792099872
1102028.7099645519015-8.70996455190148
1112218.95085918609453.04914081390551
1123329.13453300222633.86546699777367
1134440.67414173532353.32585826467646
1141331.8606858475263-18.8606858475263
115625.2212329766197-19.2212329766197
1163518.107841568923716.8921584310763
117818.5534270303421-10.5534270303421
1181730.0466990555222-13.0466990555222
1191130.3924887203891-19.3924887203891
1202115.43691559906265.56308440093743
1219273.198411204921618.8015887950784
1221217.1336259772219-5.1336259772219
12311226.295282354918585.7047176450815
1242538.6580434459907-13.6580434459907
1251731.9021501333129-14.9021501333129
1262335.2325680963851-12.2325680963851
127011.3171007505594-11.3171007505594
1281011.7665411411293-1.76654114112927
1292312.808692287473710.1913077125263
130011.3171007505594-11.3171007505594
131711.4427979788378-4.44279797883782
1322518.68484515201686.3151548479832
133011.3171007505594-11.3171007505594
1342011.51191815525908.48808184474104
135414.3425087989045-10.3425087989045
136412.7772731051669-8.77727310516685
1371011.9763251193434-1.97632511934342
138111.3322089193393-10.3322089193393
139415.5982524830312-11.5982524830312
140011.3171007505594-11.3171007505594
141813.0014154866965-5.00141548669653
142011.3171007505594-11.3171007505594
1431114.9900149607420-3.99001496074198
144411.5332349227869-7.53323492278693
1451514.31543240569550.684567594304547
146911.8872241131459-2.88722411314589
147011.3171007505594-11.3171007505594
148711.3768329826744-4.37683298267437
149212.7892347677114-10.7892347677114
150011.4539515246365-11.4539515246365
151712.9532965275177-5.95329652751773
1524619.535837802214726.4641621977853
153511.3171007505594-6.31710075055943
154712.7608329146418-5.76083291464176
155211.4552781184001-9.45527811840006
156011.3171007505594-11.3171007505594
157011.3171007505594-11.3171007505594
158211.9419269399056-9.94192693990563
159513.655336837957-8.655336837957
160011.3171007505594-11.3171007505594
161011.3171007505594-11.3171007505594
162011.3171007505594-11.3171007505594
163011.3171007505594-11.3171007505594
164713.4868197235411-6.48681972354111
1652413.776497759772610.2235022402274
166111.5329653141639-10.5329653141639
167011.3171007505594-11.3171007505594
1681813.04018543390884.95981456609122
1695534.045091931261220.9549080687388
170011.3171007505594-11.3171007505594
171011.3171007505594-11.3171007505594
172311.6102779370862-8.61027793708618
173011.3171007505594-11.3171007505594
174912.4357123308401-3.43571233084007
175011.3171007505594-11.3171007505594
176811.9702465505975-3.97024655059753
17711313.192191072935499.8078089270646
178018.4766864569852-18.4766864569852
179011.3171007505594-11.3171007505594
180011.3171007505594-11.3171007505594
1811919.0018957884194-0.0018957884194137
1821123.1709713087843-12.1709713087843
1832522.05017496574642.94982503425359
1841621.9041297452634-5.90412974526339
185518.5958712572188-13.5958712572188
1861121.4149113671093-10.4149113671093
1872330.6284872627364-7.62848726273645
188612.2654211542987-6.26542115429871
189513.0126578357457-8.01265783574565
190011.3171007505594-11.3171007505594
191712.4407028994259-5.4407028994259
192011.3171007505594-11.3171007505594
193712.1787406269028-5.17874062690278
194011.3171007505594-11.3171007505594
195311.4915472063079-8.4915472063079
196018.1177953892953-18.1177953892953
1978954.50172781845834.498272181542
198018.1177953892953-18.1177953892953
199018.1177953892953-18.1177953892953
2001923.5417246285509-4.54172462855085
201018.1177953892953-18.1177953892953
202018.1177953892953-18.1177953892953
203018.1177953892953-18.1177953892953
2041216.7866663307069-4.78666633070694
2051226.1687697241976-14.1687697241976
206518.3724355261372-13.3724355261372
207219.5003833518914-17.5003833518914
208018.1177953892953-18.1177953892953
2092621.53930205526144.46069794473864
210319.2344908390710-16.2344908390710
211011.3171007505594-11.3171007505594
212011.3171007505594-11.3171007505594
2131112.2209552905752-1.22095529057518
2141013.3716969223777-3.37169692237773
215514.0679291741777-9.06792917417773
216211.3171007505594-9.31710075055943
217611.4172161719141-5.41721617191407
218713.2423773538907-6.24237735389074
219211.3171007505594-9.31710075055943
2202819.43771856800318.56228143199687
221312.3167321483636-9.31673214836362
222011.3171007505594-11.3171007505594
223111.3264467427252-10.3264467427252
2242013.49762322783596.50237677216412
225111.4337660849088-10.4337660849088
2262212.77935658158479.22064341841534
227911.5940041901470-2.59400419014705
228011.3171007505594-11.3171007505594
229213.1203065877197-11.1203065877197
230011.3171007505594-11.3171007505594
231713.1939419797202-6.19394197972015
232914.953298679501-5.95329867950101
233011.3171007505594-11.3171007505594
2341313.0591332827742-0.0591332827741919
235011.3171007505594-11.3171007505594
236011.3333173101048-11.3333173101048
237011.3171007505594-11.3171007505594
238611.5014304143984-5.50143041439836
239011.3171007505594-11.3171007505594
240011.3171007505594-11.3171007505594
241011.3171007505594-11.3171007505594
242311.8540565223712-8.8540565223712
243011.3171007505594-11.3171007505594
244711.2504853668667-4.25048536686666
245225.0954849375412-23.0954849375412
246018.1177953892953-18.1177953892953
247018.1177953892953-18.1177953892953
2481512.05376491198052.94623508801946
249018.1177953892953-18.1177953892953
250018.1177953892953-18.1177953892953
251910.3997068418423-1.39970684184229
252018.1177953892953-18.1177953892953
253112.6986121869227-11.6986121869227
2543816.628376465682121.3716235343179
2555725.884850238958231.1151497610418
256011.3171007505594-11.3171007505594
257711.7421829449370-4.74218294493703
2582610.072369934019615.9276300659804
259018.1177953892953-18.1177953892953
260011.3171007505594-11.3171007505594
261018.1177953892953-18.1177953892953
262018.1177953892953-18.1177953892953
2631315.4054059597951-2.40540595979513
2641012.6968008885079-2.69680088850786
265018.1177953892953-18.1177953892953
266011.3171007505594-11.3171007505594
267018.1177953892953-18.1177953892953
268916.8825477226402-7.8825477226402
269018.1177953892953-18.1177953892953
2702614.139004520045911.8609954799541
271018.1177953892953-18.1177953892953
272018.1177953892953-18.1177953892953
273018.1177953892953-18.1177953892953
2741911.83847166820927.1615283317908
275011.3171007505594-11.3171007505594
2761213.1055079400088-1.10550794000877
2772313.72102146713999.27897853286012
278011.3171007505594-11.3171007505594
2792925.4144683168673.58553168313298
280813.6036655096940-5.60366550969403
281018.1177953892953-18.1177953892953
282011.3171007505594-11.3171007505594
2832611.650626299199814.3493737008002
284011.3171007505594-11.3171007505594
285915.2747116300249-6.2747116300249
286011.3171007505594-11.3171007505594
287521.0601820908818-16.0601820908818
288311.782275385995-8.782275385995
289018.1177953892953-18.1177953892953
2901310.78494115984332.21505884015672
291018.1177953892953-18.1177953892953
2921212.7183393742920-0.718339374291953
2931918.59347092801550.406529071984534
294011.3171007505594-11.3171007505594
2951011.0886639790278-1.08866397902777
296920.1220114872209-11.1220114872209
297011.3171007505594-11.3171007505594
298018.1177953892953-18.1177953892953
299011.3171007505594-11.3171007505594
300911.3171007505594-2.31710075055943
301418.2377739877102-14.2377739877102
302112.0521554699485-11.0521554699485
303111.3171007505594-10.3171007505594
304018.1177953892953-18.1177953892953
3051413.81021910500350.189780894996473
3061211.33000746039040.669992539609594
307018.1177953892953-18.1177953892953
3081919.8194263527066-0.81942635270658
3091711.80972298062965.19027701937044
310018.1177953892953-18.1177953892953
311018.1177953892953-18.1177953892953
3123219.078095637438012.9219043625620
313018.1177953892953-18.1177953892953
3141419.1691882516156-5.16918825161558
315811.3448278874968-3.34482788749682
316413.4693284795786-9.46932847957863
317011.3117762410361-11.3117762410361
3182012.84341365296247.15658634703764
319511.3215337797902-6.32153377979017
320011.3171007505594-11.3171007505594
321011.3171007505594-11.3171007505594
322011.3171007505594-11.3171007505594
323011.3171007505594-11.3171007505594
324018.1177953892953-18.1177953892953
325011.3171007505594-11.3171007505594
326111.3713341238982-10.3713341238982
327018.1177953892953-18.1177953892953
328018.1177953892953-18.1177953892953
329011.3171007505594-11.3171007505594
330011.3171007505594-11.3171007505594
331011.3171007505594-11.3171007505594
332011.3171007505594-11.3171007505594
333011.3171007505594-11.3171007505594
334411.6763927805422-7.67639278054224
335111.3234688703453-10.3234688703453
336412.8185005115319-8.81850051153193
3372015.05187965273444.94812034726557
338011.3171007505594-11.3171007505594
339111.4509401375420-10.4509401375420
3401011.7529495192842-1.75294951928418
3411212.8810262757585-0.881026275758523
342011.3171007505594-11.3171007505594
343011.3171007505594-11.3171007505594
344011.3171007505594-11.3171007505594
3451314.1595553640357-1.15955536403565
346011.3171007505594-11.3171007505594
347311.3469203101476-8.3469203101476
348011.3171007505594-11.3171007505594
349011.3171007505594-11.3171007505594
3501019.0156736431683-9.01567364316826
351312.4306835783619-9.43068357836189
352711.6635554638190-4.66355546381903
3531014.0764430254319-4.07644302543190
354112.2190967034938-11.2190967034938
355011.3171007505594-11.3171007505594
356011.3171007505594-11.3171007505594
3571517.6235914275747-2.62359142757472
358011.3171007505594-11.3171007505594
359011.3171007505594-11.3171007505594
360011.3171007505594-11.3171007505594
361411.3226165190495-7.32261651904946
362011.3171007505594-11.3171007505594
363011.3171007505594-11.3171007505594
3642826.60420448796341.39579551203655
365911.9721255811181-2.97212558111806
366011.3171007505594-11.3171007505594
367011.3171007505594-11.3171007505594
368011.3171007505594-11.3171007505594
369011.3171007505594-11.3171007505594
370712.3626741367868-5.36267413678682
371011.3171007505594-11.3171007505594
372713.4083459900129-6.40834599001292
373716.0653653335594-9.06536533355935
374312.8524600902795-9.85246009027953
375011.3171007505594-11.3171007505594
376011.3171007505594-11.3171007505594
3771110.60200691586880.397993084131227
378714.2855081229565-7.2855081229565
3791021.9750298387916-11.9750298387916
380011.3171007505594-11.3171007505594
381011.3171007505594-11.3171007505594
3821816.50684537443721.49315462556281
383149.455587409916144.54441259008386
384011.3171007505594-11.3171007505594
3851212.1331481846554-0.133148184655352
3862923.30085248384975.69914751615027
387311.933936425126-8.933936425126
388615.1847187677369-9.18471876773694
389311.5741289979091-8.57412899790908
390813.4781934736785-5.47819347367849
3911013.7498971260917-3.74989712609165
392612.7664011492679-6.7664011492679
393813.4086848130079-5.40868481300786
394617.0825035414192-11.0825035414192
395938.6558981286922-29.6558981286922
396812.9701866809028-4.97018668090284
3972631.9190570728746-5.91905707287455
39823939.6756540284356199.324345971564
399714.1549104177616-7.1549104177616
4004118.581927730798022.418072269202
401318.1910638441603-15.1910638441603
402816.0752533298328-8.0752533298328
403613.5938712163418-7.59387121634177
4042126.5450050875821-5.54500508758209
405714.1929429373019-7.19294293730188
4061119.2334824959587-8.23348249595874
4071115.8185009938025-4.81850099380255
4081215.4842091041913-3.48420910419131
409912.6082174225844-3.6082174225844
410315.2069230048702-12.2069230048702
4115719.326812279307837.6731877206922
4122153.6110518994485-32.6110518994485
4131522.1684582022969-7.1684582022969
4143239.3101315790935-7.31013157909347
4151121.6764771078722-10.6764771078722
416216.5818881157542-14.5818881157542
4172323.2746844396856-0.274684439685605
4182023.4234430130124-3.42344301301238
4192418.42452752754975.57547247245027
420114.3211035147670-13.3211035147670
421116.9218426442436-15.9218426442436
4227426.053911759363847.9460882406362
4236850.609725589891617.3902744101084
4242035.1332585849377-15.1332585849377
4252020.2383964438426-0.238396443842626
4268242.066147466317839.9338525336822
4272123.6209125213084-2.62091252130842
428244201.41808335223142.5819166477692
4293258.3304757067437-26.3304757067437
4308688.6457179255465-2.64571792554648
4316985.0903133361254-16.0903133361254


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
80.9998883098075230.0002233803849534460.000111690192476723
90.999716016259620.0005679674807582040.000283983740379102
100.9999443260482820.0001113479034359685.56739517179838e-05
110.9999753089849524.93820300957664e-052.46910150478832e-05
120.9999902205782471.95588435054679e-059.77942175273394e-06
130.999999999997115.78190163958698e-122.89095081979349e-12
140.9999999999995928.1515054134217e-134.07575270671085e-13
150.999999999999992.07925590510214e-141.03962795255107e-14
160.9999999999999774.55076031171992e-142.27538015585996e-14
1712.72883676661331e-161.36441838330666e-16
1811.56459828818006e-177.8229914409003e-18
1911.17937912835475e-175.89689564177376e-18
2014.41671723776943e-232.20835861888471e-23
2112.32205286608012e-251.16102643304006e-25
2211.64623762560501e-298.23118812802506e-30
2312.90613081756171e-291.45306540878086e-29
2417.55189160013179e-373.77594580006589e-37
2511.74824284464163e-368.74121422320815e-37
2613.75246167757155e-401.87623083878577e-40
2716.00091362593121e-403.00045681296560e-40
2811.11537102762859e-405.57685513814295e-41
2913.01228311228821e-431.50614155614411e-43
3018.32341482140184e-434.16170741070092e-43
3114.510538552963e-442.2552692764815e-44
3211.50150933276047e-447.50754666380233e-45
3311.47394299065837e-457.36971495329184e-46
3411.35770577437513e-456.78852887187564e-46
3511.17669491618826e-475.88347458094131e-48
3616.20782543196744e-493.10391271598372e-49
3714.66393540262158e-492.33196770131079e-49
3811.67848802165089e-488.39244010825443e-49
3914.15895118742841e-482.07947559371420e-48
4013.69983186044036e-501.84991593022018e-50
4111.58565078340206e-557.92825391701031e-56
4214.66161122567031e-572.33080561283515e-57
4319.77030351106103e-574.88515175553052e-57
4413.53501125101307e-561.76750562550654e-56
4512.30255512733417e-561.15127756366709e-56
4611.42493942495448e-567.12469712477238e-57
4716.00080540327774e-573.00040270163887e-57
4813.94220075585415e-581.97110037792708e-58
4918.89829176426223e-584.44914588213111e-58
5011.36212903444475e-576.81064517222373e-58
5112.35937569560712e-571.17968784780356e-57
5219.32854061778962e-594.66427030889481e-59
5312.44225397717170e-581.22112698858585e-58
5418.7818492753329e-584.39092463766645e-58
5512.94152128308309e-581.47076064154155e-58
5611.22686407844323e-586.13432039221614e-59
5712.07094596916161e-601.03547298458081e-60
5813.1607072283401e-601.58035361417005e-60
5916.89927969366388e-603.44963984683194e-60
6012.02146301874398e-591.01073150937199e-59
6111.3002879564198e-596.501439782099e-60
6211.46590296063548e-597.3295148031774e-60
6319.12604955265775e-604.56302477632887e-60
6412.77730456584133e-591.38865228292067e-59
6514.29754618403026e-592.14877309201513e-59
6612.93909151122889e-711.46954575561444e-71
6713.90624331049546e-711.95312165524773e-71
6811.06705789302063e-705.33528946510314e-71
6911.14897656051884e-705.74488280259419e-71
7011.19261582128097e-705.96307910640485e-71
7115.28676924491691e-712.64338462245845e-71
7216.62544094095844e-713.31272047047922e-71
7311.82164364307939e-709.10821821539696e-71
7412.08785051329370e-701.04392525664685e-70
7515.48033370851507e-702.74016685425754e-70
7618.63964681306749e-704.31982340653374e-70
7712.33788407204278e-691.16894203602139e-69
7813.71472989238857e-691.85736494619429e-69
7913.00312676844042e-691.50156338422021e-69
8013.43214555358332e-691.71607277679166e-69
8116.6174952106759e-693.30874760533795e-69
8211.83830224240197e-689.19151121200984e-69
8315.80871887745603e-682.90435943872802e-68
8417.93324335786302e-683.96662167893151e-68
8511.43846983644804e-677.1923491822402e-68
8612.60389759821563e-671.30194879910782e-67
8711.44002580050454e-687.20012900252271e-69
8812.40890735078467e-681.20445367539234e-68
8917.44022800223014e-683.72011400111507e-68
9011.27078476876142e-676.35392384380709e-68
9113.81171740576422e-671.90585870288211e-67
9219.58656692217965e-674.79328346108982e-67
9313.01719504637518e-671.50859752318759e-67
9413.36927763944726e-681.68463881972363e-68
9511.76191315990128e-688.80956579950642e-69
9613.40672422377208e-681.70336211188604e-68
9712.96454461960163e-681.48227230980081e-68
9816.30670709368747e-683.15335354684374e-68
9911.89439781460534e-689.47198907302669e-69
10012.30385950380709e-681.15192975190355e-68
10116.12390128580849e-683.06195064290424e-68
10211.53110184512056e-677.65550922560281e-68
10315.34072877927289e-672.67036438963644e-67
10412.95659581229616e-671.47829790614808e-67
10517.34898756948569e-673.67449378474284e-67
10611.82155911058267e-669.10779555291335e-67
10712.51733652772472e-661.25866826386236e-66
10811.50842528554383e-667.54212642771914e-67
10913.41931084067853e-661.70965542033927e-66
11017.7714642922715e-663.88573214613575e-66
11111.9111452546244e-659.555726273122e-66
11213.38820357338547e-651.69410178669274e-65
11319.94575570380726e-654.97287785190363e-65
11411.36420954726542e-646.82104773632712e-65
11511.97293581486179e-649.86467907430895e-65
11612.83600957948645e-641.41800478974322e-64
11714.51985517392014e-642.25992758696007e-64
11815.2739805550467e-642.63699027752335e-64
11917.09196947896969e-643.54598473948484e-64
12011.66704477380931e-638.33522386904657e-64
12115.21296528960951e-632.60648264480475e-63
12211.19927464581004e-625.99637322905019e-63
12312.77575080926888e-661.38787540463444e-66
12413.04467832485493e-661.52233916242746e-66
12516.0397047923502e-663.0198523961751e-66
12611.34102452592876e-656.70512262964378e-66
12712.53854873721029e-651.26927436860515e-65
12816.14278438857855e-653.07139219428928e-65
12911.17354179772885e-645.86770898864426e-65
13012.32776463529215e-641.16388231764607e-64
13115.62902344614125e-642.81451172307062e-64
13211.22683198308674e-636.1341599154337e-64
13312.53504191809921e-631.26752095904961e-63
13415.53368223652243e-632.76684111826121e-63
13511.21145322961169e-626.05726614805846e-63
13612.80757263966508e-621.40378631983254e-62
13717.26361463115215e-623.63180731557608e-62
13811.63424677311149e-618.17123386555744e-62
13913.55910162924980e-611.77955081462490e-61
14017.90925947359622e-613.95462973679811e-61
14112.03095157298186e-601.01547578649093e-60
14214.58536084956122e-602.29268042478061e-60
14311.19379430703505e-595.96897153517523e-60
14413.01118548339194e-591.50559274169597e-59
14518.23030552633285e-594.11515276316642e-59
14612.12668378481782e-581.06334189240891e-58
14714.92513523488224e-582.46256761744112e-58
14811.30947365840714e-576.5473682920357e-58
14913.10201777920519e-571.55100888960259e-57
15017.24412990574268e-573.62206495287134e-57
15111.90638020590761e-569.53190102953804e-57
15211.4254165139141e-567.1270825695705e-57
15313.74359434930584e-561.87179717465292e-56
15419.87317107073e-564.936585535365e-56
15512.46103562943228e-551.23051781471614e-55
15615.86814526235789e-552.93407263117894e-55
15711.40314145181337e-547.01570725906683e-55
15813.47731159292084e-541.73865579646042e-54
15918.8644180248764e-544.4322090124382e-54
16012.13154393517142e-531.06577196758571e-53
16115.13438995823876e-532.56719497911938e-53
16211.23859222586419e-526.19296112932093e-53
16312.99166225407030e-521.49583112703515e-52
16417.92889043551724e-523.96444521775862e-52
16511.71914507648965e-518.59572538244823e-52
16614.23062458727136e-512.11531229363568e-51
16711.02197051489434e-505.10985257447169e-51
16811.87181925354451e-509.35909626772253e-51
16912.36364068414696e-501.18182034207348e-50
17015.7211234654816e-502.8605617327408e-50
17111.38497629527574e-496.92488147637868e-50
17213.53501707185836e-491.76750853592918e-49
17318.55154064353082e-494.27577032176541e-49
17412.28418531250795e-481.14209265625398e-48
17515.5154257448786e-482.7577128724393e-48
17611.45756561149133e-477.28782805745664e-48
17716.93000093471658e-553.46500046735829e-55
17811.3860137128853e-546.9300685644265e-55
17913.60684101548812e-541.80342050774406e-54
18019.38160539129885e-544.69080269564942e-54
18112.7792003247515e-531.38960016237575e-53
18216.4259042972637e-533.21295214863185e-53
18311.56260687511043e-527.81303437555215e-53
18414.25257091833519e-522.12628545916759e-52
18511.01340771192041e-515.06703855960204e-52
18612.61182445779544e-511.30591222889772e-51
18717.03292052605794e-513.51646026302897e-51
18811.94016366081090e-509.70081830405449e-51
18915.18022488575958e-502.59011244287979e-50
19011.32127798232274e-496.60638991161368e-50
19113.60428302692010e-491.80214151346005e-49
19219.16614311966651e-494.58307155983326e-49
19312.51026086205653e-481.25513043102826e-48
19416.3619961018282e-483.1809980509141e-48
19511.68872191024995e-478.44360955124974e-48
19613.50293420970676e-471.75146710485338e-47
19715.71399481010168e-472.85699740505084e-47
19811.19042109725089e-465.95210548625446e-47
19912.48927990007506e-461.24463995003753e-46
20016.49762684713923e-463.24881342356962e-46
20111.35991006728431e-456.79955033642153e-46
20212.85048557985556e-451.42524278992778e-45
20315.97912449903476e-452.98956224951738e-45
20411.42853117918701e-447.14265589593506e-45
20512.17529250920727e-441.08764625460364e-44
20615.24489386548647e-442.62244693274324e-44
20711.04581369599861e-435.22906847999307e-44
20812.17903651485755e-431.08951825742877e-43
20913.54756198937897e-431.77378099468948e-43
21017.92622444301071e-433.96311222150536e-43
21111.9495593998531e-429.7477969992655e-43
21214.78546064423128e-422.39273032211564e-42
21311.17052500498978e-415.85262502494888e-42
21413.06580057138026e-411.53290028569013e-41
21517.68105114046843e-413.84052557023421e-41
21611.92806448701013e-409.64032243505064e-41
21714.95602079625776e-402.47801039812888e-40
21811.26765100361920e-396.33825501809602e-40
21913.15377639065437e-391.57688819532719e-39
22015.46676026165903e-392.73338013082952e-39
22111.35236657368170e-386.76183286840852e-39
22213.24338721762045e-381.62169360881022e-38
22317.88549092739843e-383.94274546369921e-38
22411.61977114736324e-378.0988557368162e-38
22513.91145149262973e-371.95572574631487e-37
22617.25236446818805e-373.62618223409403e-37
22711.78431010107838e-368.9215505053919e-37
22814.22046022001801e-362.11023011000900e-36
22919.67463941520718e-364.83731970760359e-36
23012.27528938686944e-351.13764469343472e-35
23115.60367224496219e-352.80183612248109e-35
23211.37341733429100e-346.86708667145499e-35
23313.1993844624611e-341.59969223123055e-34
23417.5800078960422e-343.7900039480211e-34
23511.75498996034112e-338.77494980170559e-34
23614.04930655610652e-332.02465327805326e-33
23719.31695207583964e-334.65847603791982e-33
23812.23208962016908e-321.11604481008454e-32
23915.10230218536462e-322.55115109268231e-32
24011.16253647902117e-315.81268239510584e-32
24112.64007337946451e-311.32003668973225e-31
24216.14463724049072e-313.07231862024536e-31
24311.38588720064987e-306.92943600324935e-31
24413.23167408320765e-301.61583704160383e-30
24513.68909144633198e-301.84454572316599e-30
24617.13242852426575e-303.56621426213288e-30
24711.37272302073205e-296.86361510366024e-30
24812.96330730591261e-291.48165365295631e-29
24915.65945620293755e-292.82972810146878e-29
25011.07469188331680e-285.37345941658402e-29
25112.26303841617482e-281.13151920808741e-28
25214.25971297573008e-282.12985648786504e-28
25319.07078154623757e-284.53539077311879e-28
25411.23682235576465e-276.18411177882324e-28
25511.32744131318422e-276.6372065659211e-28
25612.91579286589329e-271.45789643294664e-27
25716.43815997608775e-273.21907998804387e-27
25815.38771183060979e-272.69385591530489e-27
25911.00064975658013e-265.00324878290065e-27
26012.18867823858995e-261.09433911929498e-26
26114.02263487968829e-262.01131743984414e-26
26217.32973820224045e-263.66486910112022e-26
26311.66354920173391e-258.31774600866955e-26
26413.60083171309428e-251.80041585654714e-25
26516.46404059637563e-253.23202029818781e-25
26611.38699696151425e-246.93498480757123e-25
26712.45826073868199e-241.22913036934099e-24
26814.99960502897566e-242.49980251448783e-24
26918.73824972429923e-244.36912486214961e-24
27011.54717754260539e-237.73588771302693e-24
27112.66716858355167e-231.33358429177583e-23
27214.53641982454968e-232.26820991227484e-23
27317.60189499349131e-233.80094749674566e-23
27411.34157743930609e-226.70788719653047e-23
27512.81141938062635e-221.40570969031318e-22
27615.92394606775556e-222.96197303387778e-22
27711.01969947277590e-215.09849736387952e-22
27812.11623175691044e-211.05811587845522e-21
27914.54402411306804e-212.27201205653402e-21
28019.60620442647603e-214.80310221323802e-21
28111.56440725717145e-207.82203628585726e-21
28213.19648069780796e-201.59824034890398e-20
28313.76935688850645e-201.88467844425323e-20
28417.68496375196715e-203.84248187598358e-20
28511.58174722791266e-197.9087361395633e-20
28613.19632304333127e-191.59816152166563e-19
28715.40795239723794e-192.70397619861897e-19
28811.10364610264605e-185.51823051323027e-19
28911.71609808446892e-188.5804904223446e-19
29013.01298985590835e-181.50649492795418e-18
29114.5782972234488e-182.2891486117244e-18
29219.07155615203689e-184.53577807601844e-18
29311.84675337994577e-179.23376689972887e-18
29413.63138659415602e-171.81569329707801e-17
29516.9926252712991e-173.49631263564955e-17
29611.28555651021448e-166.42778255107242e-17
29712.49590250703985e-161.24795125351993e-16
29813.61577327983424e-161.80788663991712e-16
29916.97563625762685e-163.48781812881343e-16
30011.34152335117960e-156.70761675589802e-16
3010.9999999999999992.13556713338507e-151.06778356669253e-15
3020.9999999999999984.09451971615187e-152.04725985807594e-15
3030.9999999999999967.8269087103169e-153.91345435515845e-15
3040.9999999999999951.06820389137918e-145.34101945689588e-15
3050.999999999999991.96999771460090e-149.84998857300452e-15
3060.9999999999999823.58061658100968e-141.79030829050484e-14
3070.9999999999999764.70911524109245e-142.35455762054622e-14
3080.9999999999999568.78571201024044e-144.39285600512022e-14
3090.9999999999999331.34567981962178e-136.72839909810891e-14
3100.9999999999999161.67245715426112e-138.36228577130561e-14
3110.9999999999999021.96938825636663e-139.84694128183315e-14
3120.999999999999823.61230018422443e-131.80615009211222e-13
3130.99999999999983.98896347769816e-131.99448173884908e-13
3140.999999999999696.20274219022196e-133.10137109511098e-13
3150.9999999999994261.14863541138594e-125.74317705692968e-13
3160.9999999999989472.10631601478571e-121.05315800739286e-12
3170.9999999999980753.8497816805135e-121.92489084025675e-12
3180.9999999999969696.06299637941013e-123.03149818970507e-12
3190.9999999999944371.11264945584829e-115.56324727924147e-12
3200.9999999999899872.00264612417094e-111.00132306208547e-11
3210.9999999999820753.58498498730842e-111.79249249365421e-11
3220.9999999999680886.38246157173717e-113.19123078586859e-11
3230.9999999999434991.13002253555009e-105.65011267775045e-11
3240.999999999944381.11240303163787e-105.56201515818935e-11
3250.9999999999018141.96372056466813e-109.81860282334067e-11
3260.9999999998266923.46616275635464e-101.73308137817732e-10
3270.9999999998461183.07764713783473e-101.53882356891737e-10
3280.9999999998819822.36036949061477e-101.18018474530739e-10
3290.999999999791864.16279910962553e-102.08139955481277e-10
3300.999999999635067.29879764992307e-103.64939882496154e-10
3310.99999999936391.27220110057724e-096.36100550288622e-10
3320.9999999988978352.20433041821226e-091.10216520910613e-09
3330.9999999981017133.79657299218454e-091.89828649609227e-09
3340.9999999967006036.59879376057275e-093.29939688028638e-09
3350.9999999943526461.12947072249066e-085.64735361245332e-09
3360.9999999903329791.93340428912296e-089.66702144561482e-09
3370.9999999849289483.01421036912511e-081.50710518456255e-08
3380.9999999747786915.04426179208371e-082.52213089604185e-08
3390.9999999578702168.42595683545327e-084.21297841772664e-08
3400.9999999308624561.38275088397928e-076.91375441989638e-08
3410.9999998862662622.27467475579009e-071.13733737789504e-07
3420.9999998142782683.71443464079250e-071.85721732039625e-07
3430.9999996987072666.0258546754522e-073.0129273377261e-07
3440.9999995144421819.71115637654163e-074.85557818827082e-07
3450.9999992273026431.54539471332355e-067.72697356661776e-07
3460.9999987704939612.45901207761162e-061.22950603880581e-06
3470.999998035722823.9285543604052e-061.9642771802026e-06
3480.999996916929626.16614075901415e-063.08307037950708e-06
3490.9999951943430639.61131387358003e-064.80565693679001e-06
3500.9999924937313161.5012537368196e-057.506268684098e-06
3510.999988358778532.32824429385460e-051.16412214692730e-05
3520.999982060101043.58797979201954e-051.79398989600977e-05
3530.9999726966723295.46066553426401e-052.73033276713201e-05
3540.9999590129132638.1974173474486e-054.0987086737243e-05
3550.9999387750360490.0001224499279018926.12249639509459e-05
3560.999909220531980.0001815589360392239.07794680196114e-05
3570.9998665281454680.0002669437090635560.000133471854531778
3580.999805068719570.0003898625608586130.000194931280429306
3590.9997174739217730.0005650521564531040.000282526078226552
3600.9995936609225520.0008126781548952520.000406339077447626
3610.999414298166380.001171403667239550.000585701833619773
3620.9991707263145660.001658547370868810.000829273685434405
3630.9988351407430620.002329718513875810.00116485925693790
3640.9985222148665170.002955570266965620.00147778513348281
3650.9979413829506920.004117234098616620.00205861704930831
3660.9971678878124540.005664224375092740.00283211218754637
3670.996135775801630.00772844839673820.0038642241983691
3680.9947712490406330.01045750191873340.00522875095936671
3690.992984082752290.01403183449541850.00701591724770924
3700.990576995100690.01884600979861810.00942300489930904
3710.9875693065143570.02486138697128650.0124306934856433
3720.983598446273060.03280310745388200.0164015537269410
3730.9793175463454080.04136490730918350.0206824536545918
3740.9734473916850.05310521662999850.0265526083149992
3750.9661475585769020.06770488284619630.0338524414230982
3760.9572230364736750.085553927052650.042776963526325
3770.9467300929163370.1065398141673270.0532699070836634
3780.9333130464289630.1333739071420750.0666869535710375
3790.917952360819460.1640952783610790.0820476391805397
3800.899886251987290.2002274960254180.100113748012709
3810.8789569479768260.2420861040463480.121043052023174
3820.853812241928350.2923755161432980.146187758071649
3830.8368776161589460.3262447676821080.163122383841054
3840.8070817014646830.3858365970706350.192918298535317
3850.7732627762906250.453474447418750.226737223709375
3860.7372570110589510.5254859778820970.262742988941049
3870.6965956239734040.6068087520531920.303404376026596
3880.6529412482302630.6941175035394740.347058751769737
3890.6068289519137910.7863420961724170.393171048086209
3900.5584851871159410.8830296257681180.441514812884059
3910.5086758928518610.9826482142962780.491324107148139
3920.4583535636174430.9167071272348860.541646436382557
3930.4081750764539530.8163501529079070.591824923546047
3940.3624959264744020.7249918529488040.637504073525598
3950.4922875649675050.984575129935010.507712435032495
3960.4393945992598950.8787891985197910.560605400740104
3970.3887409980639520.7774819961279030.611259001936048
3980.9998580736533660.0002838526932681050.000141926346634053
3990.9997347871043950.0005304257912104710.000265212895605236
4000.9997217235547780.0005565528904434710.000278276445221736
4010.9995376772226650.000924645554670010.000462322777335005
4020.9991594707221210.001681058555757440.000840529277878718
4030.9984924892471960.003015021505608920.00150751075280446
4040.9974121540379390.005175691924122160.00258784596206108
4050.9955415735292110.00891685294157730.00445842647078865
4060.9925874884813930.01482502303721310.00741251151860657
4070.9877035509353620.02459289812927570.0122964490646378
4080.9800377693981580.03992446120368360.0199622306018418
4090.9683830261972830.06323394760543410.0316169738027170
4100.9533640886719470.09327182265610690.0466359113280534
4110.9715532804761680.05689343904766460.0284467195238323
4120.9842559417847050.03148811643058940.0157440582152947
4130.9768877084688940.04622458306221250.0231122915311062
4140.9768239265288390.04635214694232220.0231760734711611
4150.96078634170210.07842731659580080.0392136582979004
4160.9388766458001570.1222467083996860.0611233541998432
4170.9063091384917870.1873817230164270.0936908615082134
4180.9256720934642440.1486558130715120.0743279065357559
4190.8759822387865690.2480355224268630.124017761213431
4200.8088961693609340.3822076612781320.191103830639066
4210.7436803938591640.5126392122816730.256319606140836
4220.9407940745495550.1184118509008910.0592059254504453
4230.8536159036792060.2927681926415880.146384096320794


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level3680.884615384615385NOK
5% type I error level3800.913461538461538NOK
10% type I error level3870.930288461538462NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/01/t12912175515o3p7xfwssxh4ta/10kaoe1291217232.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/01/t12912175515o3p7xfwssxh4ta/10kaoe1291217232.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/01/t12912175515o3p7xfwssxh4ta/1dr9k1291217232.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/01/t12912175515o3p7xfwssxh4ta/1dr9k1291217232.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/01/t12912175515o3p7xfwssxh4ta/260qn1291217232.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/01/t12912175515o3p7xfwssxh4ta/260qn1291217232.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/01/t12912175515o3p7xfwssxh4ta/360qn1291217232.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/01/t12912175515o3p7xfwssxh4ta/360qn1291217232.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/01/t12912175515o3p7xfwssxh4ta/460qn1291217232.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/01/t12912175515o3p7xfwssxh4ta/460qn1291217232.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/01/t12912175515o3p7xfwssxh4ta/5hr8p1291217232.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/01/t12912175515o3p7xfwssxh4ta/5hr8p1291217232.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/01/t12912175515o3p7xfwssxh4ta/6hr8p1291217232.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/01/t12912175515o3p7xfwssxh4ta/6hr8p1291217232.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/01/t12912175515o3p7xfwssxh4ta/7ri7s1291217232.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/01/t12912175515o3p7xfwssxh4ta/7ri7s1291217232.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/01/t12912175515o3p7xfwssxh4ta/8ri7s1291217232.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/01/t12912175515o3p7xfwssxh4ta/8ri7s1291217232.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/01/t12912175515o3p7xfwssxh4ta/9kaoe1291217232.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/01/t12912175515o3p7xfwssxh4ta/9kaoe1291217232.ps (open in new window)


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