Hi there,
I am estimating propensity scores using logistic regression on an imputed dataset (M=10). I want to estimate propensity scores for each imputation separately then combine the propensity scores to get the overall average. However I'm having some issues with estimating the propensity scores for each imputation in STATA version 16. Is there another method of obtaining propensity scores for each imputation?
Please see my code below and error message I'm getting:
mi estimate, i(1): logistic assessed_psych gender agegroup curtreat pretreat prev_selfharm
imputations() must contain at least 2 and at most M=10 integer numbers between 1 and 10
r(122);
predict propensity_m1
Many thanks.
Related Posts with Estimating propensity scores after multiple imputation
Log transforming variablesTwo questions related to log transforming variables. I understand that we would want to log transfo…
How to assess if there is enough variation in your dependent variableIs there a simple way to assess if there is enough variation in your dependent variable, or is it be…
Change in variance time seriesHi everyone, I am analysing a time series (stock returns) and I am trying to check whether variance…
xtivreg , first failes with "conformability error" r(503)Dear Readers xtivreg without "first" runs fine, but fails when I add the "first" option with "confo…
Comparing two datasets by two variablesHi, I am very new to stata. I have x1, y1, z variables in data1.dta and x2, y2, N in data2.dta. I a…
Subscribe to:
Post Comments (Atom)
0 Response to Estimating propensity scores after multiple imputation
Post a Comment