Help using Base SAS procedures

Some advice on which PROC to use?

Accepted Solution Solved
Reply
Super Contributor
Posts: 268
Accepted Solution

Some advice on which PROC to use?

I want to create a model like so  :  dependent var = independent var1 + indep var2 +...indep var_n

My dependent var is dichotomous. (Not met = 0, met = 1)

My independent vars are categorical.  I will have sex (M,F), meal_status (F,R),  Race (W, B, I, H, P, O)  eng_prof (1-9) and school_ID.

I want SAS to examine how much explanation each indep var contributes toward the model.  (I have some experience using logistic regression.  I'm just not sure in this case.)

I also recall a test that SAS will do that introduces one indep variable at  a time to determine if it should be included in the model but I don't remember the particulars.

Any advice/comments would be a great help.


Accepted Solutions
Solution
‎01-21-2015 02:17 AM
Trusted Advisor
Posts: 1,300

Re: Some advice on which PROC to use?

Use selection with LOGISTIC or create the design matrix that you want to see for the different effects in CATMOD (reference the documentation or ask if more help is needed).

http://support.sas.com/documentation/cdl/en/statug/63347/HTML/default/viewer.htm#statug_catmod_sect0...

View solution in original post


All Replies
Super User
Posts: 17,797

Re: Some advice on which PROC to use?

The documentation has pretty good examples and details.

I'd consider looking into proc CATMOD and LOGISTIC.

Super User
Posts: 10,490

Re: Some advice on which PROC to use?

I also recall a test that SAS will do that introduces one indep variable at  a time to determine if it should be included in the model but I don't remember the particulars

In Proc Logisitic (and a few others) you are likely thinking of the SELECTION option for the model statement.

Solution
‎01-21-2015 02:17 AM
Trusted Advisor
Posts: 1,300

Re: Some advice on which PROC to use?

Use selection with LOGISTIC or create the design matrix that you want to see for the different effects in CATMOD (reference the documentation or ask if more help is needed).

http://support.sas.com/documentation/cdl/en/statug/63347/HTML/default/viewer.htm#statug_catmod_sect0...

Super User
Posts: 9,676

Re: Some advice on which PROC to use?

independent variables are all category variables ?

Use  proc CATMOD

and post is at SAS Statistical Procedures to get better answer.

Xia Keshan

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 4 replies
  • 223 views
  • 6 likes
  • 5 in conversation