0

I am trying to make a probit plot showing the probability of a binomial outcome. I would like to produce a 'pretty' continuous plot that runs from Prob 0 to Prob 1. However, my data only range from x=4 to x=9 and I suspect that is why the curve is incomplete (see image). Is there a way to estimate the rest of the curve?

I used the following command:

ggplot(data= dataset) + 
stat_smooth(aes(x= input, y= outcome), method="glm", method.args=list(family="binomial"), colour="violetred2", se=TRUE)

Thanks!

Probit plot

Marc S.
  • 1
  • 2
  • Provide us with a reproducible example of your data: https://stackoverflow.com/q/5963269/12382064 – sm0k313 Aug 05 '21 at 09:01

0 Answers0