[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: Re: egen mean function
Thanks. But when I use tssmooth, I am told there are
repeated time values in sample:
tssmooth ma st_7 = st, window(7 1)
repeated time values in sample
I have a number of cases for each time period. Any way
to get around this?
--- n j cox <email@example.com> wrote:
> Kit is referring to a function in the -egenmore-
> package on SSC.
> In official Stata, see -tssmooth-.
> >>> Kit Baum
> egen filter
> I am using a rolling cross-sectional survey. So I
> individual-level data. There are many days and many
> individuals interviewed each day. I have a variable
> for day and another variable for campaign news
> (CNV). I would like to create a new variable, prior
> week campaign news volume (PWCNV) that is the mean
> for the prior 7 days. Is it possible to do this with
> the egen mean function or with another egen
> * For searches and help try:
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
* For searches and help try: