Help using Base SAS procedures

proc freq option binomial

Accepted Solution Solved
Reply
Contributor L_L
Contributor
Posts: 56
Accepted Solution

proc freq option binomial


Dear all

I'm using the following code:

proc freq data=input;

     table criterion /binomial;

run;

where the variable criterion is 0 or 1.

The output shows proportion ad IC for variable equal to 0.

How can I manage the code to obtain proportion for variable equal to 1?

Thaks in advance for any help.

Kind regards


Accepted Solutions
Solution
‎04-10-2012 12:42 PM
Respected Advisor
Posts: 4,927

Re: proc freq option binomial

Use binomial(level='1') , don't forget the single quotes.

PG

PG

View solution in original post


All Replies
Solution
‎04-10-2012 12:42 PM
Respected Advisor
Posts: 4,927

Re: proc freq option binomial

Use binomial(level='1') , don't forget the single quotes.

PG

PG
🔒 This topic is solved and locked.

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

Discussion stats
  • 1 reply
  • 175 views
  • 0 likes
  • 2 in conversation