At 09:34 PM 4/26/2009, Bert Jung wrote:
Thanks Richard, much appreciated. Here an example code to play with;
the p-values are very close in most cases I tried.
That is what I would expect. For completeness, at the end of your
code you can add
tab2 y x, chi2 lrchi2 exact
For svy analysis, it is useful to recognize that many problems can be
recast as an ols regression or logit problem. If you know how to do
that, then using svy: logit or svy: regress may be easier than
hunting around for another svy command that will do what you
want. For your original question, there may be some way to do it
other than by using svy: logit, but if so I don't happen to know what it is.
-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
HOME: (574)289-5227
EMAIL: [email protected]
WWW: http://www.nd.edu/~rwilliam
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/