saeplus_selectmodel: Select Model for Small Area Estimation

View source: R/saeplus_selectmodel.R

saeplus_selectmodelR Documentation

Select Model for Small Area Estimation

Description

This function performs model selection assuming data obtained from Open Street Maps, Google Earth Engine and other sources from which the SAEplus package functions pull and process geospatial data

Usage

saeplus_selectmodel(dt, outcomevar, xvars, drop_NA_tags = TRUE)

Arguments

dt

object of class data.table or data.frame

outcomevar

character vector of size 1 naming the outcome variable

xvars

the set of explanatory variables to be selected from

drop_NA_tags

if TRUE, variable names with "NA" in the names are dropped

Value

a list summarizing the lasso regression output as well as the set of coefficients


SSA-Statistical-Team-Projects/SAEplus documentation built on Aug. 24, 2022, 11:26 a.m.