Dear Statalist community:
I have a logit model predicting DV (0 or 1) with two continuous independent variables, X1 and X2 where I also include an interaction term between X1 and X2.
I find thatX1*X2 is statistically significant. I would like to plot the predicted probabilities of DV on the y-axis, the full range of values of X1 on the x-axis, and two predicted probabilities conditional on two specified values of X2.
How can I know and then plot the range of X1 where the predicted probabilities of DV at the lower value of X2 is statistically significant from predicted probabilities of DV at the higher value of X2?
The lower and higher values of X2 are my own specifications based on the distribution of X2 in my sample.
I have studies the margins command but cannot find the proper sub command.
Thank you very much!
Related Posts with statistically significant difference between predicted probabilities in continuous * continuous interactions
keep observations if first 2 character of the string is capital letterI have a dataset where the variable x is a string. I need to keep only observations at which the fir…
Latent growth curve modelingDear experts, I am currently trying to fit an unconditional growth curve model (as a first step befo…
Compare coefficients with xtreg i.year and feHello, I have two models: Model A: Y = α1 + β1X1 + Σθ∙C + firm-fixed effect + year-fixed effect M…
HeckmanHi, How do I apply weights in Heckman selection model? Thank you …
Transformation of valuesHi, I have a data set on tumors with the variables karnofsky index/KI (categorical with values 40, …
Subscribe to:
Post Comments (Atom)
0 Response to statistically significant difference between predicted probabilities in continuous * continuous interactions
Post a Comment