summary.lframe {mpitbR}R Documentation

Summary function of the estimates of the cross-sectional AF measures

Description

Summary function of the estimates of the cross-sectional AF measures

Usage

## S3 method for class 'lframe'
summary(object, ...)

Arguments

object

the "lframe"-class object

...

other arguments

Details

The summary method for "lframe"-class objects with coefficients, standard errors and the corresponding t-values and the p-value for a two sided test, H_0: \beta = 0 being \beta any measure, with the 'significance stars'. This method work for only one measure c("M0","H","A","hd","hdk"). Then, user should subset the data frame to obtain the desired summary.

Value

summary.lframe a list of summary information for the estimated AF measure

Author(s)

Ignacio Girela

See Also

coef, and confint methods, and mpitb.est function.

Examples

library(mpitbR)

data <- subset(syn_cdta)
data <- na.omit(data)

svydata <- survey::svydesign(id=~psu, weights = ~weight, strata = ~stratum, data = data)

indicators <- list(d1 = c("d_nutr","d_cm"),
                   d2 = c("d_satt","d_educ"),
                   d3 = c("d_elct","d_sani","d_wtr","d_hsg","d_ckfl","d_asst"))

# Specify mpitb project
set <- mpitb.set(svydata, indicators = indicators, name = "myname", desc = "pref. desc")

# Estimate the cross-sectional MPI and compare non-annualized changes over time
est <- mpitb.est(set, klist = c(33), measures = "M0", indmeasures = NULL,
                 tvar = "t", cotmeasures = "M0",
                 weights = "equal", over = c("area"))

coef(subset(est$lframe, measure == "M0" & t == 1))
confint(subset(est$lframe, measure == "M0" & t == 1))
summary(subset(est$lframe, measure == "M0" & t == 1))

coef(subset(est$cotframe, measure == "M0"))
confint(subset(est$cotframe, measure == "M0"))
summary(subset(est$cotframe, measure == "M0" & ctype == "abs" & ann == 0 & k == 33))

[Package mpitbR version 1.0.0 Index]