Re: [R] R-help: Censoring data (actually an optim issue

2012-04-14 Thread John C Nash
-project.org r-help@r-project.org Subject: [R] R-Help: Censoring data Message-ID: 1334314483.27693.yahoomail...@web65408.mail.ac4.yahoo.com Content-Type: text/plain; charset=iso-8859-1 Hello, ?I want to estimate weibull parameters with 30% censored data. I have below the code

[R] R-Help: Censoring data

2012-04-13 Thread Christopher Kelvin
Hello,  I want to estimate weibull parameters with 30% censored data. I have below the code for the censoring  but how it must be put into the likelihood equation to obtain the desire estimate is where i have a problem with,  can some body help?  My likelihood equation is for a random type-I

[R] R-help; Censoring

2012-04-10 Thread Christopher Kelvin
Hello, I wish to censor 10% of my sample units of 50 from a Weibull distribution. Below is the code for it. I will need to know whether what i have done is correct and if not, can i have any suggestion to improve it? Thank you  p=2;b=120 n=50 r=45 t-rweibull(r,shape=p,scale=b)

Re: [R] R-help; Censoring

2012-04-10 Thread David Winsemius
On Apr 10, 2012, at 11:48 PM, Christopher Kelvin wrote: Hello, I wish to censor 10% of my sample units of 50 from a Weibull distribution. Below is the code for it. I will need to know whether what i have done is correct and if not, can i have any suggestion to improve it? Thank you