turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Find a Community

- Home
- /
- Analytics
- /
- Stat Procs
- /
- Proc Surveyfreq

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

02-15-2017 06:02 AM - edited 02-15-2017 06:06 AM

Hi all ,

I need to calculate lower and upper Confidence interval of the percentage for the variable count_1 and count_2 using survey freq.

dataset name : template

row count_1 count_2 per12

8 726749 260644 0.35864

Accepted Solutions

Solution

02-21-2017
03:57 AM

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

02-15-2017 10:27 AM

Are you requesting some confidence interval around the value you labeled Per12?

The general approach is to add a CL option to a TABLES statement. But that is to calculate a confidence limit for the percentage of occurences of a value. For instance the requested CL would be for the interval around 47.37 and 52.63 in the table below. So incontext fo Surveyfreq the question is very problematic. You should provide more details about what your are actually attempting. Is the row you show the result of you doing a manual summary of existing data? Surveyfreq wants to use individual records and do it's own count and calculations to indicate the percentages for each level of a variable or combinations of variables. Also since you don't show any weighting varibles or sample design information I wonder why you are attempting to use Surveyfreq at all.

Sex | Frequency | Percent | Cumulative Frequency |
Cumulative Percent |
---|---|---|---|---|

F | 9 | 47.37 | 9 | 47.37 |

M | 10 | 52.63 | 19 | 100.00 |

All Replies

Solution

02-21-2017
03:57 AM

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

02-15-2017 10:27 AM

Are you requesting some confidence interval around the value you labeled Per12?

The general approach is to add a CL option to a TABLES statement. But that is to calculate a confidence limit for the percentage of occurences of a value. For instance the requested CL would be for the interval around 47.37 and 52.63 in the table below. So incontext fo Surveyfreq the question is very problematic. You should provide more details about what your are actually attempting. Is the row you show the result of you doing a manual summary of existing data? Surveyfreq wants to use individual records and do it's own count and calculations to indicate the percentages for each level of a variable or combinations of variables. Also since you don't show any weighting varibles or sample design information I wonder why you are attempting to use Surveyfreq at all.

Sex | Frequency | Percent | Cumulative Frequency |
Cumulative Percent |
---|---|---|---|---|

F | 9 | 47.37 | 9 | 47.37 |

M | 10 | 52.63 | 19 | 100.00 |