Home » date » 2010 » Dec » 30 »

*The author of this computation has been verified*
R Software Module: /rwasp_multipleregression.wasp (opens new window with default values)
Title produced by software: Multiple Regression
Date of computation: Thu, 30 Dec 2010 01:00:37 +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/30/t1293670688mg2de0euqhz2msc.htm/, Retrieved Thu, 30 Dec 2010 01:58:20 +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/30/t1293670688mg2de0euqhz2msc.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 «
13 360 3821 73 0 0 15 390 3850 70 0 0 17 304 3672 72 0 0 19.4 232 3210 78 0 0 24.3 151 3003 80 0 0 18.1 258 3410 78 0 0 20.2 232 3265 79 0 0 18 232 2789 73 0 0 19 232 2634 71 0 0 20 232 2914 75 0 0 21 199 2648 70 0 0 18 199 2774 70 0 0 18 232 2945 73 0 0 19 232 2901 74 0 0 22.5 232 3085 76 0 0 18 258 2962 71 0 0 14 304 3672 73 0 0 15 258 3730 75 0 0 15.5 304 3962 76 0 0 16 258 3632 74 0 0 18 232 3288 71 0 0 14 304 4257 74 0 0 15 304 3892 72 0 0 19 232 3211 75 0 0 17.5 258 3193 76 0 0 16 304 3433 70 0 0 27.4 121 2670 79 0 0 24 107 2430 70 0 1 20 114 2582 73 0 1 23 115 2694 75 0 1 34.3 97 2188 80 0 1 20.3 131 2830 78 0 1 36.4 121 2950 80 0 1 29 98 2219 74 0 1 26 121 2234 70 0 1 21.5 121 2600 77 0 1 17 231 3907 75 0 0 22.4 231 3415 81 0 0 13 350 4100 73 0 0 25 181 2945 82 0 0 13 350 4699 74 0 0 20.6 231 3380 78 0 0 12 455 4951 73 0 0 14 455 3086 70 0 0 16.9 350 4360 79 0 0 13 350 4502 72 0 0 30 111 2155 77 0 0 17.7 231 3445 78 0 0 21 231 3039 75 0 0 20.5 231 3425 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 time15 seconds
R Server'Herman Ole Andreas Wold' @ www.yougetit.org


Multiple Linear Regression - Estimated Regression Equation
MPG[t] = -19.5949213012208 + 0.00932120264360868Displ[t] -0.00681998045690182Weight[t] + 0.797990841371979Year[t] + 2.43807959073668OriginJapan[t] + 2.38304851707346OriginEurope[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)-19.59492130122084.063657-4.8222e-061e-06
Displ0.009321202643608680.0050011.86380.0631090.031555
Weight-0.006819980456901820.000564-12.099300
Year0.7979908413719790.05081115.705100
OriginJapan2.438079590736680.5308934.59246e-063e-06
OriginEurope2.383048517073460.560554.25132.7e-051.3e-05


Multiple Linear Regression - Regression Statistics
Multiple R0.905896689865256
R-squared0.820648812708828
Adjusted R-squared0.818325610800911
F-TEST (value)353.240417852756
F-TEST (DF numerator)5
F-TEST (DF denominator)386
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation3.32675009800069
Sum Squared Residuals4271.96475881537


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
11315.9548977448107-2.95489774481071
21513.6427818667531.357218133247
31715.65109664347521.34890335652482
419.422.9187460724559-3.5187460724559
524.325.1714462956462-0.87144629564624
618.121.7971012498094-3.69710124980935
720.223.3416379886983-3.14163798869828
81821.8000036379517-3.80000363795167
91921.2611189260275-2.26111892602749
102022.5434877635829-2.5434877635829
112120.06004867101980.939951328980195
121819.2007311334502-1.20073113345018
131820.736086686675-2.73608668667498
141921.8341566681506-2.83415666815064
1522.522.17526194682470.324738053175334
161819.2665166048975-1.26651660489752
171416.4490874848472-2.44908748484718
181517.2207349794848-2.22073497948484
1915.516.8652656764616-1.36526567646159
201617.0911022228892-1.09110222288924
211816.80085170721371.1991482927863
221413.25738975893160.742610241068404
231514.15070094295680.849299057043198
241920.5179535678831-1.51795356788306
2517.521.6810553262131-4.1810553262131
261615.68509028993080.314909710069219
2727.426.36487286711431.0351271328857
282423.07230228448590.927697715514132
292024.494886197658-4.49488619765799
302325.3363512718726-2.33635127187255
3134.332.60943394233981.69056605766019
3220.326.9519456961476-6.65194569614758
3336.427.63631769762728.76368230237277
342927.61939070258761.38060929741241
352624.53951529104911.46048470895085
3621.527.6293383334269-6.12933833342693
371715.76192596723581.23807403276422
3822.423.9053014002634-1.50530140026335
391313.9589111708992-0.9589111708992
402527.4426229241988-2.44262292419875
411310.6717337185872.32826628141301
4220.621.750028192139-1.15002819213898
43129.133834079654652.86616592034534
441419.4591251076606-5.45912510766062
4516.916.9736613003366-0.0736613003366014
461310.41928818585272.58071181414731
473028.18796909323871.81203090676131
4817.721.3067294624404-3.60672946244036
492121.6816690038266-0.681669003826563
5020.520.6451382302064-0.145138230206418
5126.628.4791899451581-1.87918994515808
521514.34067069274230.659329307257695
5328.426.64450894642261.75549105357744
542320.11085231051142.88914768948856
5516.514.44328916708262.05671083291737
562524.81636127800330.183638721996693
571616.0072286220334-0.00722862203336408
581513.23609949829651.76390050170346
592727.128886942606-0.128886942605986
601311.94249841676741.05750158323263
611720.1005970189632-3.10059701896316
6217.518.2318161179431-0.731816117943128
632829.1182532971364-1.11825329713638
643430.55044919308583.44955080691424
652728.8795539811448-1.87955398114481
661312.77374857676590.226251423234147
671716.68901415606570.310985843934316
681815.22883528542162.77116471457842
691616.000355513662-0.000355513661996265
7017.515.1491318235092.35086817649096
712927.96602463796111.03397536203889
723028.86478430024381.13521569975624
7330.528.77607142638961.72392857361043
7432.130.69946529897931.40053470102072
7523.528.0704581621963-4.57045816219631
762827.38793994413930.612060055860675
7728.827.36107393884961.43892606115041
7817.520.1743429370293-2.67434293702931
79118.30744883323872.6925511667613
801311.97424373002631.02575626997369
811411.61955161835292.38044838164706
821410.80206868566553.1979313143345
831314.7227489820722-1.7227489820722
8420.522.99556651299-2.49556651299002
8519.221.349086725878-2.14908672587796
861514.34297215385340.657027846146587
8715.516.7075758066885-1.2075758066885
8819.222.1328980672054-2.93289806720544
891514.08167081912340.918329180876566
902020.7293898426223-0.729389842622299
911519.0352468169833-4.03524681698331
921818.9943800621564-0.994380062156362
932220.51528883195991.48471116804007
941618.6328148421116-2.63281484211163
952022.7428747074473-2.74287470744729
962123.5886054120176-2.58860541201758
972523.42497900896641.5750209910336
982221.94488386607530.0551161339246882
992822.92696105186925.07303894813083
10024.527.2074227933877-2.70742279338769
1011316.6597828155757-3.65978281557572
102109.281812327003190.718187672996812
1033128.39920396309792.60079603690207
10415.516.0824390657646-0.582439065764638
1052629.6647858225932-3.66478582259319
10617.623.5083751615566-5.90837516155661
10718.519.9312651186715-1.43126511867145
1081310.46713181869132.53286818130868
1091311.43094675458531.56905324541473
1103529.17100614028365.82899385971645
11123.929.7936140322708-5.89361403227077
11232.930.75539066043732.14460933956268
11331.832.9003764596673-1.10037645966726
11440.833.08456905991817.71543094008193
1153734.80325726297182.1967427370282
11632.728.40224451381614.29775548618387
11737.233.71450848413973.48549151586026
1183835.52077571106742.47922428893261
11927.230.5097119802455-3.30971198024546
1202825.5985402393372.40145976066298
1213731.19181628176465.80818371823543
1222225.8784460882106-3.87844608821063
1232426.4448442441886-2.44484424418858
1243229.00771951528752.99228048471252
1252226.4511036749465-4.45110367494648
12624.228.8587692878907-4.65876928789068
1273230.71100334925841.28899665074163
1283129.33189366892881.66810633107116
12939.431.76138659545027.63861340454981
13033.531.81589331119091.68410668880907
1312725.08011546878351.91988453121645
1322725.87810631015551.12189368984447
1332929.8782393944915-0.878239394491522
13425.828.6280956652297-2.82809566522965
13518.620.0573056666209-1.45730566662089
13619.123.2832626785644-4.18326267856438
13720.622.6284914267873-2.02849142678734
1382018.2499045897131.75009541028703
1391515.5348678393786-0.534867839378627
1403630.93533636531135.06466363468869
1412626.5868045718096-0.586804571809622
14227.926.60250834161531.29749165838465
1432825.8028507273142.19714927268597
1442824.01545942789983.98454057210023
1452524.26995808394020.730041916059763
14635.731.29957045127224.40042954872783
14733.528.61239189542394.88760810457607
1481615.44080696929850.559193030701504
1491515.863486373883-0.863486373883012
1501412.02389050456181.97610949543825
1511318.4074984680508-5.40749846805079
152119.343425673341471.65657432665853
1531518.4414389865919-3.4414389865919
15419.420.1398797599328-0.739879759932783
15517.517.7869865023017-0.286986502301654
156126.839445884743275.16055411525673
15715.516.5797968335156-1.07979683351557
15830.928.41853418448142.48146581551861
1593231.44683489957890.553165100421058
16018.220.2899724578991-2.08997245789909
1612626.5076807601981-0.507680760198128
1622627.6030328778362-1.6030328778362
1633026.18248314239843.81751685760155
1642428.3018389121548-4.30183891215482
1652928.94239690273680.057603097263206
1662827.62836799718310.37163200281692
16737.332.15107475160655.14892524839351
1683128.93586357242052.06413642757947
169128.928067054816763.07193294518324
170138.42328224517714.5767177548229
17115.519.0698965227922-3.56989652279217
17229.929.72426122155680.17573877844321
17334.432.00895467461892.3910453253811
1741317.4740614732093-4.47406147320934
175108.14586073791491.85413926208509
17626.425.97597046733450.424029532665519
17720.224.2913627998014-4.09136279980137
17825.125.4029858531258-0.302985853125794
17922.325.0415800168245-2.74158001682446
1802427.6060520523629-3.60605205236295
18136.131.28587736244394.81412263755609
18218.123.605330159793-5.50533015979301
1831412.97246209892071.02753790107932
1841412.00397174612621.99602825387385
1851510.6576983655154.34230163448499
1861413.90705231050630.092947689493709
18714.515.577907145115-1.07790714511504
1881614.0298650866451.97013491335501
1891311.39042639399511.60957360600495
1901410.64033479956483.35966520043522
19118.520.1402430347448-1.6402430347448
1921819.0080731509846-1.00807315098463
19320.226.0374371805116-5.83743718051163
1942228.668202109282-6.66820210928199
1951312.17457751337760.82542248662237
1961411.76548494179252.23451505820755
19717.620.856931163576-3.25693116357604
1981521.0471941796838-6.04719417968381
1991820.3855498195354-2.3855498195354
2002120.48538868153440.514611318465575
2012422.3748420355831.62515796441698
2021817.9848104428770.0151895571229702
2032728.1175505866306-1.11755058663058
2041321.4568769321255-8.45687693212554
20525.524.36629569576231.13370430423775
2061821.4974957703396-3.49749577033965
2071924.0414419860107-5.04144198601069
2082323.5614317460189-0.561431746018907
2092623.87781558295952.12218441704049
21026.524.86410114120161.63589885879838
2112222.6637528058021-0.663752805802058
2122123.8163295030185-2.81632950301847
2132829.0564233091472-1.05642330914721
2141615.55750033165880.442499668341203
2151715.55732819733311.44267180266687
2161916.8731536284022.12684637159797
21796.825935676415312.17406432358469
21832.432.06203903583510.337960964164866
2193634.23771905741571.76228094258425
22031.531.25507089986770.244929100132335
22129.531.4392635001185-1.93926350011848
2222426.0380935110467-2.03809351104671
2233332.09682675421590.903173245784119
2243835.72537512477442.27462487522556
2253235.7253751247744-3.72537512477444
22635.136.2322682506313-1.13226825063125
22744.634.91369119457429.6863088054258
2283331.29883591284391.7011640871561
22936.133.65870853467532.44129146532467
23033.733.40562831375930.294371686240746
23134.133.21659678287140.883403217128556
2321827.2633354042635-9.26333540426346
23331.330.46457959506280.835420404937216
23431.630.62831225394290.971687746057106
23546.633.093890262561713.5061097374383
23634.134.7909846742644-0.690984674264428
2373135.6912752224899-4.69127522248993
2383735.31617629736031.68382370263967
23932.832.27583651578160.524163484218416
24021.526.483802443874-4.98380244387398
24123.730.8305570786244-7.13055707862438
2421925.0604285887697-6.06042858876971
24325.423.46065275515591.93934724484407
2443025.82335362664694.1766463733531
24516.518.9490678588843-2.44906785888434
2462323.0592585443879-0.0592585443878986
2472123.2442048392317-2.24420483923168
2481515.373560620398-0.373560620398045
24916.519.7450745880254-3.24507458802545
2503632.26134707943873.73865292056127
2511110.26224575484360.737754245156368
252128.884662830463933.11533716953607
2531519.1785195344927-4.17851953449271
25420.221.1160372930238-0.916037293023845
25520.823.5752648518267-2.77526485182667
25619.824.9188541297508-5.1188541297508
2573634.66579381234321.33420618765676
2583827.720241706347910.2797582936521
25926.622.90033057321323.69966942678679
26019.922.1226427756572-2.22264277565716
26123.922.54553469189951.35446530810046
2621716.58476551673840.415234483261589
2631210.73300728687021.26699271312983
2641116.9324226501084-5.9324226501084
26526.826.64497599087490.155024009125105
26623.824.5848217205237-0.784821720523743
2671211.23773896859540.762261031404626
2682529.3763340524596-4.3763340524596
2692826.04791794991921.95208205008082
2702427.4052003166716-3.40520031667158
2712627.0576510829349-1.05765108293493
2723026.03721249449393.96278750550615
2731922.2526393832871-3.25263938328712
2742323.5893024249254-0.589302424925415
2752521.44983062184653.55016937815355
27627.225.3879555994711.81204440052901
2772121.0452903307576-0.0452903307576384
27828.126.71113806393891.38886193606113
27916.223.29463551574-7.09463551574
2801414.820337024686-0.820337024685971
28125.527.3016051560676-1.80160515606763
2823933.05649692056895.94350307943109
2832624.5775960835151.42240391648499
2841310.27385402421172.72614597578832
2852020.1464197064307-0.146419706430684
2862218.78903108384943.21096891615064
2872320.69878499552532.30121500447473
2881816.53803636711621.46196363288385
2891412.72629536370821.27370463629183
2901412.09193092538741.90806907461263
2911410.95801102784493.04198897215514
2921512.62394252894022.37605747105982
2931612.54226214720083.45773785279924
29434.229.42112443956044.77887556043958
29534.730.91480641545083.78519358454915
2963832.3265954979445.67340450205601
29734.529.76212346240554.73787653759449
29827.229.3189478691111-2.11894786911111
2993030.0350458170858-0.0350458170857983
30023.225.381625584001-2.18162558400099
3011815.79512718557062.2048728144294
3021615.70578623971630.294213760283733
3031413.01950139544050.980498604559514
3041816.91308216433131.08691783566871
3051819.470521707755-1.470521707755
3062221.10065642069790.899343579302063
3071920.091246185162-1.091246185162
30820.521.3531019534322-0.853101953432235
3091919.1911150206799-0.191115020679893
3101317.145802083524-4.14580208352395
3112323.8819708274933-0.881970827493291
3121411.68328603149062.31671396850937
3131410.32717127586913.67282872413092
3141612.14720408630343.85279591369664
3151410.34651673402343.65348326597659
3161917.00955323754011.99044676245993
3171613.21101478175112.78898521824889
3181616.7985370137393-0.79853701373933
3193129.32285271084341.67714728915657
32021.523.4687163951927-1.9687163951927
3212728.5951827408399-1.59518274083988
32233.527.42198671850946.07801328149063
32319.220.6929312213192-1.4929312213192
324135.736209945157787.26379005484222
32524.524.5711286316955-0.0711286316954749
32618.518.5238545385446-0.0238545385446018
3272626.2093660282635-0.20936602826347
3282729.3592756610297-2.3592756610297
3293632.52333267649433.47666732350572
3302523.41943760168461.58056239831536
33121.627.0974329857031-5.49743298570305
3322424.0281761405249-0.0281761405249066
3332525.5491380382429-0.549138038242944
3342626.5945971640998-0.594597164099785
33532.334.3013134535739-2.00131345357394
3363031.6549485246382-1.65494852463816
33733.832.95772417564980.842275824350186
3382026.4579109048211-6.45791090482112
3393231.44541254505440.554587454945572
34021.129.1832342216657-8.0832342216657
3412829.6975610055929-1.69756100559288
3422928.79045047691050.209549523089532
34332.232.2418597499013-0.0418597499012848
34432.432.4601522524366-0.0601522524366136
3453433.97424104178330.0257589582167182
3463128.07048806453572.92951193546435
3473230.03480181986681.96519818013322
3482726.88069656523460.119303434765439
3492629.7453539967057-3.74535399670565
35038.134.09029109537264.00970890462744
3512425.5139253521091-1.51392535210912
3522525.3588874676769-0.358887467676887
35327.528.8763351011051-1.37633510110512
3543131.3567441785255-0.35674417852546
3552425.8158792862038-1.81587928620377
35629.829.44249973485690.357500265143102
3572423.5788194405110.421180559488953
35825.429.2684351597571-3.86843515975713
3591924.9620271074669-5.96202710746688
3602023.4069121795499-3.40691217954986
36139.136.24772574762852.85227425237146
36237.734.32904353927863.37095646072141
3632324.3261721605354-1.32617216053542
3643530.71463010587674.28536989412334
36529.834.8741176179083-5.07411761790827
3662627.0369786299064-1.03697862990637
3672224.2463623872313-2.2463623872313
3682528.3155320009831-3.31553200098309
3692629.1882028493259-3.18820284932589
37030.530.20182145731010.29817854268993
3713333.4683544439469-0.468354443946855
3722727.8417894517352-0.841789451735246
3732930.266046411657-1.26604641165701
37429.531.8931234827073-2.39312348270726
3752931.9068165715355-2.90681657153553
37643.132.332659873841710.7673401261583
3773635.69854118126820.301458818731784
37831.532.2892387689135-0.789238768913546
3792628.6466534014786-2.64665340147859
3802325.7753885012085-2.77538850120846
3811922.6096202054893-3.60962020548933
3821821.3683306344187-3.36833063441873
3832223.6804633930518-1.68046339305185
3842023.1642490645514-3.16424906455143
3851725.1360302391035-8.13603023910349
38630.727.22582150649643.47417849350357
38743.431.5416483966711.85835160333
3884434.60097449158419.39902550841592
3892931.064037253029-2.06403725302899
39041.532.91883428508718.5811657149129
39144.333.246643510895411.0533564891046
39231.933.5305283399841-1.63052833998414


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
90.1300579852543090.2601159705086190.86994201474569
100.06008056448771290.1201611289754260.939919435512287
110.02223759162748350.04447518325496710.977762408372516
120.03229440864080540.06458881728161080.967705591359195
130.01641946136269070.03283892272538130.98358053863731
140.006707412691228460.01341482538245690.993292587308772
150.01251727974239990.02503455948479970.9874827202576
160.005649851255634490.0112997025112690.994350148744366
170.006381472010354730.01276294402070950.993618527989645
180.005750752872969630.01150150574593930.99424924712703
190.002727690714450020.005455381428900030.99727230928555
200.001302216773816720.002604433547633450.998697783226183
210.0006747295882395150.001349459176479030.99932527041176
220.0002951742794971030.0005903485589942070.999704825720503
230.0001314922256417030.0002629844512834060.999868507774358
245.46717347902289e-050.0001093434695804580.99994532826521
253.30385966657336e-056.60771933314673e-050.999966961403334
261.43529286318126e-052.87058572636252e-050.999985647071368
274.48058575885238e-058.96117151770476e-050.999955194142411
281.94153161257431e-053.88306322514862e-050.999980584683874
294.23230618242872e-058.46461236485744e-050.999957676938176
302.01849903895264e-054.03699807790528e-050.99997981500961
310.0008906214307438050.001781242861487610.999109378569256
320.002677544385300730.005355088770601470.9973224556147
330.1609344359488290.3218688718976580.83906556405117
340.1397933479683230.2795866959366460.860206652031677
350.1157415133738370.2314830267476750.884258486626162
360.1883404846712830.3766809693425670.811659515328717
370.1543412031354110.3086824062708210.84565879686459
380.1250034934639090.2500069869278190.87499650653609
390.09914632196063530.1982926439212710.900853678039365
400.07833148812887350.1566629762577470.921668511871127
410.06530391268838680.1306078253767740.934696087311613
420.05021195266533050.1004239053306610.94978804733467
430.04852389489305370.09704778978610750.951476105106946
440.04033541533524420.08067083067048850.959664584664756
450.03067150420258740.06134300840517480.969328495797413
460.02412662418090940.04825324836181870.97587337581909
470.03181127867381450.0636225573476290.968188721326185
480.03057637648718810.06115275297437630.969423623512812
490.02360826396580330.04721652793160660.976391736034197
500.01779227689372830.03558455378745660.982207723106272
510.01337212873754280.02674425747508560.986627871262457
520.01061419450674720.02122838901349440.989385805493253
530.01167537277626760.02335074555253520.988324627223732
540.01789659946220110.03579319892440220.9821034005378
550.01481233656140130.02962467312280260.985187663438599
560.01162019625159550.0232403925031910.988379803748405
570.008773710881493430.01754742176298690.991226289118507
580.006731831536750260.01346366307350050.99326816846325
590.005012565442297760.01002513088459550.994987434557702
600.003706020657036970.007412041314073950.996293979342963
610.003320503579663090.006641007159326180.996679496420337
620.002373401501489820.004746803002979630.99762659849851
630.001683934020458130.003367868040916260.998316065979542
640.00328423499021980.006568469980439610.99671576500978
650.002480288323330560.004960576646661130.99751971167667
660.001781993514113650.00356398702822730.998218006485886
670.001269521962797850.002539043925595710.998730478037202
680.001379890433651750.00275978086730350.998620109566348
690.0009907222558822490.00198144451176450.999009277744118
700.0007907014638235930.001581402927647190.999209298536176
710.0006649774615481810.001329954923096360.999335022538452
720.0005696196189876690.001139239237975340.999430380381012
730.0005433651606648250.001086730321329650.999456634839335
740.000488794253006580.000977588506013160.999511205746993
750.000565756587466740.001131513174933480.999434243412533
760.0004287112890920440.0008574225781840870.999571288710908
770.000398059470671990.0007961189413439790.999601940529328
780.0003590212772419810.0007180425544839610.999640978722758
790.0002884451981204780.0005768903962409570.99971155480188
800.0002026473493188010.0004052946986376020.999797352650681
810.0001649265010189850.000329853002037970.99983507349898
820.0002258075708487160.0004516151416974330.999774192429151
830.0001734760121968550.0003469520243937110.999826523987803
840.0001479567311783580.0002959134623567150.999852043268822
850.0001137436030573940.0002274872061147880.999886256396943
868.81519482070292e-050.0001763038964140580.999911848051793
876.18240945030591e-050.0001236481890061180.999938175905497
884.77612291328166e-059.55224582656332e-050.999952238770867
893.33518150987324e-056.67036301974648e-050.999966648184901
902.24263689294307e-054.48527378588614e-050.99997757363107
913.1284933147858e-056.2569866295716e-050.999968715066852
922.18332913135466e-054.36665826270932e-050.999978166708686
931.74322410343387e-053.48644820686775e-050.999982567758966
941.57412773009112e-053.14825546018224e-050.9999842587227
951.42737795454578e-052.85475590909157e-050.999985726220455
961.18126269097232e-052.36252538194464e-050.99998818737309
979.4242581155718e-061.88485162311436e-050.999990575741884
986.24954248974225e-061.24990849794845e-050.99999375045751
991.67974260462905e-053.3594852092581e-050.999983202573954
1001.42485713530544e-052.84971427061088e-050.999985751428647
1011.52037634462116e-053.04075268924231e-050.999984796236554
1021.08295409717373e-052.16590819434745e-050.999989170459028
1031.18360880895458e-052.36721761790915e-050.99998816391191
1048.09562629960194e-061.61912525992039e-050.9999919043737
1057.17205020317145e-061.43441004063429e-050.999992827949797
1061.74058395158116e-053.48116790316232e-050.999982594160484
1071.22831042637065e-052.4566208527413e-050.999987716895736
1081.14201738951943e-052.28403477903885e-050.999988579826105
1098.51375144236002e-061.702750288472e-050.999991486248558
1107.29947994149277e-061.45989598829855e-050.999992700520059
1116.11744940739954e-050.0001223489881479910.999938825505926
1125.21616701577746e-050.0001043233403155490.999947838329842
1133.82282805842277e-057.64565611684553e-050.999961771719416
1140.0001930063950353490.0003860127900706980.999806993604965
1150.0001496973415122760.0002993946830245520.999850302658488
1160.0001410838251909080.0002821676503818150.99985891617481
1170.0001197618999505870.0002395237999011750.99988023810005
1189.2350003531587e-050.0001847000070631740.999907649996468
1190.000173559159755240.000347118319510480.999826440840245
1200.0001368378035729360.0002736756071458720.999863162196427
1210.0001945539114829720.0003891078229659430.999805446088517
1220.0005341981504938640.001068396300987730.999465801849506
1230.0007088702395173360.001417740479034670.999291129760483
1240.0005930020406411750.001186004081282350.99940699795936
1250.001222234863283570.002444469726567140.998777765136716
1260.002083228265606070.004166456531212130.997916771734394
1270.001638930477887910.003277860955775820.998361069522112
1280.001298757722402080.002597515444804170.998701242277598
1290.003608015467179850.007216030934359690.99639198453282
1300.002925843297821160.005851686595642320.997074156702179
1310.002392499230852320.004784998461704650.997607500769148
1320.001934198520857470.003868397041714940.998065801479143
1330.00152278611189390.00304557222378780.998477213888106
1340.001334132511920080.002668265023840170.99866586748808
1350.001080900654203190.002161801308406370.998919099345797
1360.001208229146410570.002416458292821140.99879177085359
1370.001001555497102120.002003110994204230.998998444502898
1380.0008259421330466220.001651884266093240.999174057866953
1390.000636963898434480.001273927796868960.999363036101566
1400.001332720288228050.002665440576456090.998667279711772
1410.001034232085464450.00206846417092890.998965767914536
1420.0008682794826818550.001736558965363710.999131720517318
1430.0007608737026480320.001521747405296060.999239126297352
1440.0008583803407834230.001716760681566850.999141619659217
1450.0006622292889898130.001324458577979630.99933777071101
1460.000973927532532660.001947855065065320.999026072467467
1470.001431487400148680.002862974800297360.998568512599851
1480.001125516797010570.002251033594021140.99887448320299
1490.000883532508588210.001767065017176420.999116467491412
1500.0007359833379081140.001471966675816230.999264016662092
1510.001111589717179590.002223179434359180.99888841028282
1520.0008919142159440550.001783828431888110.999108085784056
1530.0008911942094181280.001782388418836260.999108805790582
1540.0007027776532752130.001405555306550430.999297222346725
1550.0005440229392694910.001088045878538980.99945597706073
1560.0007469194543032490.00149383890860650.999253080545697
1570.0005896026074951670.001179205214990330.999410397392505
1580.0005422235312846190.001084447062569240.999457776468715
1590.0004382939286047240.0008765878572094480.999561706071395
1600.0003656886312587020.0007313772625174040.999634311368741
1610.0002774467219235120.0005548934438470240.999722553278076
1620.0002171343525485450.000434268705097090.999782865647451
1630.000256278328756810.000512556657513620.999743721671243
1640.0003000426696463840.0006000853392927690.999699957330354
1650.0002283029909740440.0004566059819480890.999771697009026
1660.0001757707914652420.0003515415829304830.999824229208535
1670.0003492100208865340.0006984200417730690.999650789979113
1680.0003012721736864740.0006025443473729490.999698727826314
1690.0002880966825439190.0005761933650878380.999711903317456
1700.0003626241118591630.0007252482237183250.99963737588814
1710.00036798168262810.00073596336525620.999632018317372
1720.0002813529241857480.0005627058483714950.999718647075814
1730.0002667869394419240.0005335738788838490.999733213060558
1740.0003462430269324560.0006924860538649110.999653756973067
1750.0002783432863107310.0005566865726214620.99972165671369
1760.0002118670411232770.0004237340822465540.999788132958877
1770.0002471290789488370.0004942581578976750.999752870921051
1780.0001875811004323130.0003751622008646260.999812418899568
1790.0001771641371289880.0003543282742579770.999822835862871
1800.0001872861460925640.0003745722921851270.999812713853907
1810.0002901855769244230.0005803711538488460.999709814423076
1820.0004494218837380880.0008988437674761770.999550578116262
1830.0003526217803114310.0007052435606228610.999647378219689
1840.0002929287700610610.0005858575401221210.99970707122994
1850.0003746873302484050.000749374660496810.999625312669752
1860.0002868469328001580.0005736938656003160.9997131530672
1870.0002267269940719980.0004534539881439970.999773273005928
1880.0001858859517861650.000371771903572330.999814114048214
1890.0001469987575261470.0002939975150522930.999853001242474
1900.0001412177523526880.0002824355047053750.999858782247647
1910.0001146672627881640.0002293345255763280.999885332737212
1928.8846600192852e-050.0001776932003857040.999911153399807
1930.0001641743632721650.0003283487265443290.999835825636728
1940.0003805427239546160.0007610854479092330.999619457276045
1950.000293804947976550.0005876098959530990.999706195052023
1960.0002490778239161990.0004981556478323980.999750922176084
1970.0002557433099141030.0005114866198282060.999744256690086
1980.0005280409948241920.001056081989648380.999471959005176
1990.0004822037804604270.0009644075609208540.99951779621954
2000.0003714975691076630.0007429951382153260.999628502430892
2010.000303336537397240.000606673074794480.999696663462603
2020.0002317508621420710.0004635017242841420.999768249137858
2030.0001857621489200530.0003715242978401060.99981423785108
2040.0009728885961406510.00194577719228130.99902711140386
2050.0007753145026384280.001550629005276860.999224685497362
2060.000872271076760090.001744542153520180.99912772892324
2070.001381161065420820.002762322130841640.99861883893458
2080.001103969330919190.002207938661838380.99889603066908
2090.0009386788617271190.001877357723454240.999061321138273
2100.00077238916736230.00154477833472460.999227610832638
2110.0006213840296410940.001242768059282190.99937861597036
2120.000617477552539710.001234955105079420.99938252244746
2130.0005062785847781550.001012557169556310.999493721415222
2140.0004001033497545670.0008002066995091350.999599896650246
2150.0003187676360854270.0006375352721708540.999681232363915
2160.0002645440174308750.000529088034861750.99973545598257
2170.0002466900700498690.0004933801400997370.99975330992995
2180.0001881061471187680.0003762122942375370.999811893852881
2190.0001521987099279760.0003043974198559510.999847801290072
2200.0001162066158362290.0002324132316724580.999883793384164
2210.0001022015642048250.000204403128409650.999897798435795
2229.89343861979609e-050.0001978687723959220.999901065613802
2237.51677055359884e-050.0001503354110719770.999924832294464
2246.4538301447028e-050.0001290766028940560.999935461698553
2257.46912776497657e-050.0001493825552995310.99992530872235
2265.88617529472472e-050.0001177235058944940.999941138247053
2270.0005254602871004010.00105092057420080.9994745397129
2280.0004328331187836560.0008656662375673120.999567166881216
2290.0003770904712378730.0007541809424757470.999622909528762
2300.000288807616098280.0005776152321965590.999711192383902
2310.0002240775729020990.0004481551458041970.999775922427098
2320.001761122948385530.003522245896771060.998238877051614
2330.001418573064772920.002837146129545830.998581426935227
2340.001145548662906250.00229109732581250.998854451337094
2350.03237264427731840.06474528855463680.967627355722682
2360.02767384729409980.05534769458819970.9723261527059
2370.03359395870304030.06718791740608050.96640604129696
2380.02968473427161590.05936946854323180.970315265728384
2390.02556521773072160.05113043546144310.974434782269278
2400.0332499961689080.0664999923378160.966750003831092
2410.0582539480890010.1165078961780020.941746051911
2420.08123263029787180.1624652605957440.918767369702128
2430.07466083449782430.1493216689956490.925339165502176
2440.08240346985341770.1648069397068350.917596530146582
2450.07721182059636430.1544236411927290.922788179403636
2460.06709651775931070.1341930355186210.93290348224069
2470.06397542839617370.1279508567923470.936024571603826
2480.05538478664899160.1107695732979830.944615213351008
2490.06148494734126550.1229698946825310.938515052658734
2500.06209465692770330.1241893138554070.937905343072297
2510.05388080038652910.1077616007730580.94611919961347
2520.0513887979032650.102777595806530.948611202096735
2530.05969995959580530.1193999191916110.940300040404195
2540.05515330469882650.1103066093976530.944846695301174
2550.05614162667360280.1122832533472060.943858373326397
2560.07934521825162940.1586904365032590.92065478174837
2570.07003378422205610.1400675684441120.929966215777944
2580.1693958156206730.3387916312413450.830604184379327
2590.1663151836251450.332630367250290.833684816374855
2600.1659736990324070.3319473980648130.834026300967593
2610.1500359092249420.3000718184498840.849964090775058
2620.1329304528920890.2658609057841790.86706954710791
2630.1184096390250980.2368192780501960.881590360974902
2640.1849651324559270.3699302649118530.815034867544073
2650.1692793022380550.338558604476110.830720697761945
2660.1547451766841360.3094903533682710.845254823315864
2670.1372307672049710.2744615344099410.86276923279503
2680.1545838819717790.3091677639435580.845416118028221
2690.1427474844171530.2854949688343060.857252515582847
2700.1453721222577210.2907442445154430.854627877742279
2710.1294830104505450.258966020901090.870516989549455
2720.1412065464335120.2824130928670230.858793453566488
2730.1340143387266550.268028677453310.865985661273345
2740.1182512779763280.2365025559526550.881748722023672
2750.1336055453930110.2672110907860230.866394454606989
2760.1253953133272210.2507906266544420.874604686672779
2770.1141512650091310.2283025300182620.885848734990869
2780.1045776983781060.2091553967562130.895422301621894
2790.1490588612020360.2981177224040730.850941138797964
2800.1400820610491470.2801641220982930.859917938950853
2810.1370907664545430.2741815329090860.862909233545457
2820.1549615600937780.3099231201875570.845038439906222
2830.1381021097593930.2762042195187850.861897890240607
2840.1292674542677580.2585349085355160.870732545732242
2850.1138245529366130.2276491058732250.886175447063387
2860.1086169992408830.2172339984817660.891383000759117
2870.09780680931098230.1956136186219650.902193190689018
2880.08726858512549050.1745371702509810.91273141487451
2890.0759468644949940.1518937289899880.924053135505006
2900.06739735904480930.1347947180896190.93260264095519
2910.06033751131966720.1206750226393340.939662488680333
2920.05460279630839760.1092055926167950.945397203691602
2930.05583504668665020.11167009337330.94416495331335
2940.05944770946206670.1188954189241330.940552290537933
2950.05713804897952770.1142760979590550.942861951020472
2960.06638105796837760.1327621159367550.933618942031622
2970.07311272146478290.1462254429295660.926887278535217
2980.06968469008797470.1393693801759490.930315309912025
2990.06070087402199160.1214017480439830.939299125978008
3000.05708360927921650.1141672185584330.942916390720783
3010.04925492151922210.09850984303844420.950745078480778
3020.0416937687313730.0833875374627460.958306231268627
3030.0350040552611120.0700081105222240.964995944738888
3040.03013591934524020.06027183869048040.96986408065476
3050.02615964194930030.05231928389860060.9738403580507
3060.0214360475431540.0428720950863080.978563952456846
3070.01811992868379240.03623985736758470.981880071316208
3080.01522161630483210.03044323260966410.984778383695168
3090.01220435244229310.02440870488458620.987795647557707
3100.01695166220232510.03390332440465020.983048337797675
3110.01417763232892710.02835526465785430.985822367671073
3120.01166239539054720.02332479078109430.988337604609453
3130.010125465095020.02025093019003990.98987453490498
3140.00942178373302370.01884356746604740.990578216266976
3150.00913649289081740.01827298578163480.990863507109183
3160.00760313368224910.01520626736449820.992396866317751
3170.006804200028839940.01360840005767990.99319579997116
3180.005734855132709610.01146971026541920.99426514486729
3190.004526001206922680.009052002413845360.995473998793077
3200.004797994966610950.00959598993322190.99520200503339
3210.005993109832731790.01198621966546360.994006890167268
3220.006141103491382390.01228220698276480.993858896508618
3230.006489429912117690.01297885982423540.993510570087882
3240.07108672925367260.1421734585073450.928913270746327
3250.09163248685330880.1832649737066180.908367513146691
3260.0767173270596860.1534346541193720.923282672940314
3270.06405695458167190.1281139091633440.935943045418328
3280.05845148559030430.1169029711806090.941548514409696
3290.0520096166714340.1040192333428680.947990383328566
3300.05245998050450360.1049199610090070.947540019495496
3310.07591912159782410.1518382431956480.924080878402176
3320.06646089596056270.1329217919211250.933539104039437
3330.05480739491062670.1096147898212530.945192605089373
3340.04535296018179620.09070592036359240.954647039818204
3350.04799569666083460.09599139332166920.952004303339165
3360.04118490969811350.0823698193962270.958815090301886
3370.03376536532355630.06753073064711250.966234634676444
3380.05570771052665970.1114154210533190.94429228947334
3390.04714091512551350.0942818302510270.952859084874486
3400.08094608128033470.1618921625606690.919053918719665
3410.07312116130063620.1462423226012720.926878838699364
3420.05920076977701720.1184015395540340.940799230222983
3430.04978293363408610.09956586726817220.950217066365914
3440.04469351483010670.08938702966021350.955306485169893
3450.0414301228784370.0828602457568740.958569877121563
3460.03616614887647420.07233229775294850.963833851123526
3470.02828262638486250.0565652527697250.971717373615137
3480.02248831491282960.04497662982565920.97751168508717
3490.03628314884217580.07256629768435160.963716851157824
3500.02943025157916030.05886050315832060.97056974842084
3510.02273765409409060.04547530818818130.97726234590591
3520.0205770173163540.0411540346327080.979422982683646
3530.01542756039635940.03085512079271890.98457243960364
3540.01203998963420520.02407997926841040.987960010365795
3550.00897544524196650.0179508904839330.991024554758033
3560.006413093315547660.01282618663109530.993586906684452
3570.007023249715168230.01404649943033650.992976750284832
3580.005276863043290190.01055372608658040.99472313695671
3590.004652886482265730.009305772964531470.995347113517734
3600.00451259322380270.00902518644760540.995487406776197
3610.00370563135476820.007411262709536410.996294368645232
3620.003690022541448510.007380045082897020.996309977458552
3630.002458896304859850.004917792609719710.99754110369514
3640.002489054076675560.004978108153351120.997510945923324
3650.01338080927658610.02676161855317220.986619190723414
3660.02040440803809580.04080881607619160.979595591961904
3670.0251010955560140.05020219111202790.974898904443986
3680.03330080611127620.06660161222255240.966699193888724
3690.05017564293758990.100351285875180.94982435706241
3700.03917172484984350.0783434496996870.960828275150156
3710.04717391771481510.09434783542963010.952826082285185
3720.1379715252718220.2759430505436440.862028474728178
3730.1012982478387410.2025964956774810.89870175216126
3740.07379094475395230.1475818895079050.926209055246048
3750.05822779597522480.116455591950450.941772204024775
3760.2057361182090170.4114722364180340.794263881790983
3770.1929044385553740.3858088771107470.807095561444626
3780.2666268312717540.5332536625435080.733373168728246
3790.2741613455606890.5483226911213790.72583865443931
3800.24108941775070.48217883550140.7589105822493
3810.1754338223035120.3508676446070230.824566177696488
3820.2168434716508910.4336869433017810.78315652834911
3830.1366920225250040.2733840450500070.863307977474996


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level1970.525333333333333NOK
5% type I error level2430.648NOK
10% type I error level2760.736NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/30/t1293670688mg2de0euqhz2msc/10nmwl1293670821.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/30/t1293670688mg2de0euqhz2msc/10nmwl1293670821.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/30/t1293670688mg2de0euqhz2msc/1ylh91293670821.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/30/t1293670688mg2de0euqhz2msc/1ylh91293670821.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/30/t1293670688mg2de0euqhz2msc/2qchc1293670821.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/30/t1293670688mg2de0euqhz2msc/2qchc1293670821.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/30/t1293670688mg2de0euqhz2msc/3qchc1293670821.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/30/t1293670688mg2de0euqhz2msc/3qchc1293670821.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/30/t1293670688mg2de0euqhz2msc/4qchc1293670821.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/30/t1293670688mg2de0euqhz2msc/4qchc1293670821.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/30/t1293670688mg2de0euqhz2msc/5qchc1293670821.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/30/t1293670688mg2de0euqhz2msc/5qchc1293670821.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/30/t1293670688mg2de0euqhz2msc/6j4yx1293670821.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/30/t1293670688mg2de0euqhz2msc/6j4yx1293670821.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/30/t1293670688mg2de0euqhz2msc/7udfi1293670821.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/30/t1293670688mg2de0euqhz2msc/7udfi1293670821.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/30/t1293670688mg2de0euqhz2msc/8udfi1293670821.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/30/t1293670688mg2de0euqhz2msc/8udfi1293670821.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/30/t1293670688mg2de0euqhz2msc/9udfi1293670821.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/30/t1293670688mg2de0euqhz2msc/9udfi1293670821.ps (open in new window)


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