avg_slopes() and AER package Tobit #1141
Answered
by
vincentarelbundock
arantzagorostiaga
asked this question in
Q&A
-
Hi everyone I have an issue when calculating avg_slopes() with the ouptut of tobit() function from the AER package. When I run avg_slopes(), the average marginal effects are exactly equal to the tobit coefficients. It seems that only the linear part of the model is considered, rather than the full Tobit model. Here’s an example:
I expected the output to be:
What am I missing here? |
Beta Was this translation helpful? Give feedback.
Answered by
vincentarelbundock
Jun 3, 2024
Replies: 1 comment 2 replies
-
Can't try right now. But did you check different values of the type argument? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
May be relevant: https://stats.stackexchange.com/a/149529/4874