- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I try to output fitted parameter to SAS dataset from proc GLM. I used "ODS OUTPUT ParameterEstimates=ParEst". Because I used a class variable which has more than 1000 different values, so I used option "noprint" otherwise it will take forever to run. However, after I used "noprint", I can not output my parameter to my data set. Is there an efficient way to set print option values such that I can ouput fitted parameter in to a data set in shortest possilbe run time? Thanks.
Jian
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Instead of optopn noprint, frame your GLM procedure call with
ODS SELECT NONE;
proc glm ...
...
ODS OUTPUT ParameterEstimates=ParEst;
run;
ODS SELECT ALL;
PG
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I still met problem with my output. Below are my codes:
ODS SELECT NONE;
proc glm data=sevnew;
class prune num_id;
model gross_minus_net_loss_ratio = prune * num_id * sale_price_ratio;
output out=LossSevPred p=yhat;
ODS OUTPUT ParameterEstimates=LossSevPar;
run;
ODS SELECT ALL;
Where is wrong?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Add option / solution to your model statement.