get_posterior_by_weight {tipmap}R Documentation

Filter posterior by given weights

Description

Returns quantiles of the posterior distribution of the treatment effect for one or more specified weights.

Usage

get_posterior_by_weight(posterior, weight)

Arguments

posterior

The posterior data to be filtered (see create_posterior_data()).

weight

The weight(s) to be filtered by.

Value

The filtered posterior values

See Also

create_posterior_data

Examples

get_posterior_by_weight(
  posterior = load_tipmap_data("tipPost.rds"),
  weight = c(0.05, 0.1)
)


[Package tipmap version 0.5.2 Index]