elasticitiesBLP: Conveniently extract elasticities from result of estimateBLP

Description Usage Arguments

View source: R/elasticitiesBLP.R

Description

Currently only works for variables whose name was added to the argument postEstimation.control$elasticities in the call to estimateBLP

Usage

1
2
elasticitiesBLP(blp, var = names(blp$elasticities)[[1]], market = 1,
  products = NULL, round.digits = 3)

Arguments

blp

The result from estimateBLP

var

The variable name of the elasticity to be estimated

market

Number or name of the market for which elasticities shall be computed

products

A character vector or NULL (default). If not NULL only return elasticities for the specified products. Looks up product names in the column specified by prodid in the call to estimateBLP

round.digits

If not NULL the number of digits to which elasticities shall be rounded (DEFAULT=3)


skranz/BLPestimatoR documentation built on May 5, 2019, 1:32 a.m.