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:22:48 +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/t1291216960ktjngawgm6ea123.htm/, Retrieved Wed, 01 Dec 2010 16:22:51 +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/t1291216960ktjngawgm6ea123.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 0 29790 444 81767 0 87550 412 153198 1 84738 428 -26007 0 54660 315 126942 0 42634 168 157214 1 40949 263 129352 0 45187 267 234817 0 37704 228 60448 0 16275 129 47818 1 25830 104 245546 1 12679 122 48020 0 18014 393 -1710 1 43556 190 32648 0 24811 280 95350 1 6575 63 151352 1 7123 102 288170 0 21950 265 114337 0 37597 234 37884 1 17821 277 122844 0 12988 73 82340 0 22330 67 79801 1 13326 103 165548 1 16189 290 116384 1 7146 83 134028 1 15824 56 63838 0 27664 236 74996 1 11920 73 31080 1 8568 34 32168 1 14416 139 49857 0 3369 26 87161 0 11819 70 106113 0 6984 40 80570 0 4519 42 102129 1 2220 12 301670 1 18562 211 102313 1 10327 74 88577 0 5336 80 112477 0 2365 83 191778 1 4069 131 79804 1 8636 203 128294 1 13718 56 96448 1 4525 89 93811 1 6869 88 117520 1 4628 39 69159 0 3689 25 101792 0 4891 49 210568 0 7489 149 136996 1 4901 58 121920 1 2284 41 76403 0 3160 90 108094 0 4150 136 134759 0 7285 97 188873 0 1134 63 146216 0 4658 114 15660 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 time27 seconds
R Server'George Udny Yule' @ 72.249.76.132
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] = + 3.68723754833751 -7.78189324911588Group[t] + 0.00526500410176195Costs[t] + 0.000237315498099678`Dividends `[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)3.687237548337515.309470.69450.4877690.243884
Group-7.781893249115883.836783-2.02820.0431570.021578
Costs0.005265004101761950.00015234.597600
`Dividends `0.0002373154980996785.6e-054.2652.5e-051.2e-05


Multiple Linear Regression - Regression Statistics
Multiple R0.884177037913136
R-squared0.781769034372846
Adjusted R-squared0.780235795738463
F-TEST (value)509.8808605795
F-TEST (DF numerator)3
F-TEST (DF denominator)427
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation34.9175364630342
Sum Squared Residuals520613.068580406


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1807910.121448638363-103.121448638363
2444179.936286072940264.063713927060
3412500.994606335475-88.994606335475
4428435.879397715249-7.87939771524905
5315321.597665710416-6.59766571041563
6168265.464741141100-97.4647411410997
7263242.19923157246220.800768427538
8267297.322691211927-30.3226912119273
9228216.54419943030011.4558005697003
10129100.72313179264428.2768682073564
11104190.172271544117-86.1722715441168
1212274.056221524208247.9437784757918
1339398.1252119357268294.874788064273
14190232.975739337524-42.9757393375242
15280156.945287060958123.054712939042
166366.4409215366891-3.44092153668907
17102101.7951756034560.204824396543675
18265146.388019688235118.611980311765
19234210.6260570922923.3739429077099
20277118.885767445279158.114232554721
217391.6096689355491-18.6096689355491
2267140.192793204534-73.1927932045343
23103105.353895038707-2.35389503870713
24290108.760222633479181.239777366521
258365.335985189716317.6640148102837
265694.3685159731903-38.3685159731903
27236167.13602411496468.8639758850363
287366.03995887316236.96004112683766
293448.6498643859887-14.6498643859887
3013983.637482218977955.3625177810221
312642.1096924970393-16.1096924970393
327091.096580476913-21.096580476913
334059.5785358769338-19.5785358769338
344251.7165855896215-9.7165855896215
351279.184619716863-67.184619716863
36211117.91481099320093.0851890068003
377471.29773653329272.7022634667073
388058.473834715096521.5261652849035
398361.650863843564221.3491361564358
4013136.267371999637894.7326280003622
4120371.820074235238131.179925764762
425691.0192757279101-35.0192757279101
438941.992292051923547.0077079480765
448859.959974810898828.0400251891012
453936.68428581525172.31571418474830
462547.2666568622995-22.2666568622995
474979.409422413908-30.4094224139079
4814975.62812724409673.371872755904
495850.64263493026987.35736506973018
504126.062229668955714.9377703310443
519045.977031961491644.0229680385084
5213657.517403779063878.4825962209362
539786.865282502253510.1347174977464
546344.357075069877718.6429249301223
5511465.377132180738848.6228678192612
567723.015945255241353.9840547447587
57627.5874150019443-21.5874150019443
584745.0009968230891.99900317691104
595126.281156160424724.7188438395753
608573.539814333846811.4601856661532
614355.3788891978376-12.3788891978376
623218.266565305075213.7334346949248
632542.5912385591345-17.5912385591345
647763.056663492625413.9433365073746
655423.994879022783630.0051209772164
6625187.2375730367687163.762426963231
671519.7115043157433-4.7115043157433
684438.32822523491845.67177476508156
697334.518568988968138.4814310110319
708548.732181782005136.2678182179949
714926.205007601266622.7949923987334
723832.12146002645455.87853997354547
733528.80503218322716.19496781677286
74917.6377158384308-8.6377158384308
753434.5160311297894-0.516031129789383
762031.4011106969383-11.4011106969383
772928.46975353610860.530246463891366
781117.7349042134965-6.73490421349654
795219.129670624971132.8703293750289
801335.1658707256216-22.1658707256216
812917.643023664767811.3569763352322
826649.701144891516.2988551085000
833333.4974599787755-0.497459978775508
84159.594684250255675.40531574974433
851522.9897909498168-7.98979094981675
866848.900551177991519.0994488220085
8710036.501060727311963.4989392726881
881323.4197656966157-10.4197656966157
894532.257030476724812.7429695232752
901423.4159717760319-9.41597177603193
913629.11635066576976.88364933423029
924038.88790138339081.11209861660919
936822.859003011144245.1409969888558
942968.2012192089782-39.2012192089782
954314.756675744636728.2433242553633
963034.0693718932313-4.06937189323128
97924.1528901226741-15.1528901226740
982227.7877042668564-5.7877042668564
991940.2890537388315-21.2890537388315
100928.3452163074305-19.3452163074305
1013128.38943954301792.6105604569821
1021922.5238446033959-3.52384460339585
1035539.371096024107415.6289039758926
104825.9352350411540-17.9352350411540
1052821.08476667224786.91523332775215
1062916.815571718647212.1844282813528
1074834.691954207963213.3080457920368
1081637.6849850454179-21.6849850454179
1094750.0094117501218-3.00941175012184
1102031.1723403213052-11.1723403213052
1112216.95636576386495.04363423613509
1123333.1794214958358-0.179421495835795
1134443.35555520222370.644444797776293
1141333.8735455495988-20.8735455495988
115624.653088851359-18.653088851359
1163517.194696199060217.8053038009398
117818.1913201316216-10.1913201316216
1181728.7174684597172-11.7174684597172
1191133.7700131649685-22.7700131649685
1202114.85057477697896.14942522302107
1219277.781857971638914.2181420283611
1221216.4123612609418-4.41236126094183
12311226.344211358096385.6557886419037
1242537.9515686922293-12.9515686922293
1251732.5555945461328-15.5555945461328
1262339.0262699114359-16.0262699114359
127010.3151413438341-10.3151413438341
1281010.8273757607610-0.827375760761038
1292311.876049412570111.1239505874299
130010.3151413438341-10.3151413438341
131710.4727930884651-3.47279308846507
1322517.31174305753867.68825694246137
133010.3151413438341-10.3151413438341
1342010.58116820839269.41883179160745
135413.7110689894706-9.71106898947061
136411.9278598078995-7.92785980789949
1371010.9740128026092-0.974012802609193
138110.3414663643429-9.34146636434295
139415.0378500231146-11.0378500231146
140010.3151413438341-10.3151413438341
141811.9526721277071-3.95267212770711
142010.3151413438341-10.3151413438341
1431114.6485329263439-3.6485329263439
144410.5459743881669-6.5459743881669
1451513.36023372865441.63976627134561
146910.9488622517314-1.94886225173143
147010.3151413438341-10.3151413438341
148710.3898176630315-3.38981766303145
149211.7419574554116-9.74195745541163
150010.4590967886963-10.4590967886963
151712.5617003956840-5.56170039568403
1524619.546215617081726.4537843829183
153510.3151413438341-5.31514134383414
154712.2293372539223-5.2293372539223
155210.4721762044551-8.4721762044551
156010.3151413438341-10.3151413438341
157010.3151413438341-10.3151413438341
158211.0138446793436-9.01384467934356
159512.4771324423102-7.4771324423102
160010.3151413438341-10.3151413438341
161010.3151413438341-10.3151413438341
162010.3151413438341-10.3151413438341
163010.3151413438341-10.3151413438341
164712.8842430297761-5.88424302977613
1652413.308471886705410.6915281132946
166110.5625965366169-9.56259653661695
167010.3151413438341-10.3151413438341
1681810.73366019693177.26633980306832
1695534.823735437536120.1762645624639
170010.3151413438341-10.3151413438341
171010.3151413438341-10.3151413438341
172310.7049757718937-7.70497577189369
173010.3151413438341-10.3151413438341
174911.6729874531772-2.67298745317723
175010.3151413438341-10.3151413438341
176811.0333517407172-3.03335174071717
17711312.4211429845389100.578857015461
178018.4767827716272-18.4767827716272
179010.3151413438341-10.3151413438341
180010.3151413438341-10.3151413438341
1811918.02468520099150.975314799008546
1821123.4844743257318-12.4844743257318
1832522.10282566363512.89717433636487
1841622.7339858937213-6.73398589372135
185518.6536036263031-13.6536036263031
1861121.3730467855389-10.3730467855389
1872331.1921152906101-8.1921152906101
188611.4131207279863-5.41312072798634
189512.6975426487832-7.69754264878322
190010.3151413438341-10.3151413438341
191711.4734925641371-4.47349256413707
192010.3151413438341-10.3151413438341
193711.2734640254533-4.27346402545328
194010.3151413438341-10.3151413438341
195310.5029050933604-7.50290509336041
196018.0970345929496-18.0970345929496
1978956.847250634885332.1527493651147
198018.0970345929496-18.0970345929496
199018.0970345929496-18.0970345929496
2001925.1682385297575-6.16823852975754
201018.0970345929496-18.0970345929496
202018.0970345929496-18.0970345929496
203018.0970345929496-18.0970345929496
2041216.8126099464509-4.81260994645089
2051227.0376809617420-15.0376809617420
206518.3718119401885-13.3718119401885
207219.6077132459198-17.6077132459198
208018.0970345929496-18.0970345929496
2092621.18330480673134.81669519326865
210319.4922606799165-16.4922606799165
211010.3151413438341-10.3151413438341
212010.3151413438341-10.3151413438341
2131110.98996570485760.0100342951424270
2141013.1090588691806-3.1090588691806
215513.5775529805644-8.57755298056442
216210.3151413438341-8.31514134383414
217610.4204584256496-4.42045842564963
218712.3877866253743-5.38778662537427
219210.3151413438341-8.31514134383414
2202819.07290583376398.92709416623609
221311.7816262705407-8.78162627054065
222010.3151413438341-10.3151413438341
223110.3257154151812-9.32571541518123
2242012.77916326345877.22083673654126
225110.4406132432078-9.44061324320785
2262211.941136284824110.0588637151759
227910.6363065940416-1.63630659404162
228010.3151413438341-10.3151413438341
229212.4072315407146-10.4072315407146
230010.3151413438341-10.3151413438341
231712.7423706605211-5.74237066052115
232914.2007143709345-5.20071437093446
233010.3151413438341-10.3151413438341
2341312.48190962444680.518090375553166
235010.3151413438341-10.3151413438341
236010.3311296084940-10.3311296084940
237010.3151413438341-10.3151413438341
238610.5061425114325-4.50614251143254
239010.3151413438341-10.3151413438341
240010.3151413438341-10.3151413438341
241010.3151413438341-10.3151413438341
242310.9619336481836-7.96193364818356
243010.3151413438341-10.3151413438341
244710.2274428629905-3.22744286299052
245225.4314242664152-23.4314242664152
246018.0970345929496-18.0970345929496
247018.0970345929496-18.0970345929496
2481511.26305614309743.73694385690259
249018.0970345929496-18.0970345929496
250018.0970345929496-18.0970345929496
25199.59376124825856-0.593761248258556
252018.0970345929496-18.0970345929496
253112.0309341596297-11.0309341596297
2543816.505869420280821.4941305797192
2555727.795859636906129.2041403630939
256010.3151413438341-10.3151413438341
257710.8367064021892-3.83670640218916
258269.1429416291081916.8570583708918
259018.0970345929496-18.0970345929496
260010.3151413438341-10.3151413438341
261018.0970345929496-18.0970345929496
262018.0970345929496-18.0970345929496
2631314.3801095303099-1.38010953030994
2641011.4891415146173-1.48914151461726
265018.0970345929496-18.0970345929496
266010.3151413438341-10.3151413438341
267018.0970345929496-18.0970345929496
268915.3239000752834-6.32390007528342
269018.0970345929496-18.0970345929496
2702613.200570996090112.7994290039099
271018.0970345929496-18.0970345929496
272018.0970345929496-18.0970345929496
273018.0970345929496-18.0970345929496
2741910.99177746540628.00822253459384
275010.3151413438341-10.3151413438341
2761212.2109029432397-0.210902943239656
2772312.898842763858810.1011572361412
278010.3151413438341-10.3151413438341
2792926.66266017091232.33733982908770
280813.0017137996515-5.00171379965146
281018.0970345929496-18.0970345929496
282010.3151413438341-10.3151413438341
2832610.678289265762815.3217107342372
284010.3151413438341-10.3151413438341
285914.4631384010447-5.46313840104472
286010.3151413438341-10.3151413438341
287521.2613020581086-16.2613020581086
288310.7875345018691-7.78753450186907
289018.0970345929496-18.0970345929496
2901310.10802012382922.89197987617077
291018.0970345929496-18.0970345929496
2921211.68721319209430.312786807905724
2931917.54261094065621.45738905934376
294010.3151413438341-10.3151413438341
2951010.3060855465345-0.306085546534513
296919.7867036598976-10.7867036598976
297010.3151413438341-10.3151413438341
298018.0970345929496-18.0970345929496
299010.3151413438341-10.3151413438341
300910.3151413438341-1.31514134383414
301418.2734953248543-14.2734953248543
302111.3839736220127-10.3839736220127
303110.3151413438341-9.31514134383414
304018.0970345929496-18.0970345929496
3051412.50033210701151.49966789298854
3061210.32923108450921.67076891549084
307018.0970345929496-18.0970345929496
3081919.9796123319544-0.979612331954424
3091710.90422925688306.09577074311701
310018.0970345929496-18.0970345929496
311018.0970345929496-18.0970345929496
3123218.519083706671913.4809162933281
313018.0970345929496-18.0970345929496
3141419.1588073859996-5.15880738599956
315810.3406662915615-2.34066629156151
316412.2660395643538-8.26603956435378
317010.3099065304816-10.3099065304816
3182012.35874288093317.6412571190669
319510.3201690324378-5.3201690324378
320010.3151413438341-10.3151413438341
321010.3151413438341-10.3151413438341
322010.3151413438341-10.3151413438341
323010.3151413438341-10.3151413438341
324018.0970345929496-18.0970345929496
325010.3151413438341-10.3151413438341
326110.4314460650691-9.4314460650691
327018.0970345929496-18.0970345929496
328018.0970345929496-18.0970345929496
329010.3151413438341-10.3151413438341
330010.3151413438341-10.3151413438341
331010.3151413438341-10.3151413438341
332010.3151413438341-10.3151413438341
333010.3151413438341-10.3151413438341
334410.7396571527513-6.7396571527513
335110.3220675564226-9.3220675564226
336411.9683526317874-7.9683526317874
3372014.80745448283175.19254551716833
338010.3151413438341-10.3151413438341
339110.4937989781455-9.4937989781455
3401010.7392737754281-0.739273775428094
3411212.4494251459960-0.449425145995951
342010.3151413438341-10.3151413438341
343010.3151413438341-10.3151413438341
344010.3151413438341-10.3151413438341
3451313.5847088910283-0.584708891028319
346010.3151413438341-10.3151413438341
347310.5614974039881-7.56149740398812
348010.3151413438341-10.3151413438341
349010.3151413438341-10.3151413438341
3501018.7128228861445-8.71282288614447
351311.4542391366163-8.45423913661635
352710.7269170511721-3.72691705117213
3531013.1387188162063-3.13871881620627
354111.3451062425161-10.3451062425161
355010.3151413438341-10.3151413438341
356010.3151413438341-10.3151413438341
3571517.3072713478200-2.30727134781997
358010.3151413438341-10.3151413438341
359010.3151413438341-10.3151413438341
360010.3151413438341-10.3151413438341
361410.3208809789321-6.3208809789321
362010.3151413438341-10.3151413438341
363010.3151413438341-10.3151413438341
3642827.58807446268370.411925537316307
365911.0053547667131-2.00535476671314
366010.3151413438341-10.3151413438341
367010.3151413438341-10.3151413438341
368010.3151413438341-10.3151413438341
369010.3151413438341-10.3151413438341
370711.4629122380182-4.46291223801825
371010.3151413438341-10.3151413438341
372712.4510239287079-5.4510239287079
373715.2893092666734-8.28930926667337
374312.2042455997494-9.2042455997494
375010.3151413438341-10.3151413438341
376010.3151413438341-10.3151413438341
377119.87431984777861.12568015222140
378713.4436012321433-6.44360123214334
3791021.9613304169316-11.9613304169316
380010.3151413438341-10.3151413438341
381010.3151413438341-10.3151413438341
3821816.12258544510921.87741455489081
383148.754796556008125.24520344399188
384010.3151413438341-10.3151413438341
3851211.19569635000890.804303649991073
3862925.10087954165783.89912045834221
387310.7535397686774-7.7535397686774
388614.6763775837511-8.67637758375111
389310.6178060487729-7.6178060487729
390812.8188685241087-4.81886852410867
3911012.877605813452-2.877605813452
392612.3533380697780-6.35333806977797
393813.644556459693-5.644556459693
394615.7109499465086-9.71094994650857
395941.564198547967-32.564198547967
396812.7367913613267-4.7367913613267
3972634.3262382377274-8.32623823772738
39823940.0356043143102198.96439568569
399713.8478723326802-6.8478723326802
4004119.864499044274421.1355009557256
401318.2020844498800-15.2020844498800
402815.2337619251313-7.23376192513129
403613.1689661379182-7.16896613791819
4042128.1797009163367-7.1797009163367
405714.2744937903311-7.27449379033108
4061118.9053609701630-7.90536097016297
4071115.3135522946845-4.31355229468447
4081215.0974356588783-3.09743565887830
409912.0516559449667-3.05165594496665
410316.3350758341163-13.3350758341163
4115719.345217287555337.6547827124447
4122157.7596948116043-36.7596948116043
4131523.4186266738616-8.41862667386164
4143238.9676460472081-6.96764604720806
4151124.8617490336811-13.8617490336811
416218.4263892127673-16.4263892127673
4172321.41356896257231.58643103742769
4182024.4442130029754-4.44421300297544
4192419.01555586994574.9844441300543
420115.0293496452171-14.0293496452171
421117.7962957567211-16.7962957567211
4227428.127818313011645.8721816869884
4236860.93045091358937.06954908641066
4242043.5140853262253-23.5140853262253
4252020.9189588777624-0.918958877762414
4268246.495299865845335.5047001341547
4272129.1229896107725-8.12298961077249
428244220.79035733051123.2096426694889
4293263.4861175026288-31.4861175026288
4308694.500658966506-8.50065896650608
4316997.5346794805174-28.5346794805174


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
70.9999999999965046.99210972330765e-123.49605486165382e-12
80.9999999999910811.78376588946612e-118.91882944733062e-12
90.9999999999977454.50920614528198e-122.25460307264099e-12
100.9999999999983693.26257973287244e-121.63128986643622e-12
110.9999999999991771.64510502667664e-128.22552513338322e-13
120.999999999997285.44134262216981e-122.72067131108491e-12
1319.19149248572261e-214.59574624286130e-21
1411.52124095453319e-227.60620477266593e-23
1518.80566918895308e-234.40283459447654e-23
1612.83491077913925e-221.41745538956963e-22
1711.77226084968723e-238.86130424843613e-24
1819.18335157728488e-244.59167578864244e-24
1911.07362347002997e-245.36811735014987e-25
2014.91057489340596e-302.45528744670298e-30
2116.83912280002469e-333.41956140001234e-33
2216.4943256693251e-393.24716283466255e-39
2311.35148588549465e-386.75742942747326e-39
2413.74950409989992e-461.87475204994996e-46
2511.09894084361421e-455.49470421807106e-46
2614.52910725746319e-482.26455362873159e-48
2711.60258408063099e-478.01292040315497e-48
2819.49572610530968e-484.74786305265484e-48
2911.47103203348858e-487.35516016744289e-49
3013.70872821261749e-481.85436410630875e-48
3111.84228613642209e-499.21143068211047e-50
3212.31675659752939e-501.15837829876469e-50
3313.26730391099126e-511.63365195549563e-51
3412.43967979581022e-511.21983989790511e-51
3511.03945136678383e-535.19725683391913e-54
3617.88734358010754e-553.94367179005377e-55
3711.67638760959091e-548.38193804795453e-55
3815.27318587555121e-542.63659293777561e-54
3912.03017814721391e-531.01508907360695e-53
4012.26211714573103e-551.13105857286552e-55
4112.68388611806797e-601.34194305903399e-60
4211.04781525539060e-615.23907627695302e-62
4311.49943652252425e-617.49718261262123e-62
4415.68046422861684e-612.84023211430842e-61
4518.18932450773151e-614.09466225386575e-61
4612.77657172501134e-611.38828586250567e-61
4713.63441261015733e-621.81720630507867e-62
4815.80780672687902e-632.90390336343951e-63
4911.79950302743163e-628.99751513715815e-63
5014.10930863380442e-622.05465431690221e-62
5114.86053880901138e-622.43026940450569e-62
5211.81100616650195e-639.05503083250973e-64
5315.78089808485908e-632.89044904242954e-63
5411.97769384876259e-629.88846924381293e-63
5512.24587265854561e-621.12293632927281e-62
5616.33304149056473e-633.16652074528237e-63
5711.62780979898703e-638.13904899493514e-64
5813.78384160904403e-631.89192080452202e-63
5919.72198486831375e-634.86099243415687e-63
6012.22601482671145e-621.11300741335572e-62
6111.86825713194648e-629.34128565973242e-63
6213.65650758494656e-621.82825379247328e-62
6312.42116800314227e-621.21058400157114e-62
6415.96172868422018e-622.98086434211009e-62
6518.57454918178304e-624.28727459089152e-62
6613.09940166925146e-741.54970083462573e-74
6715.3863212772783e-742.69316063863915e-74
6811.35481951042299e-736.77409755211495e-74
6911.73647408406439e-738.68237042032195e-74
7011.31483830765138e-736.57419153825691e-74
7116.19317114343963e-743.09658557171981e-74
7211.01298266105351e-735.06491330526754e-74
7313.24907823227062e-731.62453911613531e-73
7415.23936308911282e-732.61968154455641e-73
7511.56023222123929e-727.80116110619646e-73
7612.02640969793455e-721.01320484896727e-72
7716.17497639281331e-723.08748819640665e-72
7811.16156591681972e-715.80782958409858e-72
7911.02271494291317e-715.11357471456583e-72
8018.48962741951515e-724.24481370975758e-72
8111.87599776973562e-719.37998884867812e-72
8214.21561607059264e-712.10780803529632e-71
8311.25937617526188e-706.2968808763094e-71
8412.19586636802339e-701.09793318401169e-70
8514.70800687773219e-702.35400343886609e-70
8616.4575383687269e-703.22876918436345e-70
8711.56296346108914e-717.81481730544568e-72
8812.94685390400732e-711.47342695200366e-71
8911.00224626298127e-705.01123131490637e-71
9012.02536644789899e-701.01268322394949e-70
9116.64373235253994e-703.32186617626997e-70
9211.58411565882658e-697.9205782941329e-70
9312.76992420398996e-701.38496210199498e-70
9412.04632306100053e-711.02316153050027e-71
9519.53258804291306e-724.76629402145653e-72
9611.83300128179733e-719.16500640898663e-72
9711.93667753120899e-719.68338765604497e-72
9814.0981432611772e-712.0490716305886e-71
9911.22884822808336e-716.14424114041682e-72
10011.45096370195526e-717.2548185097763e-72
10113.82217069659546e-711.91108534829773e-71
10219.7111856546347e-714.85559282731735e-71
10313.50820419676786e-701.75410209838393e-70
10411.91036313009904e-709.5518156504952e-71
10515.37573944134892e-702.68786972067446e-70
10611.43017154762858e-697.15085773814288e-70
10711.99590140081172e-699.97950700405859e-70
10811.49953493888181e-697.49767469440905e-70
10913.30827432299529e-691.65413716149765e-69
11016.89580521803943e-693.44790260901972e-69
11111.95058351257688e-689.75291756288438e-69
11213.3806959239725e-681.69034796198625e-68
11319.98210025070287e-684.99105012535143e-68
11411.25756032561286e-676.28780162806432e-68
11512.06306899978141e-671.03153449989070e-67
11612.96266718572292e-671.48133359286146e-67
11715.23434259261063e-672.61717129630531e-67
11817.74455352929766e-673.87227676464883e-67
11918.32024090496207e-674.16012045248103e-67
12012.15007282046283e-661.07503641023142e-66
12117.08646780213795e-663.54323390106898e-66
12211.86766848326778e-659.33834241633889e-66
12313.87047463592745e-691.93523731796372e-69
12414.87447962607315e-692.43723981303657e-69
12511.01453851337899e-685.07269256689494e-69
12611.88372440659583e-689.41862203297916e-69
12714.26322527437465e-682.13161263718732e-68
12811.17101801424917e-675.85509007124586e-68
12912.36686532858462e-671.18343266429231e-67
13015.49643127032931e-672.74821563516465e-67
13111.50261004709433e-667.51305023547165e-67
13213.32868184922970e-661.66434092461485e-66
13317.90524744450327e-663.95262372225164e-66
13411.83492200490179e-659.17461002450897e-66
13514.5021321234016e-652.2510660617008e-65
13611.16652391614398e-645.83261958071988e-65
13713.29438558374603e-641.64719279187301e-64
13818.28944348759265e-644.14472174379633e-64
13911.99458945451918e-639.97294727259588e-64
14014.9314706832811e-632.46573534164055e-63
14111.37682691969081e-626.88413459845406e-63
14213.43193542995809e-621.71596771497904e-62
14319.51079485029121e-624.75539742514561e-62
14412.60424517513493e-611.30212258756746e-61
14517.49722426688349e-613.74861213344174e-61
14612.06280045569401e-601.03140022784701e-60
14715.1994644666482e-602.5997322333241e-60
14811.47456877819753e-597.37284389098766e-60
14913.78985117815978e-591.89492558907989e-59
15019.55660599293205e-594.77830299646602e-59
15112.65062701601963e-581.32531350800981e-58
15211.93133246345136e-589.65666231725681e-59
15315.3936715467002e-582.6968357733501e-58
15411.49778608433853e-577.48893042169263e-58
15513.98149837779832e-571.99074918889916e-57
15611.01485175599828e-565.0742587799914e-57
15712.58884847224581e-561.29442423612291e-56
15816.8010848987626e-563.4005424493813e-56
15911.84284402027378e-559.21422010136889e-56
16014.70261153964189e-552.35130576982094e-55
16111.20009692592021e-546.00048462960107e-55
16213.06229287304956e-541.53114643652478e-54
16317.81196602909658e-543.90598301454829e-54
16412.15329514317849e-531.07664757158924e-53
16514.77436339405718e-532.38718169702859e-53
16611.23488166977176e-526.17440834885879e-53
16713.13698887410895e-521.56849443705448e-52
16815.41270695191418e-522.70635347595709e-52
16916.52811169748208e-523.26405584874104e-52
17011.65790958973462e-518.28954794867311e-52
17114.20619598219218e-512.10309799109609e-51
17211.11785968551240e-505.58929842756198e-51
17312.82815022178556e-501.41407511089278e-50
17417.7915651250279e-503.89578256251395e-50
17511.96413876333815e-499.82069381669076e-50
17615.35758553136376e-492.67879276568188e-49
17711.99978686409248e-569.99893432046242e-57
17814.06412737284072e-562.03206368642036e-56
17911.10442087591657e-555.52210437958283e-56
18012.99694286284844e-551.49847143142422e-55
18119.09616644488593e-554.54808322244297e-55
18212.11807787864461e-541.05903893932231e-54
18315.1958338963909e-542.59791694819545e-54
18411.41688097206304e-537.08440486031519e-54
18513.42380528716796e-531.71190264358398e-53
18618.96510064178005e-534.48255032089002e-53
18712.4319451583177e-521.21597257915885e-52
18816.92803876012943e-523.46401938006472e-52
18911.89758897711999e-519.48794488559997e-52
19015.03029679005707e-512.51514839502853e-51
19111.41473212366001e-507.07366061830006e-51
19213.73405988940318e-501.86702994470159e-50
19311.05250433311860e-495.26252166559301e-50
19412.76491440995101e-491.38245720497550e-49
19517.57909657743998e-493.78954828871999e-49
19611.59515683258641e-487.97578416293203e-49
19712.73459535664125e-481.36729767832063e-48
19815.78323578123618e-482.89161789061809e-48
19911.22747434206109e-476.13737171030544e-48
20013.18813589870216e-471.59406794935108e-47
20116.77400072148e-473.38700036074e-47
20211.44127076708827e-467.20635383544133e-47
20313.06829204249767e-461.53414602124884e-46
20417.41913095640715e-463.70956547820358e-46
20511.12403195916351e-455.62015979581757e-46
20612.75078588745139e-451.37539294372569e-45
20715.55067392857637e-452.77533696428819e-45
20811.17333970221508e-445.86669851107538e-45
20911.94552145779573e-449.72760728897866e-45
21014.39680831502013e-442.19840415751007e-44
21111.11596655572694e-435.57983277863471e-44
21212.82511623612517e-431.41255811806259e-43
21317.09195339346114e-433.54597669673057e-43
21411.89285305004628e-429.4642652502314e-43
21514.85695947559381e-422.42847973779691e-42
21611.25370160125435e-416.26850800627173e-42
21713.30332238603629e-411.65166119301814e-41
21818.65547876771032e-414.32773938385516e-41
21912.21185154397860e-401.10592577198930e-40
22013.91690175481115e-401.95845087740558e-40
22119.91667545116567e-404.95833772558283e-40
22212.44300910778816e-391.22150455389408e-39
22316.0955793518549e-393.04778967592745e-39
22411.26948412947545e-386.34742064737724e-39
22513.14429164681607e-381.57214582340804e-38
22615.89583744836035e-382.94791872418017e-38
22711.48053109346045e-377.40265546730223e-38
22813.59087304967703e-371.79543652483851e-37
22918.42304490518118e-374.21152245259059e-37
23012.02984430601272e-361.01492215300636e-36
23115.09419064496538e-362.54709532248269e-36
23211.27429664994525e-356.37148324972623e-36
23313.03928394259550e-351.51964197129775e-35
23417.31077373227142e-353.65538686613571e-35
23511.73223628822979e-348.66118144114896e-35
23614.08899664323861e-342.04449832161930e-34
23719.62242484637476e-344.81121242318738e-34
23812.35192864346570e-331.17596432173285e-33
23915.49574589026745e-332.74787294513373e-33
24011.27966117382292e-326.39830586911462e-33
24112.96903756457433e-321.48451878228716e-32
24217.04878384200609e-323.52439192100304e-32
24311.62348259177413e-318.11741295887063e-32
24413.8565251745328e-311.9282625872664e-31
24514.41121656246180e-312.20560828123090e-31
24618.62326516220152e-314.31163258110076e-31
24711.67793926439736e-308.3896963219868e-31
24813.66913312689366e-301.83456656344683e-30
24917.0840318114518e-303.5420159057259e-30
25011.35977548874155e-296.79887744370774e-30
25112.91042683318117e-291.45521341659058e-29
25215.53673399182633e-292.76836699591316e-29
25311.20154809535056e-286.00774047675279e-29
25411.63248836910642e-288.1624418455321e-29
25511.77306431318979e-288.86532156594895e-29
25613.97527288513142e-281.98763644256571e-28
25718.92252797841303e-284.46126398920651e-28
25817.42823992453114e-283.71411996226557e-28
25911.39461554533861e-276.97307772669306e-28
26013.11181234248398e-271.55590617124199e-27
26115.78058110482055e-272.89029055241028e-27
26211.06446759377698e-265.3223379688849e-27
26312.45472091403674e-261.22736045701837e-26
26415.40279976085737e-262.70139988042868e-26
26519.79972294595203e-264.89986147297601e-26
26612.14377964823679e-251.07188982411840e-25
26713.83844479409869e-251.91922239704935e-25
26817.94743853682585e-253.97371926841292e-25
26911.40313099609709e-247.01565498048543e-25
27012.50264870218605e-241.25132435109303e-24
27114.35751220558634e-242.17875610279317e-24
27217.48438126953547e-243.74219063476773e-24
27311.26630028249901e-236.33150141249506e-24
27412.25531249564024e-231.12765624782012e-23
27514.81623627212723e-232.40811813606362e-23
27611.02976007312545e-225.14880036562725e-23
27711.78749401027720e-228.93747005138602e-23
27813.77923151853442e-221.88961575926721e-22
27918.22702198857067e-224.11351099428534e-22
28011.7664014319358e-218.832007159679e-22
28112.90400594870637e-211.45200297435318e-21
28216.04317509712536e-213.02158754856268e-21
28317.13728767902409e-213.56864383951204e-21
28411.48172100234029e-207.40860501170143e-21
28513.09822561766953e-201.54911280883476e-20
28616.37358605079461e-203.18679302539731e-20
28711.08779516510374e-195.43897582551872e-20
28812.25833733823964e-191.12916866911982e-19
28913.54259518379302e-191.77129759189651e-19
29016.28966430581621e-193.14483215290810e-19
29119.6381863917126e-194.8190931958563e-19
29211.93732066258978e-189.68660331294888e-19
29314.00021453648136e-182.00010726824068e-18
29418.00447312226344e-184.00223656113172e-18
29511.56274884482035e-177.81374422410176e-18
29612.91002905619017e-171.45501452809508e-17
29715.74865274693375e-172.87432637346688e-17
29818.39504423758077e-174.19752211879039e-17
29911.64776099685449e-168.23880498427247e-17
30013.21504874234093e-161.60752437117046e-16
30115.16701756011614e-162.58350878005807e-16
30211.00668537073383e-155.03342685366913e-16
3030.9999999999999991.95701671266924e-159.7850835633462e-16
3040.9999999999999992.69019637661736e-151.34509818830868e-15
3050.9999999999999985.02592978044839e-152.51296489022420e-15
3060.9999999999999959.25479341847063e-154.62739670923531e-15
3070.9999999999999941.22491677675524e-146.1245838837762e-15
3080.9999999999999882.31558134618058e-141.15779067309029e-14
3090.9999999999999823.57803549291415e-141.78901774645708e-14
3100.9999999999999784.46941438077287e-142.23470719038643e-14
3110.9999999999999745.28452284854138e-142.64226142427069e-14
3120.9999999999999519.81349338698571e-144.90674669349286e-14
3130.9999999999999461.08716089351011e-135.43580446755053e-14
3140.9999999999999151.70762691287587e-138.53813456437934e-14
3150.999999999999843.20944265066163e-131.60472132533082e-13
3160.99999999999975.98640948765608e-132.99320474382804e-13
3170.9999999999994441.11275977597271e-125.56379887986354e-13
3180.9999999999991151.77061143744566e-128.8530571872283e-13
3190.999999999998353.30079962403584e-121.65039981201792e-12
3200.9999999999969796.04119046542976e-123.02059523271488e-12
3210.9999999999945021.09959614970537e-115.49798074852684e-12
3220.9999999999900481.99036551427271e-119.95182757136353e-12
3230.9999999999820873.58263731802985e-111.79131865901492e-11
3240.9999999999823413.53169275085328e-111.76584637542664e-11
3250.9999999999683086.3382934787278e-113.1691467393639e-11
3260.999999999943151.13700236953027e-105.68501184765133e-11
3270.9999999999495371.00926371281103e-105.04631856405515e-11
3280.9999999999613937.72148557266316e-113.86074278633158e-11
3290.9999999999307741.38452341707401e-106.92261708537003e-11
3300.9999999998766022.46796056694969e-101.23398028347485e-10
3310.9999999997813434.37314468048708e-102.18657234024354e-10
3320.9999999996148627.70275664182444e-103.85137832091222e-10
3330.9999999993257141.34857132281857e-096.74285661409283e-10
3340.9999999988097592.38048294905388e-091.19024147452694e-09
3350.9999999979295684.14086476896821e-092.07043238448410e-09
3360.999999996400067.19988156565724e-093.59994078282862e-09
3370.9999999943231991.13536021738869e-085.67680108694343e-09
3380.9999999903440811.93118374679928e-089.65591873399642e-09
3390.9999999836106383.27787239188286e-081.63893619594143e-08
3400.9999999727568765.44862489280461e-082.72431244640231e-08
3410.9999999545285239.09429531709901e-084.54714765854951e-08
3420.9999999245334861.50933028313338e-077.5466514156669e-08
3430.9999998755739212.48852158312359e-071.24426079156180e-07
3440.9999997962089064.07582187351361e-072.03791093675681e-07
3450.999999671384456.57231102249111e-073.28615551124556e-07
3460.9999994685926731.06281465507513e-065.31407327537566e-07
3470.9999991378822761.72423544751233e-068.62117723756163e-07
3480.999998624832262.75033547854629e-061.37516773927315e-06
3490.9999978216502484.35669950440315e-062.17834975220157e-06
3500.9999965454735156.90905297059915e-063.45452648529957e-06
3510.9999945572762311.08854475373955e-055.44272376869773e-06
3520.999991487142421.70257151588674e-058.51285757943369e-06
3530.999986865206112.62695877782646e-051.31347938891323e-05
3540.9999799665456764.00669086477113e-052.00334543238556e-05
3550.9999695870190046.0825961991714e-053.0412980995857e-05
3560.9999541711556199.16576887627189e-054.58288443813595e-05
3570.9999316899966870.0001366200066256866.8310003312843e-05
3580.9998986085902650.000202782819470130.000101391409735065
3590.9998506505681310.000298698863736980.00014934943186849
3600.9997816969243670.0004366061512660440.000218303075633022
3610.9996803559087640.0006392881824727110.000319644091236356
3620.9995400402555410.000919919488917310.000459959744458655
3630.9993433577707740.001313284458452980.00065664222922649
3640.9991559095959680.001688180808064270.000844090404032134
3650.9988073508763140.002385298247372030.00119264912368602
3660.9983323245779980.003335350844004950.00166767542200248
3670.9976872537530690.004625492493862960.00231274624693148
3680.9968192582169250.006361483566149890.00318074178307495
3690.9956621027838470.00867579443230620.0043378972161531
3700.994083732742340.01183253451531780.00591626725765891
3710.9920673013229920.01586539735401600.00793269867700799
3720.9893703797026340.02125924059473180.0106296202973659
3730.9864091831344580.02718163373108460.0135908168655423
3740.982281861555490.03543627688902020.0177181384445101
3750.977040675893050.04591864821389890.0229593241069495
3760.9705133651600320.05897326967993600.0294866348399680
3770.9627918562750710.07441628744985740.0372081437249287
3780.9526757874378380.0946484251243250.0473242125621625
3790.9408165164416950.1183669671166090.0591834835583047
3800.9266109240393950.1467781519212110.0733890759606053
3810.9098331283964860.1803337432070270.0901668716035136
3820.8894295399689870.2211409200620250.110570460031013
3830.8762230233417770.2475539533164460.123776976658223
3840.8512574932062510.2974850135874980.148742506793749
3850.8226051518218530.3547896963562940.177394848178147
3860.7911588859942770.4176822280114470.208841114005723
3870.7550629606138590.4898740787722810.244937039386141
3880.7155580163748760.5688839672502470.284441983625124
3890.6729004907584780.6541990184830430.327099509241522
3900.6274248400519580.7451503198960830.372575159948042
3910.5795207876552880.8409584246894230.420479212344712
3920.5299879054509710.9400241890980580.470012094549029
3930.4794956306349580.9589912612699150.520504369365042
3940.4316218513869960.8632437027739920.568378148613004
3950.5672728251900210.8654543496199590.432727174809979
3960.514914018969720.970171962060560.48508598103028
3970.4637006463303570.9274012926607130.536299353669643
3980.999925419621860.0001491607562775757.45803781387874e-05
3990.9998579344012870.0002841311974256950.000142065598712847
4000.999861543084460.0002769138310796450.000138456915539822
4010.9997646621765870.0004706756468266940.000235337823413347
4020.9995600422348130.0008799155303747340.000439957765187367
4030.9991908819600580.001618236079883700.000809118039941848
4040.9985931672820070.002813665435985940.00140683271799297
4050.9975167156468430.004966568706314570.00248328435315729
4060.9957463089693740.008507382061251920.00425369103062596
4070.9927584734529060.01448305309418890.00724152654709444
4080.987973163516330.02405367296734190.0120268364836710
4090.9804977633363440.03900447332731170.0195022366636558
4100.9707397356618990.05852052867620260.0292602643381013
4110.9838115550158340.03237688996833130.0161884449841657
4120.991555942718080.01688811456383950.00844405728191976
4130.9874102446286980.02517951074260340.0125897553713017
4140.9855521764775060.02889564704498730.0144478235224936
4150.9762763228550440.04744735428991130.0237236771449556
4160.9635632918600550.07287341627989030.0364367081399452
4170.946672058733460.1066558825330820.0533279412665408
4180.9600247266319540.07995054673609130.0399752733680457
4190.9305068224755940.1389863550488130.0694931775244063
4200.8876499105675360.2247001788649280.112350089432464
4210.844824958455320.310350083089360.15517504154468
4220.9783325193251120.04333496134977560.0216674806748878
4230.9411136548293310.1177726903413370.0588863451706687
4240.866292939604580.2674141207908410.133707060395420


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level3720.889952153110048NOK
5% type I error level3870.925837320574163NOK
10% type I error level3930.940191387559809NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/01/t1291216960ktjngawgm6ea123/103hjy1291216940.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/01/t1291216960ktjngawgm6ea123/103hjy1291216940.ps (open in new window)


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


http://www.freestatistics.org/blog/date/2010/Dec/01/t1291216960ktjngawgm6ea123/2wgnn1291216940.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/01/t1291216960ktjngawgm6ea123/2wgnn1291216940.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/01/t1291216960ktjngawgm6ea123/3774q1291216940.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/01/t1291216960ktjngawgm6ea123/3774q1291216940.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/01/t1291216960ktjngawgm6ea123/4774q1291216940.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/01/t1291216960ktjngawgm6ea123/4774q1291216940.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/01/t1291216960ktjngawgm6ea123/5774q1291216940.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/01/t1291216960ktjngawgm6ea123/5774q1291216940.ps (open in new window)


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


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


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


http://www.freestatistics.org/blog/date/2010/Dec/01/t1291216960ktjngawgm6ea123/9s7kv1291216940.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/01/t1291216960ktjngawgm6ea123/9s7kv1291216940.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