predict.emdi {povmap} | R Documentation |
Predictions from emdi Objects
Description
Method predict.emdi
extracts the direct estimates, the empirical
best linear unbiased or empirical best predictors for all domains from an
emdi object.
Usage
## S3 method for class 'emdi'
predict(object, ...)
Arguments
object |
an object of type "emdi". |
... |
additional arguments that are not used in this method. |
Details
For a better selection of prediction results, it is referred to use
the generic function estimators
. The methods for object of
class "emdi" allows to select among the indicators of interest.
Value
Data frame with domain predictors.
See Also
Examples
# Example for class ebp
emdi_model <- ebp(
fixed = eqIncome ~ gender + eqsize + cash + self_empl +
unempl_ben + age_ben + surv_ben + sick_ben + dis_ben + rent + fam_allow +
house_allow + cap_inv + tax_adj, pop_data = eusilcA_pop,
pop_domains = "district", smp_data = eusilcA_smp, smp_domains = "district",
na.rm = TRUE
)
predict(emdi_model)
[Package povmap version 1.0.1 Index]