Turn on suggestions

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

Showing results for

- Home
- /
- Analytics
- /
- Stat Procs
- /
- How to calculate Confidence Interval for 10th percentile?

Options

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

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

Posted 03-16-2019 12:14 PM
(1775 views)

Hello all,

Based on time-to-event ADaM dataset, I have to output CI for 10th, 25th and 50th percentiles. In PROC LIFETEST, we can easily get 25th & 50th, but not 10th.

Does anyone know how to calculate CI for 10th percentile manually?

Based on time-to-event ADaM dataset, I have to output CI for 10th, 25th and 50th percentiles. In PROC LIFETEST, we can easily get 25th & 50th, but not 10th.

Does anyone know how to calculate CI for 10th percentile manually?

9 REPLIES 9

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

```
proc univariate data=sashelp.heart cipctldf cipctlnormal ;
var weight;
run;
```

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

Note that if your data contains censored values you should be using a proc that will take that fact into account.

Proc quantlife is a good choice:

```
data heart;
set sashelp.heart;
ageAtDeathCensored = ageAtDeath;
if missing(ageAtDeathCensored) then do;
ageAtDeathCensored = AgeAtStart;
censored = 1;
end;
else censored = 0;
run;
proc quantlife data=heart method=na ;
model ageAtDeathCensored*censored(1) = / quantile=(0.1);
run;
```

Summary of the Number of Event and Censored Values Percent Total Event Censored Censored 5209 1991 3218 61.78 Parameter Estimates Standard 95% Confidence Quantile Parameter DF Estimate Error Limits t Value Pr > |t| 0.1000 Intercept 1 57.7854 0.4854 56.8341 58.7367 119.06 <.0001

Note that proc quantlife can also handle regressors.

PG

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

Above example shows how to get the 10th survival percentile estimate and confidence limits. You want to estimate something else?

PG

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

I mean the limit value at 10th percentile.

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

@Quyhuynh wrote:

I mean the limit value at 10th percentile.

Did you try the QUANTLIFE approach? What values did you get and what are you expecting?

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

I figured it out. Thank you all for your kind help.

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

Please post the correct answer for future users and people who were trying to answer your question.

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. **Registration is now open through August 30th**. Visit the SAS Hackathon homepage.

What is ANOVA?

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.