SAEforest_agg_SIMPLE: Main function for means of MERF with aggregated data

Description Usage Arguments Value

View source: R/SAEforest_aggSIMPLE.R

Description

Main function for means of MERF with aggregated data

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
SAEforest_agg_SIMPLE(
  Y,
  X,
  dName,
  survey_data,
  Xcensus_agg,
  initialRandomEffects = 0,
  ErrorTolerance = 1e-04,
  MaxIterations = 25,
  m_try = 1,
  survey_weigths = NULL,
  too_tiny = 5
)

Arguments

Y

metric target variable

X

data.frame of covariates

dName

name of group-identifier

survey_data

survey data set

Xcensus_agg

aggregated census level covariates. Note that the first column should include the group identifier

initialRandomEffects

default set to 0

ErrorTolerance

default set to 1e-04

MaxIterations

default to 25

m_try

default set to 1

survey_weigths

default set to NULL

Value

returns object with Mean Predictions, model details and the modified dataset including weights


krennpa/SAEforestOld documentation built on Dec. 21, 2021, 7:45 a.m.