Home » date » 2010 » Dec » 29 »

Paper Mult Regression

*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 15:48:33 +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/t1293637639mfxh77weasuausm.htm/, Retrieved Wed, 29 Dec 2010 16:47:33 +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/t1293637639mfxh77weasuausm.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 «
347553 3,25 110,2 113,2 125,01 353245 2,50 110,1 113,2 120,96 347966 2,50 109,9 113,3 117,07 364343 2,50 109,7 113,7 112,45 341713 2,50 109,5 113,7 110,23 361162 2,50 109,3 113,6 107,34 354400 2,50 109,3 113,5 107,73 345183 2,50 109,1 113,4 103,71 341807 1,75 108,8 113,4 105,28 348712 1,75 108,4 113 106,92 349011 1,75 108,2 112,9 107,8 416259 1,75 108,1 112,6 109,7 360289 1,75 108 112,8 111,51 367557 1,75 108 112,8 106,21 364611 1,75 107,7 113 105,14 378688 1,75 107,5 112,8 103,53 351763 1,75 107,4 112,5 103,99 377765 1,75 107,4 112,4 102,72 373212 1,75 107,4 112 98,5 365819 1,75 107,4 111,9 99,85 364686 1,75 107,4 111,8 98,81 363333 1,75 107 111,6 98,42 362536 1,75 106,9 111,5 97,96 428803 1,75 107 111,4 100,13 375361 1,75 107,2 111,5 99,75 377205 1,75 107,2 111,7 98,24 381266 1,75 107 111,6 90,79 390516 1,00 106,9 111,3 83,67 366117 1,00 106,7 111,1 85,1 393928 1,00 106,6 111,1 84,53 387784 1,00 106,6 111 87,22 385656 1,00 106,3 110,4 94,55 385320 0,50 106,3 110,6 100,49 389 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 time36 seconds
R Server'George Udny Yule' @ 72.249.76.132


Multiple Linear Regression - Estimated Regression Equation
Banknotes[t] = + 3269476.67732246 -4350.02273157751Loan_Rate[t] + 3544.82921163377PriceIndex_Goods[t] -30586.2510429885PriceIndex_Services[t] + 1600.90213739556Exchange_Rate[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)3269476.67732246107556.07814430.397900
Loan_Rate-4350.022731577516187.202295-0.70310.4827920.241396
PriceIndex_Goods3544.82921163377965.9898573.66960.0003080.000154
PriceIndex_Services-30586.2510429885606.787865-50.406800
Exchange_Rate1600.90213739556204.0751797.844700


Multiple Linear Regression - Regression Statistics
Multiple R0.979531391596487
R-squared0.95948174712295
Adjusted R-squared0.958709970877674
F-TEST (value)1243.21233387848
F-TEST (DF numerator)4
F-TEST (DF denominator)210
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation31166.8968761256
Sum Squared Residuals203988846786.280


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1347553383744.440696359-36191.440696359
2353245380168.82116746-26923.8211674598
3347966370173.720906367-22207.7209063667
4364343349834.08677207814508.9132279221
5341713345571.118184732-3858.11818473168
6361162343294.17026963117867.8297303691
7354400346977.1472075147422.85279248615
8345183342891.1798771562291.82012284439
9341807347603.66451806-5796.66451805963
10348712361045.712755930-12333.7127559305
11349011364804.165898810-15793.1658988104
12416259376667.27235159639591.7276484045
13360289373093.17209052-12804.1720905203
14367557364608.3907623242948.60923767615
15364611355714.7265032238896.2734967773
16378688358545.55842828720142.4415717131
17351763368103.365803222-16340.3658032220
18377765369128.8451930288636.15480697173
19373212374607.538590415-1395.53859041459
20365819379827.381580197-14008.3815801973
21364686381221.068461605-16535.068461605
22363333385296.035151965-21963.035151965
23362536387263.762351898-24727.7623518983
24428803394150.82801550934652.1719844913
25375361391192.825941327-15831.8259413265
26377205382658.213505261-5453.21350526144
27381266373081.1518436378184.84815636311
28390516373766.63806579716749.3619342033
29366117381464.212488543-15347.2124885434
30393928380197.21534906413730.7846509355
31387784387562.267202957221.732797042761
32385656416585.181732369-30929.1817323695
33385320422152.301585690-36832.3015856905
34389053420636.031321857-31583.0313218569
35390595425727.802140648-35132.8021406480
36462440434791.61430392727648.3856960733
37402532446233.015277243-43701.0152772427
38409070451819.683329564-42749.6833295636
39421329451302.825743724-29973.8257437242
40428841453171.312342604-24330.3123426043
41404864460117.364782648-55253.3647826482
42432633462816.036042038-30183.0360420377
43416886470378.667076164-53492.6670761642
44414893482449.410399621-67556.4103996207
45417914485296.731753248-67382.7317532484
46417518479590.245176628-62072.2451766276
47423137479784.637884051-56647.6378840514
48506710492150.87735223814559.1226477622
49436264504298.959716944-68034.9597169441
50443712509583.319199412-65871.3191994122
51452849496756.484991381-43907.4849913807
52453009456444.105775893-3435.10577589297
53437876451768.991127508-13892.9911275083
54460041443037.22112589317003.7788741065
55450426447987.1952032552438.80479674478
56447873460840.576530289-12967.5765302888
57444955458915.405470731-13960.405470731
58452043454596.654444582-2553.65444458201
59480877457923.34441755522953.6555824447
60546696470764.38360321475931.616396786
61483668482257.9001353351410.09986466513
62489627481788.5892064287838.41079357214
63490007469383.95874987420623.0412501259
64496590479208.44856442117381.5514355794
65480846496419.47017798-15573.4701779796
66497677496160.6197703761516.38022962366
67492795502534.014320957-9739.01432095743
68488495520721.586238328-32226.5862383277
69486769510701.742901978-23932.7429019783
70494455490002.9981521474452.00184785327
71498054491200.0078751946853.99212480612
72558648498567.76579470760080.234205293
73506424505463.026312503960.973687496907
74512528507621.0577251774906.94227482287
75512866500026.88905549312839.1109445073
76529324505128.71756472224195.2824352782
77508431518341.150714792-9910.15071479187
78523026516049.576207386976.42379262009
79521355515802.5696691425552.43033085796
80514103521108.350304224-7005.35030422437
81513885511775.0908432082109.90915679176
82522150505800.53939791316349.4606020871
83527384504183.62823914323200.3717608566
84654047503592.196470181150454.803529819
85543115509689.33129790233425.6687020982
86543200507205.22691931835994.7730806816
87571201490405.87095961080795.1290403905
88568892503020.9210097865871.0789902195
89537223509226.46997193927996.5300280606
90553186503158.14884933750027.8511506629
91550954512657.87146971238296.1285302878
92543433543161.792954894271.207045105465
93557195537281.01118690619913.9888130935
94565522531614.31589253533907.6841074647
95571691534812.45328732736878.5467126727
96633972546244.69859207887727.3014079216
97575265571006.9289850824258.07101491794
98572364569962.476129182401.52387082060
99586744565586.59500078421157.4049992157
100600389590271.96675972810117.0332402719
101578540604873.037482143-26333.0374821432
102610778610633.520318641144.479681359156
103596577611270.69470079-14693.6947007895
104590558636233.210339647-45675.2103396470
105597294635025.000390005-37731.0003900052
106602384627049.819544975-24665.8195449748
107614190631048.408008465-16858.4080084646
108690042647954.35619404542087.6438059547
109639497673727.439384545-34230.4393845445
110649304665928.339909808-16624.3399098083
111678762653038.37163815425723.6283618459
112691885667414.4140394624470.5859605398
113667973675359.398750309-7386.39875030882
114682032673452.9427777458579.05722225513
115672651670362.7212453822288.27875461814
116671865692923.462063462-21058.4620634624
117671463691541.215301556-20078.2153015559
118675917692798.172615416-16881.1726154162
119680952689358.517470952-8406.51747095204
120754718689898.25529579464819.7447042062
121694413711630.615497112-17217.6154971118
122699390707214.890456026-7824.89045602595
123710573684683.88322975725889.116770243
124714217707338.3937251456878.60627485511
125702996714459.162971239-11463.1629712392
126712370712292.47416200977.5258379907291
127708445714044.31084458-5599.31084457947
128707083729561.562665309-22478.5626653091
129700632717617.028676591-16985.0286765915
130706309698751.1265305797557.87346942078
131709523692380.01643093517142.9835690655
132769096696770.57678208172325.4232179186
133715100713558.01221511541.98778490058
134713872708261.7909984475610.2090015535
135714032687815.62343079126216.3765692091
136732269705037.58689184227231.4131081575
137711137722378.063105456-11241.0631054563
138715284718830.913713247-3546.91371324721
139716888714309.9788753532578.0211246472
140716426731187.997512869-14761.9975128686
141714726725235.406419883-10509.4064198832
142718016711255.9226729276760.07732707315
143725932705174.7790017620757.2209982399
144779564709240.59002355570323.4099764448
145732144726583.7723027895560.22769721108
146730816723494.5115848057321.48841519493
147746719712657.36492901734061.6350709832
148760065733359.23735915226705.7626408478
149734516741460.223789057-6944.22378905728
150740167740446.184518752-279.184518751766
151740976747856.059099137-6880.05909913742
152735764761921.05887671-26157.0588767098
153734711750585.348107393-15874.3481073925
154737916748137.83067343-10221.8306734301
155739132753885.06934668-14753.0693466801
156792705761079.49288920531625.5071107947
157747488771620.223513571-24132.2235135710
158746616770472.623283709-23856.6232837090
159749781757309.599626824-7528.59962682395
160760911764170.118171433-3259.11817143277
161739543766153.35612073-26610.356120731
162745626758753.58015847-13127.5801584700
163746246761400.499302608-15154.4993026080
164744769768917.387723549-24148.3877235489
165741388765318.122772535-23930.1227725349
166744469766187.19669342-21718.1966934207
167745566760676.90686797-15110.9068679704
168798367769772.73707399728594.2629260029
169752440777727.83826779-25287.8382677903
170756627772938.587929578-16311.5879295776
171758941755983.7106580022957.28934199806
172771287764714.0803657346572.91963426587
173749858765760.618085977-15902.6180859771
174758370763023.55583822-4653.55583822038
175755407757384.273955085-1977.27395508541
176752063762176.863884328-10113.8638843280
177756298749908.9629953216389.03700467872
178755892746023.8201105139868.1798894872
179758486730304.82395754128181.1760424592
180812777724001.41682339188775.5831766086
181762561738983.01931396223577.9806860376
182763579734192.21556364729386.7844363529
183764615719649.63334565744965.3666543435
184773312722502.888165450809.1118345994
185755697720576.77935433135120.2206456692
186762909710188.34783938352720.652160617
187760337715493.2316506444843.7683493603
188759270725919.19305976833350.8069402321
189754929734680.65572550820248.3442744922
190766116745219.37135941820896.6286405823
191765945744729.03782971321215.9621702866
192814783753548.151311261234.8486888004
193768494770952.640547442-2458.64054744215
194769222766408.8612001842813.13879981583
195768977762062.2394184766914.76058152351
196783341779741.6290113833599.37098861726
197764061786235.761972957-22174.7619729568
198767394772935.528341335-5541.52834133473
199763910777591.37083821-13681.3708382104
200761677790015.695060957-28338.6950609566
201759173788065.780926144-28892.7809261440
202762486783308.834991962-20822.8349919623
203762690784606.467745126-21916.4677451258
204809542785537.27543575224004.7245642483
205769041803762.336319616-34721.3363196161
206770889796590.775151274-25701.7751512737
207773527782390.831985081-8863.83198508101
208789890800621.844199881-10731.8441998815
209768325802118.438562342-33793.4385623415
210772712795974.659099562-23262.6590995616
211772944800027.647572792-27083.6475727923
212769637808660.118180848-39023.1181808479
213768546809973.759955385-41427.7599553854
214775013812427.228720284-37414.2287202838
215776635810699.63684096-34064.6368409597


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
80.05156531019859550.1031306203971910.948434689801404
90.01430630356704800.02861260713409600.985693696432952
100.006427730577697410.01285546115539480.993572269422303
110.001827803893288400.003655607786576810.998172196106712
120.1228777807842690.2457555615685380.877122219215731
130.08314116481371370.1662823296274270.916858835186286
140.04717164108099010.09434328216198020.95282835891901
150.02530774118596410.05061548237192820.974692258814036
160.01351391981973970.02702783963947940.98648608018026
170.01546583511149280.03093167022298550.984534164888507
180.008185373481250620.01637074696250120.99181462651875
190.004229521379075930.008459042758151870.995770478620924
200.002339824055651240.004679648111302480.99766017594435
210.001212078871019680.002424157742039360.99878792112898
220.0006822382528688210.001364476505737640.999317761747131
230.0003787841835226550.000757568367045310.999621215816477
240.004996340081120290.009992680162240590.99500365991888
250.00300876607344140.00601753214688280.996991233926559
260.001741302779193410.003482605558386810.998258697220807
270.001053827221863210.002107654443726420.998946172778137
280.0006430318815257790.001286063763051560.999356968118474
290.0004975271996811740.0009950543993623480.999502472800319
300.0003059800859437710.0006119601718875410.999694019914056
310.0001609665543289860.0003219331086579720.999839033445671
320.0001133106391655630.0002266212783311250.999886689360834
336.65948053279565e-050.0001331896106559130.999933405194672
343.62639540203357e-057.25279080406714e-050.99996373604598
351.95918547172399e-053.91837094344798e-050.999980408145283
360.0005264762275743450.001052952455148690.999473523772426
370.0003941798785696720.0007883597571393430.99960582012143
380.0002661711651647900.0005323423303295810.999733828834835
390.0001665966401061610.0003331932802123220.999833403359894
400.000107637023372510.000215274046745020.999892362976627
410.0001107433830554090.0002214867661108190.999889256616945
427.46011495704917e-050.0001492022991409830.99992539885043
436.23710618729556e-050.0001247421237459110.999937628938127
447.42989728444284e-050.0001485979456888570.999925701027156
458.45650772493036e-050.0001691301544986070.99991543492275
469.13930519160155e-050.0001827861038320310.999908606948084
479.11657308452284e-050.0001823314616904570.999908834269155
480.004323350305932130.008646700611864260.995676649694068
490.005315056673360980.01063011334672200.994684943326639
500.006270069601908540.01254013920381710.993729930398092
510.006769719954079620.01353943990815920.99323028004592
520.0095774071219470.0191548142438940.990422592878053
530.008841714698701150.01768342939740230.991158285301299
540.01388547257006090.02777094514012190.98611452742994
550.01420209955904990.02840419911809970.98579790044095
560.01320349705631930.02640699411263870.98679650294368
570.01184682219778430.02369364439556860.988153177802216
580.01099787445248190.02199574890496370.989002125547518
590.0151662374411460.0303324748822920.984833762558854
600.1502281981578070.3004563963156140.849771801842193
610.1349647307823880.2699294615647760.865035269217612
620.1278584012734530.2557168025469060.872141598726547
630.1080339980846390.2160679961692780.891966001915361
640.08951915687361660.1790383137472330.910480843126383
650.08384889825479820.1676977965095960.916151101745202
660.07022043366221860.1404408673244370.929779566337781
670.06183909073909180.1236781814781840.938160909260908
680.06693791789260450.1338758357852090.933062082107395
690.06754566669450960.1350913333890190.93245433330549
700.06662355508530630.1332471101706130.933376444914694
710.06518277263384470.1303655452676890.934817227366155
720.2225652833172530.4451305666345070.777434716682747
730.2297639681179350.4595279362358690.770236031882065
740.2255067644285980.4510135288571960.774493235571402
750.2061213052893330.4122426105786650.793878694710668
760.1899364473553600.3798728947107190.81006355264464
770.1899525040296210.3799050080592420.810047495970379
780.1785548426136810.3571096852273630.821445157386319
790.1772699270930290.3545398541860580.82273007290697
800.2013404901960240.4026809803920480.798659509803976
810.2323990814546830.4647981629093660.767600918545317
820.2621324063475630.5242648126951260.737867593652437
830.2970000357857050.594000071571410.702999964214295
840.9835469871664710.03290602566705690.0164530128335285
850.9867390556720170.02652188865596630.0132609443279832
860.9879348791609990.02413024167800290.0120651208390014
870.9946233772525120.01075324549497610.00537662274748806
880.996488725803860.00702254839228130.00351127419614065
890.995718509818830.008562980362342070.00428149018117103
900.9952763772350730.009447245529853230.00472362276492661
910.9946549105151580.01069017896968340.00534508948484171
920.9950285641802980.009942871639404930.00497143581970246
930.9946237836396080.01075243272078330.00537621636039163
940.9934204530167930.01315909396641450.00657954698320724
950.9918791253737330.01624174925253460.00812087462626731
960.9963491088468120.007301782306376390.00365089115318820
970.996266310595870.007467378808258590.00373368940412929
980.99634597099780.00730805800440190.00365402900220095
990.995407004001270.009185991997458470.00459299599872924
1000.9945314552211250.01093708955775040.00546854477887518
1010.9973182042095780.005363591580844180.00268179579042209
1020.9973132778018190.005373444396362670.00268672219818133
1030.9983433510776170.003313297844766790.00165664892238340
1040.9997444350130120.0005111299739749010.000255564986987450
1050.9999622028186067.55943627888629e-053.77971813944314e-05
1060.9999954626149679.07477006570527e-064.53738503285263e-06
1070.9999993967345441.20653091123098e-066.0326545561549e-07
1080.9999993158550481.36828990354755e-066.84144951773777e-07
1090.9999998018265843.96346832407009e-071.98173416203505e-07
1100.9999998846926662.30614667519197e-071.15307333759599e-07
1110.9999998202234253.59553150001926e-071.79776575000963e-07
1120.999999724322655.51354701539238e-072.75677350769619e-07
1130.9999997413662085.17267584433733e-072.58633792216867e-07
1140.999999649952167.00095678250885e-073.50047839125443e-07
1150.9999996858984336.28203134375615e-073.14101567187807e-07
1160.9999998272640683.45471864464542e-071.72735932232271e-07
1170.9999999130475281.73904944615382e-078.69524723076912e-08
1180.999999944547521.10904960638312e-075.54524803191558e-08
1190.9999999571621858.56756292077787e-084.28378146038894e-08
1200.9999999956371738.72565388421341e-094.36282694210671e-09
1210.9999999953654529.26909606760928e-094.63454803380464e-09
1220.9999999939043521.21912961398769e-086.09564806993847e-09
1230.9999999899454082.01091839676651e-081.00545919838326e-08
1240.999999982512983.49740411780159e-081.74870205890080e-08
1250.9999999763841924.72316163085481e-082.36158081542740e-08
1260.9999999589669148.20661728510002e-084.10330864255001e-08
1270.9999999359406561.28118687219644e-076.4059343609822e-08
1280.9999999175307211.64938558008511e-078.24692790042554e-08
1290.9999999189836591.62032682263976e-078.10163411319879e-08
1300.9999998932020232.13595953611558e-071.06797976805779e-07
1310.9999998478467473.04306506783452e-071.52153253391726e-07
1320.9999999894894452.10211103611486e-081.05105551805743e-08
1330.9999999846826453.06347100379075e-081.53173550189537e-08
1340.9999999792578674.14842663628999e-082.07421331814499e-08
1350.9999999702795325.94409362698752e-082.97204681349376e-08
1360.9999999647984127.0403176615217e-083.52015883076085e-08
1370.9999999624918437.50163133688121e-083.75081566844061e-08
1380.9999999611387287.77225430267157e-083.88612715133579e-08
1390.999999964601597.0796821073091e-083.53984105365455e-08
1400.9999999712520825.7495835815257e-082.87479179076285e-08
1410.9999999810263363.79473280257517e-081.89736640128758e-08
1420.9999999866066042.67867919892578e-081.33933959946289e-08
1430.9999999901766251.96467508039262e-089.8233754019631e-09
1440.9999999988958122.20837653974557e-091.10418826987278e-09
1450.999999998623012.75397838169998e-091.37698919084999e-09
1460.9999999985369492.92610305322240e-091.46305152661120e-09
1470.99999999799594.00819936915774e-092.00409968457887e-09
1480.9999999975338554.93229072859786e-092.46614536429893e-09
1490.999999997013235.9735376307633e-092.98676881538165e-09
1500.9999999956284538.74309421251218e-094.37154710625609e-09
1510.9999999932361741.35276512726028e-086.76382563630139e-09
1520.9999999923588931.52822142207163e-087.64110711035816e-09
1530.9999999934777231.30445549232561e-086.52227746162805e-09
1540.999999993282561.34348789769910e-086.71743948849551e-09
1550.9999999917864821.64270363308718e-088.2135181654359e-09
1560.9999999993128391.37432262347784e-096.87161311738921e-10
1570.9999999985285122.94297516336103e-091.47148758168052e-09
1580.999999996832356.3353007057478e-093.1676503528739e-09
1590.9999999935221871.29556264701041e-086.47781323505205e-09
1600.99999998889252.22149997721147e-081.11074998860574e-08
1610.9999999853595322.92809350236301e-081.46404675118150e-08
1620.9999999774883254.50233501223499e-082.25116750611749e-08
1630.999999966922476.61550606280539e-083.30775303140270e-08
1640.9999999521454219.57091576276063e-084.78545788138032e-08
1650.9999999511457889.7708424719279e-084.88542123596395e-08
1660.99999995028419.94318002142292e-084.97159001071146e-08
1670.9999999711056665.77886670710647e-082.88943335355324e-08
1680.9999999938344361.23311275243983e-086.16556376219916e-09
1690.999999988168722.36625578499768e-081.18312789249884e-08
1700.9999999725679385.48641243969053e-082.74320621984526e-08
1710.9999999407829081.18434184188239e-075.92170920941196e-08
1720.9999999248618141.502763719393e-077.51381859696499e-08
1730.99999983589333.2821339916676e-071.6410669958338e-07
1740.9999996618767676.76246465630821e-073.38123232815411e-07
1750.9999992906851741.41862965209083e-067.09314826045416e-07
1760.9999984939984673.01200306689285e-061.50600153344643e-06
1770.999997042646575.91470685951352e-062.95735342975676e-06
1780.9999946319397541.07361204921334e-055.36806024606669e-06
1790.9999925808683871.48382632257971e-057.41913161289857e-06
1800.9999999569049788.61900442219551e-084.30950221109776e-08
1810.9999999120244131.75951173727103e-078.79755868635517e-08
1820.9999998435270643.12945872866074e-071.56472936433037e-07
1830.9999996624899536.75020093914056e-073.37510046957028e-07
1840.9999996770427446.45914511159539e-073.22957255579770e-07
1850.9999992415965581.51680688497374e-067.58403442486872e-07
1860.9999987837930072.43241398513142e-061.21620699256571e-06
1870.9999972250246015.54995079711118e-062.77497539855559e-06
1880.9999937027523071.25944953868613e-056.29724769343066e-06
1890.9999881954561312.36090877375211e-051.18045438687605e-05
1900.9999736075266955.27849466098251e-052.63924733049125e-05
1910.9999363515052060.0001272969895884826.3648494794241e-05
1920.9999872269781382.55460437244545e-051.27730218622272e-05
1930.999966617564016.67648719793743e-053.33824359896871e-05
1940.9999138593752530.0001722812494935158.61406247467575e-05
1950.9997826238098880.0004347523802239470.000217376190111974
1960.999716133395220.000567733209558410.000283866604779205
1970.9993514302941760.001297139411648180.000648569705824088
1980.9984551766491520.003089646701696820.00154482335084841
1990.9966128244963970.006774351007205040.00338717550360252
2000.9939963498839470.01200730023210620.00600365011605308
2010.9919697680605830.01606046387883490.00803023193941745
2020.9883375179563540.02332496408729230.0116624820436462
2030.989842666482120.02031466703576080.0101573335178804
2040.9992564081628130.001487183674373530.000743591837186763
2050.9971136689388660.005772662122268960.00288633106113448
2060.9896838681613850.02063226367723000.0103161318386150
2070.9617376238793330.07652475224133450.0382623761206672


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level1400.7NOK
5% type I error level1700.85NOK
10% type I error level1730.865NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/29/t1293637639mfxh77weasuausm/10qnte1293637675.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/29/t1293637639mfxh77weasuausm/10qnte1293637675.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/29/t1293637639mfxh77weasuausm/1j4wk1293637675.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/29/t1293637639mfxh77weasuausm/1j4wk1293637675.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/29/t1293637639mfxh77weasuausm/2cvvn1293637675.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/29/t1293637639mfxh77weasuausm/2cvvn1293637675.ps (open in new window)


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


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


http://www.freestatistics.org/blog/date/2010/Dec/29/t1293637639mfxh77weasuausm/55nd81293637675.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/29/t1293637639mfxh77weasuausm/55nd81293637675.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/29/t1293637639mfxh77weasuausm/65nd81293637675.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/29/t1293637639mfxh77weasuausm/65nd81293637675.ps (open in new window)


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


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


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