Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue with ivreg including fixed effect #8

Open
cherrypiecoco opened this issue Aug 22, 2022 · 1 comment
Open

issue with ivreg including fixed effect #8

cherrypiecoco opened this issue Aug 22, 2022 · 1 comment

Comments

@cherrypiecoco
Copy link

Hi, I have an issue using this package. When I run ivreg with fixed effects (as.factor(Yr), for instance), and pass on the estimated model to fsw(), I encounter an error message.

"Error in parse(text = x, keep.source = FALSE) :
:1:353: unexpected numeric constant"

I hope this issue gets resolved. Thank you.

@remlapmot
Copy link
Owner

Thanks for your interest.

Which of the variables is your Yr variable; is it exposure/phenotype/endogenous variable or instrumental variable (i.e. I'm assuming it's not the outcome).

If possible could you include code for a fully reproducible example, e.g. using a public dataset otherwise I will try to make one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants