Hi Tom,
I'd like to do a regression model based on two variables, so I need to partition the data into four subgroups by using two variables.
For example:
linreg(smpl=mbratio>%mean, smpl=FCF>median)
but it doesn't work. Or, I need to use SAMPLE to partition the data in the first step?
Frank
how to use smpl twice in linreg
Re: how to use smpl twice in linreg
Use .and. to combine the two conditions:
inreg(smpl=mbratio>%mean.and.FCF>median)
inreg(smpl=mbratio>%mean.and.FCF>median)