I came across strange behaviour of the summary command used with the --by option. When I use it on a sample less than the full range and the byvar is a monthly dummy variable (generated using the GUI), I do get the summary statistics for each category of the dummy variable, but they are computed over the entire range.

Jan Annaert