Conditional statements when running a regression
Posted: Fri Jan 16, 2015 4:46 pm
Hi,
I am trying to run a log-log regression, but a few observations in my RHS variable are negative values. Is there a way to run a conditional regression,
something along the lines: equation eq1.ls log(y) c log(x) for x>0? Or is there an easy way to adjust the sample to exclude the negative values?
Thanks for help!
Emina
I am trying to run a log-log regression, but a few observations in my RHS variable are negative values. Is there a way to run a conditional regression,
something along the lines: equation eq1.ls log(y) c log(x) for x>0? Or is there an easy way to adjust the sample to exclude the negative values?
Thanks for help!
Emina