Multilevel Modeling in R Predicting NYC Vaccination Rates

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ก.พ. 2025

ความคิดเห็น • 1

  • @statsguidetree
    @statsguidetree  4 ปีที่แล้ว +1

    Here is the r code (I provide the sources used for the dataset. It may require some additional r code to best put together into one flat file):
    # Multilevel modeling is used to account for clusters in a sample.
    # One assumption of linear regression models is indpenedent errors
    # This means that there are no relationships among individuals in the
    # sample that can impact the dependent (i.e., criterion) variable.
    # Violation of this assumptions would result poor estimations of
    # standard errors.
    # Multilevel modeling is a method of isolating the differencies
    # within cluster and between clusters.
    # Multilevel modeling also allows for the assessment of level 1 along
    # with higher level independent variables (i.e., predictors) that
    # otherwise may be overlooked without multilevel modeling.
    # Interpretation of an indpendent varable is specific to its level only.
    # Data sources:
    # Demographic census data by zip code
    # www.kaggle.com/chengjhj/zipcensusdemographics?select=zip_census_demographics.csv
    # Vaccine rates ny NYC zip code as of 2/20/2021
    # www1.nyc.gov/site/doh/covid/covid-19-data-vaccines.page
    # Note. Select NYC Adults by Zip and download dashboard as crosstab
    # Borough and neighnorhood names by NYC zip code
    # www.health.ny.gov/statistics/cancer/registry/appendix/neighborhoods.htm
    # Note. Data are not available as spreadsheet.
    # load
    dem