Search found 13 matches

by paretto
Sun Nov 11, 2012 10:17 am
Forum: Graphics, Reports, and Other Output
Topic: storing graphs as wmf
Replies: 4
Views: 10160

Re: storing graphs as wmf

Dear Tom thank you for the quick reply. I was completely wrong thank you for correcting me. But I still have two questions: Question 1: I changed the colour definitions in the file colour.txt to LINE_COLOR_1=0,00FF00,1 LINE_COLOR_2=0,FF0000,1 The first line should be green and the second red. But wh...
by paretto
Wed Nov 07, 2012 3:51 am
Forum: Graphics, Reports, and Other Output
Topic: storing graphs as wmf
Replies: 4
Views: 10160

Re: storing graphs as wmf

Dear Tom, I tried to adjust the layout of line graphs using stylesheets, but unfortunately the graph is unaffected despite importing styles. I use the graphfoecast.prg example * before style definition graph(header="Forecasts of Japanese IP",grid=t==2006:12) 2 # jpniptotrs 2004:1 2006:12 #...
by paretto
Tue Nov 06, 2012 3:05 pm
Forum: Help With Programming
Topic: loop using sstats
Replies: 3
Views: 6491

Re: loop using sstats

Dear Tom, I thank you for the quick and helpfull answers. It works. I wanted to ask how rats is able to know over which series to loop. For example in stata I define a suffix "_i" to "_k" and I tell stata to loop over all series i to k. How does rats know, which series are includ...
by paretto
Tue Nov 06, 2012 2:57 pm
Forum: Graphics, Reports, and Other Output
Topic: storing graphs as wmf
Replies: 4
Views: 10160

storing graphs as wmf

Dear Tom, I try to use rats to produce graphics, which I used to produce in excel. I have two questions: 1. I saw in the user guide that I have to store and to load a text file in order to adjust the thickness and symbols of line graphs. Is there a possibility to adjust the line thickness directly i...
by paretto
Sun Nov 04, 2012 1:50 pm
Forum: Graphics, Reports, and Other Output
Topic: Different size of graphs in spgraph envirmoment
Replies: 1
Views: 6591

Different size of graphs in spgraph envirmoment

Dear Tom,
is there a way to control the exact size of each graph in an spgraph enviroment. Let's say I have one graph in levels, the graph below should be just half the size of the upper graph.
Can I controll the size directly?

Thanks a lot!
by paretto
Sun Nov 04, 2012 1:42 pm
Forum: Help With Programming
Topic: loop using sstats
Replies: 3
Views: 6491

loop using sstats

Dear Tom, I have a couple of series where I stored teststatistics over a rolling window. I do want to compute the share of entries where the value is below 0.1. I would like to loop over series claw1uipuk to claw24uipuk and store the computed share in the vector vcw. The sstats command for a single ...
by paretto
Thu Oct 25, 2012 4:22 pm
Forum: Help With Programming
Topic: automatically numbering integer values
Replies: 1
Views: 4818

automatically numbering integer values

Deat Tom, thanks a lot for the help last time. Now I search for a way to automatically attach a number to the name of an integer. I have the following procedure, where I want to compute the mean for different periods and store this mean in integer a. To prevent that a is overwritten within the loop ...
by paretto
Sat Oct 13, 2012 4:15 pm
Forum: Help With Programming
Topic: Loop in procedure
Replies: 1
Views: 4895

Loop in procedure

Dear Tom, I do want to implement a loop in a procedure which expands the estimation period by one month. This is the simple procedure: procedure taymodel series1 series2 series3 series4 series5 ibegin iend type series series1 series2 series3 series4 series5 type int ibegin iend do iend = firstob,ien...
by paretto
Wed Dec 15, 2010 8:26 am
Forum: VARs (Vector Autoregression Models)
Topic: out of sample forecasting using Theil instruction
Replies: 3
Views: 7526

Re: out of sample forecasting using Theil instruction

Dear Tom, Thanks a lot for the response. I would like to calculate the RMSE manually, but the Theils U ratio from my own calculation differs to those from the Theil instruction. And I simply can not find the error in my calculation for the RMSE. In the upper part of the code, I calculate the out of ...
by paretto
Fri Nov 26, 2010 3:17 pm
Forum: VARs (Vector Autoregression Models)
Topic: out of sample forecasting using Theil instruction
Replies: 3
Views: 7526

out of sample forecasting using Theil instruction

Hello, I programmed an out of sample prediction. I wanted to check my results afterwrds using Theil. But somehow the results differ and I am not exactly sure how to use theil. My initial in-sample period is from 1975:01 to 1984:12. Afterwards the regression coefficients are updated by a rolling regr...
by paretto
Fri Apr 30, 2010 9:25 am
Forum: VARs (Vector Autoregression Models)
Topic: Out of sample forecasting VAR
Replies: 9
Views: 13904

Out of sample forecasting VAR

Dear all, I am trying to replicate Meese and Rogoff (1983) "Empirical exchange rate models of the seventies Do they fit out of sample ?" Journal of international Economics 14 Therefore I would like to perform an out of sample forecasting analysis to compare the forecast generated from stru...
by paretto
Wed Mar 31, 2010 5:32 pm
Forum: Help With Programming
Topic: Bias squaring impulse responses?
Replies: 3
Views: 6845

Re: Bias squaring impulse responses?

Dear Tom, thanks a lot for the help. The task of my empirical work is a blanchard quah decomposition. The variables are I(1) in levels, therefore I have to estimate the VAR in first differences. But I'm interrested on the effect on the level of the variables. When I'm using Errors instruction it com...
by paretto
Tue Mar 30, 2010 11:38 am
Forum: Help With Programming
Topic: Bias squaring impulse responses?
Replies: 3
Views: 6845

Bias squaring impulse responses?

Hello, I am trying to program a forecast error variance decomposition of a VAR. I am using the bootstrap algorithm to compute standard errors for the explanation shares of the various shocks. After accumulating the impulses I need to take squares. But I found the following strange error inside my pr...