Statalist The Stata Listserver


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

st: Testing differences for a binary variable


From   Claude Francoeur <[email protected]>
To   [email protected]
Subject   st: Testing differences for a binary variable
Date   Tue, 23 Jan 2007 14:02:13 -0500

Hello,

I am using the scheffe option to compare means of a continuous variable 
(drink) for several groups (year in college):

oneway drink year, tabulate scheffe

This option is great. It produces a table showing means and P-values for all 
combinaison of groups.


What would be the correct command to compare a dichotomic variable (say 
heavy drinker vs occasional drinker) for the same groups (year in college) ? 
I need to get frequencies and chi2 contributions in a table, for every 
possible group comparisons.

Thank you,

Claude 

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