[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: t-test command for simple cross-tabs
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.
On Tue, 25 May 2004 13:55:32 -0500 Richard Williams wrote:
> At 11:44 AM 5/25/2004 -0700, email@example.com wrote:
> >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!
> I'm probably showing my ignorance here, but what do you want to do a
> 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
> http://www.nd.edu/~rwilliam/stats1/Categorical-Stata.pdf. 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): 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/
* For searches and help try: