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

Re: st: t-test command for simple cross-tabs

Subject   Re: st: t-test command for simple cross-tabs
Date   Tue, 25 May 2004 12:57:52 PDT

Hi Richard, 
Thank you so much for your response.  It is my understanding that a
chi-square test can tell me if the relationship between two variable is
significant, lets say region (ne, mw, w, s) and age cateories (19-29,
30-34, 35+).  The chi-square refers to whole variables, and the t-test is 
based on the categories, such as proportion in a cell (means or
percentages).  So, I might want to know if there are significant
differnences in age for those who live in the NE versus the South.

I know of a free software package that calculates my t-tests (STATS), but 
I'm not sure how to make STATA do it.   I was unable to reach the url
that you indicated, so I am not sure if my email is redundant.  If you
have any further comments, I would love to hear them.

Many thanks!

On Tue, 25 May 2004 13:55:32 -0500 Richard Williams wrote:

> At 11:44 AM 5/25/2004 -0700, wrote:
> >Hello,
> >
> >I am just trying to find out the command to conduct a t-test for a simple
> >crosstab, such as gender by occupational status. I know there is a simple
> >command for the chi-square test, wihc is just an option for the tabulate
> >command, but I have not found an option for a t-test.
> >
> >Thanks for your help!
> >Claudia
> I'm probably showing my ignorance here, but what do you want to do a
> t-test 
> of, and how would it differ from what the chi-square test tells you?  In 
> the special case of 2 X 2 tables, it is possible to do a z-test using the 
> -prtest- command; see p. 7 of 
>  Is that
> what you 
> want, or do you have something else in mind?  If occupational status is a 
> continuous variable, you could of course just use the t-test command.
> -------------------------------------------
> Richard Williams, Notre Dame Dept of Sociology
> OFFICE: (574)631-6668, (574)631-6463
> FAX:    (574)288-4373
> HOME:   (574)289-5227
> EMAIL:  Richard.A.Williams.5@ND.Edu
> WWW (personal):
> WWW (department):
> *
> *   For searches and help try:
> *
> *
> *

*   For searches and help try:

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