Search found 21 matches

by Anna
Sun Oct 18, 2009 8:21 am
Forum: VARs (Vector Autoregression Models)
Topic: CI with break: Lütkepohl, Saikkonnen and Trenkler (2004)
Replies: 0
Views: 4302

CI with break: Lütkepohl, Saikkonnen and Trenkler (2004)

I wondered whether someone has already set up a procedure to do the FGLS estimation for the deterministic parts and the resulting CI test as specified in Lütkepohl, Saikkonnen and Trenkler (2004) TESTING FOR THE COINTEGRATING RANK OF A VAR PROCESS WITH LEVEL SHIFT AT UNKNOWN TIME? The FGLS procedure...
by Anna
Wed Oct 14, 2009 12:14 pm
Forum: RATS Procedures
Topic: GLSDetrend—local to unity detrending
Replies: 4
Views: 12827

Re: GLSDetrend - local to unity detrending

And another question: I am wondering, why do you write this:

Code: Select all

set yd startl endl = y-%dot(%xt(z,t),%beta)
Why not just "ut" as defined by the last linreg command?
by Anna
Wed Oct 14, 2009 8:41 am
Forum: RATS Procedures
Topic: GLSDetrend—local to unity detrending
Replies: 4
Views: 12827

Re: GLSDetrend - local to unity detrending

Hey Tom, I think there is a minor mistake in that program, concerning the case of a break in the intercept only. As far as I can see, the program takes c=23 in that case, but it should actually be 13.5 as in Elliot et. al. if I understand Perron & Rodriguez correctly. They do not consider a brea...
by Anna
Wed Oct 07, 2009 5:47 pm
Forum: General Econometrics
Topic: Long run variances
Replies: 12
Views: 28139

Re: Long run variances

Ok, thank you very much Tom. I am very much indebted to you. Thanks for your help!
Could you, however, probably loose one or two words on the long run residual variance?
by Anna
Wed Oct 07, 2009 12:24 pm
Forum: General Econometrics
Topic: Long run variances
Replies: 12
Views: 28139

Re: Long run variances

Ok, thanks a lot, Tom. I am much indebted. To make thinks clear for me: Are you saying that for hypothesis-testing in such a framework, I should use the robusterrors version or are you saying the opposite that I should use the mcov version? Moreover, I also need to get "omega", i.e. the lo...
by Anna
Wed Oct 07, 2009 9:59 am
Forum: General Econometrics
Topic: Long run variances
Replies: 12
Views: 28139

Re: Long run variances

I did the following: linreg series start end res # constant trend s2 s3 s4 comp b = %beta(2) mcov(lwindows=quadratic) start end res # constant comp omega = 1.0/%nobs* %cmom(1,1) statistics trend start end comp tlr = b/sqrt(omega(1,1)/(%nobs*%variance)) linreg(robusterrors, lwindow=quadratic) series ...
by Anna
Tue Oct 06, 2009 10:33 pm
Forum: General Econometrics
Topic: Long run variances
Replies: 12
Views: 28139

Re: Long run variances

Ok, thank you very much Tom! You are very helpful, thanks a lot. I just wondered: If I am trying to use the long run variance to conduct a simple hypothesis test, like a simple t-test, is there any difference between using the mcov function to get the long run variance and using the robustregression...
by Anna
Tue Oct 06, 2009 8:55 pm
Forum: General Econometrics
Topic: Long run variances
Replies: 12
Views: 28139

Long run variances

Hey Tom, I am trying to compute the quadratic spectral density estimator to get the long run variance of a certain process. In one of the procedures (I think it was KPSS), you used mcov for this. My problem is that my cognitive abilities are strongly limited so that I don't get what I have to do (an...
by Anna
Mon Oct 05, 2009 10:44 am
Forum: Help With Programming
Topic: Wild Bootstrapping
Replies: 1
Views: 5591

Wild Bootstrapping

Hey Tom, sorry to bother you again with stupid questions. Your help is highly appreciated! I need to bootstrap some M-tests for unit roots using "wild bootstrapping" as it is done, for instance, in the paper "BOOTSTRAP UNIT ROOT TESTS FOR TIME SERIES WITH NONSTATIONARY VOLATILITY"...
by Anna
Tue Sep 22, 2009 1:17 pm
Forum: RATS Procedures
Topic: ADFAutoSelect—Selection of Lag Length for ADF Test
Replies: 4
Views: 16046

Re: ADFAutoSelect - Revised

Ok, thanks for that. Really appreciated. However, even with that revised version, the optimal choice of the lag-truncation parameter k chosen by AIC is always at least as high as the MAIC value but most often higher, regardless of the specification for the deterministic components. I have run this o...
by Anna
Mon Sep 21, 2009 9:21 pm
Forum: RATS Procedures
Topic: ADFAutoSelect—Selection of Lag Length for ADF Test
Replies: 4
Views: 16046

Re: ADFAutoSelect - Revised

Hey Tom, I am a little bit confused after using ADFAutoselect (downloaded from the normal website, not from here, but seems to be the same version). For a series of time series, the ADFAutoselect reports optimal k for the MAIC that are often smaller than the values for the AIC. But this cannot be. H...
by Anna
Sat Sep 19, 2009 7:38 pm
Forum: Help With Programming
Topic: Inclusion of seasonal dummies in UR tests
Replies: 6
Views: 11846

Re: Inclusion of seasonal dummies in UR tests

Hmm, I just realized that I use v.6 of RATS and not 7. So I will have to use a different way anyway since FILTER does not have a remove-option, at least it tells me that it doesn't. So, any comments are highly appreciated.
by Anna
Sat Sep 19, 2009 7:23 pm
Forum: Help With Programming
Topic: Inclusion of seasonal dummies in UR tests
Replies: 6
Views: 11846

Re: Inclusion of seasonal dummies in UR tests

Ah, ok, thanks. Then I understand it now. However, how would I create a series within a procedure? I tried to do it by just saying seasonal sea4 set sea2 start end = sea4{-2} set sea3 start end = sea4{-1} and linreg(noprint) series startl endl res # constant trend sea2 sea3 sea4 instead of the versi...
by Anna
Sat Sep 19, 2009 6:11 pm
Forum: Help With Programming
Topic: Inclusion of seasonal dummies in UR tests
Replies: 6
Views: 11846

Re: Inclusion of seasonal dummies in UR tests

Hey Tom, thanks a lot for your help. Anyway, I should make myself clearer. I don't want to filter seasonality out. I want to include simple seasonal dummies instead of a single constant in the regression. In Matlab I would just create dummies within the procedure and put them into my regressor-matri...
by Anna
Sat Sep 19, 2009 3:08 pm
Forum: Help With Programming
Topic: Inclusion of seasonal dummies in UR tests
Replies: 6
Views: 11846

Inclusion of seasonal dummies in UR tests

Hey Tom and all the other guys,

I would like to rewrite kpss.src and the typical unit root programs (uradf, ...) to automatically include deterministic seasonal dummies in their regressions. Any hint how I can do this in a fast and economical way?