Search found 20 matches

by PTillmann-436
Sat Dec 02, 2023 11:04 am
Forum: Graphics, Reports, and Other Output
Topic: Centering the header of individual graphs in SPGRAPH
Replies: 1
Views: 42007

Centering the header of individual graphs in SPGRAPH

I am using SPGRAPH to create a matrix of graphs. The larger I make the horizontal dimension (hfield=4,vfield=1 in my example), the less the headers of the individual graphs appear centered. Please see the figure attached. How can I solve that? Many thanks in advance.
by PTillmann-436
Thu Jun 10, 2021 9:39 am
Forum: General Econometrics
Topic: projected values
Replies: 1
Views: 52993

projected values

Hi, I calculate marginal effects from an estimated probit model and struggle with the XVECTOR option of the PRJ instruction. It works fine for the ATMEAN option, prj(atmean,dist=probit), but not if I enter the vector of means manually, prj(xvector=||mean1,mean2,mean3,...||,dist=probit). Shouldn't th...
by PTillmann-436
Tue Dec 29, 2020 4:44 am
Forum: Graphics, Reports, and Other Output
Topic: two overlapping fan charts?
Replies: 1
Views: 9215

two overlapping fan charts?

Dear all, I am plotting impulse respons functions. I want to plot the mean response (beta) and two alternative confidence bands: graph(nodates,number=0,ovcount=2,overlay=fan,ovsame) 5 # beta / 5 # upper1 / 8 # lower1 / 8 # upper2 / 8 # lower2 / 8 In this graph, one pair is shown as a fan chart, the ...
by PTillmann-436
Sat Jul 30, 2016 2:27 am
Forum: VARs (Vector Autoregression Models)
Topic: Shutdown Methodology
Replies: 7
Views: 73187

Re: Shutdown Methodology

Benati constructs counterfactuals based on sign restrictions:

http://users.ugent.be/~gpeersma/gert_fi ... er2014.pdf

Thanks for your help!
by PTillmann-436
Fri Jul 29, 2016 5:40 am
Forum: VARs (Vector Autoregression Models)
Topic: Shutdown Methodology
Replies: 7
Views: 73187

Re: Shutdown Methodology

Tom,

Do you have an idea about how to do it with sign restrictions? There, every accepted draw has to be neutralized by the shutdown shock.

Thanks again
Peter
by PTillmann-436
Wed Jun 01, 2016 2:11 pm
Forum: VARs (Vector Autoregression Models)
Topic: VAR with interaction term
Replies: 1
Views: 6547

VAR with interaction term

Dear Tom, Are you aware of RATS codes on a VAR with an interaction term? Like in this example http://www.norges-bank.no/pages/95985/Norges_Bank_Working_Paper2013_17.pdf where the responses of the endogenous variables to a shock depend on the (exogenous) level of uncertainty. Thanks for your help Peter
by PTillmann-436
Tue Feb 16, 2016 4:02 am
Forum: VARs (Vector Autoregression Models)
Topic: Shutdown Methodology
Replies: 7
Views: 73187

Shutdown Methodology

Fantastic, thanks a lot, Tom
by PTillmann-436
Sun Feb 14, 2016 9:25 am
Forum: VARs (Vector Autoregression Models)
Topic: Shutdown Methodology
Replies: 7
Views: 73187

Shutdown Methodology

Dear Tom, Is there a code on counterfactual impulse responses such as in this paper (section 4) http://www3.nd.edu/~esims1/bachmann_sims_confidence_august.pdf or in Sims and Zha (Macroeconomic Dynamics, 2006)? They construct counterfactual shocks in order to set the reponse of one variable to an ide...
by PTillmann-436
Sat Dec 12, 2015 3:40 pm
Forum: Graphics, Reports, and Other Output
Topic: Stacked graph
Replies: 8
Views: 15109

Re: Stacked graph

Dear Tom,

Can I plot a series as a line on top of stacked bars when the series are not consistently positive and negative?

Thanks for your help

Peter
by PTillmann-436
Tue Oct 13, 2015 2:07 pm
Forum: Help With Programming
Topic: draw from truncated normal
Replies: 4
Views: 8367

Re: draw from truncated normal

I think it is now working (see graph). The tightening/easing periods are observed and plotted as shaded areas. The VAR-part seems to add little information as the latent variable mostly reflects the +1/-1 dummies, but at least the code seems to work.
by PTillmann-436
Tue Oct 13, 2015 12:52 pm
Forum: Help With Programming
Topic: draw from truncated normal
Replies: 4
Views: 8367

Re: draw from truncated normal

Dear Tom,

Thanks for your prompt response. I am trying to generalize the codes for Dueker's Qual VAR from binary data to three alternative realizations.

Thanks again!
by PTillmann-436
Tue Oct 13, 2015 9:28 am
Forum: Help With Programming
Topic: draw from truncated normal
Replies: 4
Views: 8367

draw from truncated normal

Dear all, I want to draw a latent variable from a truncated normal. Here I repeat the crucial commands. First, I specifiy two policy actions, easing and tightening: set easing= loose ==1.0 set tighhtening= tight ==-1.0 set ystar = %if(tightening,-1.0,%if(easing,1.0,0.0)) The latent variable should b...
by PTillmann-436
Mon Jun 01, 2015 10:21 am
Forum: VARs (Vector Autoregression Models)
Topic: Asymmetric VAR
Replies: 4
Views: 8070

Re: Asymmetric VAR

Yes, I fully agree. The advantage is that I can discuss the asymmetry in terms of a single vector of asymmetry-dummies, not two vectors.

Thanks,
Peter
by PTillmann-436
Mon Jun 01, 2015 4:25 am
Forum: VARs (Vector Autoregression Models)
Topic: Asymmetric VAR
Replies: 4
Views: 8070

Re: Asymmetric VAR

Dear Tom, I work with the VAR model with shocks to exogenous variables and want to distinguish positive and negative innovations to the exogenous variable. Currently, I include the change in the interest rate as an exogenous variable and split it into positive and negative ones: system(model=varmode...
by PTillmann-436
Fri May 22, 2015 10:24 pm
Forum: VARs (Vector Autoregression Models)
Topic: Asymmetric VAR
Replies: 4
Views: 8070

Asymmetric VAR

Dear Tom,

Are you aware of RATS codes of an asymmetric VAR, i.e. one in which positive shocks and negative shocks could have different effects in absolute terms?

Thanks for your help.

Peter