LoslegenKostenlos loslegen

Odds-ratios & confidence intervals in the Tidyverse

The broom package in the Tidyverse give us a powerful tool, tidy(), for extracting coefficients and making them readable. More specifically, it allows us to extract the coefficients, as well as the confidence intervals, and exponentiate the outputs. Confidence intervals are another approach for statistical inference. If the confidence intervals for odds-ratios do not include 1, the corresponding coefficient is statistically different than 1. During this exercise, you will use tidy() to extract the 95% confidence intervals from the bus model in the previous exercises.

Diese Übung ist Teil des Kurses

Generalized Linear Models in R

Kurs anzeigen

Interaktive Übung

Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.

# Exponentiate the results and extract the confidence intervals of bus_out with tidy()
___
Code bearbeiten und ausführen