I think I may have worked it out. I've created a new matrix which the correct number of rows to match my model.
matrix(5,1) shock
shock.fill(by=c) 0,-1,0,0,0
I only what to estimate a negative shock from the second variable so I've changed that to a -1 and left the others at 0 is that correct?
Search found 4 matches
- Sun Apr 14, 2013 12:57 pm
- Forum: Estimation
- Topic: Negative shock
- Replies: 1
- Views: 2527
- Sun Apr 14, 2013 12:45 pm
- Forum: Estimation
- Topic: Negative shock
- Replies: 1
- Views: 2527
Negative shock
I'm trying to do an impulse response with a negative shock. My model looks like log(x1) log(x2) log(x3) log(x4) log(x5) But I only want to look at the impulse response of log(x1) and log(x2) Looking at other posts I believe I need a matrix which I have created. matrix(2,1) shock shock.fill(by=c) -1,...
- Wed Mar 27, 2013 7:00 am
- Forum: Data Manipulation
- Topic: Net oil price model
- Replies: 2
- Views: 4754
Re: Net oil price model
Thank you thats exactly what I was looking for
- Wed Mar 27, 2013 4:38 am
- Forum: Data Manipulation
- Topic: Net oil price model
- Replies: 2
- Views: 4754
Net oil price model
Hi, I'm trying to create a model for the for a net oil price increase as proposed by J Hamilton where he considers the rate of price increase in the current period relative to price movements over the past year I would like to create a series that is made up from this logic but I can't work out how ...