2
$\begingroup$

I need to compare two weighted KM curves created by using the svykm function from the survey package. I am unable to find any resources on how compare the two curves and want to know if there is anyway to do it. The survival package has the survdiff function but it does not account for weight.

$\endgroup$
-1
$\begingroup$

You can use the svylogrank function from the survey package.

$\endgroup$

We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.