Closed jongohkim91 closed 3 years ago
Hi Jongoh, Thanks for posting this. I'll see if I can figure out what's going on.
It looks like a very simple mistake, actually.
You included yob
when declaring the set of ivlike
estimands.
But yob
is not in the specification used in the paper.
That's why your bounds are different and tighter---you have an additional restriction.
Once you remove yob
from the ivlike
formula, you can replicate the figure from the R paper.
Sorry for bothering you with a silly mistake. Thank you very much for taking time looking into the matter.
Nothing to apologize for, happy to have been able to help.
Dear Mr. Shea,
Hello my name is Jongoh Kim and I am trying to use the ivmte package for a project. To be familiar with the package, I have read your paper: "ivmte: An R Package for Implementing Marginal Treatment Effect Methods" and tried to reproduce the Bounds graph on page 12(Figure 1). To plot the graph, I copy-and-pasted the codes as written in the paper however the shape of the graph I got was slightly different. The upper bounds were a bit flatter than the original graph and I don't know why I am getting a different result.
My R version is 4.0.3 and I updated all the packages using the "Tools" bar in RStudio. I am using Gurobi 9.1.1 for the optimization. The code I used to produce the graph is as below.
Also, I have attached the pdf file of the graph to this post. extrapolation.pdf
Thank you in advance for your help.
Kind regards, Jongoh Kim