Statalist The Stata Listserver


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

RE: st: Testing differences for a binary variable


From   "Gauri Khanna" <[email protected]>
To   [email protected]
Subject   RE: st: Testing differences for a binary variable
Date   Tue, 30 Jan 2007 15:31:50 +0000

Claude,

You might want to try -tabulate var1 var2, column chi2- where -column-just gives you the percentage shares that responded as 0 and 1.

Regards,


Gauri


From: Claude Francoeur <[email protected]>
Reply-To: [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/
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/

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