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!
Related Posts with RE: Twoway scatter command for logistic S curve
cmp for instrumental multinomial probit when there is cluster, baseoutcome, if conditionsI have been running non-instrumental multinomial probit that roughly looks like Code: mprobit Y X…
Comparing 2 mean changes per year for statistical difference?Dear Stata users, I have calculated mean changes in eGFR in 2 groups using mixed model. Group 1 me…
How to run Quantile regression with a dependent categorical variableDear all, Is there any way to run Quantile regression using a dependent categorical variable. I hav…
Cumulative sums with duplicatesI am trying to create a variable based on employment data taken from a survey done over several year…
How to writing a code similar as the following code but by region?levelsof year, local(years) egen flag = tag(id_job year) gen stateratio = . foreach y of local years…
Subscribe to:
Post Comments (Atom)
0 Response to RE: Twoway scatter command for logistic S curve
Post a Comment