Re: [R] Cox regression model for matched data with replacement

2014-08-13 Thread Therneau, Terry M., Ph.D.
On 08/13/2014 05:00 AM, John Purda wrote: I am curious about this problem as well. How do you go about creating the weights for each pair, and are you suggesting that we can just incorporate a weight statement in the model as opposed to the strata statement? And Dr. Therneau, let's say I

Re: [R] Cox regression model for matched data with replacement

2014-08-13 Thread Therneau, Terry M., Ph.D.
Ok, I will try to do a short tutorial answer. 1. The score statistic for a Cox model is a sum of (x - xbar), where x is the covariate vector of the subject who had an event, and xbar is the mean covariate vector for the population, at that event time. - the usual Cox model uses the mean of

Re: [R] Cox regression model for matched data with replacement

2014-08-13 Thread Therneau, Terry M., Ph.D.
On 08/13/2014 08:38 AM, John Pura wrote: Thank you for the reply. However, I think I may not have clarified what my cases are. I'm studying the effect of radiation treatment (vs. none) on survival. My cases are patients who received radiation and controls are those who did not. I used a

Re: [R] Cox regression model for matched data with replacement

2014-08-12 Thread John Pura
I am curious about this problem as well. How do you go about creating the weights for each pair, and are you suggesting that we can just incorporate a weight statement in the model as opposed to the strata statement? And Dr. Therneau, let's say I have 140 cases matched with replacement to 2

[R] Cox regression model for matched data with replacement

2014-06-23 Thread wong jane
My problem was how to build a Cox model for the matched data (1:n) with replacement. Usually, we can use stratified Cox regression model when the data were matched without replacement. However, if the data were matched with replacement, due to the re-use of subjects, we should give a weight for

Re: [R] Cox regression model for matched data with replacement

2014-06-23 Thread Therneau, Terry M., Ph.D.
On 06/23/2014 05:00 AM, r-help-requ...@r-project.org wrote: My problem was how to build a Cox model for the matched data (1:n) with replacement. Usually, we can use stratified Cox regression model when the data were matched without replacement. However, if the data were matched with