Dear All,
I would like to follow my previous question about how to use spline.
Suppose I create a spline using "frencurv" and then estimate a logistic
regression like this:
. frencurv, xvar(school) refpts(0(4)16) gen(sch) power(1)
. xtlogit unemp sch* X, re i(id) noconstant
How to generated predicted probablity so that I can create a two-way plot
of "prob(unemp) by school", like the one in pp.7 in bspline user guide?
Thank you very much!
Best,
Shige
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/