Search found 16 matches

by svannorden
Wed Oct 26, 2016 9:00 am
Forum: Graphics, Reports, and Other Output
Topic: Reports, Excel and "special="
Replies: 1
Views: 5486

Reports, Excel and "special="

G'day all! I've used REPORT with the "special=onestart/twostar/threestar" option to generate lovely tables that indicate statistically significant test statistics in the usual way. When I select everything in the report window and use the menu to copy the results in as a TeX table, the tab...
by svannorden
Wed Dec 16, 2015 2:37 pm
Forum: Graphics, Reports, and Other Output
Topic: Controling Graph(Xlabel=)
Replies: 9
Views: 12435

Re: Controling Graph(Xlabel=)

Merci, Tom.
Much appreciated.
by svannorden
Thu Dec 10, 2015 2:47 pm
Forum: Graphics, Reports, and Other Output
Topic: Controling Graph(Xlabel=)
Replies: 9
Views: 12435

Re: Controling Graph(Xlabel=)

Lots! Here's the code that sets up the vector that is passed to XLABEL DECLARE VECTOR[STRING] MTDATE(269) DO I=1,269 IF %MOD(I,30)==1 COMPUTE MTDATE(I) = %CONCAT("19",%STRING(MTGYEAR(I))) END DO I So only 1 in every 30 strings is non-null. The reason for the odd timing is that every observ...
by svannorden
Thu Dec 10, 2015 5:55 am
Forum: Graphics, Reports, and Other Output
Topic: Controling Graph(Xlabel=)
Replies: 9
Views: 12435

Re: Controling Graph(Xlabel=)

TomDoan wrote:Those are controlled by the AXISLABELS choice.
Yes, I know. :)
But AXISLABELS doesn't only change the XLABELS; as I noted, it also changes the vertical axis labels (which I don't need to shrink).
by svannorden
Wed Dec 09, 2015 5:19 pm
Forum: Graphics, Reports, and Other Output
Topic: Controling Graph(Xlabel=)
Replies: 9
Views: 12435

Re: Controling Graph(Xlabel=)

Here's an example (in RGF format) of the problem. Although my labels are few and small, RATS starts to stagger them over multiple lines long before it runs out of space between them. (It will dynamically rearrange the date labels depending on the size of your screen, so you may have to shrink the gr...
by svannorden
Wed Dec 09, 2015 10:55 am
Forum: Graphics, Reports, and Other Output
Topic: Controling Graph(Xlabel=)
Replies: 9
Views: 12435

Re: Controling Graph(Xlabel=)

Thanks, Tom. As I mentioned, I'm using the XLABEL= option on GRAPH() to supply the labels for the time axis. Oddly, the font size doesn't seem to be affected by changes in the HLABEL or the MATRIXLABELS font size on GRPARM. AXISLABELING works, but then it also changes the vertical axis. Is it possib...
by svannorden
Tue Dec 08, 2015 9:26 am
Forum: Graphics, Reports, and Other Output
Topic: Controling Graph(Xlabel=)
Replies: 9
Views: 12435

Controling Graph(Xlabel=)

I'm working with a time series that has irregularly-spaced observations (e.g. number of observations per year varies) that I'm displaying with GRAPH. I'm using the XLABEL option to label the observations appropriately. My problem is that I have far too many observations (>250) to label all of them, ...
by svannorden
Thu Nov 19, 2015 7:34 am
Forum: Data: Reading, Writing, Transforming
Topic: FOMC Dates
Replies: 3
Views: 7977

Re: FOMC Dates

Many thanks, Tom! I always enjoy learning by studying your code.

So in this example, you're using GSET instead of SET only because you're using a series of INTEGER rather than a conventional series)?
by svannorden
Tue Nov 17, 2015 7:05 pm
Forum: Data: Reading, Writing, Transforming
Topic: FOMC Dates
Replies: 3
Views: 7977

FOMC Dates

I'm trying to reproduce a data transformation used in Romer and Romer(2004) "A New Measure of Monetary Shocks: Derivation and Implications" American Economic Review, 94(4), p. 1055- Their data set is downloadable from http://eml.berkeley.edu//~dromer/#data in .xlsx format. They start with ...
by svannorden
Thu Nov 13, 2014 12:25 pm
Forum: Graphics, Reports, and Other Output
Topic: Stacking with SPGRAPH
Replies: 1
Views: 6212

Stacking with SPGRAPH

I have several time series with different scales that I'd like to graph together on a common X-axis. Now, I could just use SPGRAPH(VFIELDS= # of series). But for clarity, I'm wondering whether I can then - Suppress the x-axes on all but the bottom graph - Suppress the blank vertical space between gr...
by svannorden
Fri Sep 05, 2014 3:11 pm
Forum: Looking for Code?
Topic: Patton and Timmermann (JBES 2012)
Replies: 1
Views: 4530

Re: Patton and Timmermann (JBES 2012)

Okay, so to help make it easier for someone to try to reproduce their work in RATS, you can find their article at

http://public.econ.duke.edu/~ap172/Patt ... S_2012.pdf

and Patton's MATLAB code for it at

http://public.econ.duke.edu/~ap172/PT_b ... _feb14.zip
by svannorden
Mon Aug 11, 2014 4:32 pm
Forum: Looking for Code?
Topic: Patton and Timmermann (JBES 2012)
Replies: 1
Views: 4530

Patton and Timmermann (JBES 2012)

Anyone have code for some of the rationality bounds tests proposed by Patton and Timmermann "Forecast Rationality Tests Based on a Multi-Horizon Bounds", JBES, 30(1), p. 1
by svannorden
Mon Aug 11, 2014 3:12 pm
Forum: Graphics, Reports, and Other Output
Topic: Reports: Passing by Address
Replies: 1
Views: 6161

Reports: Passing by Address

Can I pass Reports to a procedure by address? Are there any examples of how to do this? I'm running a procedure that produces its own detailed report. However, because I'll be calling it >100 times, I'd also like to create another report that adds one line (with a few key statistics) every time I ca...
by svannorden
Fri Sep 27, 2013 5:47 pm
Forum: Graphics, Reports, and Other Output
Topic: Problems printing to PDF
Replies: 1
Views: 6774

Problems printing to PDF

I'm trying to convert RATS graphs to .pdf format, without success. First, I tried simply printing the graph using my PDF printer as the default printing device. After asking me to supply a filename, RATS announces that it has encountered an error and must exit. The program then crashes and exits, wi...
by svannorden
Thu Aug 08, 2013 5:53 pm
Forum: Help With Programming
Topic: LABELS and Labels
Replies: 1
Views: 4272

Re: LABELS and Labels

Oops! Never mind.....the problem was my code, not RATS. :oops: :oops: