05-08-2016 12:07 PM - edited 05-08-2016 12:08 PM
Hello SAS Community,
With the following code:
format date_part yyq6.;
date_char = put(date_num, yyq6.);
ods tagsets.colorlatex file="C:\Users\Shaft\Documents\France_2015_2016\M2_ETE\Master_Thesis\simps1.tex" stylesheet="sas.sty"(url="sas")
title = "Fishers Z: Interest Rate and Output Gap (After Volker)";
proc corr data=matthes2 fisher(rho0=.99) fisher(type=upper);
where date_char ge '1979Q4';
var i y;
ods tagsets.colorlatex close;
I get a Tex file output that looks like this when compiled:
I don't get any errors when I copile in Texmaker, so I'm tempted to think this is a SAS question rather than a LaTeX one.
Any tips? I'm very open to proposal to drastically change my code. I'm very new to this. Just trying to get basic tables to go into LaTeX from SAS.
Thanks so much.
05-08-2016 02:27 PM
Hey again Reeza -- thanks as always for your help.
Even with this, the table is just too big. The one thing I was able to do was to change a few words ("Corr" instead of "Correlation") to make the columns skinnier. I guess I would have thought there would be a different way to do this :/
05-09-2016 04:46 AM
Well, your output from SAS is markup, so its down to the renderer to decide how the output looks. Personally I would always store the objects created by a proc, and then report them out both to keep the data (for validation) but also so you have the full flexibility of proc report to design a nice output - I have never seen a situation where the default output is as I would like.
ods trace on; proc corr...; run; ods trace off;
You will see in the log all the objects which are created, you can them save these and proc report them:
ods output <objectname>=<datasetname>; proc corr...; run; ods tagsets... proc report data=<datasetname>... run;