[R] Extracting parameters for Gamma Distribution

2006-11-07 Thread yongchuan
frailty, how do I extract the rate and scale parameters for the different gamma distributions fit to each group? Thanks. Yongchuan __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

Re: [R] Error when naming rows of dataset

2006-10-25 Thread yongchuan
8.7 2.9 12 13 0 2226.0825 8.7 2.1 13 14 0 2226.0825 8.7 From: Michael Dewey [EMAIL PROTECTED] Date: Wed 25/10/2006 6:38 PM SGT To: yongchuan [EMAIL PROTECTED], r-help@stat.math.ethz.ch Subject: Re: [R] Error when naming rows of dataset

[R] Incorrect 'n' returned by survfit()

2006-10-25 Thread yongchuan
median 0.95LCL 0.95UCL 115 15 Inf Inf Inf Is there a limit to the size of the data set that I read in? Or am I just doing something silly above? Thanks much. Yongchuan (this is the coxph regression: resultag - coxph(Surv(Start,Stop,PrepayDate)~modBalance + closingCoupon

[R] Error when naming rows of dataset

2006-10-24 Thread yongchuan
I get the following error when I try reading in a table. How are 1.1, 1.2, 1.3 duplicate row names? Thx. table - read.table('latestWithNumber.txt', header=T) Error in row.names-.data.frame(`*tmp*`, value = c(1.1, 1.2, 1.3, : duplicate 'row.names' are not allowed Yongchuan

[R] Construction of Dataset for time varying COXPH analysis

2006-10-23 Thread yongchuan
Question: When survfit() function is used upon a coxph object, the 'n' returned is vastly smaller (n=6) than the number of distinct loans in the dataset used. I am trying to estimate a Cox proportional hazards model for a set of loans (over 6000) using using time varying covariates. For this