You can then form a 95% confidence interval. The standard error for the estimated count is the total sample size times the probability standard error. Let us take the example of a hospital that is trying to assess the confidence interval on the number of patients received by it during the month. From these you can get the estimates of the counts by multiplying the estimated probabilities by the total sample size (N). Confidence Interval Value at level 2 168.7604 Therefore, both the confidence interval for the average height of students is 168.7604 cm to 171.2396 cm. The parameter estimates table gives the estimates of the probabilities and their standard errors. Treating it as separate binary distributions will not yield correct results.Įven if you want confidence intervals on the counts (N_i) instead of the probabilities, you can still start with Example 2 in this note. Note that what you are asking for confidence intervals for a multinomial distribution. Otherwise, it would really help if you showed us a portion of your data as it exists, by using this method.
If there is an error message, show us the relevant portions of the SASLOG by clicking on and then pasting the relevant part of the SASLOG into that window. 'it does not give the required results' - tell us or show us what you did get.
Maybe the problem is that you have mis-spelled TABLES.
Am trying to calculate 95% CI for categorical variables.Įthnicity hispanic non hispanic hispanic hispanicīut it does not give me the required results.