Hi Emily, 

Unfortunately, you'll have to drop the missing observations from the data set using "drop if malaria_test8tomiss !=." There is currently a bug in the "if" statement. Hope that helps!

Cheers,
Matt

~~~~~~~~~~~
Matthew Blackwell
Assistant Professor of Political Science
University of Rochester
url: http://www.mattblackwell.org



On Thu, Mar 27, 2014 at 1:11 PM, Emily White Johansson <emily.johansson@kbh.uu.se> wrote:
I received the same error message as discussed in this thread. I tried to delete missing values in the treatment variable, as suggested, but I still get the same error message.  See below. Any suggestions? Thanks, Emily

 cem childage (6 12 60) cem_mateduc (#0) urb_rur id_country (#0) if malaria_test8tomiss !=., treatment(malaria_test8tomiss)

Matching Summary:
-----------------
Number of strata: 56
Number of matched strata: 22

             0    1    .
      All  775  404  528
  Matched  626  322  437
Unmatched  149   82   91

             imbalance():  3258  <tmp>[1,1] found where void required
                 <istmt>:     -  function returned error
r(3258);

-
--
cem Mailing List, served by HUIT
Send messages: cem@lists.gking.harvard.edu
[un]subscribe Options: https://urldefense.proofpoint.com/v1/url?u=http://lists.gking.harvard.edu/?info%3Dcem&k=p4Ly7qpEBiYPBVenR9G2iQ%3D%3D%0A&r=jLgdG6f%2BQq4pzHWI0S37ROhc5Jfy9q9oKEsPDdQXskc%3D%0A&m=n1DNehALYyMYbGQH0O4blabXwGArWdXxGgcRMJoD0OA%3D%0A&s=acc25090bf2b175291c1eaf336f3842e251f0678fa23cbb35a71e449f75e96c5
More information on cem: https://urldefense.proofpoint.com/v1/url?u=http://gking.harvard.edu/cem&k=p4Ly7qpEBiYPBVenR9G2iQ%3D%3D%0A&r=jLgdG6f%2BQq4pzHWI0S37ROhc5Jfy9q9oKEsPDdQXskc%3D%0A&m=n1DNehALYyMYbGQH0O4blabXwGArWdXxGgcRMJoD0OA%3D%0A&s=fcb2535378a3928daa797205fbd229766cba0603ecda22b973ce2e358aa6d92c
Cem mailing list
Cem@lists.gking.harvard.edu

To unsubscribe from this list or get other information:

https://urldefense.proofpoint.com/v1/url?u=https://lists.gking.harvard.edu/mailman/listinfo/cem&k=p4Ly7qpEBiYPBVenR9G2iQ%3D%3D%0A&r=jLgdG6f%2BQq4pzHWI0S37ROhc5Jfy9q9oKEsPDdQXskc%3D%0A&m=n1DNehALYyMYbGQH0O4blabXwGArWdXxGgcRMJoD0OA%3D%0A&s=d1b8bdcb9f13d878b66d3293632b357ef589cc60c05404eb493945ebfd17791f