PDA

View Full Version : log variable on stata



momo
10-01-2010, 12:27 PM
Dear all,

I am running a bivariate probit with stata and there are some continuous logged variables where the equation as follows

dummyx1=cons.+ log x2 + log x3 + log x4 + dummy + .......and so on

and the second equation or dependent var is the same.

so how to do the log for these variables before running the regression

thanks a lot in advance

best regards

Etienne
10-02-2010, 08:15 AM
Hey there,

It seems that you just need to generate new variables that are the log of your dependent variables. So just : gen logx = log(x). Or maybe I don't understand the problem.

Etienne