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!