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 each pair, then how to incorporate this weight into a Cox model. I also checked the "clogit" function in survival package, it seems suitable to the logistic model for the matched data with replacement, rather than Cox model. Because it sets the time to a constant. Anyone can give me some suggestions?
[[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.