Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Collapsing data to daily data


From   Austin Nichols <[email protected]>
To   [email protected]
Subject   Re: st: Collapsing data to daily data
Date   Mon, 28 Feb 2011 15:29:28 -0500

Brigham Whitman <[email protected]>:
You can generate a date variable (see
help dates_and_times##converting
etc.) and then collapse by that date variable; but what is your aim
there--do you want mean lat/lon?  Or the centroid of all locations?
Time weighted?  Think about what you want before you blindly collapse.

On Mon, Feb 28, 2011 at 3:21 PM, Brigham Whitman <[email protected]> wrote:
> Hello,
>
> I have time series data where there are multiple data points per
> individual per day (it is animal GPS movement data).  I want to
> collapse these data to get one data point per individual per day.
> Using Stata's collapse command, I only see functions to collapse from
> daily data to weekly, monthly, annual, etc. data.  Is there a way to
> collapse from multiple points per day to daily data?  If anybody has
> done this before, I would appreciate some advice.
>

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index