Track tasks and feature requests
Join 40 million developers who use GitHub issues to help identify, assign, and keep track of the features and bug fixes your projects need.
Sign up for free See pricing for teams and enterprisesvce = "bootstrap" and vce = "simulation" error/fail when variables has a length of 1 #112
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
jacob-long commentedFeb 17, 2019
Please specify whether your issue is about:
Compare to
Similar problem with
vce = "bootstrap"
Again, omitting
variables
or makingvariables
a vector of length greater than 1 works fine.Traceback gives a clue about the problem:
The
margins
object has a bunch of weirdNA_real_
-filled columns calledVar_dydx_hp.
plus a number. Something similar is going on withvce = "simulation"
but the names are slightly different and therefore so is the error (or lack thereof in this case)These are actually separate errors, but have a related cause in that there are internal functions that expect a a matrix of certain dimensions and names but are getting something else because we are isolating one variable.
PR incoming.