Count of observations falling within a range
Posted: Thu Nov 21, 2019 11:10 am
Hi there,
I was hoping for some help.
I have a large number of monthly time series, for which I've been trying to work out how to extract a count of the observations that sit within a given range for each month. To be more specific, they're all monthly percent changes in the various sub-components of the headline consumer price index and I wanted to count, for example, how many of those sit within the range +1% MoM to +1.5% MoM.
I thought I might be able to do it using @obsby but haven't had any success.
Any thoughts?
Thanks
I was hoping for some help.
I have a large number of monthly time series, for which I've been trying to work out how to extract a count of the observations that sit within a given range for each month. To be more specific, they're all monthly percent changes in the various sub-components of the headline consumer price index and I wanted to count, for example, how many of those sit within the range +1% MoM to +1.5% MoM.
I thought I might be able to do it using @obsby but haven't had any success.
Any thoughts?
Thanks