[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: -ttest- or -prtest-?

From   Richard Williams <>
To   "" <>, "" <>
Subject   Re: st: -ttest- or -prtest-?
Date   Sun, 26 Apr 2009 23:04:58 -0500

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:  Richard.A.Williams.5@ND.Edu

*   For searches and help try:

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