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
Conditional statements when running a regression
Moderators: EViews Gareth, EViews Moderator
-
ecardamone
- Posts: 40
- Joined: Wed Sep 17, 2014 12:23 pm
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Conditional statements when running a regression
Set the sample to:
If x>0
If x>0
-
ecardamone
- Posts: 40
- Joined: Wed Sep 17, 2014 12:23 pm
Who is online
Users browsing this forum: No registered users and 1 guest
