Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

N (x%) individuals' last names were not matched. #105

Open
31YY88 opened this issue Jul 12, 2023 · 4 comments
Open

N (x%) individuals' last names were not matched. #105

31YY88 opened this issue Jul 12, 2023 · 4 comments

Comments

@31YY88
Copy link

31YY88 commented Jul 12, 2023

Hi,

First of all, thank you for creating this amazing package! I have a question about the predict_race function. When I use it, I sometimes get a message saying "N (x%) individuals' last names were not matched." Is there a way to identify which last names were not matched?

I also noticed that all observations received some race probability and none were dropped. What are the probabilities that the observations with the unmatched last names receive? Are they based on the distribution of the population or on the probability of the race based on the other variables (gender, first-middle name)?

Thank you for your hard work and for creating such a useful tool!

@1beb
Copy link
Collaborator

1beb commented Oct 10, 2023

This is related to #100. I think a good idea would be to add a parameter to "return unmatched" and provide a flag at the end of the returned data that is a boolean identifying they were matched or not to the names data. I'm not sure which probabilities are applied here. I'll double check that, but generally I think imputation of the mean probs for the geographical level would be appropriate if it's not already being done - including a notification to the end-user that this is happening.

@1beb
Copy link
Collaborator

1beb commented Dec 8, 2023

@mdblocker Can you look at this one? It should be the same as fixing the problem with missing geos and just returning what's missing.

@31YY88
Copy link
Author

31YY88 commented Sep 19, 2024

Any update on this one?

@gracehartley
Copy link

Any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants