juliasilge / juliasilge.com

My blog, built with blogdown and Hugo :link:
https://juliasilge.com/
40 stars 27 forks source link

Introducing tidylo | Julia Silge #39

Open utterances-bot opened 2 years ago

utterances-bot commented 2 years ago

Introducing tidylo | Julia Silge

Today I am so pleased to introduce a new package for calculating weighted log odds ratios, tidylo. Often in data analysis, we want to measure how the usage or frequency of some feature, such as words, differs across some group or set, such as documents.

https://juliasilge.com/blog/introducing-tidylo/

lyons7 commented 2 years ago

I have a question about the interpretation of the weighted log odds themselves. Can you say things like, "In the 1960s, the name Lisa was ~300 times more likely compared to all other names in the corpus of names"?

juliasilge commented 2 years ago

Unfortunately not. 😔 I talk about this in the documentation here:

The weighted log odds computed by this function are also z-scores for the log odds; this quantity is useful for comparing frequencies across sets but its relationship to an odds ratio is not straightforward after the weighting.