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
Principal component analysisHi, I am using panel data for my study. I want to use principal component analysis (PCA). As a read …
Fractional response with censored zerosDear Statalist community, I am doing research using insurance claim data, where the dependent varia…
Weighted average for panel groups and subperiodsDear all, I have an unbalanced panel, which contains group, where I have also generated some custo…
duplicate dataHello, so i have to summarize some investmentfunds that kinda look like this: fundid fundnr isin c…
[DUVIDA] Separar valores de uma variávelOlá pessoal, preciso extrair para uma nova coluna os dois primeiros dígitos de uma variável. Por exe…
Subscribe to:
Post Comments (Atom)
0 Response to Limiting the y-axis on a marginsplot graph
Post a Comment