Dear stata listers:
Is it possible to change a coefficient after running logistic regression and run a predict statement?
e.g.
logistic y x1 x2 x3
matrix A=e(b)
/* change the value of the first coefficient, e.g. to lower limit of CI */
matrix A[1,1]=0.5
replace e(b)=A /* this line does not work */
predict pred
Thanks ,
matt
Matthias Schonlau
Statistician, RAND
http://www.rand.org/methodology/stat/members/matt/
--------------------
This email message is for the sole use of the intended recipient(s) and
may contain privileged information. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply email and destroy all copies
of the original message.
*
* 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/