Hello! This is my first post.
I am Stata beginner.
Using Program: Stata 13.0.
Method: GEE
Data: 5waves (unbalnaced)
Obs: 27,246
Situation:
1) My data has missing values (0.01%~2.96%)
2) I did Little’s MCAR test => result : not MCAR
3) So I did multiple imputations. => I made it.
mi set mlong
mi register imputed health1stclf i.caretran health1stclb i.edub i.genderb agerealb sposatb i.workb i.religionynb i.catime_w_binab lifehabitb i.yearf
mi impute mvn health1stclf i.caretran health1stclb i.edub i.genderb agerealb sposatb i.workb i.religionynb i.catime_w_binab lifehabitb i.yearf
Problem:
1) I tried to do QIC after multiple imputations to find good working correlation.
* DV: health1stclf
xi: qic health1stclf i.caretran health1stclb i.edub i.genderb agerealb sposatb i.workb i.religionynb i.catime_w_binab lifehabitb i.yearf, i(pid) j(time) family(gaussian) link(identity) corr(independent)
* I got error message
no; data are mi set
Use mi xtset to set or query these data; mi xtset has the same syntax as xtset.
Perhaps you did not type xtset. Some commands call xtset to obtain information about the settings. In that case, that
command is not appropriate for running directly on mi data. Use mi extract to select the data on which you want to run the
command, which is probably m=0.
r(119)
///////
2) So, I tried again in this way
mi estimate: qic health1stclf i.caretran health1stclb i.edub i.genderb agerealb sposatb i.workb i.religionynb i.catime_w_binab lifehabitb i.yearf, i(pid) j(time) family(gaussian) link(identity) corr(independent)
But I got an error message again.
mi estimate: command not supported
qic is not officially supported by mi estimate; see mi estimation for a list of Stata estimation commands that are
supported by mi estimate. You can use option cmdok to allow estimation anyway.
r(198);
/////////////////
Are there any ways to use QIC for multiple imputations-gee?
Or how can I find "goodness of fit" for working correlation for imputated dataset?
Many thanks for your advice.
Related Posts with GEE (working correlation, multiple imputation)
Number of days since 1/1/1960.Ciao, Say I have data on the month (january, february) and year (1951, 1952) that individuals have b…
Test for statistical significance on a cumulative treatment effect as oppose to a mean treatment effectHi apologies I have a very basic question. I haven't used STATA ina while just getting back into it …
Table with correlation between two variables for each countryHello, I would like to create a table with the correlation between public investment and public deb…
Understanding xtabond2 and ixtivreg2Hello, Another question from my side, this time pertaining to GMM models. I am looking at the code …
testing coefficients within groups after a PSM diff-in-diffI'm using Stata 14 with Windows 10 OS. I'm running PSM diff-in-diff using command diff. I'd like to…
Subscribe to:
Post Comments (Atom)
0 Response to GEE (working correlation, multiple imputation)
Post a Comment