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
CMP mata error 3900Hi all, I was trying to use State to run a CMP model with random coefficient. And I got the error b…
Stata command helpHello. I am working with household survey dataset. I need to find the share of diversified farm hous…
Exporting two way table to latexHi, I have two string variables Var1 and Var2 each with 7 categories. I want to create a two way ta…
Importing data - 1st row (names) not correctlyHello, I want to import an excel spredsheet and use the first row as the name of the variable. For t…
Generate a date variable from another date variable with an if conditionHere I am trying to create a start date (AESTDAT) and end date (AEENDAT) variables from the list bel…
Subscribe to:
Post Comments (Atom)
0 Response to statistically significant difference between predicted probabilities in continuous * continuous interactions
Post a Comment