Creates subnational estimates based on the weighted frequence of each subgroup based on their joint probabilities

1 2 |

`survey_data` |
A survey data frame |

`jointp_list` |
A data frame containg the weighted frequency of each strata |

`individualvars` |
variables used in mixed effects formula that will have random intercepts |

`groupingvars` |
variables used in mixed effects formula that serve as state-level grouping vars and do not have random intercepts |

`response` |
The response/outcome variable on which to regress |

`survey_sample` |
Total amount to sample from surve_data |

`weights` |
Weights to be used in the bglmer |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.