OneSampleMR
OneSampleMR copied to clipboard
issue with ivreg including fixed effect
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) :
I hope this issue gets resolved. Thank you.
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.