Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: ssm wrapper and population weights


From   A Das <[email protected]>
To   [email protected]
Subject   st: ssm wrapper and population weights
Date   Thu, 28 Sep 2006 09:58:36 -0700 (PDT)

Hi all, 
   I'm trying to use the new ssm wrapper (Stata
Journal (2006), 6, 3, pp. 285-308) to fit a logit
model with a single endogenous dummy. The model does
not work when I include population weights (although
it should: p.292), but works when I do not. Here's the
model and the error message:


ssm emoprobb age harassd puberty11 firstvi ktouch
usborn2 if xf==1 [pweight=rweight], s(harassd = age
edimp milserved) adapt q(16)  family(binom)
link(logit)

; invalid name
r(198);

Again, the same model runs properly when I remove the
population weights. Any help would be greatly
appreciated. Thanks. 
                -Aniruddha Das




__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index