Re: [R] Mean and variance of the right-censored data

From: Don MacQueen <macq_at_llnl.gov>
Date: Tue 26 Jul 2005 - 00:03:09 EST

The survival package has functions for fitting models to right censored data.

require(survival)
?survfit
?Surv

-Don

At 12:17 AM +0200 7/25/05, Petr Mandys wrote:
>Hi,
>
>I need to get mean and variance of right censored data. How can I do that?
>
>I have a vector of values (called a) and vector of booleans (whether value
>is censored) (called b). What to do with this? Sorry, I'm R beginner.
>
>Thank you!
>
>Pete
>
>______________________________________________
>R-help@stat.math.ethz.ch mailing list
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

-- 
--------------------------------------
Don MacQueen
Environmental Protection Department
Lawrence Livermore National Laboratory
Livermore, CA, USA

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Tue Jul 26 00:08:04 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:34:01 EST