You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
margins and tests for variables that are more than once in exog #745
What do we need to calculate margins, dy/dx (x), and tests (f_test, t_test, Wald test) with respect to a variable that enters in more than one terms?
examples:
interaction of categorical variables (handled by patsy ?)
splines and similar (more my area)
example linear spline (segmented regression) and maybe polynomial:
margins: slope at different points (stateful transform should define derivative ? right derivative in at kinks)
tests: slope is zero or constant over an interval, at a point ?
If there are other exog, then we also need to know how columns match to "terms", which columns represent out variable, and what are the other variables (at mean, ...)
a list of related references, some for Stata
(I didn't read them, I just ended up browsing this area while looking for something else)
Barthel, F. M.-S., and P. Royston. 2006. “Graphical Representation of Interactions.” Stata Journal 6 (3): 348–63.
Brambor, Thomas, William Roberts Clark, and Matt Golder. 2006. “Understanding Interaction Models: Improving Empirical Analyses.” Political Analysis 14 (1): 63–82. doi:10.1093/pan/mpi014.
Hoetker, Glenn. 2007. “The Use of Logit and Probit Models in Strategic Management Research: Critical Issues.” Strategic Management Journal 28 (4): 331–43. doi:10.1002/smj.582.
Karaca-Mandic, Pinar, Edward C. Norton, and Bryan Dowd. 2012. “Interaction Terms in Nonlinear Models.” Health Services Research 47 (1pt1): 255–74. doi:10.1111/j.1475-6773.2011.01314.x.
Mitchell, M. N., and X. Chen. 2005. “Visualizing Main Effects and Interactions for Binary Logit Models.” Stata Journal 5 (1): 64–82.
Activity
josef-pkt commentedon Mar 26, 2016
a list of related references, some for Stata
(I didn't read them, I just ended up browsing this area while looking for something else)
Barthel, F. M.-S., and P. Royston. 2006. “Graphical Representation of Interactions.” Stata Journal 6 (3): 348–63.
Brambor, Thomas, William Roberts Clark, and Matt Golder. 2006. “Understanding Interaction Models: Improving Empirical Analyses.” Political Analysis 14 (1): 63–82. doi:10.1093/pan/mpi014.
Hoetker, Glenn. 2007. “The Use of Logit and Probit Models in Strategic Management Research: Critical Issues.” Strategic Management Journal 28 (4): 331–43. doi:10.1002/smj.582.
Karaca-Mandic, Pinar, Edward C. Norton, and Bryan Dowd. 2012. “Interaction Terms in Nonlinear Models.” Health Services Research 47 (1pt1): 255–74. doi:10.1111/j.1475-6773.2011.01314.x.
Mitchell, M. N., and X. Chen. 2005. “Visualizing Main Effects and Interactions for Binary Logit Models.” Stata Journal 5 (1): 64–82.