I'm not sure where the issue is, or if I'm just using the function incorrectly, but I was hoping to get some help. Were trying to run an ictreg with method = "nls" but receive the error message "Error in family$linkfun(mustart) : Value 1.1 out of range (0, 1)". Initially I suspected NA values but that doesn't seem to be the problem.
Our call to ictreg is:
fit.list <- ictreg(y ~ yob + ed + gen + rur + par + gov + aut,
data = df, treat = "treat", J=4, method = "nls")
Using method = "lm" works without issue, but method = "ml" also produces the same error as above. I've attached a small sample of our dataset, we would be very grateful for any help.
I'm not sure where the issue is, or if I'm just using the function incorrectly, but I was hoping to get some help. Were trying to run an ictreg with method = "nls" but receive the error message "Error in family$linkfun(mustart) : Value 1.1 out of range (0, 1)". Initially I suspected NA values but that doesn't seem to be the problem.
Our call to ictreg is:
Using method = "lm" works without issue, but method = "ml" also produces the same error as above. I've attached a small sample of our dataset, we would be very grateful for any help.
df_rep.csv.zip