Search found 3485 matches

by startz
Tue Aug 20, 2019 6:56 am
Forum: Data Manipulation
Topic: Changing single data point in time series
Replies: 2
Views: 89

Re: Changing single data point in time series

There is probably a more elegant way, but how about

Code: Select all

smpl 2003Q1 2003Q2
N025VRM2 = 1
smpl @all
by startz
Thu Aug 08, 2019 6:09 am
Forum: Estimation
Topic: forecasting
Replies: 1
Views: 114

Re: forecasting

Number of lags here means to use many lags, For example 3 would mean using x(-1) x(-2) and x(-3)
by startz
Tue Aug 06, 2019 10:17 am
Forum: Bug Reports
Topic: switchreg small thing
Replies: 0
Views: 88

switchreg small thing

If you estimate a least squares equation, the equation remembers the entry in the equation specification field when you hit the Estimate button. Switchreg doesn't remember the entry.
by startz
Tue Aug 06, 2019 7:18 am
Forum: Estimation
Topic: Markov switch state probabilities forecast
Replies: 18
Views: 550

Re: Markov switch state probabilities forecast

You are asking people to do your work for you. The best way to get help is to show what you've already done and explain where you are stuck.
by startz
Mon Aug 05, 2019 12:52 pm
Forum: Estimation
Topic: Funny state switching
Replies: 0
Views: 63

Funny state switching

Here's a snippet of a switching regression, simple switching on postwar GDP growth. Note that the standard error of the regression is larger than the standard deviation of the dependent variable. Is that odd?
Capture.PNG
Capture.PNG (3.96 KiB) Viewed 56 times
by startz
Mon Aug 05, 2019 5:58 am
Forum: Estimation
Topic: lag operator
Replies: 1
Views: 91

Re: lag operator

lagged inflation is just inflation(-1), no d().
by startz
Mon Aug 05, 2019 5:56 am
Forum: Estimation
Topic: Regression help
Replies: 3
Views: 119

Re: Regression help

I believe that Excel takes logs.
by startz
Mon Aug 05, 2019 5:54 am
Forum: Estimation
Topic: GMM estimation error: Singular Matrix
Replies: 5
Views: 188

Re: GMM estimation error: Singular Matrix

Yes, the problem is you have more coefficients than variables.
by startz
Sun Aug 04, 2019 6:55 am
Forum: Estimation
Topic: GMM estimation error: Singular Matrix
Replies: 5
Views: 188

Re: GMM estimation error: Singular Matrix

It looks like you are trying to estimate four coefficients with only three right=hand side variables.
by startz
Sun Aug 04, 2019 6:48 am
Forum: Estimation
Topic: Regression help
Replies: 3
Views: 119

Re: Regression help

Remember that regression equations include error terms. The error terms here are not the same.
by startz
Fri Aug 02, 2019 4:26 pm
Forum: Econometric Discussions
Topic: data stationary
Replies: 5
Views: 224

Re: data stationary

If data has a unit root, then it can be problematic in a regression. Data which is trend stationary is not generally a problem. So you shouldn't need to detrend at all.
by startz
Fri Aug 02, 2019 10:11 am
Forum: Econometric Discussions
Topic: data stationary
Replies: 5
Views: 224

Re: data stationary

I'm not sure why you want to detrend the series, but you could try regressing on both a trend and a trend squared,.
by startz
Thu Aug 01, 2019 4:19 pm
Forum: Bug Reports
Topic: Something wonky with FRED
Replies: 1
Views: 139

Something wonky with FRED

Capture2.PNG
Capture2.PNG (11.91 KiB) Viewed 97 times

gets
Capture3.PNG
Capture3.PNG (4.73 KiB) Viewed 97 times
by startz
Wed Jul 31, 2019 6:08 am
Forum: Estimation
Topic: Markov switch state probabilities forecast
Replies: 18
Views: 550

Re: Markov switch state probabilities forecast

If the last in sample probability is last_prob and the transition probabilities are p11 and p01, then I think you want something like

prob(T+1) = last_prob*p11 + (1-last_prob)*p01
prob(T+2) = prob(T+1)*p11 + (1-prob(T+1))*p01

etc
by startz
Tue Jul 30, 2019 5:52 pm
Forum: Estimation
Topic: Markov switch state probabilities forecast
Replies: 18
Views: 550

Re: Markov switch state probabilities forecast

Have you tried Proc Make Regime Probabilities?

Go to advanced search