Notice: On March 31, it was **announced** that Statalist is moving from an email list to a **forum**. The old list will shut down at the end of May, and its replacement, **statalist.org** is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

From |
Richard Williams <richardwilliams.ndu@gmail.com> |

To |
statalist@hsphsun2.harvard.edu, statalist2 <statalist@hsphsun2.harvard.edu> |

Subject |
Re: st: chi square test for 2 independent variab lesþ |

Date |
Thu, 28 Jul 2011 16:47:50 -0500 |

At 03:30 PM 7/28/2011, Jonathan Grondin wrote:

Hi there, I am trying to run a -chi2- chi-square test for two independent samples.I ran a test on two groups of students, groupA having moreinformation than groupB. I would like to use the chi-square test inorder to show that the differences in the answers by group1 comparedto those of group2 are either due to randomness or either by thefact one group answered differently based on the fact the had moreinformation starting with.Each question has a choice of 5 possible answers (from 1 to 5) and Ihave generated one single variable for each question. e.g. "Q1" "Q2" "Q3"I tried dividing each question into 2 new variables by theirrespective groups. e.g.: Q1A & Q1BBut when I -tab Q1A Q1B, chi2- I get no observation, maybe sincestudents are either in group A or in group B but can't be in bothAny idea how I could solve this problem ?

Shouldn't the variables be Q1 and Group? ------------------------------------------- Richard Williams, Notre Dame Dept of Sociology OFFICE: (574)631-6668, (574)631-6463 HOME: (574)289-5227 EMAIL: Richard.A.Williams.5@ND.Edu WWW: http://www.nd.edu/~rwilliam * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/

**References**:**st: chi square test for 2 independent variables***From:*Jonathan Grondin <jomatrix65@hotmail.com>

- Prev by Date:
**st: Question about graph bar** - Next by Date:
**Re: st: Question about graph bar** - Previous by thread:
**st: chi square test for 2 independent variables** - Next by thread:
**st: Question about graph bar** - Index(es):