[R] How to obtain "doubly robust" means and SEs for different levels of a factor in R?

2013-10-03 Thread Andrew Kemp
use of: >svyby(X ~ Y + a + b + c, svymean, design=design.ps) is extremely inefficient (and I am yet to obtain an estimate). Many thanks, Andrew Kemp University of Sao Paulo [[alternative HTML version deleted]] __ R-help@r-project.org mai

[R] error when using ps() function on categorical variables - re propensity score matching

2013-09-25 Thread Andrew Kemp
Dear List, I am having difficulty running the ps() function when variables are stored as factors and was hoping someone could provide some advice on how to proceed. I am running propensity score matching as outlined in: Greg Ridgeway, Dan McCarey, Andrew Morral, Lane Burgette and Beth A