Page 1 of 1

conditional summary statisticis

Posted: Tue Aug 19, 2014 4:33 pm
by fan
Hi,

Does not know what code I could use if I would like to have summary statistics for variable y conditional on my dummy variable equals to 1? Thanks

Re: conditional summary statisticis

Posted: Tue Aug 19, 2014 6:02 pm
by TomDoan
Wouldn't that be

STATISTICS(SMPL=mydummy) Y

Re: conditional summary statisticis

Posted: Tue Aug 19, 2014 6:35 pm
by fan
TomDoan wrote:Wouldn't that be

STATISTICS(SMPL=mydummy) Y
thank you so much for the quick answer.