I would like to calculate the percentage change in the regression
coeffecients of model 1 and model 2. Can any one help? I tried using
Mata but I did not know how to divide each element in a matrix with
different scalars.
sysuse auto, clear
stset mpg, failure(foreign)
stcox mpg price weight rep78, nohr nolog /*Model 1*/
stcox mpg weight rep78, nohr nolog /*Model 2*/
For example % change = (rep78_m2 - rep78_m1) / rep78_m1
*
* 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/