Search found 14 matches

by randal_verbrugge
Tue Apr 12, 2022 8:50 am
Forum: VARs (Vector Autoregression Models)
Topic: computing error bands for impulse responses of AB-type SVAR
Replies: 8
Views: 69380

Re: computing error bands for impulse responses of AB-type S

I can't speak to the technical questions here. I just want to report that I have two "A" models (so I removed "B" references), and the code seems to run very well. Thanks for posting it.
by randal_verbrugge
Tue Aug 25, 2020 11:45 am
Forum: General Econometrics
Topic: Nonlinear estimation: cross-section data
Replies: 2
Views: 47959

Re: Nonlinear estimation: cross-section data

For each i, there is a theta variable which refers to unobserved variance of the prior. For the system, the delta vector consists of: a) mean of signal b) upward bias of signal, for those who think it is upward biased c) variance of signal, for those who think it is upward biased d) downward bias of...
by randal_verbrugge
Tue Aug 04, 2020 12:30 pm
Forum: General Econometrics
Topic: Nonlinear estimation: cross-section data
Replies: 2
Views: 47959

Nonlinear estimation: cross-section data

Hi all, I have a problem that involves nonlinear estimation, period-by-period. I have (say) 8 equations of the form f(delta,theta(i)) = epsilon(i) and (say) 28 equations of the form g(delta,theta(i)) = epsilon(i) - epsilon(j). I can successfully use FIND to estimate all the parameters (delta vector,...
by randal_verbrugge
Fri Jun 19, 2020 1:05 pm
Forum: State Space Models/DSGE
Topic: bootstrapping DSGE model; how are residuals in DLM computed?
Replies: 4
Views: 26815

Re: bootstrapping DSGE model; how are residuals in DLM compu

This paper seems relevant: https://editorialexpress.com/cgi-bin/conference/download.cgi?db_name=IAAE2016&paper_id=555 I have not read it carefully, inasmuch as this type of thing is very tough slogging for my current skill set. I am not sure what to make of your reply, to be honest. Doesn't know...
by randal_verbrugge
Wed Jun 17, 2020 3:02 pm
Forum: State Space Models/DSGE
Topic: bootstrapping DSGE model; how are residuals in DLM computed?
Replies: 4
Views: 26815

Re: bootstrapping DSGE model; how are residuals in DLM compu

Bummer. Well, I guess I have to code that up by hand, then. (I don't think that the indirect inference approach meshes at all with Gibbs sampling, but am prepared to be corrected.) There are some examples and matlab code (http://www.patrickminford.net/Indirect/) which I will attempt to follow. Evide...
by randal_verbrugge
Tue Jun 16, 2020 1:42 pm
Forum: State Space Models/DSGE
Topic: bootstrapping DSGE model; how are residuals in DLM computed?
Replies: 4
Views: 26815

bootstrapping DSGE model; how are residuals in DLM computed?

Hi Tom (and everyone), As I understand it, DLM does simulations of DSGE models by drawing Normal shocks according to the solved variance-covariance matrix. However, if one wishes to estimate the model via indirect inference, one must simulate the DSGE via bootstrapping. DLM will provide the estimate...
by randal_verbrugge
Mon Mar 06, 2017 7:37 pm
Forum: Help With Programming
Topic: Two regressor lists
Replies: 4
Views: 9961

Re: Two regressor lists

Aha, got it.

Thanks very much!
by randal_verbrugge
Mon Mar 06, 2017 12:53 pm
Forum: Help With Programming
Topic: Two regressor lists
Replies: 4
Views: 9961

Re: Two regressor lists

Hi Tom, thanks for replying. I must be dense because I don't see how this gets information from the main program into the procedure. Ideally, I want a user to give two lists of variables, which are passed to a proc. How does " equation conteq * " accomplish that? Would I need to define *gl...
by randal_verbrugge
Mon Mar 06, 2017 10:12 am
Forum: Help With Programming
Topic: Two regressor lists
Replies: 4
Views: 9961

Two regressor lists

Hi everyone, I am developing a proc that implements "unusual observation detection" in conjunction with a paper I am revising (joint work with Christian Garciga). Use of this procedure will help you detect weird observations (e.g., if you are cleaning data), to determine if your results ar...
by randal_verbrugge
Fri Apr 08, 2016 2:37 pm
Forum: VARs (Vector Autoregression Models)
Topic: Kilian 1998 (RES)
Replies: 2
Views: 6918

Re: Kilian 1998 (RES)

Tom Doan has come to the rescue.
https://estima.com/forum/viewtopic.php?f=8&t=2264
by randal_verbrugge
Thu Jan 21, 2016 1:57 pm
Forum: Other Time Series Analysis
Topic: MCD and fast-MCD algorithm (or det-MCD or FCH)
Replies: 0
Views: 5397

MCD and fast-MCD algorithm (or det-MCD or FCH)

I'm wondering if anyone has worked on implementing the fast-MCD (or the newer det-MCD, in the 2010 working paper from Hubert, Rousseeuw, and Verdonck) algorithm for robust estimation of covariance matrices. (This would be an input, for example, into a solid multivariate outlier detection routine, or...
by randal_verbrugge
Thu Jan 21, 2016 1:39 pm
Forum: Other Time Series Analysis
Topic: Recursive one-sided HP filtered trend
Replies: 3
Views: 6831

Re: Recursive one-sided HP filtered trend

You are probably aware of this, but in case you aren't ... all filters like this have serious problems near the edges of the data. The standard procedure to help minimize this is to augment the data with a forecast. (For example, see Ashley and Verbrugge, Econometric Reviews 2009). In quarterly data...
by randal_verbrugge
Thu Apr 10, 2014 10:05 am
Forum: Panel Data
Topic: simulation: creating panels
Replies: 2
Views: 6756

Re: simulation: creating panels

Thanks very much!
by randal_verbrugge
Wed Apr 09, 2014 2:06 pm
Forum: Panel Data
Topic: simulation: creating panels
Replies: 2
Views: 6756

simulation: creating panels

RATS does not like me to do this, although it seems to be implied as OK in UG 394: calendar(panelobs=14,a) 2001:1 allocate 3000//2014:1 dec vector[series] age(3000) dec vector[series] rooms(3000) do i=1,3000 compute tempage = fix(%uniform(1,99)) ; *initial age = 1,...,99, uniform. compute temproom =...