View source: R/saeplus_modelsubarea.R
| saeplus_modelsubarea | R Documentation | 
This function takes as inputs the geospatial census of remote sensing data, a geocoded household survey with welfare aggregates and then estimates the empirical best predictor of the poverty rate.
saeplus_modelsubarea( hhsurvey_dt, geopolycensus_dt, geopoly_id, size_hh, geopopvar, wgt_vartype, weight, cons_var, pline, cand_vars )
| hhsurvey_dt | an object of class "sf" and "data.table/data.frame" representing the household unit level data with welfare variable | 
| geopolycensus_dt | an object of class sf, data.table and/or data.frame containing polygon/multipolygon geometries and geospatial indicators | 
| geopoly_id | a string/character variable representing the polygon ID within geopolycensus_dt | 
| size_hh | an integer/numeric for household size variable within the hhsurvey_dt object | 
| geopopvar | a character string for the population count variable name in the geopolycensus_dt | 
| wgt_vartype | a character string representing the weighting type in hhsurvey_dt. The options could be "hh", "pop" i.e. households vs population weights. | 
| weight | a numeric/integer weight variable found within the hhsurvey_dt | 
| cons_var | the dependent variable for small area estimation (typically household per capita consumption) | 
| pline | the national poverty line (ensure the same units as cons_var) | 
| cand_vars | a character vector of candidate explanatory variables to be included in the model selection process | 
| target_id | a character string representing an integer column vector for the admin level at which small area estimates will be computed for the poverty map | 
| ncpu | the number of CPUs for parallelizing the small area estimation algorithm | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.