Description Usage Arguments Value
Do the MM solving for an individual variable
1 | solve_mm_for_var(var_ind, place_id, mm_row, pums, assumption, meq = 2)
|
var_ind |
variable index of mm_row, colname should match one in PUMS. |
place_id |
unique code identifying the place |
mm_row |
dataframe of 1 row, includes place_id, puma_id, and averages, with names matching PUMS |
pums |
the subsetted PUMS from which the sample will be drawn |
assumption |
"independence" |
meq |
(number of moments + 1) to match (2 is default and corresponds to matching the average) |
x vector of length of the number of records in the PUMS. These are probabilities for each of the records in the PUMS.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.