Saturday, September 5, 2020

RE: Twoway scatter command for logistic S curve

Hi! I am trying to create a logisitc curve based on the estimated logit model. The twoway scatter command generated the attached graph. twoway scatter yhat rearrest age, connect(1 .) symbol(i O) sort ylabel(0 1)

However, the probability dots/lines did not look like a logistic S curve. Is there anyway I can create a logistic S curve based on the estimated model.

Thank you for your help!

No comments:

Post a Comment