I'm creating a marginsplot graph for a probit model estimating predicted probabilities. Some of the confidence intervals are below 0 or above 1, which means the y-axis' range is from around -.5 to 1.5. I want to force the y-axis to range from 0 to 1. If I was making a regular twoway graph I would limit the range of observations using an if condition, but I'm not sure how to go about doing that for confidence intervals on a marginsplot graph.
I've attached two pngs, one showing the graph without confidence intervals and one showing the graph with confidence intervals. Effectively, what I want is to display the confidence intervals, but have them cut off at 0,1 so that the y axis looks like the one in the graph without confidence intervals.Array Array
Any help is appreciated.
Related Posts with Limiting the y-axis on a marginsplot graph
Hyperlink to the file generated/modified by putexcelThis is a very minor request/question. Several of the user-made commands I use (e.g. estout, and ieb…
margins not estimableHi all, I run a panel data fixed effect regression. There is an interaction term in the model. Thro…
Foreach vs. Forvalues when using char() function to remove special characters in a string variableHello all, Using Stata 15.1/IC I need to submit a bulk file with a string variable ("NAME" variabl…
Using -cmp- to estimate and interpret a three-stage Heckman modelGood morning all, I am using the -cmp- package developed by Roodman to estimate a three-stage Heckm…
grouped variablesHi I currently have a variables for income following this structure: Therefore when I run summary s…
Subscribe to:
Post Comments (Atom)
0 Response to Limiting the y-axis on a marginsplot graph
Post a Comment