Open matthiasfru opened 5 years ago
Dear Matthias,
thanks for the message and sorry for the very late reply: I must have missed it!
I will be looking into the issue - which, by the way, seems to me that has to do exactly with the lines of code you mention - and let you know as soon as possible.
Sorry again for the late reply,
Gabriele
Hi Gabrielle,
when trying to run a ACF-corrected model with non-NULL control variables the command throws an error:
yields
The issue maybe related to line 88 prodestACF.R
because this implies that
length(theta0) = snum+fnum+cnum
. But iflength(theta0) = snum + fnum +cnum
the optimization routine on throws an error on line 144, namely thatError in mX %*% theta : non-conformable arguments
.So I guess the problem is what the proper length of
theta0
should be or rather if the controls matter in the second stage, no?Thank you for the package, Matthias