12.1 Data Set 1

Each year, the Human Rights Campaign releases a “State Equality Index” which monitors the number of LQBTQ+ rights laws in each state

  • data from the 2019 index compiled by Sarah Warbelow, Courtnay Avant, and Colin Kutney (2019).
# Load data (from the bayesrules package)
data(equality_index)
equality <- equality_index
  • Yi: number of anti-discrimination laws

    • numerical (integer) response variable
    • i{1,2,...,50}
  • Xi1: percentage urban

  • indicators Xi2 and Xi3

Xi2={1GOP0otherwiseandXi3={1swing0otherwise