Home » date » 2010 » Dec » 29 »

MR 2 no seasonal dummies

*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, 29 Dec 2010 17:35:49 +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/29/t1293644043x4w03vzqzbzypsn.htm/, Retrieved Wed, 29 Dec 2010 18:34:13 +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/29/t1293644043x4w03vzqzbzypsn.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 «
34420 34070 33978 34484 34645 34410 34534 35019 35508 35488 35709 36534 36066 35724 35727 36281 36017 35780 36003 36285 36419 36413 36663 37451 37063 36613 36564 37064 36817 36621 36798 36967 36926 36975 37324 38159 37776 37465 37451 37944 37737 37603 37813 37960 37934 37975 38241 39176 39137 38797 38730 39031 38851 38727 39291 39407 39326 39326 39617 40458 40425 40092 39939 40174 40065 39922 40107 40163 40116 40118 40416 41215 40852 40497 40430 40766 40626 40442 40590 40673 40660 40736 41082 41873 41507 41104 40963 41227 41063 40873 41016 41433 41345 41375 41597 42225 41937 41642 41551 41866 41744 41615 41764 41828 41786 41852 42183 42937 42635 42292 42202 42577 42600 42433 42584 42660 42659 42712 43039 43664 43397 43110 43005 43159 43066 42977 43139 43226 43242 43348 43605 44225 43983 43754 43632 43868 43864 43808 43954 44032 44090 44210 44435 44919 44785 44616 44 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 time7 seconds
R Server'Herman Ole Andreas Wold' @ www.yougetit.org


Multiple Linear Regression - Estimated Regression Equation
Coins[t] = + 36021.7926972397 + 51.9257782124659t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)36021.7926972397117.172507307.425300
t51.92577821246590.94066755.20100


Multiple Linear Regression - Regression Statistics
Multiple R0.96678107994094
R-squared0.934665656531772
Adjusted R-squared0.934358922524879
F-TEST (value)3047.15367558689
F-TEST (DF numerator)1
F-TEST (DF denominator)213
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation856.048172662384
Sum Squared Residuals156090334.944663


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
13442036073.7184754523-1653.7184754523
23407036125.6442536646-2055.64425366463
33397836177.5700318771-2199.57003187713
43448436229.4958100896-1745.49581008959
53464536281.4215883021-1636.42158830206
63441036333.3473665145-1923.34736651452
73453436385.273144727-1851.27314472699
83501936437.1989229395-1418.19892293946
93550836489.1247011519-981.124701151922
103548836541.0504793644-1053.05047936439
113570936592.9762575769-883.976257576855
123653436644.9020357893-110.90203578932
133606636696.8278140018-630.827814001786
143572436748.7535922143-1024.75359221425
153572736800.6793704267-1073.67937042672
163628136852.6051486392-571.605148639183
173601736904.5309268517-887.53092685165
183578036956.4567050641-1176.45670506412
193600337008.3824832766-1005.38248327658
203628537060.308261489-775.308261489048
213641937112.2340397015-693.234039701514
223641337164.159817914-751.159817913978
233666337216.0855961264-553.085596126445
243745137268.0113743389182.988625661089
253706337319.9371525514-256.937152551377
263661337371.8629307638-758.862930763843
273656437423.7887089763-859.788708976309
283706437475.7144871888-411.714487188775
293681737527.6402654012-710.64026540124
303662137579.5660436137-958.566043613706
313679837631.4918218262-833.491821826172
323696737683.4176000386-716.417600038638
333692637735.3433782511-809.343378251104
343697537787.2691564636-812.26915646357
353732437839.194934676-515.194934676036
363815937891.1207128885267.879287111499
373777637943.046491101-167.046491100967
383746537994.9722693134-529.972269313433
393745138046.8980475259-595.8980475259
403794438098.8238257384-154.823825738365
413773738150.7496039508-413.749603950831
423760338202.6753821633-599.675382163297
433781338254.6011603758-441.601160375763
443796038306.5269385882-346.526938588229
453793438358.4527168007-424.452716800694
463797538410.3784950132-435.378495013161
473824138462.3042732256-221.304273225627
483917638514.2300514381661.769948561908
493913738566.1558296506570.844170349442
503879738618.081607863178.918392136976
513873038670.007386075559.9926139245098
523903138721.933164288309.066835712044
533885138773.858942500477.1410574995779
543872738825.7847207129-98.7847207128878
553929138877.7104989254413.289501074646
563940738929.6362771378477.363722862181
573932638981.5620553503344.437944649715
583932639033.4878335628292.512166437248
593961739085.4136117752531.586388224783
604045839137.33938998771320.66061001232
614042539189.26516820021235.73483179985
624009239241.1909464126850.809053587385
633993939293.1167246251645.883275374919
644017439345.0425028375828.957497162453
654006539396.96828105668.031718949987
663992239448.8940592625473.105940737522
674010739500.819837475606.180162525055
684016339552.7456156874610.25438431259
694011639604.6713938999511.328606100124
704011839656.5971721123461.402827887658
714041639708.5229503248707.477049675192
724121539760.44872853731454.55127146273
734085239812.37450674971039.62549325026
744049739864.3002849622632.699715037794
754043039916.2260631747513.773936825328
764076639968.1518413871797.848158612862
774062640020.0776195996605.922380400396
784044240072.0033978121369.996602187931
794059040123.9291760245466.070823975465
804067340175.854954237497.145045762999
814066040227.7807324495432.219267550533
824073640279.7065106619456.293489338067
834108240331.6322888744750.367711125601
844187340383.55806708691489.44193291314
854150740435.48384529931071.51615470067
864110440487.4096235118616.590376488203
874096340539.3354017243423.664598275738
884122740591.2611799367635.738820063272
894106340643.1869581492419.813041850806
904087340695.1127363617177.88726363834
914101640747.0385145741268.961485425874
924143340798.9642927866634.035707213408
934134540850.8900709991494.109929000942
944137540902.8158492115472.184150788476
954159740954.741627424642.25837257601
964222541006.66740563651218.33259436354
974193741058.5931838489878.406816151079
984164241110.5189620614531.481037938613
994155141162.4447402739388.555259726147
1004186641214.3705184863651.629481513681
1014174441266.2962966988477.703703301215
1024161541318.2220749113296.777925088749
1034176441370.1478531237393.852146876283
1044182841422.0736313362405.926368663817
1054178641473.9994095486312.000590451351
1064185241525.9251877611326.074812238886
1074218341577.8509659736605.14903402642
1084293741629.7767441861307.22325581395
1094263541681.7025223985953.297477601488
1104229241733.628300611558.371699389022
1114220241785.5540788234416.445921176556
1124257741837.4798570359739.52014296409
1134260041889.4056352484710.594364751624
1144243341941.3314134608491.668586539158
1154258441993.2571916733590.742808326692
1164266042045.1829698858614.817030114226
1174265942097.1087480982561.891251901761
1184271242149.0345263107562.965473689295
1194303942200.9603045232838.039695476829
1204366442252.88608273561411.11391726436
1214339742304.81186094811092.1881390519
1224311042356.7376391606753.262360839431
1234300542408.663417373596.336582626965
1244315942460.5891955855698.4108044145
1254306642512.514973798553.485026202034
1264297742564.4407520104412.559247989568
1274313942616.3665302229522.633469777102
1284322642668.2923084354557.707691564636
1294324242720.2180866478521.78191335217
1304334842772.1438648603575.856135139704
1314360542824.0696430728780.930356927238
1324422542875.99542128521349.00457871477
1334398342927.92119949771055.07880050231
1344375442979.8469777102774.15302228984
1354363243031.7727559226600.227244077375
1364386843083.6985341351784.301465864909
1374386443135.6243123476728.375687652443
1384380843187.55009056620.449909439977
1394395443239.4758687725714.524131227511
1404403243291.401646985740.598353015045
1414409043343.3274251974746.672574802579
1424421043395.2532034099814.746796590113
1434443543447.1789816224987.821018377647
1444491943499.10475983481419.89524016518
1454478543551.03053804731233.96946195272
1464461643602.95631625971013.04368374025
1474449643654.8820944722841.117905527783
1484460043706.8078726847893.192127315318
1494446343758.7336508971704.266349102852
1504423243810.6594291096421.340570890386
1514424843862.5852073221385.41479267792
1524428243914.5109855345367.489014465454
1534431143966.436763747344.563236252988
1544436244018.3625419595343.637458040523
1554461744070.2883201719546.711679828057
1564502244122.2140983844899.78590161559
1574488244174.1398765969707.860123403125
1584459444226.0656548093367.934345190659
1594450244277.9914330218224.008566978193
1604475244329.9172112343422.082788765727
1614469044381.8429894467308.157010553261
1624453344433.768767659299.2312323407953
1634460444485.6945458717118.305454128329
1644464644537.6203240841108.379675915864
1654465244589.546102296662.4538977033977
1664471844641.471880509176.528119490932
1674492844693.3976587215234.602341278466
1684528544745.323436934539.676563066
1694518344797.2492151465385.750784853534
1704496444849.1749933589114.825006641068
1714487544901.1007715714-26.1007715713972
1724507144953.0265497839117.973450216137
1734498545004.9523279963-19.9523279963296
1744485445056.8781062088-202.878106208795
1754492545108.8038844213-183.803884421262
1764497045160.7296626337-190.729662633727
1774501145212.6554408462-201.655440846193
1784510745264.5812190587-157.581219058658
1794530645316.5069972711-10.5069972711249
1804577345368.4327754836404.567224516409
1814562545420.3585536961204.641446303944
1824539145472.2843319085-81.284331908523
1834532545524.210110121-199.210110120989
1844543045576.1358883335-146.135888333454
1854532145628.0616665459-307.06166654592
1864523845679.9874447584-441.987444758386
1874524645731.9132229708-485.913222970852
1884528145783.8390011833-502.839001183318
1894529745835.7647793958-538.764779395784
1904534945887.6905576082-538.69055760825
1914553645939.6163358207-403.616335820715
1924590345991.5421140332-88.5421140331812
1934571646043.4678922456-327.467892245647
1944541946095.3936704581-676.393670458114
1954523746147.3194486706-910.31944867058
1964534946199.245226883-850.245226883045
1974526046251.1710050955-991.17100509551
1984513946303.096783308-1164.09678330798
1994515446355.0225615204-1201.02256152044
2004518646406.9483397329-1220.94833973291
2014526246458.8741179454-1196.87411794537
2024522746510.7998961578-1283.79989615784
2034531346562.7256743703-1249.72567437031
2044556446614.6514525828-1050.65145258277
2054539246666.5772307952-1274.57723079524
2064511446718.5030090077-1604.5030090077
2074499646770.4287872202-1774.42878722017
2084515946822.3545654326-1663.35456543264
2094510746874.2803436451-1767.2803436451
2104496346926.2061218576-1963.20612185757
2114500546978.13190007-1973.13190007003
2124502447030.0576782825-2006.0576782825
2134502547081.983456495-2056.98345649497
2144505347133.9092347074-2080.90923470743
2154514347185.8350129199-2042.8350129199


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.05493724093753350.1098744818750670.945062759062467
60.01831289183241240.03662578366482480.981687108167588
70.005321521954413030.01064304390882610.994678478045587
80.003548897805128940.007097795610257880.99645110219487
90.005545092084352770.01109018416870550.994454907915647
100.002455670234606220.004911340469212440.997544329765394
110.001062874730231330.002125749460462670.99893712526977
120.003446191511033060.006892383022066120.996553808488967
130.001474964759784870.002949929519569730.998525035240215
140.001728065099531070.003456130199062140.998271934900469
150.002075044345981160.004150088691962310.99792495565402
160.0009758142074829180.001951628414965840.999024185792517
170.0008314261831547720.001662852366309540.999168573816845
180.00164961572081120.00329923144162240.998350384279189
190.001578525575049390.003157051150098770.99842147442495
200.0009924101451408030.001984820290281610.99900758985486
210.0005850209798862490.00117004195977250.999414979020114
220.0003880836696604250.000776167339320850.99961191633034
230.0002113283040413090.0004226566080826170.999788671695959
240.0002379057705117630.0004758115410235270.999762094229488
250.0001228350848602130.0002456701697204260.99987716491514
260.0001606921543144180.0003213843086288360.999839307845686
270.0002662436671075060.0005324873342150110.999733756332893
280.0001649119960064210.0003298239920128410.999835088003994
290.0001843301518104520.0003686603036209030.99981566984819
300.000407455822634420.000814911645268840.999592544177366
310.0005496389434784010.00109927788695680.999450361056522
320.0005631811767709790.001126362353541960.999436818823229
330.0007076690189891010.00141533803797820.99929233098101
340.0008913018668766710.001782603733753340.999108698133123
350.0007198053313444790.001439610662688960.999280194668656
360.0007977905488911890.001595581097782380.99920220945111
370.000561493825295960.001122987650591920.999438506174704
380.0005701507335131840.001140301467026370.999429849266487
390.0006750495805410610.001350099161082120.99932495041946
400.0005018042960195840.001003608592039170.99949819570398
410.0004842748167141090.0009685496334282170.999515725183286
420.0006878009359517870.001375601871903570.999312199064048
430.0007479395069895050.001495879013979010.99925206049301
440.0007421799979336470.001484359995867290.999257820002066
450.0008687380927465530.001737476185493110.999131261907253
460.001090854199120220.002181708398240450.99890914580088
470.00107634401273530.002152688025470590.998923655987265
480.00182135994043020.00364271988086040.99817864005957
490.002109111460277660.004218222920555320.997890888539722
500.001777903087478260.003555806174956510.998222096912522
510.001599353766903410.003198707533806820.998400646233097
520.001337513711398190.002675027422796390.998662486288602
530.00125524903707210.002510498074144210.998744750962928
540.001559056258135390.003118112516270780.998440943741865
550.001326012903525860.002652025807051720.998673987096474
560.001116499434445310.002232998868890630.998883500565555
570.000948695041501580.001897390083003160.999051304958498
580.0008472832054754240.001694566410950850.999152716794525
590.000692188415264750.00138437683052950.999307811584735
600.001630450858040780.003260901716081550.99836954914196
610.002309760765748230.004619521531496460.997690239234252
620.001825856155347150.003651712310694290.998174143844653
630.001409947917113880.002819895834227760.998590052082886
640.001048669833637850.002097339667275690.998951330166362
650.0008032600034126150.001606520006825230.999196739996587
660.0007674960876392250.001534992175278450.99923250391236
670.0006350218938576420.001270043787715280.999364978106142
680.000532823559082820.001065647118165640.999467176440917
690.000524647541740740.001049295083481480.99947535245826
700.0005790474492287740.001158094898457550.999420952550771
710.0004618004648599280.0009236009297198560.99953819953514
720.0005134273519519040.001026854703903810.999486572648048
730.0003561860506561410.0007123721013122820.999643813949344
740.0003452313907222120.0006904627814444230.999654768609278
750.0004299089139557520.0008598178279115050.999570091086044
760.000343018622988670.0006860372459773410.999656981377011
770.0003727891228158890.0007455782456317780.999627210877184
780.0007098191841434590.001419638368286920.999290180815857
790.001039655531874810.002079311063749630.998960344468125
800.001420729384787580.002841458769575160.998579270615212
810.00223224165096050.004464483301921010.99776775834904
820.00329443398200410.00658886796400820.996705566017996
830.003033308403157030.006066616806314060.996966691596843
840.002709350211866950.00541870042373390.997290649788133
850.002001340968487660.004002681936975330.997998659031512
860.002426207514724790.004852415029449570.997573792485275
870.004341050123321030.008682100246642060.99565894987668
880.005045362476402680.01009072495280540.994954637523597
890.008718909042206340.01743781808441270.991281090957794
900.02416146616831350.04832293233662710.975838533831686
910.04803737220477610.09607474440955230.951962627795224
920.05342034257358590.1068406851471720.946579657426414
930.07027946780220420.1405589356044080.929720532197796
940.09384459523978020.187689190479560.90615540476022
950.1033131616565020.2066263233130040.896686838343498
960.0870389051636880.1740778103273760.912961094836312
970.08064933941802450.1612986788360490.919350660581975
980.1022841170736340.2045682341472670.897715882926367
990.1512621967235940.3025243934471880.848737803276406
1000.1663532763292680.3327065526585360.833646723670732
1010.21362827433660.42725654867320.7863717256634
1020.3190014033114830.6380028066229670.680998596688517
1030.411172389055660.822344778111320.58882761094434
1040.5070959969045140.9858080061909730.492904003095486
1050.6363476201125860.7273047597748280.363652379887414
1060.751495700288020.4970085994239590.24850429971198
1070.788816166378360.4223676672432820.211183833621641
1080.7615091551461480.4769816897077040.238490844853852
1090.7474982140621620.5050035718756760.252501785937838
1100.7954359444098750.409128111180250.204564055590125
1110.8651997798308140.2696004403383730.134800220169186
1120.8768951674154470.2462096651691070.123104832584553
1130.8913981557427760.2172036885144480.108601844257224
1140.9290602730661060.1418794538677890.0709397269338944
1150.9489322315353010.1021355369293970.0510677684646986
1160.9632188261900440.07356234761991120.0367811738099556
1170.976841080581660.04631783883667970.0231589194183398
1180.986265216608880.02746956678224010.0137347833911201
1190.9872912035249860.02541759295002870.0127087964750144
1200.9840383624140210.03192327517195730.0159616375859786
1210.9807761349112550.03844773017748970.0192238650887448
1220.9835582214251230.0328835571497550.0164417785748775
1230.9895271118366430.02094577632671430.0104728881633572
1240.9920624749960610.0158750500078770.0079375250039385
1250.9957507433776230.008498513244754290.00424925662237714
1260.9986606634816950.002678673036610320.00133933651830516
1270.9994783606177140.001043278764573040.000521639382286521
1280.9997956145093020.0004087709813965570.000204385490698279
1290.999938953642090.0001220927158197276.10463579098637e-05
1300.999980256475173.94870496616349e-051.97435248308174e-05
1310.9999868495421372.63009157256793e-051.31504578628397e-05
1320.9999795054163624.09891672754179e-052.04945836377089e-05
1330.9999720048119065.5990376188287e-052.79951880941435e-05
1340.999978564331384.28713372383467e-052.14356686191733e-05
1350.9999913904237141.72191525712501e-058.60957628562503e-06
1360.9999931989430031.36021139940315e-056.80105699701574e-06
1370.9999954704810979.05903780561825e-064.52951890280912e-06
1380.9999980714711933.85705761460636e-061.92852880730318e-06
1390.999998784643182.43071363954196e-061.21535681977098e-06
1400.9999991328553281.7342893442472e-068.671446721236e-07
1410.9999993456783451.30864330900712e-066.54321654503559e-07
1420.9999993474074331.3051851335391e-066.52592566769548e-07
1430.9999989930822252.01383555096694e-061.00691777548347e-06
1440.9999988422523872.31549522572649e-061.15774761286325e-06
1450.9999982654802863.46903942714078e-061.73451971357039e-06
1460.9999971598233445.68035331281885e-062.84017665640943e-06
1470.9999958931929038.21361419412628e-064.10680709706314e-06
1480.9999936827821451.26344357094565e-056.31721785472824e-06
1490.999992167667451.56646650997879e-057.83233254989395e-06
1500.9999955259832358.9480335300844e-064.4740167650422e-06
1510.999997721153334.55769334074381e-062.2788466703719e-06
1520.9999988957682442.20846351281334e-061.10423175640667e-06
1530.9999995073936749.85212651788826e-074.92606325894413e-07
1540.9999997753246464.49350707152423e-072.24675353576212e-07
1550.9999997510643214.9787135715197e-072.48935678575985e-07
1560.9999995988212858.02357430078012e-074.01178715039006e-07
1570.9999993510225251.29795494917798e-066.48977474588989e-07
1580.9999994402650931.11946981392263e-065.59734906961313e-07
1590.9999997145664645.70867072006816e-072.85433536003408e-07
1600.999999666342366.673152799795e-073.3365763998975e-07
1610.999999703410145.93179721523608e-072.96589860761804e-07
1620.99999989302252.13955001442399e-071.06977500721199e-07
1630.9999999558984028.82031957487827e-084.41015978743914e-08
1640.9999999822205733.55588533109916e-081.77794266554958e-08
1650.999999994585371.08292599318056e-085.41462996590282e-09
1660.9999999981700893.65982263546799e-091.82991131773399e-09
1670.9999999982589733.48205322008974e-091.74102661004487e-09
1680.9999999965002166.99956766452546e-093.49978383226273e-09
1690.999999993408491.31830188792889e-086.59150943964447e-09
1700.9999999935553061.28893881373715e-086.44469406868576e-09
1710.9999999966655846.66883232629272e-093.33441616314636e-09
1720.9999999958840448.23191101319168e-094.11595550659584e-09
1730.999999996969436.06113845854626e-093.03056922927313e-09
1740.9999999993675221.26495590788948e-096.3247795394474e-10
1750.999999999855952.88100435943589e-101.44050217971794e-10
1760.9999999999717365.65271097595505e-112.82635548797753e-11
1770.9999999999956668.6680625215762e-124.3340312607881e-12
1780.9999999999989512.09738180787002e-121.04869090393501e-12
1790.999999999998692.61907573639289e-121.30953786819645e-12
1800.999999999998433.13951753885214e-121.56975876942607e-12
1810.9999999999964367.12835195765008e-123.56417597882504e-12
1820.9999999999909141.81718023646058e-119.08590118230288e-12
1830.9999999999821673.56655913368567e-111.78327956684284e-11
1840.9999999999510659.78697619828663e-114.89348809914331e-11
1850.999999999904271.91460170576885e-109.57300852884423e-11
1860.9999999998931482.13704714447525e-101.06852357223762e-10
1870.999999999889172.21660235145734e-101.10830117572867e-10
1880.999999999866562.66880215666436e-101.33440107833218e-10
1890.9999999998367463.26507282489887e-101.63253641244943e-10
1900.9999999997254715.49058076430015e-102.74529038215007e-10
1910.999999999098511.80297850544389e-099.01489252721946e-10
1920.9999999999118341.76332025940314e-108.8166012970157e-11
1930.9999999999797234.05540351048015e-112.02770175524007e-11
1940.9999999999330971.33805265658991e-106.69026328294955e-11
1950.9999999997764664.47068357836001e-102.23534178918e-10
1960.9999999991245131.75097416711196e-098.75487083555981e-10
1970.9999999965404576.91908654254711e-093.45954327127355e-09
1980.9999999925639431.48721142404587e-087.43605712022934e-09
1990.9999999841057783.17884437753088e-081.58942218876544e-08
2000.999999960314267.93714818708659e-083.96857409354329e-08
2010.9999998429876213.14024757983366e-071.57012378991683e-07
2020.9999994668706471.06625870687649e-065.33129353438246e-07
2030.999997522769794.95446042233546e-062.47723021116773e-06
2040.9999992799137541.44017249165886e-067.20086245829428e-07
2050.9999999214384881.57123024886822e-077.85615124434112e-08
2060.999999458911751.0821765000731e-065.4108825003655e-07
2070.999996063688657.87262269939151e-063.93631134969575e-06
2080.9999902730762731.945384745429e-059.72692372714502e-06
2090.999997637011154.72597770138962e-062.36298885069481e-06
2100.9999279302198740.0001441395602520297.20697801260144e-05


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level1650.800970873786408NOK
5% type I error level1790.868932038834951NOK
10% type I error level1810.87864077669903NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/29/t1293644043x4w03vzqzbzypsn/10xazs1293644142.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/29/t1293644043x4w03vzqzbzypsn/10xazs1293644142.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/29/t1293644043x4w03vzqzbzypsn/18rkh1293644142.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/29/t1293644043x4w03vzqzbzypsn/18rkh1293644142.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/29/t1293644043x4w03vzqzbzypsn/28rkh1293644142.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/29/t1293644043x4w03vzqzbzypsn/28rkh1293644142.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/29/t1293644043x4w03vzqzbzypsn/3j01k1293644142.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/29/t1293644043x4w03vzqzbzypsn/3j01k1293644142.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/29/t1293644043x4w03vzqzbzypsn/4j01k1293644142.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/29/t1293644043x4w03vzqzbzypsn/4j01k1293644142.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/29/t1293644043x4w03vzqzbzypsn/5j01k1293644142.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/29/t1293644043x4w03vzqzbzypsn/5j01k1293644142.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/29/t1293644043x4w03vzqzbzypsn/6u9041293644142.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/29/t1293644043x4w03vzqzbzypsn/6u9041293644142.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/29/t1293644043x4w03vzqzbzypsn/7u9041293644142.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/29/t1293644043x4w03vzqzbzypsn/7u9041293644142.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/29/t1293644043x4w03vzqzbzypsn/8m1z71293644142.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/29/t1293644043x4w03vzqzbzypsn/8m1z71293644142.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/29/t1293644043x4w03vzqzbzypsn/9m1z71293644142.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/29/t1293644043x4w03vzqzbzypsn/9m1z71293644142.ps (open in new window)


 
Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
 
Parameters (R input):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = Linear Trend ;
 
R code (references can be found in the software module):
library(lattice)
library(lmtest)
n25 <- 25 #minimum number of obs. for Goldfeld-Quandt test
par1 <- as.numeric(par1)
x <- t(y)
k <- length(x[1,])
n <- length(x[,1])
x1 <- cbind(x[,par1], x[,1:k!=par1])
mycolnames <- c(colnames(x)[par1], colnames(x)[1:k!=par1])
colnames(x1) <- mycolnames #colnames(x)[par1]
x <- x1
if (par3 == 'First Differences'){
x2 <- array(0, dim=c(n-1,k), dimnames=list(1:(n-1), paste('(1-B)',colnames(x),sep='')))
for (i in 1:n-1) {
for (j in 1:k) {
x2[i,j] <- x[i+1,j] - x[i,j]
}
}
x <- x2
}
if (par2 == 'Include Monthly Dummies'){
x2 <- array(0, dim=c(n,11), dimnames=list(1:n, paste('M', seq(1:11), sep ='')))
for (i in 1:11){
x2[seq(i,n,12),i] <- 1
}
x <- cbind(x, x2)
}
if (par2 == 'Include Quarterly Dummies'){
x2 <- array(0, dim=c(n,3), dimnames=list(1:n, paste('Q', seq(1:3), sep ='')))
for (i in 1:3){
x2[seq(i,n,4),i] <- 1
}
x <- cbind(x, x2)
}
k <- length(x[1,])
if (par3 == 'Linear Trend'){
x <- cbind(x, c(1:n))
colnames(x)[k+1] <- 't'
}
x
k <- length(x[1,])
df <- as.data.frame(x)
(mylm <- lm(df))
(mysum <- summary(mylm))
if (n > n25) {
kp3 <- k + 3
nmkm3 <- n - k - 3
gqarr <- array(NA, dim=c(nmkm3-kp3+1,3))
numgqtests <- 0
numsignificant1 <- 0
numsignificant5 <- 0
numsignificant10 <- 0
for (mypoint in kp3:nmkm3) {
j <- 0
numgqtests <- numgqtests + 1
for (myalt in c('greater', 'two.sided', 'less')) {
j <- j + 1
gqarr[mypoint-kp3+1,j] <- gqtest(mylm, point=mypoint, alternative=myalt)$p.value
}
if (gqarr[mypoint-kp3+1,2] < 0.01) numsignificant1 <- numsignificant1 + 1
if (gqarr[mypoint-kp3+1,2] < 0.05) numsignificant5 <- numsignificant5 + 1
if (gqarr[mypoint-kp3+1,2] < 0.10) numsignificant10 <- numsignificant10 + 1
}
gqarr
}
bitmap(file='test0.png')
plot(x[,1], type='l', main='Actuals and Interpolation', ylab='value of Actuals and Interpolation (dots)', xlab='time or index')
points(x[,1]-mysum$resid)
grid()
dev.off()
bitmap(file='test1.png')
plot(mysum$resid, type='b', pch=19, main='Residuals', ylab='value of Residuals', xlab='time or index')
grid()
dev.off()
bitmap(file='test2.png')
hist(mysum$resid, main='Residual Histogram', xlab='values of Residuals')
grid()
dev.off()
bitmap(file='test3.png')
densityplot(~mysum$resid,col='black',main='Residual Density Plot', xlab='values of Residuals')
dev.off()
bitmap(file='test4.png')
qqnorm(mysum$resid, main='Residual Normal Q-Q Plot')
qqline(mysum$resid)
grid()
dev.off()
(myerror <- as.ts(mysum$resid))
bitmap(file='test5.png')
dum <- cbind(lag(myerror,k=1),myerror)
dum
dum1 <- dum[2:length(myerror),]
dum1
z <- as.data.frame(dum1)
z
plot(z,main=paste('Residual Lag plot, lowess, and regression line'), ylab='values of Residuals', xlab='lagged values of Residuals')
lines(lowess(z))
abline(lm(z))
grid()
dev.off()
bitmap(file='test6.png')
acf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Autocorrelation Function')
grid()
dev.off()
bitmap(file='test7.png')
pacf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Partial Autocorrelation Function')
grid()
dev.off()
bitmap(file='test8.png')
opar <- par(mfrow = c(2,2), oma = c(0, 0, 1.1, 0))
plot(mylm, las = 1, sub='Residual Diagnostics')
par(opar)
dev.off()
if (n > n25) {
bitmap(file='test9.png')
plot(kp3:nmkm3,gqarr[,2], main='Goldfeld-Quandt test',ylab='2-sided p-value',xlab='breakpoint')
grid()
dev.off()
}
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Estimated Regression Equation', 1, TRUE)
a<-table.row.end(a)
myeq <- colnames(x)[1]
myeq <- paste(myeq, '[t] = ', sep='')
for (i in 1:k){
if (mysum$coefficients[i,1] > 0) myeq <- paste(myeq, '+', '')
myeq <- paste(myeq, mysum$coefficients[i,1], sep=' ')
if (rownames(mysum$coefficients)[i] != '(Intercept)') {
myeq <- paste(myeq, rownames(mysum$coefficients)[i], sep='')
if (rownames(mysum$coefficients)[i] != 't') myeq <- paste(myeq, '[t]', sep='')
}
}
myeq <- paste(myeq, ' + e[t]')
a<-table.row.start(a)
a<-table.element(a, myeq)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable1.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,hyperlink('http://www.xycoon.com/ols1.htm','Multiple Linear Regression - Ordinary Least Squares',''), 6, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Variable',header=TRUE)
a<-table.element(a,'Parameter',header=TRUE)
a<-table.element(a,'S.D.',header=TRUE)
a<-table.element(a,'T-STAT<br />H0: parameter = 0',header=TRUE)
a<-table.element(a,'2-tail p-value',header=TRUE)
a<-table.element(a,'1-tail p-value',header=TRUE)
a<-table.row.end(a)
for (i in 1:k){
a<-table.row.start(a)
a<-table.element(a,rownames(mysum$coefficients)[i],header=TRUE)
a<-table.element(a,mysum$coefficients[i,1])
a<-table.element(a, round(mysum$coefficients[i,2],6))
a<-table.element(a, round(mysum$coefficients[i,3],4))
a<-table.element(a, round(mysum$coefficients[i,4],6))
a<-table.element(a, round(mysum$coefficients[i,4]/2,6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable2.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Regression Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple R',1,TRUE)
a<-table.element(a, sqrt(mysum$r.squared))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'R-squared',1,TRUE)
a<-table.element(a, mysum$r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Adjusted R-squared',1,TRUE)
a<-table.element(a, mysum$adj.r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (value)',1,TRUE)
a<-table.element(a, mysum$fstatistic[1])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF numerator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[2])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF denominator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[3])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'p-value',1,TRUE)
a<-table.element(a, 1-pf(mysum$fstatistic[1],mysum$fstatistic[2],mysum$fstatistic[3]))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Residual Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Residual Standard Deviation',1,TRUE)
a<-table.element(a, mysum$sigma)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Sum Squared Residuals',1,TRUE)
a<-table.element(a, sum(myerror*myerror))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable3.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Actuals, Interpolation, and Residuals', 4, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Time or Index', 1, TRUE)
a<-table.element(a, 'Actuals', 1, TRUE)
a<-table.element(a, 'Interpolation<br />Forecast', 1, TRUE)
a<-table.element(a, 'Residuals<br />Prediction Error', 1, TRUE)
a<-table.row.end(a)
for (i in 1:n) {
a<-table.row.start(a)
a<-table.element(a,i, 1, TRUE)
a<-table.element(a,x[i])
a<-table.element(a,x[i]-mysum$resid[i])
a<-table.element(a,mysum$resid[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable4.tab')
if (n > n25) {
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'p-values',header=TRUE)
a<-table.element(a,'Alternative Hypothesis',3,header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'breakpoint index',header=TRUE)
a<-table.element(a,'greater',header=TRUE)
a<-table.element(a,'2-sided',header=TRUE)
a<-table.element(a,'less',header=TRUE)
a<-table.row.end(a)
for (mypoint in kp3:nmkm3) {
a<-table.row.start(a)
a<-table.element(a,mypoint,header=TRUE)
a<-table.element(a,gqarr[mypoint-kp3+1,1])
a<-table.element(a,gqarr[mypoint-kp3+1,2])
a<-table.element(a,gqarr[mypoint-kp3+1,3])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable5.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Description',header=TRUE)
a<-table.element(a,'# significant tests',header=TRUE)
a<-table.element(a,'% significant tests',header=TRUE)
a<-table.element(a,'OK/NOK',header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'1% type I error level',header=TRUE)
a<-table.element(a,numsignificant1)
a<-table.element(a,numsignificant1/numgqtests)
if (numsignificant1/numgqtests < 0.01) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'5% type I error level',header=TRUE)
a<-table.element(a,numsignificant5)
a<-table.element(a,numsignificant5/numgqtests)
if (numsignificant5/numgqtests < 0.05) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'10% type I error level',header=TRUE)
a<-table.element(a,numsignificant10)
a<-table.element(a,numsignificant10/numgqtests)
if (numsignificant10/numgqtests < 0.1) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable6.tab')
}
 





Copyright

Creative Commons License

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.

Software written by Ed van Stee & Patrick Wessa


Disclaimer

Information provided on this web site is provided "AS IS" without warranty of any kind, either express or implied, including, without limitation, warranties of merchantability, fitness for a particular purpose, and noninfringement. We use reasonable efforts to include accurate and timely information and periodically update the information, and software without notice. However, we make no warranties or representations as to the accuracy or completeness of such information (or software), and we assume no liability or responsibility for errors or omissions in the content of this web site, or any software bugs in online applications. Your use of this web site is AT YOUR OWN RISK. Under no circumstances and under no legal theory shall we be liable to you or any other person for any direct, indirect, special, incidental, exemplary, or consequential damages arising from your access to, or use of, this web site.


Privacy Policy

We may request personal information to be submitted to our servers in order to be able to:

  • personalize online software applications according to your needs
  • enforce strict security rules with respect to the data that you upload (e.g. statistical data)
  • manage user sessions of online applications
  • alert you about important changes or upgrades in resources or applications

We NEVER allow other companies to directly offer registered users information about their products and services. Banner references and hyperlinks of third parties NEVER contain any personal data of the visitor.

We do NOT sell, nor transmit by any means, personal information, nor statistical data series uploaded by you to third parties.

We carefully protect your data from loss, misuse, alteration, and destruction. However, at any time, and under any circumstance you are solely responsible for managing your passwords, and keeping them secret.

We store a unique ANONYMOUS USER ID in the form of a small 'Cookie' on your computer. This allows us to track your progress when using this website which is necessary to create state-dependent features. The cookie is used for NO OTHER PURPOSE. At any time you may opt to disallow cookies from this website - this will not affect other features of this website.

We examine cookies that are used by third-parties (banner and online ads) very closely: abuse from third-parties automatically results in termination of the advertising contract without refund. We have very good reason to believe that the cookies that are produced by third parties (banner ads) do NOT cause any privacy or security risk.

FreeStatistics.org is safe. There is no need to download any software to use the applications and services contained in this website. Hence, your system's security is not compromised by their use, and your personal data - other than data you submit in the account application form, and the user-agent information that is transmitted by your browser - is never transmitted to our servers.

As a general rule, we do not log on-line behavior of individuals (other than normal logging of webserver 'hits'). However, in cases of abuse, hacking, unauthorized access, Denial of Service attacks, illegal copying, hotlinking, non-compliance with international webstandards (such as robots.txt), or any other harmful behavior, our system engineers are empowered to log, track, identify, publish, and ban misbehaving individuals - even if this leads to ban entire blocks of IP addresses, or disclosing user's identity.


FreeStatistics.org is powered by