survtmle icon indicating copy to clipboard operation
survtmle copied to clipboard

Observation Weights

Open adam-s-elder opened this issue 4 years ago • 4 comments

For one of the projects I am doing I was planning on using your package for one of my analyses. However, observations weights (like the weights argument of the glm function) are not yet supported. I was wondering if it would be possible to add this functionality to your package.

Thanks so much for your help!

adam-s-elder avatar May 26 '20 03:05 adam-s-elder

Thanks for the comment.

Adding weights that are known or can be estimated using nonparametric maximum likelihood would be a straightforward addition. If weights are estimated (esp. nonparametrically) using a working model, it'd be a bit more of an undertaking.

@nhejazi How bored are you during quarantine? Any interest in tackling?

benkeser avatar May 26 '20 20:05 benkeser

Thanks for the quick reply! Both are certainly useful. For me, the weights would be known.

adam-s-elder avatar May 26 '20 23:05 adam-s-elder

Sounds like an interesting addition; thanks for the request @Shmelder. I'm happy to look into this @benkeser.

nhejazi avatar May 28 '20 19:05 nhejazi

Thank you!

adam-s-elder avatar May 29 '20 20:05 adam-s-elder