Re: [R] Interval censored Data in survreg() with zero values!

2009-01-12 Thread Geraldine Henningsen
Hello again, I studied your suggestion but still I disagree. You wrote: From the way you wrote the problem I assumed that there is some number of n looks at the subject and then you count them up. But this is not the case. My data is clearly continuous quantities and no discrete choices. I

Re: [R] Interval censored Data in survreg() with zero values!

2009-01-06 Thread Geraldine Henningsen
Terry Therneau schrieb: Apologies -- you are being more subtle than I thought. Nevertheless, I think that the censoring language isn't quite right. You are thinking of a hierarchical model: z ~ N(Xb, sigma), where Xb is the linear predictor, whatever covariates you think

[R] [Fwd: Re: Interval censored Data in survreg() with zero values!]

2009-01-02 Thread Geraldine Henningsen
---BeginMessage--- Apologies -- you are being more subtle than I thought. Nevertheless, I think that the censoring language isn't quite right. You are thinking of a hierarchical model: z ~ N(Xb, sigma), where Xb is the linear predictor, whatever covariates you think belong in the

Re: [R] Interval censored Data in survreg() with zero values!

2008-12-30 Thread Geraldine Henningsen
--begin included - My endogenous variable is not a time depending variable but percentages which naturally are censored in the interval [0,100]. Unfortunately many data points are 0 or 100 exactly. The rest of the data is asymmetrically distributed. So I would like to apply a two-limit

Re: [R] Interval censored Data in survreg() with zero values!

2008-12-26 Thread Geraldine Henningsen
Hello again, thank you very much for your help so far. To be more specific, I generate a simplified data set that is similar to my real world data: set.seed( 123 ) data - data.frame( x = runif( 200 ), y = NA ) for( i in 1:200 ){ data$y[ i ] - rweibull( 1, 1, 70 + 10 * data$x[ i ] ) - 30 }

[R] Interval censored Data in survreg() with zero values!

2008-12-23 Thread Geraldine Henningsen
Hello, I have interval censored data, censored between (0, 100). I used the tobit function in the AER package which in turn backs on survreg. Actually I'm struggling with the distribution. Data is asymmetrically distributed, so first choice would be a Weibull distribution. Unfortunately the