[R] how to estimate the parameters in a bivariate weibull distribution?

2008-07-01 Thread
Hi, Dear all R experts, I could use the fitdistr() function to estimate the parameters in a univariate weibull distribution,but for the bivariate case it doesn't work. Is there a function in R to estimate the parameters in a bivariate weibull distribution, given I have a set of observations

[R] How to estimate the parameters in a bivariate weibull distribution?

2008-06-28 Thread
Hi,Dear all R experts, As far as I know, fitdistr() is only to estimate the parameters in univariate distributions. I have a set of data (x,y) and I assume it follows a bivariate weibull distribution. Could someone tell me a function in R that is suitable for parameter estimation in mult

[R] How to get the 5th percentile( with a 95% CI )of the Kaplan-meier estimator?

2008-06-28 Thread
Hi, all dear R experts, I am really stuck by how to get the 5th percentile( with a 95% CI )of the Kaplan-meier estimator of survival function P(T>t). I have a simulated sample of lifetime Ts, then I set the KM estimator < km.fit<-survfit(Surv(T),type="kaplan-meier",data=Surv(T)) https://st

[R] How to solve empty cells in the contingency table?

2008-06-24 Thread
Hi,Dear all R experts, I am trying to do the 2-way contingency table analysis by fitting the loglinear models. However, I found my table has several empty cells which are theoretically missing values.I have no idea of how to solve them coz we cannot compute the simulated p-value with zero