This is a fork of the CRAN package BLPEstimatoR by Daniel Brunner (aut), Constantin Weiser (ctr), Andre Romahn (ctr)
I just made a series of small changes to add some convinience features to the package:
-
Add function
BLP.factor.to.dummies
and call it inestimateBLP
. It allows variables in Xlin, Xrandom or instruments to be factors (or characters) and automatically converts them to dummies, as for example is done in R'slm
function. -
Add argument
prodid
toestimateBLP
to allow automatic naming of elasticities matrices. Adaptget.Elasticities
correspondingly -
Add the function
elasticitiesBLP
for convenient extraction of elasticities.