Hello,
I am fitting an outcome model with IPTW as follows:
outcomeModel <- fitOutcomeModel(population = ps, modelType = “cox”, inversePtWeighting = TRUE)
and it seems that the estimated effect remains unchanged for various ps$propensityScore values. Looking at fitOutcomeModel’s code, it seems that informativePopulation$weight is calculated, but never used … or perhaps I’m missing something?
Thanks!