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
- /
- SAS Programming
- /
- Base SAS Programming
- /
- Calculating Confidence intervals for observed/expe...

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

3 weeks ago

I have a simplified dataset: runner name, run trial (there are 10 trials), observed time for each trial, expected time for each trial.

I sum up my observed and expected times using proc means and output a dataset.I then use the data statement to calculated a ratio for observed / expected for each runner. how do i calculate a confidence interval to see if there is a difference in o/e between my runners?

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

3 weeks ago

I'm not sure if this is what you are efter, but you can request confidence limits for the mean by specifying the CLM option in the PROC MEANS statement.

An example is in the PROC MEANS documentation here

http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a002473542.htm

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

3 weeks ago

Hi, Thanks for responding. It's not the mean value I want per runner. I was the ratio for each runner.

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

3 weeks ago

You should post some sample data, which will make it easier for people to help you.

You might consider the **difference** in the runner's time, rather than the ratio. If you have several runners and you want to compare their mean times and determine if the mean times are significantly different, you can use PROC GLM to run an ANOVA and a multiple comparison of means. There are several examples in the PROC GLM doc, including one that treats repeated observations.