Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • combine imputed dataset to do coarsened matching

    Dear All,

    I encountered a problem when I tried to combine imputed dataset for coarsened matching.

    First, I used MICEto get 10 imputed datasets.

    mi set mlong
    mi register imputed mathhw leadership engsec speced
    mi impute chained (pmm,knn(5))mathhw leadership engsec speced =F1TXMSTD bytxmstd BYSES1 F1MATHSE sex pmt pms urban ownership stech, add(10) rseed (53421)

    Second, I saved the datasets respectively.
    forval i=1/10 {
    preserve
    mi extract `i'
    save imp`i',replace
    restore
    }

    Third, I followed Blackwell,Iacus King and Porro's instruction and ran the following code

    cem bytxmstd BYSES1QU mathhw F1MATHSE (0,-0.755,-.013,.746,1.811) engsec speced sex leadership ( 1.671834, 2.882461,3.535442, 3.646471) if tpmt2!=.,treatment(tpmt2) miname(imp) misets(10)

    After running the code, I encountered the following problem.
    Click image for larger version

Name:	problem2.png
Views:	1
Size:	8.1 KB
ID:	1419642




    I would appreciate it if you can give some tips for troubleshooting the problem. The paper I refer to can be seen here https://gking.harvard.edu/files/cem-stata.pdf. The following link also includes the dataset containing all the imputed datasets https://www.dropbox.com/sh/9jr29v3cu...vismlIaGa?dl=0


    Last edited by Eric Han; 25 Nov 2017, 14:59.

  • #2
    6 months later and I am facing the exactly same error code, after conducting the same steps 1 and 2. Does someone know what causes this issue?

    Comment

    Working...
    X