Hi all,

I wonder if anyone is familar with IPCW model and has revelant example with stata codes to run. I have searched google whole day and unforunately i didnt find relevant useful stata codes to apply this model.

FYI- my study aims at assessing the assocation of a medication use verus non-use with incident kindey failure. I want to use IPCW to deal with competing death events. I am aware of competing-risk model but my supervisor advice me to use IPCW.

Thank you in adavance for your time.

Best regards,
Zhen