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
Change values without changing labelsHi, I have the following dataex for what I have a question about: Code: clear input int(H2PF1 H2PF…
Group-year FEs do not absorb the group-level treatmentHi Statalist, I'm running a DiD with a continuous treatment at the group (industry) level. The trea…
Vertical axis label not showing after converting to pdfI have created a marginplot graph after running a logit regression. After editing the graph in stat…
Creating multiple new variable columns from an existingi have a dataset example below id visit_number date value test 1 2 2020-10-01 16:00 140 sodium 79 3…
Condense household observationsHi all, Apologies in advance, I'm an inexperienced undergrad. I have a dataset which has 1 househo…
Subscribe to:
Post Comments (Atom)
0 Response to statistically significant difference between predicted probabilities in continuous * continuous interactions
Post a Comment