Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: k-sample tests for differences in proportions


From   Richard Williams <[email protected]>
To   [email protected]
Subject   Re: st: k-sample tests for differences in proportions
Date   Wed, 05 Nov 2003 09:06:39 -0500

At 10:37 PM 11/5/2003 +0900, Joseph Coveney wrote:
How about -glm-? See the do-file below for how. The example is artificial,
but it shows how to use -glm- followed by -test- to do exactly what you want.
If you want to adjust for multiple comparisons, Stata can do that, too. -help
test- Also, just as an aside, consider performing logistic regression
(examining odds ratios, using link(logit)) in lieu of testing differences in
proportions.

Joseph Coveney
Nice example Joseph. What, if anything, would be the difference between using GLM in this case and using Logistic regression?

-------------------------------------------
Richard Williams, Associate Professor
OFFICE: (574)631-6668, (574)631-6463
FAX: (574)288-4373
HOME: (574)289-5227
EMAIL: [email protected]
WWW (personal): http://www.nd.edu/~rwilliam
WWW (department): http://www.nd.edu/~soc

*
* 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