[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: How to make prediction after a spline regression
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!
* For searches and help try: