Search found 6 matches
- Thu Aug 05, 2010 11:29 am
- Forum: Estimation
- Topic: Estimating a AR(1) process
- Replies: 10
- Views: 9606
Re: Estimating a AR(1) process
I think I'm getting what I want now. Thank you so much!
- Wed Aug 04, 2010 2:15 pm
- Forum: Estimation
- Topic: Estimating a AR(1) process
- Replies: 10
- Views: 9606
Re: Estimating a AR(1) process
@logl logl1
res=y-c(1)*(1-exp(-c(2)*0.02))-exp(-c(2)*0.02)*y(-1)
var=c(3)*0.14
c=1
logl1=log(@dnorm(res/@sqrt(var)))-log(var)/2
you mean like this?
res=y-c(1)*(1-exp(-c(2)*0.02))-exp(-c(2)*0.02)*y(-1)
var=c(3)*0.14
c=1
logl1=log(@dnorm(res/@sqrt(var)))-log(var)/2
you mean like this?
- Wed Aug 04, 2010 2:06 pm
- Forum: Estimation
- Topic: Estimating a AR(1) process
- Replies: 10
- Views: 9606
Re: Estimating a AR(1) process
You were missing a multiplication sign in your definition of RES. Also, you probably want to time shift things a bit. I think a working definition of RES would be something like: res=y-c(1)*(1-exp(-c(2)*0.02))-exp(-c(2)*0.02)*y(-1) (note you'll need to set the C vector equal to 1 before hand to get...
- Wed Aug 04, 2010 1:44 pm
- Forum: Estimation
- Topic: Estimating a AR(1) process
- Replies: 10
- Views: 9606
Re: Estimating a AR(1) process
You might begin by just estimating this as a nonlinear regression. The only thing you wouldn't get is the standard errors for sigma^2. Could you elaborate a bit more please? Do I just regress it using "Equation", and enter my regression equation, or is there a functionaliy for non-linear ...
- Wed Aug 04, 2010 1:40 pm
- Forum: Estimation
- Topic: Estimating a AR(1) process
- Replies: 10
- Views: 9606
Re: Estimating a AR(1) process
I have attached my workfile. Basically the time series y, is the log of oil prices (weekly) data over a period, which I assume that it follows the process dY(t)=a(b-Y(t))dt+vdWt, which is a Ornstein-Uhlenbek stochastic process. (sorry i can't type lamda here, so the "a" in this equation is...
- Wed Aug 04, 2010 12:12 pm
- Forum: Estimation
- Topic: Estimating a AR(1) process
- Replies: 10
- Views: 9606
Estimating a AR(1) process
Hi, I'm trying to estimate parameters of a mean-reverting stochastic process, which can be written in the equation as attached in the word document. I'm very inexperienced with eviews and I'm having problem running the estimation using the maximum likelihood estimation. I have tried to follow the ma...
