~/talk

Making sense of marginal effects

Talkat posit::conf(2024) · 2024-08-12..08-14· [machine-learning, data-science]
links:none on file
slides:none on file

Marginaleffects provides a single interface for 100+ model types in R and Python and demonstrates concrete workflows: use avg_comparisons to compute a lift (example: naive lift 7.5%), detect heterogeneity (desktop ≈ 11%, mobile ≈ −58%), correct sample-population bias with weights to get a revised estimate (example: −13%), and produce publication-ready figures via plot_predictions and plot_comparisons (functions return a ggplot object). Documentation and Stata-validated results accompany the package.

AI-written summary · about

  1. 0:00Introduction
  2. 1:05Clear comparisons in data science
  3. 3:35Probability vs odds in logistic regression
  4. 5:02marginaleffects package
  5. 6:27Calculating lift from A/B tests
  6. 8:58Group-specific comparisons
  7. 10:04Bias correction with weights
  8. 11:49Visualizing results
  9. 13:35Plotting lift for stakeholders
  10. 14:40Demo story
  11. 15:43Call to action
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.