log variable on stata


New Member
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
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.