Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

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


From   Richard Williams <[email protected]>
To   [email protected], statalist2 <[email protected]>
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 more information than groupB. I would like to use the chi-square test in order to show that the differences in the answers by group1 compared to those of group2 are either due to randomness or either by the fact one group answered differently based on the fact the had more information starting with.

Each question has a choice of 5 possible answers (from 1 to 5) and I have generated one single variable for each question. e.g. "Q1" "Q2" "Q3"

I tried dividing each question into 2 new variables by their respective groups. e.g.: Q1A & Q1B But when I -tab Q1A Q1B, chi2- I get no observation, maybe since students are either in group A or in group B but can't be in both

Any 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:  [email protected]
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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index