Home » date » 2009 » Dec » 19 »

Paper Multiple Regression Dummy, Lin, Y1

*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: Sat, 19 Dec 2009 12:25:45 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Dec/19/t1261251824ikdt6yo34utshzg.htm/, Retrieved Sat, 19 Dec 2009 20:43:58 +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/2009/Dec/19/t1261251824ikdt6yo34utshzg.htm/},
    year = {2009},
}
@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 = {2009},
    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 «
100.36 0 100.21 100.62 0 100.36 100.78 0 100.62 100.93 0 100.78 100.70 0 100.93 100.00 0 100.70 100.20 0 100.00 99.68 0 100.20 99.56 0 99.68 100.06 0 99.56 100.50 0 100.06 99.30 0 100.50 99.37 0 99.30 99.20 0 99.37 98.11 0 99.20 97.60 0 98.11 97.76 0 97.60 98.06 0 97.76 98.25 0 98.06 98.50 0 98.25 97.39 0 98.50 98.09 0 97.39 97.78 0 98.09 98.12 0 97.78 97.50 0 98.12 97.30 0 97.50 97.64 0 97.30 96.88 0 97.64 97.40 0 96.88 98.27 0 97.40 97.94 0 98.27 98.61 0 97.94 98.72 0 98.61 98.62 0 98.72 98.56 0 98.62 98.06 0 98.56 97.40 0 98.06 97.76 0 97.40 97.05 0 97.76 97.85 0 97.05 97.40 0 97.85 97.27 0 97.40 97.93 0 97.27 98.60 0 97.93 98.70 0 98.60 98.88 0 98.70 98.27 0 98.88 97.85 0 98.27 97.70 0 97.85 96.97 0 97.70 97.72 0 96.97 97.66 0 97.72 99.00 0 97.66 98.86 0 99.00 99.56 0 98.86 100.19 0 99.56 100.37 0 100.19 100.01 0 100.37 99.68 0 100.01 99.78 0 99.68 99.36 0 99.78 99.21 0 99.36 99.26 0 99.21 99.26 0 99.26 100.43 0 99.26 101.50 0 100.43 102.27 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'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
Huizenprijs_Pacific[t] = + 0.411545470519684 -5.21336097465012Dummy_Crisis[t] + 0.986466746559604Y1[t] + 0.0252112021076391t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)0.4115454705196840.3255671.26410.2075930.103797
Dummy_Crisis-5.213360974650120.383016-13.611300
Y10.9864667465596040.004117239.620800
t0.02521120210763910.0041526.072600


Multiple Linear Regression - Regression Statistics
Multiple R0.99966552251567
R-squared0.999331156906527
Adjusted R-squared0.999321647289084
F-TEST (value)105086.367871553
F-TEST (DF numerator)3
F-TEST (DF denominator)211
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.4715230595416
Sum Squared Residuals456.895204214924


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1100.3699.29058934536551.06941065463454
2100.6299.46377055945681.15622944054317
3100.7899.74546311567061.03453688432944
4100.9399.92850899722711.00149100277288
5100.7100.1016902113190.598309788681292
610099.90001406171760.099985938282363
7100.299.23469854123360.965301458766452
899.6899.45720309265310.222796907346897
999.5698.96945158654980.590548413450244
10100.0698.87628677907021.18371322092975
11100.599.39473135445771.10526864554231
1299.399.8539879250516-0.553987925051554
1399.3798.69543903128770.674560968712345
1499.298.78970290565450.410297094345526
1598.1198.647214760847-0.537214760846981
1697.697.59717720920470.0028227907953413
1797.7697.11929037056690.64070962943311
1898.0697.3023362521240.757663747875927
1998.2597.62348747819960.626512521800408
2098.597.83612736215350.663872637846448
2197.3998.107955250901-0.717955250901089
2298.0997.03818836432761.05181163567243
2397.7897.7539262890270.0260737109730600
2498.1297.4733327997010.646667200298901
2597.597.833942695639-0.333942695639005
2697.397.24754451487970.0524554851203145
2797.6497.07546236767540.564537632324599
2896.8897.4360722636133-0.556072263613315
2997.496.71156873833560.68843126166436
3098.2797.24974264865431.02025735134571
3197.9498.1331799202688-0.193179920268777
3298.6197.83285709601180.777142903988255
3398.7298.51900101831430.200998981685676
3498.6298.6527235625435-0.0327235625435074
3598.5698.5792880899952-0.019288089995199
3698.0698.5453112873093-0.48531128730926
3797.498.077289116137-0.677289116137091
3897.7697.45143226551540.308567734484603
3997.0597.8317714963845-0.7817714963845
4097.8597.15659130843480.693408691565184
4197.497.9709759077901-0.570975907790127
4297.2797.552277073946-0.282277073945963
4397.9397.44924759900080.480752400999165
4498.698.12552685383780.474473146162167
4598.798.8116707761404-0.111670776140383
4698.8898.935528652904-0.0555286529040001
4798.2799.1383038693924-0.86830386939236
4897.8598.5617703560986-0.711770356098645
4997.798.1726655246513-0.472665524651243
5096.9798.049906714775-1.07990671477495
5197.7297.3549971918940.365002808105922
5297.6698.1200584539214-0.460058453921416
539998.08608165123550.913918348764526
5498.8699.433158293733-0.573158293732987
5599.5699.32026415132230.239735848677720
56100.19100.0360020760220.153997923978350
57100.37100.682687328462-0.312687328461822
58100.01100.885462544950-0.875462544950196
5999.68100.555545718296-0.875545718296378
6099.78100.255222894039-0.475222894039352
6199.36100.379080770803-1.01908077080296
6299.2199.9899759393556-0.77997593935556
6399.2699.8672171294793-0.607217129479246
6499.2699.9417516689149-0.681751668914878
65100.4399.96696287102250.463037128977485
66101.5101.1463401666050.353659833395101
67102.27102.2270707875310.0429292124686908
68102.69103.011861384490-0.321861384489837
69103.47103.4513886201530.0186113798474917
70104.02104.246043884577-0.22604388457664
71103.55104.813811797292-1.26381179729205
72103.77104.375383628517-0.605383628516682
73104.19104.617617514867-0.427617514867433
74103.64105.05714475053-1.41714475053011
75103.68104.53979924203-0.85979924202996
76105.39104.6044691140.785530886000002
77106.61106.3165384527250.293461547275455
78108.12107.5452390856350.574760914365097
79109.22109.0600150750480.159984924952452
80110.17110.170339698371-0.000339698370740757
81110.31111.13269430971-0.822694309710011
82111.06111.296010856336-0.236010856335992
83111.14112.061072118363-0.921072118363334
84111.39112.165200660196-0.77520066019574
85112.51112.4370285489430.0729714510567261
86111.28113.567082507198-2.28708250719768
87112.22112.378939611037-0.158939611037005
88113.19113.331429554911-0.141429554910670
89114.32114.3135135011810.00648649881887221
90115.34115.453432126901-0.113432126901102
91116.61116.4848394105000.125160589500452
92117.83117.7628633807380.0671366192621172
93117.7118.991564013648-1.29156401364823
94118.51118.888534538703-0.378534538703124
95118.82119.712783805524-0.892783805524058
96119.49120.043799699065-0.553799699065159
97119.57120.729943621368-1.15994362136774
98120120.8340721632-0.834072163200136
99121.96121.2834640663280.676535933671585
100121.45123.242150091693-1.79215009169286
101123.41122.7642632530550.64573674694488
102124.44124.722949278420-0.282949278419571
103126.25125.7642212294840.4857787705164
104127.41127.574937242864-0.164937242864126
105127.63128.744449870981-1.11444987098090
106129.19128.9866837573320.203316242668349
107129.82130.550783084072-0.730783084072278
108130.45131.197468336512-0.747468336512467
109132.02131.8441535889530.175846411047371
110132.72133.418117583159-0.698117583158879
111132.96134.133855507858-1.17385550785822
112135.06134.3958187291400.664181270859823
113137.04136.4926100990230.547389900977013
114137.83138.471025459319-0.64102545931861
115139.17139.275545391208-0.105545391208381
116140.35140.622622033706-0.272622033705856
117141.01141.811863996754-0.801863996753837
118141.89142.488143251591-0.598143251590815
119143.28143.381445190671-0.101445190670886
120142.9144.777845170496-1.87784517049638
121143.37144.428199008911-1.05819900891138
122145.03144.9170495819020.112950418097966
123146.05146.579795583299-0.5297955832986
124147.39147.611202866897-0.221202866897069
125149.58148.9582795093950.621720490605475
126151.02151.143852886468-0.123852886467722
127153.57152.5895762036210.980423796378795
128155.6155.1302776094560.469722390544187
129157.18157.1580163070790.0219836929205655
130158.77158.7418449687510.0281550312487439
131159.95160.335538297889-0.385538297888689
132161.34161.524780260937-0.184780260936623
133161.95162.921180240762-0.971180240762142
134163.36163.548136158271-0.188136158271097
135165164.9642654730280.0357345269721856
136166.65166.6072821394930.0427178605068191
137168.65168.2601634734240.389836526575827
138170.29170.2583081686510.0316918313489712
139172.7171.9013248351160.798675164883592
140173.79174.303920896433-0.513920896432687
141176.45175.4043808522901.04561914770970
142177.58178.053593600246-0.473593600246458
143179.19179.193512225966-0.00351222596648489
144181.01180.8069348900350.203065109964925
145184.08182.6275155708811.45248442911884
146185.63185.681179684927-0.0511796849268203
147188.51187.2354143442021.27458565579817
148190.18190.1016497764010.078350223598895
149192.19191.7742604452630.415739554736697
150193.47193.782269807956-0.31226980795574
151196.73195.0701584456601.65984155434032
152200.39198.3112512415522.07874875844838
153203.24201.9469307360671.29306926393262
154205.53204.783572165870.74642783413008
155208.21207.0677922175991.14220778240097
156208.88209.736734300486-0.856734300486432
157212.85210.4228782227892.42712177721101
158216.41214.3643624087382.04563759126175
159216.23217.901395228598-1.67139522859808
160219.27217.7490424163251.52095758367503
161222.02220.7731125279741.24688747202618
162224.89223.5111072831201.37889271687960
163230.37226.3674780478544.00252195214596
164232.29231.7985270211080.491472978891657
165235.53233.7177543766101.81224562338961
166236.92236.939117837571-0.0191178375711753
167242.37238.3355178173974.03448218260337
168242.75243.736972788254-0.986972788254127
169244.19244.1370413540540.0529586459455905
170247.94245.5827646712082.35723532879212
171248.8249.307226172914-0.507226172914017
172250.18250.180798777063-0.000798777062941902
173251.55251.567334089423-0.0173340894227999
174254.4252.9440047343171.45599526568288
175255.72255.780646164120-0.0606461641196299
176257.69257.1079934716860.582006528314064
177258.37259.076544164516-0.706544164515982
178258.22259.772552754284-1.55255275428412
179258.59259.649793944408-1.05979394440791
180257.45260.039997842743-2.58999784274254
181257.45258.940636953772-1.49063695377226
182256.73258.96584815588-2.23584815587986
183258.82258.2808033004650.539196699535368
184257.99260.367730002882-2.37773000288180
185262.85259.5741738053453.27582619465502
186262.58264.393613395732-1.81361339573233
187261.55264.152478576269-2.60247857626881
188261.25263.16162902942-1.91162902942011
189259.78257.6775392329102.10246076709021
190256.26256.2526443175750.00735568242523145
191254.29252.8054925717931.48450742820738
192248.5250.887364283178-2.38736428317783
193241.88245.200933022705-3.32093302270539
194238.53238.695734362588-0.165734362588442
195232.24235.416281963721-3.17628196372141
196232.46229.2366173299693.22338267003084
197225.79229.47885121632-3.68885121631992
198221.63222.924329218875-1.29432921887499
199219.62218.8458387552950.774161244705324
200215.94216.888251796818-0.94825179681753
201211.81213.283265371586-1.47326537158582
202205.57209.234368910402-3.66436891040231
203201.25203.104027613978-1.85402761397801
204194.7198.867702470948-4.16770247094819
205187.94192.431556483090-4.4915564830904
206185.61185.788252478455-0.17825247845512
207181.15183.514996161079-2.36499616107890
208186.5179.1405656735317.35943432646928
209183.21184.443373969732-1.23337396973222
210182.61181.2231095756591.38689042434124
211187.09180.6564407298316.43355927016935
212189.1185.1010229565253.99897704347469
213191.25187.1090323192184.14096768078225
214190.74189.2551470264291.48485297357147
215190.79188.7772601877912.01273981220921


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
70.01890904288040700.03781808576081400.981090957119593
80.005316837561128490.01063367512225700.994683162438871
90.001060670218227260.002121340436454530.998939329781773
100.0007546597088905410.001509319417781080.99924534029111
110.0005652009765158340.001130401953031670.999434799023484
120.0004919006283972310.0009838012567944630.999508099371603
130.0001349835804218060.0002699671608436120.999865016419578
143.65344699131193e-057.30689398262386e-050.999963465530087
157.79407014088137e-050.0001558814028176270.99992205929859
164.21203741995463e-058.42407483990926e-050.9999578796258
171.30985339493673e-052.61970678987346e-050.99998690146605
185.02874242688969e-061.00574848537794e-050.999994971257573
192.03718333250836e-064.07436666501672e-060.999997962816668
201.12036603403118e-062.24073206806237e-060.999998879633966
217.29992485455051e-071.45998497091010e-060.999999270007515
226.25917947522626e-071.25183589504525e-060.999999374082053
231.94498243384280e-073.88996486768559e-070.999999805501757
241.28409588583953e-072.56819177167906e-070.999999871590411
253.95049911250955e-087.9009982250191e-080.999999960495009
261.17000589783399e-082.34001179566797e-080.999999988299941
276.3137830515087e-091.26275661030174e-080.999999993686217
282.27319864278637e-094.54639728557274e-090.999999997726801
291.47304911768730e-092.94609823537461e-090.99999999852695
307.53982063354006e-091.50796412670801e-080.99999999246018
312.97880717108745e-095.95761434217491e-090.999999997021193
326.62241120333214e-091.32448224066643e-080.999999993377589
333.58744979994121e-097.17489959988243e-090.99999999641255
341.34399721816604e-092.68799443633209e-090.999999998656003
354.87599696006426e-109.75199392012853e-100.9999999995124
361.72579721323678e-103.45159442647356e-100.99999999982742
377.5468198791712e-111.50936397583424e-100.999999999924532
383.60528679719127e-117.21057359438254e-110.999999999963947
391.76613100002011e-113.53226200004023e-110.999999999982339
401.99378754921417e-113.98757509842834e-110.999999999980062
416.97899032116006e-121.39579806423201e-110.99999999999302
422.25426198960879e-124.50852397921757e-120.999999999997746
432.02841823306566e-124.05683646613131e-120.999999999997972
442.34779461718931e-124.69558923437863e-120.999999999997652
459.63921139038023e-131.92784227807605e-120.999999999999036
464.13881227802911e-138.27762455605822e-130.999999999999586
471.65145078134798e-133.30290156269595e-130.999999999999835
485.77733645978928e-141.15546729195786e-130.999999999999942
491.83482321150924e-143.66964642301848e-140.999999999999982
501.06219495804033e-142.12438991608065e-140.99999999999999
518.94249968916993e-151.78849993783399e-140.99999999999999
522.85399442265280e-155.70798884530559e-150.999999999999997
532.41041619967871e-144.82083239935742e-140.999999999999976
548.17445519287645e-151.63489103857529e-140.999999999999992
558.67289405054712e-151.73457881010942e-140.999999999999991
567.09096535502166e-151.41819307100433e-140.999999999999993
572.69881698023686e-155.39763396047373e-150.999999999999997
589.8353837451359e-161.96707674902718e-150.999999999999999
593.46677866788544e-166.93355733577088e-161
601.18857148548995e-162.37714297097991e-161
614.49578802361307e-178.99157604722614e-171
621.44304755065130e-172.88609510130259e-171
634.60547908185137e-189.21095816370274e-181
641.43347377350298e-182.86694754700596e-181
654.25079034977453e-188.50158069954906e-181
668.14436251785225e-181.62887250357045e-171
675.80660050462645e-181.16132010092529e-171
682.1954367608001e-184.3908735216002e-181
691.22073891653754e-182.44147783307507e-181
704.50966604860271e-199.01933209720542e-191
713.00211860757881e-196.00423721515762e-191
729.6333476121954e-201.92666952243908e-191
733.28824360595117e-206.57648721190234e-201
742.28041910489687e-204.56083820979375e-201
757.26511711183335e-211.45302342236667e-201
766.37832296404267e-201.27566459280853e-191
776.41492313972663e-201.28298462794533e-191
789.23551561320309e-201.84710312264062e-191
794.22022106152357e-208.44044212304714e-201
801.54236533892508e-203.08473067785015e-201
818.36260653080287e-211.67252130616057e-201
822.81529441724927e-215.63058883449854e-211
831.49334503305972e-212.98669006611944e-211
845.79447624361171e-221.15889524872234e-211
852.65505219984824e-225.31010439969648e-221
865.94047057533944e-211.18809411506789e-201
872.57420099999853e-215.14840199999707e-211
881.08561267638737e-212.17122535277474e-211
895.1596348292238e-221.03192696584476e-211
902.01192430482270e-224.02384860964539e-221
919.68430400488446e-231.93686080097689e-221
923.98716612432616e-237.97433224865232e-231
933.9408917332984e-237.8817834665968e-231
941.28727717894054e-232.57455435788109e-231
955.35301773540537e-241.07060354708107e-231
961.72137362296566e-243.44274724593132e-241
979.44826175833562e-251.88965235166712e-241
983.29416650294174e-256.58833300588347e-251
996.92555023409842e-251.38511004681968e-241
1001.71171296974407e-243.42342593948815e-241
1013.04740230666499e-246.09480461332997e-241
1021.03599925399335e-242.07199850798670e-241
1038.7626859296776e-251.75253718593552e-241
1042.94020115211382e-255.88040230422765e-251
1051.91032247255103e-253.82064494510205e-251
1069.03052781567792e-261.80610556313558e-251
1073.48184813363317e-266.96369626726634e-261
1081.32144585026466e-262.64289170052933e-261
1095.89309189419095e-271.17861837883819e-261
1102.18909253128461e-274.37818506256921e-271
1111.52363578642027e-273.04727157284054e-271
1121.72540716406277e-273.45081432812554e-271
1131.18147582864738e-272.36295165729476e-271
1144.59291212068017e-289.18582424136035e-281
1151.44755223181811e-282.89510446363621e-281
1164.48430723322116e-298.96861446644233e-291
1172.12355470850563e-294.24710941701127e-291
1187.66628865803288e-301.53325773160658e-291
1192.39244061356357e-304.78488122712713e-301
1201.77595431574463e-293.55190863148927e-291
1211.06923880158645e-292.13847760317290e-291
1224.54648475320508e-309.09296950641015e-301
1231.59588647472912e-303.19177294945824e-301
1245.35970897039906e-311.07194179407981e-301
1254.38908232531003e-318.77816465062006e-311
1261.43087652782208e-312.86175305564416e-311
1271.94111824108660e-313.88223648217319e-311
1288.04777670687523e-321.60955534137505e-311
1292.47149995534393e-324.94299991068786e-321
1307.5378794706911e-331.50757589413822e-321
1312.96836624165109e-335.93673248330217e-331
1329.88245495654124e-341.97649099130825e-331
1331.14060411208027e-332.28120822416053e-331
1343.96069021954117e-347.92138043908234e-341
1351.30077764121211e-342.60155528242423e-341
1364.2927515391874e-358.5855030783748e-351
1371.52220632229816e-353.04441264459632e-351
1385.0999645891342e-361.01999291782684e-351
1392.47055425160856e-364.94110850321711e-361
1401.7494301024246e-363.4988602048492e-361
1411.14235865774455e-362.2847173154891e-361
1428.85208450365737e-371.77041690073147e-361
1433.58677482620762e-377.17354965241524e-371
1441.32323357099292e-372.64646714198584e-371
1451.60479527525667e-373.20959055051335e-371
1468.2660038919205e-381.65320077838410e-371
1475.12579591295231e-381.02515918259046e-371
1482.53594115049281e-385.07188230098562e-381
1499.44197091694484e-391.88839418338897e-381
1501.21774044964249e-382.43548089928497e-381
1511.32109666018799e-382.64219332037598e-381
1522.65849545055715e-385.31699090111431e-381
1539.13817149689407e-391.82763429937881e-381
1542.98639493053114e-395.97278986106229e-391
1558.66785436083633e-401.73357087216727e-391
1562.44538060630453e-384.89076121260906e-381
1575.50874314664832e-381.10174862932966e-371
1583.26498097089981e-386.52996194179963e-381
1598.03440413117926e-351.60688082623585e-341
1602.98199028595380e-355.96398057190759e-351
1619.66317245722715e-361.93263449144543e-351
1622.98520751477961e-365.97041502955921e-361
1635.359013229174e-341.0718026458348e-331
1643.67749271088627e-347.35498542177254e-341
1651.16704138257723e-342.33408276515446e-341
1662.33739614244462e-344.67479228488924e-341
1673.25273495515206e-326.50546991030412e-321
1681.0982021361828e-302.1964042723656e-301
1691.21701444626302e-302.43402889252603e-301
1701.64269900412856e-303.28539800825712e-301
1715.49294380063057e-301.09858876012611e-291
1725.5374709203062e-301.10749418406124e-291
1735.18527303443553e-301.03705460688711e-291
1745.96610154910662e-301.19322030982132e-291
1758.31230213057881e-301.66246042611576e-291
1761.26418657107415e-292.52837314214831e-291
1774.28224585505308e-298.56449171010616e-291
1784.16817071507778e-288.33634143015555e-281
1791.11038705033421e-272.22077410066843e-271
1804.23662812437193e-268.47325624874386e-261
1818.18031290897905e-261.63606258179581e-251
1824.36100864615848e-258.72201729231697e-251
1833.76659166077362e-257.53318332154724e-251
1841.84875668268447e-243.69751336536894e-241
1852.24244548314593e-214.48489096629185e-211
1863.57426691596147e-217.14853383192294e-211
1871.19381109868915e-202.38762219737830e-201
1881.25809486431054e-202.51618972862107e-201
1891.17721138877447e-192.35442277754895e-191
1901.70920989093077e-193.41841978186154e-191
1912.24801481647049e-184.49602963294098e-181
1925.31811410111186e-181.06362282022237e-171
1931.33874790894111e-172.67749581788222e-171
1941.61173236912504e-173.22346473825009e-171
1951.62449157905560e-173.24898315811120e-171
1963.62123814185335e-137.2424762837067e-130.999999999999638
1974.39604656690124e-138.79209313380248e-130.99999999999956
1983.18642023774705e-136.3728404754941e-130.999999999999681
1991.47701928926325e-112.95403857852650e-110.99999999998523
2001.27155445336515e-102.54310890673030e-100.999999999872845
2012.85130005850421e-095.70260011700842e-090.9999999971487
2029.07320021276846e-091.81464004255369e-080.9999999909268
2031.40578089006114e-062.81156178012228e-060.99999859421911
2043.27347595466444e-056.54695190932887e-050.999967265240453
2057.07419921002572e-050.0001414839842005140.9999292580079
2060.001393485093955460.002786970187910920.998606514906045
2070.0006449472939358350.001289894587871670.999355052706064
2080.05741210348925190.1148242069785040.942587896510748


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level1990.985148514851485NOK
5% type I error level2010.995049504950495NOK
10% type I error level2010.995049504950495NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261251824ikdt6yo34utshzg/10mt9q1261250737.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261251824ikdt6yo34utshzg/10mt9q1261250737.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/19/t1261251824ikdt6yo34utshzg/1ju101261250737.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261251824ikdt6yo34utshzg/1ju101261250737.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/19/t1261251824ikdt6yo34utshzg/24m8k1261250737.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261251824ikdt6yo34utshzg/24m8k1261250737.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/19/t1261251824ikdt6yo34utshzg/3dohb1261250737.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261251824ikdt6yo34utshzg/3dohb1261250737.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/19/t1261251824ikdt6yo34utshzg/43dch1261250737.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261251824ikdt6yo34utshzg/43dch1261250737.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/19/t1261251824ikdt6yo34utshzg/5uxab1261250737.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261251824ikdt6yo34utshzg/5uxab1261250737.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/19/t1261251824ikdt6yo34utshzg/6b8031261250737.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261251824ikdt6yo34utshzg/6b8031261250737.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/19/t1261251824ikdt6yo34utshzg/7yxrs1261250737.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261251824ikdt6yo34utshzg/7yxrs1261250737.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/19/t1261251824ikdt6yo34utshzg/8wtwi1261250737.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261251824ikdt6yo34utshzg/8wtwi1261250737.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/19/t1261251824ikdt6yo34utshzg/9cstz1261250737.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261251824ikdt6yo34utshzg/9cstz1261250737.ps (open in new window)


 
Parameters (Session):
par1 = 1 ; par2 = Do not include Seasonal 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