Is there any way to specify windows with blackout dates in the rangestat program from SSC? I'd like statistics on an interval from -130 to +130 but excluding the interval -9 to +9. In principle this seems similar to the excludeself option, just with a wider range of days around "self" that should be excluded.
The help file (in "Controlling the sample") suggests setting observations to missing to achieve this, since an if clause will not work (I need to calculate statistics for dates that should be excluded from the window). However, some of my windows overlap, so I need to ignore a given observation only some of the time, not always, during the rangestat call.
The help file (in "Controlling the sample") suggests setting observations to missing to achieve this, since an if clause will not work (I need to calculate statistics for dates that should be excluded from the window). However, some of my windows overlap, so I need to ignore a given observation only some of the time, not always, during the rangestat call.

Comment