belfagor71
01-22-2011, 07:34 AM
Hey everyone!
I am rather new to stata, I have to work with a lot of data and it gets sometimes very confusing.
I have a huge data set sample from a country and I would like to look at how school participation changes according to gender and to income.
I first have to start with some descriptive stats.
As I am interested in attendance at the secondary level, I initially kept only people aged between 10 and 16.
keep if age > = 10 & age < = 16
then
keep if monthly_consumption < = 3200
and then I saw the number of girls and boys attending the secondary school.
the number of girls is lower but it is also true that the number of girls in the sample population is lower than that one of male.
Despite that, there could still be a significant difference between the mean of poor girls attending secondary school if compared with that one of poor boys.
The problem is I am not quite sure how to put all this together to run a chi square test.
Really need your help!
thanks a lot!
belfagor
I am rather new to stata, I have to work with a lot of data and it gets sometimes very confusing.
I have a huge data set sample from a country and I would like to look at how school participation changes according to gender and to income.
I first have to start with some descriptive stats.
As I am interested in attendance at the secondary level, I initially kept only people aged between 10 and 16.
keep if age > = 10 & age < = 16
then
keep if monthly_consumption < = 3200
and then I saw the number of girls and boys attending the secondary school.
the number of girls is lower but it is also true that the number of girls in the sample population is lower than that one of male.
Despite that, there could still be a significant difference between the mean of poor girls attending secondary school if compared with that one of poor boys.
The problem is I am not quite sure how to put all this together to run a chi square test.
Really need your help!
thanks a lot!
belfagor