Hello, how do I create a proportion variable that is based on an indicator variable. For example, I have the total number of teachers within each school and I want the proportion of teachers who have a BA or higher for each school. I would like to generate a new variable for this. Any advice is appreciated. Thank you.
↧