Hi,
I am running using proc logistic to get a propensity score to then match individuals from groups to create comparison groups. In the proc logistic output I want to ONLY see the Analysis of MLE table because I am eventually only going to export that to Excel.
These are the current specifications I have:
proc logistic data=test_a descending;
class female;
model test=p_total_ab age65_older female
/ SELECTION=stepwise RISKLIMITS LACKFIT RSQUARE PARMLABEL;
output out=propensity_scores
prob= prob;
run;
Again, the question I have is how to isolate the Analysis of MLE table to only output that. I understand noprint doesn't print anything, but I want the MLE table.
The ODS Select option will select specific output objects.
Use:
ODS Trace on;
<your procedure code>
ODS Trace off;
to identify the output objects created so you you have the Name of the object you want to select.
The ODS Select option will select specific output objects.
Use:
ODS Trace on;
<your procedure code>
ODS Trace off;
to identify the output objects created so you you have the Name of the object you want to select.
In other words: Just execute the following statement immediately before your PROC LOGISTIC step:
ods select ParameterEstimates;
For some reason only the path (Logistic.ParameterEstimates; ) works, but thanks!
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.