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]

st: Re: panel data daily data, missing days, how to fill it up to full months(1-31)


From   obba0001 <[email protected]>
To   [email protected]
Subject   st: Re: panel data daily data, missing days, how to fill it up to full months(1-31)
Date   Fri, 7 Feb 2014 03:59:51 -0800 (PST)

further information as requested:
The desired pattern is to measure the people for a complete month. there are
people that are measured full month such as from 1 to 31th of that month.
but there are some people that are measured between 1 to 16 or 1-25 or 1-5th
of the month. Another property of my data is that the experiment was done
between 2005 to 2008. So people were not measured at the same period.  for
example, some people recorded between 1th of september 2005 to 26th of
september 2005 and some recorded between 5th of november 2006 to 31 december
2006.

What I want is for example for the person who have measured between 1th to
25th november, I want to create rows that have  25th,27th,28th, 29th,30th
under the date coloumn and under the id coloumn the id should be same such
as 1 for each created day, and i want to copy the demographic variables to
that produced rows. but the dependent variable should include na since there
is no data for the dependent variable for those days for the given person.

After completing this step I will do multiple imputation to produce those
dependent variables.

Kind regards



--
View this message in context: http://statalist.1588530.n2.nabble.com/panel-data-daily-data-missing-days-how-to-fill-it-up-to-full-months-1-31-tp7580476p7580478.html
Sent from the Statalist mailing list archive at Nabble.com.
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


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