mlwinfitMCMC object fitted values (propensity scores) storage
Posted: Tue Jan 23, 2024 2:21 am
I fitted a 2-level binomial model using mcmc. I want to apply predisposition score matching with calculated probability.
How can I convert mlwinfitMCMC fitted propensity scores (the predicted prob of Y for all obs) to numeric objects?
Base R commands are simple: p < model$fitted.values
How can I convert mlwinfitMCMC fitted propensity scores (the predicted prob of Y for all obs) to numeric objects?
Base R commands are simple: p < model$fitted.values