Learn R Programming

bartXViz (version 1.0.8)

census06: Census-Based Population Proportions for Covariate Bins (2006)

Description

The data frame has the following components:

  • This dataset provides population counts in covariate bins based on the 2006 U.S. Census, Each row represents a unique combination of demographic covariates within a state. A data frame with 2940 rows and 9 variables:

    stateid

    Numeric identifier for the state

    region

    Region code

    age

    Age group (1 = 18-30, 2=31-50, 3= 51-65, 4 =65+)

    gXr

    Gender and race interaction

    educ

    Education level (1 = LTHS,2 = HS,3 = Some Coll,4 = Coll+)

    pvote

    Republican presidential vote share in the previous election

    religcon

    Proportion of population identifying as religious conservatives

    libcon

    State-level ideology score (liberal to conservative)

    n

    Population count for the given covariate bin within the state

Arguments

References

Bisbee, James. "Barp: Improving mister p using bayesian additive regression trees." American Political Science Review 113.4 (2019): 1060-1065. <https://github.com/jbisbee1/BARP>