Hello:
I am currently working on class project using the Bureau of Justice Statistics Census 2005. I am investigating the relationship the affects of the racial diversity of full-time security staff and inmate violence. I would like to combine black and Hispanic security staff into a single variable. Then create another variable that is a ratio of black and Hispanics to whites (i.e., BandH:W). I will do repeat the same process for inmates, as well.
I have created a variable that combines black and hispanic groups for full-time security staff:
Cheers
I am currently working on class project using the Bureau of Justice Statistics Census 2005. I am investigating the relationship the affects of the racial diversity of full-time security staff and inmate violence. I would like to combine black and Hispanic security staff into a single variable. Then create another variable that is a ratio of black and Hispanics to whites (i.e., BandH:W). I will do repeat the same process for inmates, as well.
I have created a variable that combines black and hispanic groups for full-time security staff:
- gen fts_BandH = ft_s_bl + ft_s_hisp
- gen fts_BandH_W= fts_BandH : ft_s_w
- Error message reads, " fts_BandH:ft_s_w invalid name"
- ratio fts_BandH_w: fts_BandH/ft_s_w
Cheers
Comment