Hi,
I'm a beginner in SAS....
Could you please clarify on below -
How to check Max and Min values for a probability in SAS ?
Which SAS procedure I should use ?
Version --> Release: 3.6 (Basic Edition)
Regards,
Senthilkumar Ks
More information is needed.
Describe the process you want to use. Also, please describe what probabilities are you referring to? Probabilities that you are calculating? How are you calculating them? Where are they stored?
If you want to estimate a proportion and its conficence limits, consider using proc freq with the binomial option. An example estimating the proportion of the sexes in dataset sashelp.class:
proc freq data=sashelp.class;
table sex / binomial(cl=exact);
run;
The FREQ Procedure Cumulative Cumulative Sex Frequency Percent Frequency Percent -------------------------------------------------------- F 9 47.37 9 47.37 M 10 52.63 19 100.00 Binomial Proportion Sex = F Proportion 0.4737 ASE 0.1145 Confidence Limits for the Binomial Proportion Proportion = 0.4737 Type 95% Confidence Limits Clopper-Pearson (Exact) 0.2445 0.7114 Test of H0: Proportion = 0.5 ASE under H0 0.1147 Z -0.2294 One-sided Pr < Z 0.4093 Two-sided Pr > |Z| 0.8185 Sample Size = 19
Thank you...
could you please explain below piece of code ? what is C1 stands for and the value 'exact' ?
binomial(cl=exact)
Regards
Senthilkumar KS
Please note that the option is CL=, not C1=. CL stands for Confidence Limits. Option EXACT requests one of the methods available to compute the confidence limits for the binomial proportion estimates.
Please refer to the proc freq documentation for details.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.