Hi All,
I'm using the built in Stata command -sts test- to perform a log-rank test for the equality of my survivor functions in a Kaplan Meier plot. However, is there a way to adjust this test to account for clustered data?
In a Cox-proportional hazards model, for example, I can simply specify -vce(cluster clustervar)- as an option in the -stcox- command, where clustervar is my cluster indicator variable.
I have looked at the -strata()- option within the -stcox- command, but I'm not sure this is appropriate as I have a lot of clusters, approx. 100.
Thanks,
Rob.
I'm using the built in Stata command -sts test- to perform a log-rank test for the equality of my survivor functions in a Kaplan Meier plot. However, is there a way to adjust this test to account for clustered data?
In a Cox-proportional hazards model, for example, I can simply specify -vce(cluster clustervar)- as an option in the -stcox- command, where clustervar is my cluster indicator variable.
I have looked at the -strata()- option within the -stcox- command, but I'm not sure this is appropriate as I have a lot of clusters, approx. 100.
Thanks,
Rob.
Comment