Categorical data disproportionality

Hi, I am doing a criminology research and I need to make sure that the data I have represent the right proportions. I'll explain: I have race (ethnicity) that I`m comparing to worry about being victims of a burglary. But the amount of white people that answered the survey is the wast majority of respondents. Of course, when I try to plot the bivariate analysis it looks as if white people are more worried, by a lot. I need to plot the answers so that it shows the disproportionality of the data. Thank you

Hi, and welcome!

Please see the FAQ: What's a reproducible example (`reprex`) and how do I do one? Using a reprex, complete with representative data will attract quicker and more answers.

It's difficult to answer this in the abstract, because it depends on the data so much.

If you have geocoding of survey respondents in the US you can use tidycensus or another package to get population characteristics. For example, in some data I've worked with, the white, non-hispanic population serves as a useful marker. You would then be able to demographically weight as group/total. Also see the CRAN Task View for packages that may have useful tools for this.

1 Like

Thank you, I will give it a try

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.