- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hello everyone,
I am a new SAS user and I am using Medical Expenditure Panel Survey( MEPS) for my research. I have to use a Two-part model to study the impact of various independent variables on my dependent variable ( COST). Can someone please help me with the SAS SYNTAX for the two-part model.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I am unfamiliar with the term "two-part model". Can you describe?
The hash OUTPUT method will overwrite a SAS data set, but not append. That can be costly. Consider voting for Add a HASH object method which would append a hash object to an existing SAS data set
Would enabling PROC SORT to simultaneously output multiple datasets be useful? Then vote for
Allow PROC SORT to output multiple datasets
--------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I'm attaching the link to the article I used as my reference :
https://scholarworks.gvsu.edu/fsdg/556/
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
These are zero-inflation models which are in the class of finite mixture models as can be fit using PROC FMM. While there is some question of the appropriateness of doing this with a continuous distribution like gamma, the following code is an example with single predictor, G, and will provide a model fit and predicted values.
proc fmm data=a plots=density(nbins=9);
class g;
model y = g / dist=gamma;
model + / dist=constant;
probmodel g;
output out=fmmpred pred;
run;
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
The Getting Started examples in the documentation often explain how to interpret the results.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I am also interested in building this kind of model. Could you please explain why there it might be inappropriate to build such models for continuous distributions in more detail? Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
As @StatDave said it is a zero-inflation model generally suited to COUNT data ,not a continous data.
Check this brand-new session: