conditional summary statisticis

Use this forum to post questions about syntax problems or general programming issues. Questions on implementing a particular aspect of econometrics should go in "Econometrics Issues" below.
fan
Posts: 215
Joined: Wed Jun 19, 2013 5:14 pm

conditional summary statisticis

Unread post 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
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: conditional summary statisticis

Unread post by TomDoan »

Wouldn't that be

STATISTICS(SMPL=mydummy) Y
fan
Posts: 215
Joined: Wed Jun 19, 2013 5:14 pm

Re: conditional summary statisticis

Unread post by fan »

TomDoan wrote:Wouldn't that be

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