13.5 Plotly: Visualizing statistical results

13.5.1 Dotplots & error bars

13.5.2 Exercise: Dotplots & error bars

  1. Use the code below to generate a categorical variable that has three values depending on the share of catholics.
  2. Build three subsets (new datasets) of the dataset according to this variable.
  3. For all 3 subsets generate coefficient plots with Fertility as outcome variable and Agriculture, Examination, Education as explanatory variables.
  4. Visualize those coefficient plots as small multiples (make the graph publicaton ready!).