Hello
I have one problem, I need to create a new variable:
I have a dataset with the id of groups of students, the name of each integrate and if the student is female (=1) or not (=0)
I need to know two things:
1. groups with at least one women in each group and
2. groups with only formed by women
You have any ideas how can I do that?
Related Posts with Generate new variable by groups
IV first stage regressionHi, I was asked to do the first stage (only) in IV regression and then get a table about it. Here ar…
Check whether -moremata- is installedWhen writing .do-files which make use of user written commands, first I check whether these programs…
Where do I find elemapi.dta ?I'm learning to do regression analysis with Stata following the link here : https://stats.idre.ucla.…
Reshape error: variable id does not uniquely identify the observationsDear All, I am trying to use the reshape command on the data attached, but I keep receiving this er…
egen and mean help neededDear all, I am dealing with a micro data where I have around 100000 observations from 81 cities abou…
Subscribe to:
Post Comments (Atom)
0 Response to Generate new variable by groups
Post a Comment