Home » date » 2010 » Dec » 21 »

*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: Tue, 21 Dec 2010 18:24:11 +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/21/t1292955725wcx4cers13xoe56.htm/, Retrieved Tue, 21 Dec 2010 19:22:17 +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/21/t1292955725wcx4cers13xoe56.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 «
162556 213118 34643609608 6282154 29790 81767 2435838930 4321023 87550 153198 13412484900 4111912 84738 -26007 -2203781166 223193 54660 126942 6938649720 1491348 42634 157214 6702661676 1629616 40949 129352 5296835048 1398893 45187 234817 10610675779 1926517 37704 60448 2279131392 983660 16275 47818 778237950 1443586 25830 245546 6342453180 1073089 12679 48020 608845580 984885 18014 -1710 -30803940 1405225 43556 32648 1422016288 227132 24811 95350 2365728850 929118 6575 151352 995139400 1071292 7123 288170 2052634910 638830 21950 114337 2509697150 856956 37597 37884 1424324748 992426 17821 122844 2189202924 444477 12988 82340 1069431920 857217 22330 79801 1781956330 711969 13326 165548 2206092648 702380 16189 116384 1884140576 358589 7146 134028 957764088 297978 15824 63838 1010172512 585715 27664 74996 2074689344 657954 11920 31080 370473600 209458 8568 32168 275615424 786690 14416 49857 718738512 439798 3369 87161 293645409 688779 11819 106113 1254149547 574339 6984 80570 562 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
Wealth [t] = + 310866.23589241 + 8.9495259849649Costs[t] -0.0555356719630684Dividends[t] + 0.000138242066637196C_D[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)310866.2358924129331.99953510.598200
Costs8.94952598496491.7908064.99751e-060
Dividends-0.05553567196306840.382646-0.14510.8846720.442336
C_D0.0001382420666371961.1e-0512.143600


Multiple Linear Regression - Regression Statistics
Multiple R0.85967314106619
R-squared0.739037909470608
Adjusted R-squared0.737204452160098
F-TEST (value)403.084328843551
F-TEST (DF numerator)3
F-TEST (DF denominator)427
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation220695.308918194
Sum Squared Residuals20797641074618.2


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
162821546543033.91854909-260879.918549091
24321023909667.0373736223411355.96262638
341119122940058.913318861171853.08668114
4223193766020.222223153-542827.222223153
514913481752210.79392465-260862.793924654
616296161610279.1436635719336.8563364291
713988931402402.14888282-3509.14888282058
819265172169069.49479786-242552.494797862
9983660960013.97709849223646.0229015077
101443586561449.38907928882136.61092072
1110730891405189.76512906-332100.765129063
12984885505838.524130237479046.475869763
131405225467919.562658458937305.437341542
14227132895441.131520165-668309.131520165
15929118854660.84411093374457.1558890673
161071292498874.0614687572417.9385313
17638830642370.486903773-3540.4869037728
18856956847904.2697866299051.73021337084
19992426842139.24767851150286.752321489
20444477766173.450885791-321696.450885791
21857217570370.35090428286846.649095720
22711969752618.674694785-40649.6746947851
23702380725908.606598555-23528.6065985547
24358589709754.135478494-351165.135478494
25297978499779.500415113-201801.500415113
26585715588586.584570685-2871.58457068479
27657954841090.312030665-183136.312030665
28209458467033.573047103-257575.573047103
29786690423860.94884673362829.05115327
30439798536473.657765226-96675.6577652256
31688779376770.79243047312008.20756953
32574339584123.851999077-9784.85199907709
33741409446684.148831111294724.851168889
34597793409438.951239156188354.048760844
35644190406562.472436158237627.527563842
36377934733845.512005982-355911.512005982
37640273524823.619973343115449.380026657
38697458435344.167202748262113.832797252
39550608384081.721135492166526.278864509
40207393387740.19452568-180347.194525680
41301607534194.329592346-232587.329592346
42345783611183.966489272-265400.966489272
43501749404836.01902454296912.9809754583
44379983477409.17820753-97426.1782075306
45387475392690.691938143-5215.69193814327
46377305390139.323683958-12834.3236839576
47370837485318.189801105-114481.189801105
48430866512112.322573509-81246.322573509
49469107430560.72463734538546.2753626547
50194493351187.717378948-156694.717378948
51530670380363.981005141150306.018994859
52518365417834.692142486100530.307857514
53491303555787.10593378-64484.1059337799
54527021335816.565633101191204.434366899
55233773444700.629033579-210927.629033579
56405972349013.30777785356958.6922221465
57652925367700.747431545285224.252568455
58446211419194.4876458227016.5123541795
59341340334514.5192986116825.4807013889
60387699502200.23037109-114501.230371090
61493408428019.19472004665388.805279954
62146494333933.761564062-187439.761564062
63414462374407.88322508040054.1167749196
64364304460110.662415353-95806.6624153533
65355178353353.0098749441824.99012505599
66357760590839.873273745-233079.873273745
67261216324083.505314616-62867.5053146158
68397144352163.70227188144980.2977281195
69374943342139.80918619632803.1908138036
70424898397362.60177031227535.3982296879
71202055348104.236651116-146049.236651116
72378525382137.185521623-3612.18552162252
73310768338881.537990715-28113.5379907151
74325738317493.2568648358244.74313516488
75394510354397.26486377140112.7351362288
76247060341291.102142677-94231.1021426774
77368078329605.59287920238472.4071207978
78236761322292.78829523-85531.7882952298
79312378330755.664703712-18377.6647037117
80339836321132.79254532118703.2074546786
81347385331463.68864059515921.3113594049
82426280405992.61550106620287.3844989345
83352850327817.56788741225032.4321125880
84301881320409.512341503-18528.5123415025
85377516317060.66132206560455.3386779354
86357312408787.370587275-51475.3705872753
87458343383892.54444221774450.4555577833
88354228317686.17990071836541.8200992824
89308636354665.901715374-46029.9017153739
90386212318301.80026240867910.1997375925
91393343349899.29298279443443.7070172062
92378509366451.86557601712057.1344239825
93452469347304.474055854105164.525944146
94364839476902.373345715-112063.373345715
95358649335487.57647178923161.4235282108
96376641360305.26635217216335.7336478283
97429112311274.073857805117837.926142195
98330546333342.317057775-2796.31705777499
99403560372713.87719233830846.122807662
100317892333176.086418408-15284.0864184081
101307528331192.985571945-23664.985571945
102235133326766.874281656-91633.8742816565
103299243385443.637818836-86200.6378188362
104314073318761.865389364-4688.86538936404
105368186338151.45562025630034.5443797435
106269661320948.378491692-51287.378491692
107125390362511.914243190-237121.914243190
108510834351405.624625070159428.375374930
109321896436253.651455659-114357.651455659
110249898343589.992944267-93691.9929442674
111408881324260.89218512784620.1078148727
112158492361775.89888489-203283.89888489
113292154413084.279774458-120930.279774458
114289513352735.227860313-63222.2278603132
115378049331148.96908155546900.0309184446
116343466332898.35022672810567.6497732724
117332743314467.14426211118275.8557378886
118442882353405.04941964889476.950580352
119214215350414.013441445-136199.013441445
120315688322043.303658082-6355.30365808213
121375195560739.998386112-185544.998386112
122334280323080.62226433611199.3777356641
123355864340280.18314103315583.8168589666
124480382344411.23374426135970.766255740
125353058354085.437829152-1027.43782915168
126217193370666.163287064-153473.163287064
127315380307494.1098908147885.89010918592
128314533309121.3013253125411.69867468751
129318056314805.2975460113250.70245398943
130315380307494.1098908147885.89010918592
131314353308088.3669457876264.63305421317
132369448333702.91967218535745.0803278153
133315380307494.1098908147885.89010918592
134312846308231.6022735374614.39772646267
135312075318680.721745722-6605.72174572228
136315009312977.230523972031.76947602977
137318903309479.7035692829423.29643071819
138314887307580.827812177306.17218783007
139314913323051.304982058-8138.30498205842
140315380307494.1098908147885.89010918592
141325506314243.80812121311262.1918787874
142315380307494.1098908147885.89010918592
143298568324542.939301666-25974.9393016664
144315834308109.681665967724.3183340398
145329784315493.31286779514290.6871322052
146312878312906.92441567-28.9244156698333
147315380307494.1098908147885.89010918592
148314987307643.9586275187343.04137248209
149325249312194.22122830313054.7787716974
150315877307721.0543868348155.94561316638
151291650316478.928792261-24828.9287922606
152305959338069.694565113-32110.6945651133
153315380307494.1098908147885.89010918592
154297765315421.174074416-17656.174074416
155315245307829.477535167415.5224648398
156315380307494.1098908147885.89010918592
157315380307494.1098908147885.89010918592
158315236309161.4504283266074.54957167386
159336425314518.31806626821906.6819337317
160315380307494.1098908147885.89010918592
161315380307494.1098908147885.89010918592
162315380307494.1098908147885.89010918592
163315380307494.1098908147885.89010918592
164306268315872.296970876-9604.29697087628
165302187315386.458990931-13199.4589909312
166314882308309.2583515596572.74164844066
167315380307494.1098908147885.89010918592
168382712319884.97707612862827.0229238725
169341570388228.494673136-46658.4946731356
170315380307494.1098908147885.89010918592
171315380307494.1098908147885.89010918592
172312412308075.8071643924336.19283560775
173315380307494.1098908147885.89010918592
174309596310981.395953356-1385.39595335596
175315380307494.1098908147885.89010918592
176315547309670.596442355876.40355764976
177313267314431.543599284-1164.54359928430
178316176308724.3613619377451.63863806328
179315380307494.1098908147885.89010918592
180315380307494.1098908147885.89010918592
181359335325213.11640917734121.8835908233
182330068316898.72086007413169.2791399259
183314289348773.777331912-34484.7773319117
184297413314013.401000674-16600.4010006736
185314806307796.9388774217009.06112257872
186333210318547.88468753114662.115312469
187352108348474.1884651673633.81153483324
188313332310032.151372293299.84862770991
189291787311291.687787462-19504.6877874619
190315380307494.1098908147885.89010918592
191318745312284.9688718256460.03112817449
192315380307494.1098908147885.89010918592
193315366309906.7556511345459.24434886635
194315380307494.1098908147885.89010918592
195315688307970.9472184107717.05278158951
196315380307494.1098908147885.89010918592
197409642427283.430961288-17641.4309612882
198315380307494.1098908147885.89010918592
199315380307494.1098908147885.89010918592
200269587315868.015992747-46281.0159927471
201315380307494.1098908147885.89010918592
202315380307494.1098908147885.89010918592
203315380307494.1098908147885.89010918592
204300962311287.275129495-10325.2751294953
205325479316444.1016139034.89838699977
206316155307616.8582903128538.1417096879
207318574308354.1220365710219.87796343
208315380307494.1098908147885.89010918592
209343613325958.23538551217654.764614488
210306948312090.159722676-5142.15972267556
211315380307494.1098908147885.89010918592
212315380307494.1098908147885.89010918592
213330059312182.21201494417876.7879850556
214288985315727.527607353-26742.5276073533
215304485316790.326515702-12305.3265157021
216315380307494.1098908147885.89010918592
217315688307748.3293683357939.67063166522
218317736314379.5612107623356.43878923771
219315380307494.1098908147885.89010918592
220322331338947.342151231-16616.3421512305
221296656312492.363771835-15836.3637718347
222315380307494.1098908147885.89010918592
223315354307547.3533044347806.64669556556
224312161315610.907329724-3449.90732972413
225315576307836.4960556347739.50394436601
226314922312303.9269240332618.07307596668
227314551308552.0685313565998.93146864422
228315380307494.1098908147885.89010918592
229312339310691.9850736911647.01492630898
230315380307494.1098908147885.89010918592
231298700312954.603271576-14254.6032715758
232321376320293.6750829421082.32491705841
233315380307494.1098908147885.89010918592
234303230313872.044839275-10642.0448392750
235315380307494.1098908147885.89010918592
236315487307527.5260980367959.47390196365
237315380307494.1098908147885.89010918592
238315793308431.2053377287361.79466227158
239315380307494.1098908147885.89010918592
240315380307494.1098908147885.89010918592
241315380307494.1098908147885.89010918592
242312887309097.1806249773789.8193750229
243315380307494.1098908147885.89010918592
244315637307957.4564251747679.5435748256
245324385351130.812547316-26745.8125473162
246315380307494.1098908147885.89010918592
247315380307494.1098908147885.89010918592
248308989309725.399984516-736.399984515905
249315380307494.1098908147885.89010918592
250315380307494.1098908147885.89010918592
251296702311272.798156131-14570.7981561307
252315380307494.1098908147885.89010918592
253307322310276.104869008-2954.10486900823
254304376318655.969435739-14279.9694357387
255253588353731.590478124-100143.590478124
256315380307494.1098908147885.89010918592
257309560313854.474323872-4294.474323872
258298466313875.05507511-15409.0550751102
259315380307494.1098908147885.89010918592
260315380307494.1098908147885.89010918592
261315380307494.1098908147885.89010918592
262315380307494.1098908147885.89010918592
263343929311119.45066629932809.5493337008
264331955312843.00000845519111.9999915448
265315380307494.1098908147885.89010918592
266315380307494.1098908147885.89010918592
267315380307494.1098908147885.89010918592
268381180310254.33945601970925.6605439813
269315380307494.1098908147885.89010918592
270331420309555.86366745621864.1363325443
271315380307494.1098908147885.89010918592
272315380307494.1098908147885.89010918592
273315380307494.1098908147885.89010918592
274310201309659.074002448541.92599755244
275315380307494.1098908147885.89010918592
276320016312356.3336146017659.66638539927
277320398313272.3396990037125.660300997
278315380307494.1098908147885.89010918592
279291841331313.794124908-39472.7941249083
280310670310315.163936511354.836063489209
281315380307494.1098908147885.89010918592
282315380307494.1098908147885.89010918592
283313491311896.9892834341594.01071656580
284315380307494.1098908147885.89010918592
285331323313173.64821858318149.3517814166
286315380307494.1098908147885.89010918592
287319210317917.6040377911292.39596220948
288318098307946.32777574710151.6722242529
289315380307494.1098908147885.89010918592
290292754311947.724777315-19193.7247773153
291315380307494.1098908147885.89010918592
292325176310286.39002017514889.6099798250
293365959315495.38388373950463.6161162612
294315380307494.1098908147885.89010918592
295302409308471.845391898-6062.845391898
296340968314123.05444180126844.945558199
297315380307494.1098908147885.89010918592
298315380307494.1098908147885.89010918592
299315380307494.1098908147885.89010918592
300315380307494.1098908147885.89010918592
301313164308010.4091229725153.59087702781
302301164312553.559091647-11389.5590916468
303315380307494.1098908147885.89010918592
304315380307494.1098908147885.89010918592
305344425313836.4880198430588.5119801601
306315394307527.9681715397866.03182846102
307315380307494.1098908147885.89010918592
308316647311031.1034116915615.89658830851
309309836314168.841237772-4332.84123777155
310315380307494.1098908147885.89010918592
311315380307494.1098908147885.89010918592
312346611313690.11139721432920.888602786
313315380307494.1098908147885.89010918592
314322031308178.78926726813852.2107327319
315315656307543.8806848518112.11931514863
316339445309605.02885456229839.9711454383
317314964308086.51851726877.48148280025
318297141313874.464724233-16733.4647242327
319315372307511.5088725157860.49112748486
320315380307494.1098908147885.89010918592
321315380307494.1098908147885.89010918592
322315380307494.1098908147885.89010918592
323315380307494.1098908147885.89010918592
324315380307494.1098908147885.89010918592
325315380307494.1098908147885.89010918592
326312502307875.5637560874626.43624391303
327315380307494.1098908147885.89010918592
328315380307494.1098908147885.89010918592
329315380307494.1098908147885.89010918592
330315380307494.1098908147885.89010918592
331315380307494.1098908147885.89010918592
332315380307494.1098908147885.89010918592
333315380307494.1098908147885.89010918592
334313729309173.5061526934555.49384730709
335315388307511.0656930767876.93430692403
336315371312939.9953519632431.00464803683
337296139322144.628845303-26005.6288453033
338315380307494.1098908147885.89010918592
339313880307935.9013992965944.09860070388
340317698309699.7777625547998.22223744647
341295580312736.175330998-17156.1753309980
342315380307494.1098908147885.89010918592
343315380307494.1098908147885.89010918592
344315380307494.1098908147885.89010918592
345308256318264.475723214-10008.4757232140
346315380307494.1098908147885.89010918592
347303677309620.610374469-5943.61037446922
348315380307494.1098908147885.89010918592
349315380307494.1098908147885.89010918592
350319369335157.126803339-15788.1268033388
351318690312931.629783725758.37021627965
352314049308515.6395233075533.36047669317
353325699317645.9798841978053.020115803
354314210309785.8995918824424.10040811793
355315380307494.1098908147885.89010918592
356315380307494.1098908147885.89010918592
357322378316689.0169564085688.98304359234
358315380307494.1098908147885.89010918592
359315380307494.1098908147885.89010918592
360315380307494.1098908147885.89010918592
361315398307511.3426802257886.65731977457
362315380307494.1098908147885.89010918592
363315380307494.1098908147885.89010918592
364308336338236.451841432-29900.4518414324
365316386310649.2125880915736.78741190866
366315380307494.1098908147885.89010918592
367315380307494.1098908147885.89010918592
368315380307494.1098908147885.89010918592
369315380307494.1098908147885.89010918592
370315553311275.0112619304277.98873806967
371315380307494.1098908147885.89010918592
372323361315258.0290736188102.97092638241
373336639311046.46371392425592.5362860764
374307424310382.819189289-2958.81918928900
375315380307494.1098908147885.89010918592
376315380307494.1098908147885.89010918592
377295370309768.951258216-14398.9512582159
378322340318013.6064008724326.39359912836
379319864345858.118298654-25994.1182986540
380315380307494.1098908147885.89010918592
381315380307494.1098908147885.89010918592
382317291316911.644395245379.35560475535
383280398316946.999762822-36548.9997628215
384315380307494.1098908147885.89010918592
385317330308758.2989382508571.70106174966
386238125352706.371066927-114581.371066927
387327071309805.75352328417265.2464767156
388309038323350.908486469-14312.9084864686
389314210308757.5254406385452.47455936211
390307930317364.267082998-9434.26708299811
391322327314378.2122391707948.7877608304
392292136315289.4136179-23153.4136179
393263276318288.823012987-55012.8230129868
394367655319827.12510056847827.8748994319
395283910376466.790023157-92556.7900231575
396283587317191.042230696-33604.0422306960
397243650387835.711446489-144185.711446489
398438493341197.26735033797295.732649663
399296261316724.288271323-20463.2882713231
400230621334898.872699268-104277.872699268
401304252326779.246965896-22527.2469658958
402333505321134.33928808012370.6607119204
403296919318046.776627451-21127.7766274513
404278990335301.864368839-56311.8643688388
405276898317854.889671126-40956.8896711258
406327007329070.086479644-2063.08647964356
407317046318485.303388799-1439.30338879875
408304555324501.592274832-19946.5922748319
409298096315078.565353851-16982.5653538513
410231861320500.659985215-88639.6599852153
411309422331231.960768886-21809.9607688861
412286963438625.320027425-151662.320027425
413269753327323.756464213-57570.7564642133
414448243370735.05502887877507.9449711216
415165404344718.717786303-179314.717786303
416204325325225.042080803-120900.042080803
417407159353914.85501897753244.1449810234
418290476327337.720638892-36861.7206388920
419275311330539.051368332-55228.051368332
420246541319144.599231298-72603.5992312985
421253468325827.917808456-72359.9178084555
422240897360858.268628349-119961.268628349
423-83265391664.432450494-474929.432450494
424-42143416538.310095989-458681.310095989
425272713345332.198221908-72619.1982219082
426215362400213.87649995-184851.87649995
42742754372142.720461594-329388.720461594
4283062751395502.14155766-1089227.14155766
429253537490946.139425451-237409.139425451
430372631606029.005859414-233398.005859414
431-7170539263.462723035-546433.462723035


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
717.55873921075466e-553.77936960537733e-55
811.6349455564329e-598.1747277821645e-60
913.02427654152587e-791.51213827076293e-79
1014.76221979289045e-932.38110989644522e-93
1113.75378765918281e-941.87689382959140e-94
1213.6307260545363e-1021.81536302726815e-102
1311.26898336828760e-1176.34491684143801e-118
1412.50483699669424e-1291.25241849834712e-129
1512.27682474766907e-1321.13841237383454e-132
1618.94896997573542e-1404.47448498786771e-140
1716.24037964943325e-1393.12018982471663e-139
1811.91891194904391e-1429.59455974521956e-143
1918.87178929415699e-1464.43589464707849e-146
2016.37985889089384e-1483.18992944544692e-148
2111.52624862654519e-1537.63124313272597e-154
2211.20559494629958e-1566.02797473149791e-157
2311.16445614940913e-1575.82228074704566e-158
2412.69755428098908e-1591.34877714049454e-159
2514.65040925634698e-1602.32520462817349e-160
2618.46295379682022e-1624.23147689841011e-162
2715.56296277453947e-1652.78148138726973e-165
2818.26555470311634e-1674.13277735155817e-167
2911.67415089128157e-1768.37075445640787e-177
3018.79340033226167e-1784.39670016613083e-178
3115.96590811419242e-1822.98295405709621e-182
3212.48770592904354e-1831.24385296452177e-183
3312.44711018672766e-1911.22355509336383e-191
3412.20534181194965e-1931.10267090597483e-193
3513.53133480927369e-1931.76566740463684e-193
3618.34182080929548e-1944.17091040464774e-194
3712.35013963839531e-1991.17506981919766e-199
3812.42782881466061e-2051.21391440733031e-205
3911.70020377221244e-2048.5010188610622e-205
4013.72742632551941e-2051.86371316275971e-205
4113.34529124295385e-2051.67264562147692e-205
4213.58548185054094e-2051.79274092527047e-205
4315.04244623550497e-2062.52122311775249e-206
4413.11234225574321e-2051.55617112787161e-205
4515.74123012768446e-2052.87061506384223e-205
4614.48065064477063e-2042.24032532238532e-204
4716.86025820936071e-2053.43012910468036e-205
4815.18469103413741e-2042.59234551706871e-204
4911.71332806579228e-2038.56664032896142e-204
5013.87678620639921e-2041.93839310319960e-204
5114.60970954780128e-2052.30485477390064e-205
5215.10603263914227e-2052.55301631957113e-205
5315.48909198454562e-2042.74454599227281e-204
5417.38967874183562e-2043.69483937091781e-204
5513.11129823319402e-2061.55564911659701e-206
5613.46538553061893e-2061.73269276530946e-206
5712.93088076637861e-2181.46544038318931e-218
5817.68695285372362e-2193.84347642686181e-219
5917.28066904711216e-2183.64033452355608e-218
6014.97388987735067e-2182.48694493867533e-218
6117.67385414511202e-2203.83692707255601e-220
6218.95149236215814e-2224.47574618107907e-222
6312.68680136655168e-2211.34340068327584e-221
6414.33026530517955e-2212.16513265258978e-221
6511.34229425799703e-2206.71147128998517e-221
6613.85555997239390e-2211.92777998619695e-221
6718.98542991685415e-2214.49271495842708e-221
6816.59483955121512e-2203.29741977560756e-220
6916.62729593100205e-2193.31364796550102e-219
7011.16152150566849e-2185.80760752834247e-219
7114.61813304638582e-2182.30906652319291e-218
7218.51228696105988e-2204.25614348052994e-220
7314.00995119967017e-2192.00497559983509e-219
7414.35295452735295e-2182.17647726367648e-218
7514.93510889079457e-2172.46755444539729e-217
7619.62861919577157e-2174.81430959788578e-217
7711.05455356173046e-2155.27276780865231e-216
7811.09526757818779e-2155.47633789093897e-216
7911.13885582146093e-2145.69427910730465e-215
8016.2058927032445e-2143.10294635162225e-214
8113.82227145588469e-2131.91113572794235e-213
8211.77264861384473e-2138.86324306922366e-214
8314.94530017592422e-2132.47265008796211e-213
8413.9419392816039e-2121.97096964080195e-212
8514.41926014568305e-2112.20963007284153e-211
8612.80960207614175e-2111.40480103807087e-211
8712.43097418468100e-2121.21548709234050e-212
8812.44134127021086e-2111.22067063510543e-211
8919.37276620565588e-2114.68638310282794e-211
9011.00451693610666e-2095.0225846805333e-210
9116.52995991309391e-2093.26497995654696e-209
9212.57741840239981e-2081.28870920119990e-208
9311.85377457216141e-2109.26887286080703e-211
9411.66010896280683e-2098.30054481403414e-210
9516.77139381673606e-2103.38569690836803e-210
9613.56517525179589e-2101.78258762589794e-210
9712.39458412838576e-2091.19729206419288e-209
9812.28781783040409e-2081.14390891520204e-208
9912.50537630479148e-2071.25268815239574e-207
10012.57438635044085e-2061.28719317522042e-206
10112.41055639244476e-2051.20527819622238e-205
10213.63170018777041e-2061.81585009388520e-206
10318.82932751130066e-2064.41466375565033e-206
10418.08901419423986e-2064.04450709711993e-206
10512.96863389808848e-2051.48431694904424e-205
10611.05290193643952e-2045.26450968219759e-205
10713.71480383880044e-2071.85740191940022e-207
10811.74565832296801e-2098.72829161484004e-210
10911.52096477474121e-2087.60482387370607e-209
11013.33652590058354e-2081.66826295029177e-208
11111.80009766726739e-2089.00048833633693e-209
11215.54708175051246e-2092.77354087525623e-209
11314.61118546433578e-2082.30559273216789e-208
11413.93657523605417e-2071.96828761802709e-207
11513.20560774772186e-2071.60280387386093e-207
11611.20947833938541e-2066.04739169692707e-207
11711.18023437689862e-2055.9011718844931e-206
11812.26663012896833e-2061.13331506448417e-206
11913.34208070344341e-2071.67104035172170e-207
12013.53412623967084e-2061.76706311983542e-206
12116.0523549602544e-2063.0261774801272e-206
12215.75479622381364e-2052.87739811190682e-205
12316.26282839333829e-2043.13141419666914e-204
12414.02691009639987e-2052.01345504819994e-205
12517.20141759978422e-2053.60070879989211e-205
12614.23417387124166e-2052.11708693562083e-205
12714.70344317822983e-2042.35172158911491e-204
12815.18940594226901e-2032.59470297113450e-203
12915.36613625258553e-2022.68306812629276e-202
13015.8658063596019e-2012.93290317980095e-201
13116.37292304875038e-2003.18646152437519e-200
13214.89776321919855e-2002.44888160959927e-200
13315.31488913319376e-1992.65744456659688e-199
13415.72412963483698e-1982.86206481741849e-198
13516.02873961881942e-1973.01436980940971e-197
13616.36970341489172e-1963.18485170744586e-196
13716.69483712808317e-1953.34741856404158e-195
13817.07492145355548e-1943.53746072677774e-194
13917.01004137582887e-1933.50502068791443e-193
14017.33226599806858e-1923.66613299903429e-192
14116.71316173686032e-1913.35658086843016e-191
14216.95088995279216e-1903.47544497639608e-190
14316.99212588034923e-1893.49606294017462e-189
14417.16113760947905e-1883.58056880473953e-188
14516.50826255423512e-1873.25413127711756e-187
14616.4217963980978e-1863.2108981990489e-186
14716.48245703079734e-1853.24122851539867e-185
14816.51046583174651e-1843.25523291587326e-184
14916.03027645247817e-1833.01513822623908e-183
15015.99400813799575e-1822.99700406899787e-182
15115.43360937647077e-1812.71680468823538e-181
15214.86202152622979e-1802.43101076311489e-180
15314.76420365634352e-1792.38210182817176e-179
15414.47757139409911e-1782.23878569704955e-178
15514.3440593465205e-1772.17202967326025e-177
15614.19312234892229e-1762.09656117446115e-176
15714.02694389795829e-1752.01347194897915e-175
15813.84595440636857e-1741.92297720318428e-174
15912.80327847087799e-1731.40163923543899e-173
16012.65410648774621e-1721.32705324387311e-172
16112.50027776583571e-1711.25013888291785e-171
16212.34358663204669e-1701.17179331602334e-170
16312.18575524784083e-1691.09287762392041e-169
16412.0127775340868e-1681.0063887670434e-168
16511.77967873615135e-1678.89839368075674e-168
16611.63513070129979e-1668.17565350649895e-167
16711.49547136094756e-1657.47735680473778e-166
16813.6465997402891e-1661.82329987014455e-166
16912.17480747811803e-1661.08740373905902e-166
17012.00849246544937e-1651.00424623272468e-165
17111.84578926981029e-1649.22894634905146e-165
17211.68645269685089e-1638.43226348425444e-164
17311.53474854404136e-1627.67374272020681e-163
17411.38300756735722e-1616.91503783678612e-162
17511.24643249878298e-1606.23216249391489e-161
17611.11449388481433e-1595.57246942407167e-160
17719.85552510545624e-1594.92776255272812e-159
17818.7250997684639e-1584.36254988423195e-158
17917.71229950441217e-1573.85614975220609e-157
18016.78410436030931e-1563.39205218015466e-156
18113.19853314657123e-1551.59926657328562e-155
18212.74345672277964e-1541.37172836138982e-154
18311.32709741548595e-1536.63548707742974e-154
18418.77994060901664e-1534.38997030450832e-153
18517.59449515402794e-1523.79724757701397e-152
18614.91027289378744e-1512.45513644689372e-151
18711.11711525266401e-1505.58557626332005e-151
18819.58549414328814e-1504.79274707164407e-150
18916.43362196375518e-1493.21681098187759e-149
19015.46869948183143e-1482.73434974091572e-148
19114.44375713665062e-1472.22187856832531e-147
19213.74177776691092e-1461.87088888345546e-146
19313.13183917916811e-1451.56591958958406e-145
19412.61209305027676e-1441.30604652513838e-144
19512.16657012570818e-1431.08328506285409e-143
19611.78990069074488e-1428.9495034537244e-143
19713.67937267938198e-1421.83968633969099e-142
19813.03054890714611e-1411.51527445357305e-141
19912.48432410802882e-1401.24216205401441e-140
20015.03047396262092e-1402.51523698131046e-140
20114.11188991591159e-1392.05594495795579e-139
20213.34516339798206e-1381.67258169899103e-138
20312.70855517837558e-1371.35427758918779e-137
20412.16609016859548e-1361.08304508429774e-136
20511.55540218189754e-1357.77701090948768e-136
20611.24311764046171e-1346.21558820230855e-135
20719.90028062425629e-1344.95014031212814e-134
20817.83374162355945e-1333.91687081177973e-133
20911.61703019361899e-1328.08515096809494e-133
21011.27144022369735e-1316.35720111848677e-132
21119.97688231076417e-1314.98844115538208e-131
21217.7919252160462e-1303.8959626080231e-130
21314.92663958054817e-1292.46331979027408e-129
21413.33138231898488e-1281.66569115949244e-128
21512.54757402708805e-1271.27378701354402e-127
21611.95588850607851e-1269.77944253039256e-127
21711.49364885314246e-1257.4682442657123e-126
21811.10050636534279e-1245.50253182671393e-125
21918.33114726138475e-1244.16557363069238e-124
22013.66998314292552e-1231.83499157146276e-123
22112.62736019273222e-1221.31368009636611e-122
22211.96648060459344e-1219.8324030229672e-122
22311.46477496300172e-1207.32387481500859e-121
22411.07615671543564e-1195.38078357717821e-120
22517.93642086621439e-1193.96821043310719e-119
22615.79557794323614e-1182.89778897161807e-118
22714.236248392613e-1172.1181241963065e-117
22813.08214720564709e-1161.54107360282355e-116
22912.22350047093046e-1151.11175023546523e-115
23011.60263632714775e-1148.01318163573874e-115
23111.07654513896395e-1135.38272569481973e-114
23216.95786186661672e-1133.47893093330836e-113
23314.94866342961737e-1122.47433171480869e-112
23413.46342846480098e-1111.73171423240049e-111
23512.44038980658514e-1101.22019490329257e-110
23611.71108054765671e-1098.55540273828357e-110
23711.19423029187338e-1085.9711514593669e-109
23818.26472289836239e-1084.13236144918119e-108
23915.71352522092156e-1072.85676261046078e-107
24013.93102074382692e-1061.96551037191346e-106
24112.69171847025896e-1051.34585923512948e-105
24211.83826143782649e-1049.19130718913246e-105
24311.24674349637743e-1036.23371748188716e-104
24418.37877931459649e-1034.18938965729824e-103
24514.88326977302862e-1022.44163488651431e-102
24613.26696454777458e-1011.63348227388729e-101
24712.17513258024602e-1001.08756629012301e-100
24811.44029036584303e-997.20145182921515e-100
24919.49799059620558e-994.74899529810279e-99
25016.23321301689283e-983.11660650844641e-98
25114.06243848658487e-972.03121924329244e-97
25212.64052805739289e-961.32026402869644e-96
25311.68296864261717e-958.41484321308584e-96
25419.89301621100162e-954.94650810550081e-95
25511.77282745346832e-948.86413726734162e-95
25611.14009948894400e-935.70049744471998e-94
25717.06036989353162e-933.53018494676581e-93
25814.33022562289709e-922.16511281144854e-92
25912.7446303546504e-911.3723151773252e-91
26011.73108449883635e-908.65542249418177e-91
26111.08644916533762e-895.43224582668809e-90
26216.78504672954789e-893.39252336477395e-89
26313.96643574131093e-881.98321787065546e-88
26412.04156657191280e-871.02078328595640e-87
26511.25758768885399e-866.28793844426996e-87
26617.70807926190756e-863.85403963095378e-86
26714.70091247163993e-852.35045623581997e-85
26811.67052789956433e-848.35263949782164e-85
26911.01183434407608e-835.05917172038041e-84
27016.02732145025127e-833.01366072512564e-83
27113.6142478942129e-821.80712394710645e-82
27212.15631614678395e-811.07815807339198e-81
27311.27997648835114e-806.39988244175569e-81
27417.58477390765624e-803.79238695382812e-80
27514.45676074000955e-792.22838037000478e-79
27612.55871070044279e-781.27935535022139e-78
27711.47154659590834e-777.3577329795417e-78
27818.51527408681977e-774.25763704340988e-77
27914.6516477817792e-762.3258238908896e-76
28012.61494830581172e-751.30747415290586e-75
28111.49118987584169e-747.45594937920845e-75
28218.45939116886501e-744.22969558443251e-74
28314.64532180448481e-732.32266090224240e-73
28412.60797840369294e-721.30398920184647e-72
28511.43803956178888e-717.19019780894438e-72
28617.9892217064106e-713.9946108532053e-71
28714.19453020806962e-702.09726510403481e-70
28812.30091241374521e-691.15045620687260e-69
28911.25833961767862e-686.29169808839308e-69
29016.81121506757002e-683.40560753378501e-68
29113.6859793642172e-671.8429896821086e-67
29211.92009225009443e-669.60046125047216e-67
29318.54071582572497e-664.27035791286249e-66
29414.55365916557897e-652.27682958278948e-65
29512.40699078066960e-641.20349539033480e-64
29619.52161860280659e-644.76080930140329e-64
29715.00337311900532e-632.50168655950266e-63
29812.61464519763810e-621.30732259881905e-62
29911.35878302921608e-616.7939151460804e-62
30017.02205837317425e-613.51102918658712e-61
30113.62064321301879e-601.81032160650939e-60
30211.85511570011605e-599.27557850058023e-60
30319.42791214451022e-594.71395607225511e-59
30414.76423192777464e-582.38211596388732e-58
30511.82798104617125e-579.13990523085627e-58
30619.14731096458985e-574.57365548229493e-57
30714.55121939170093e-562.27560969585047e-56
30812.25652827052058e-551.12826413526029e-55
30911.07292485966131e-545.36462429830653e-55
31015.24637231296899e-542.62318615648449e-54
31112.55031497055454e-531.27515748527727e-53
31211.23905768779255e-526.19528843896274e-53
31315.95268822057501e-522.97634411028750e-52
31412.82693339563934e-511.41346669781967e-51
31511.34117877029393e-506.70589385146964e-51
31615.74049100268663e-502.87024550134332e-50
31712.68618617451359e-491.34309308725680e-49
31811.24638775102281e-486.23193875511407e-49
31915.77954417833985e-482.88977208916992e-48
32012.66350218267353e-471.33175109133676e-47
32111.21985752243597e-466.09928761217987e-47
32215.55194240497773e-462.77597120248887e-46
32312.51098095828070e-451.25549047914035e-45
32411.12846203801249e-445.64231019006245e-45
32515.03915364258389e-442.51957682129194e-44
32612.24677122262787e-431.12338561131393e-43
32719.9046294929574e-434.9523147464787e-43
32814.33798913496279e-422.16899456748140e-42
32911.88751260858857e-419.43756304294285e-42
33018.1587252624079e-414.07936263120395e-41
33113.50320213368392e-401.75160106684196e-40
33211.49416110926786e-397.47080554633928e-40
33316.32990803683718e-393.16495401841859e-39
33412.66296835389588e-381.33148417694794e-38
33511.11282269954016e-375.56411349770079e-38
33614.56698049636772e-372.28349024818386e-37
33711.89395450425225e-369.46977252126124e-37
33817.75315224874656e-363.87657612437328e-36
33913.16126076606363e-351.58063038303182e-35
34011.25479644136865e-346.27398220684326e-35
34114.98554076452169e-342.49277038226085e-34
34211.98478138522261e-339.92390692611304e-34
34317.84395798766758e-333.92197899383379e-33
34413.07717144266708e-321.53858572133354e-32
34511.19617618805940e-315.98088094029701e-32
34614.6230427660826e-312.3115213830413e-31
34711.79078444047144e-308.95392220235722e-31
34816.81745036441737e-303.40872518220868e-30
34912.57538378509741e-291.28769189254871e-29
35018.56288856210395e-294.28144428105198e-29
35113.06716206004503e-281.53358103002252e-28
35211.13607782679646e-275.68038913398232e-28
35313.80194257376646e-271.90097128688323e-27
35411.38797940288443e-266.93989701442215e-27
35515.00538859840025e-262.50269429920012e-26
35611.79009364258351e-258.95046821291754e-26
35716.42042534709465e-253.21021267354732e-25
35812.25877823876579e-241.12938911938289e-24
35917.87852080896356e-243.93926040448178e-24
36012.72415773877895e-231.36207886938948e-23
36119.33599965768735e-234.66799982884367e-23
36213.17132535237794e-221.58566267618897e-22
36311.06756315345544e-215.33781576727718e-22
36413.39877435496259e-211.69938717748129e-21
36511.10676724378884e-205.53383621894422e-21
36613.62497815353183e-201.81248907676591e-20
36711.17601061319968e-195.88005306599838e-20
36813.77845897143334e-191.88922948571667e-19
36911.20213816147110e-186.01069080735548e-19
37013.75728821814817e-181.87864410907409e-18
37111.17164010722899e-175.85820053614495e-18
37213.40889460459156e-171.70444730229578e-17
37311.05084769729598e-165.2542384864799e-17
37413.24835040816121e-161.62417520408060e-16
37519.72248945389316e-164.86124472694658e-16
3760.9999999999999992.87829264844106e-151.43914632422053e-15
3770.9999999999999968.59852777803901e-154.29926388901951e-15
3780.9999999999999882.35726720385880e-141.17863360192940e-14
3790.999999999999975.83526029539177e-142.91763014769588e-14
3800.9999999999999171.65403050105564e-138.27015250527822e-14
3810.9999999999997684.63228738671086e-132.31614369335543e-13
3820.999999999999341.31965253550736e-126.59826267753682e-13
3830.9999999999982423.51660740008501e-121.75830370004250e-12
3840.9999999999952579.48556280655777e-124.74278140327889e-12
3850.9999999999873372.53251202162907e-111.26625601081453e-11
3860.9999999999696936.06143282751082e-113.03071641375541e-11
3870.9999999999253971.49205232896684e-107.4602616448342e-11
3880.9999999998128363.74328261166607e-101.87164130583304e-10
3890.9999999995252189.49564301180715e-104.74782150590357e-10
3900.9999999988230982.35380356287194e-091.17690178143597e-09
3910.9999999971715155.65697000009239e-092.82848500004620e-09
3920.999999992879631.42407396244493e-087.12036981222467e-09
3930.9999999824772473.50455057317004e-081.75227528658502e-08
3940.999999967391216.52175789562742e-083.26087894781371e-08
3950.9999999217798181.56440364591333e-077.82201822956663e-08
3960.9999998117914153.76417170177901e-071.88208585088950e-07
3970.9999995725230228.54953955938248e-074.27476977969124e-07
3980.9999991066019381.78679612458261e-068.93398062291307e-07
3990.999997946792294.10641542175135e-062.05320771087567e-06
4000.9999958298499738.34030005463883e-064.17015002731942e-06
4010.999990723752711.85524945785728e-059.27624728928639e-06
4020.9999819781417353.60437165299645e-051.80218582649823e-05
4030.9999623545898777.52908202448883e-053.76454101224441e-05
4040.9999197459242460.0001605081515076058.02540757538027e-05
4050.9998323348362270.0003353303275458090.000167665163772904
4060.9996772766920270.0006454466159455110.000322723307972756
4070.999379651858350.001240696283299250.000620348141649627
4080.9988706469389360.002258706122128250.00112935306106413
4090.9979484112922710.004103177415457640.00205158870772882
4100.9963258368320240.007348326335951950.00367416316797597
4110.9934303152513940.01313936949721120.0065696847486056
4120.9897730375224670.02045392495506630.0102269624775331
4130.9823028880750780.03539422384984420.0176971119249221
4140.9861369159189070.02772616816218620.0138630840810931
4150.9803968507242530.03920629855149370.0196031492757469
4160.9684617620107930.06307647597841390.0315382379892070
4170.9945327031010540.01093459379789190.00546729689894594
4180.9907649051366070.01847018972678580.00923509486339289
4190.9808067657891320.03838646842173710.0191932342108685
4200.9610995297738390.07780094045232270.0389004702261613
4210.9235743364426750.152851327114650.076425663557325
4220.855176526161220.2896469476775590.144823473838780
4230.8224317097626070.3551365804747850.177568290237392
4240.8561184693265510.2877630613468970.143881530673449


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level4040.966507177033493NOK
5% type I error level4120.985645933014354NOK
10% type I error level4140.99043062200957NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292955725wcx4cers13xoe56/109ipo1292955824.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292955725wcx4cers13xoe56/109ipo1292955824.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t1292955725wcx4cers13xoe56/12hau1292955824.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292955725wcx4cers13xoe56/12hau1292955824.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t1292955725wcx4cers13xoe56/22hau1292955824.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292955725wcx4cers13xoe56/22hau1292955824.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t1292955725wcx4cers13xoe56/3v89f1292955824.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292955725wcx4cers13xoe56/3v89f1292955824.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t1292955725wcx4cers13xoe56/4v89f1292955824.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292955725wcx4cers13xoe56/4v89f1292955824.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t1292955725wcx4cers13xoe56/5v89f1292955824.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292955725wcx4cers13xoe56/5v89f1292955824.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t1292955725wcx4cers13xoe56/6o0801292955824.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292955725wcx4cers13xoe56/6o0801292955824.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t1292955725wcx4cers13xoe56/7g9ql1292955824.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292955725wcx4cers13xoe56/7g9ql1292955824.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t1292955725wcx4cers13xoe56/8g9ql1292955824.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292955725wcx4cers13xoe56/8g9ql1292955824.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t1292955725wcx4cers13xoe56/9g9ql1292955824.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292955725wcx4cers13xoe56/9g9ql1292955824.ps (open in new window)


 
Parameters (Session):
par1 = 4 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
 
Parameters (R input):
par1 = 4 ; 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