Statalist


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

Re: st: re: creating number of days per month


From   Rajaram Subramanian Potty <[email protected]>
To   [email protected]
Subject   Re: st: re: creating number of days per month
Date   Thu, 5 Nov 2009 11:42:41 +0530

Dear Kit Baum,
When I run with my original data, I get the following error after the
tsset command.

tsset patientid date
repeated time values within panel

This may be due to the fact that, some patients may be discharged on
the same day of admission.

How to resolve this issue, if the patient is discharged on the same
day as admission.

Thanks and regards,

RAJA
On Thu, Nov 5, 2009 at 11:02 AM, Rajaram Subramanian Potty
<[email protected]> wrote:
> Dear all
> Thanks you all, particularly Martin and Kit Baum, for trying to give
> the answer for the problem. I could not send the reply earlier,
> because I was not accessed the email for the past two days.
>
> Raja
>
> On Mon, Nov 2, 2009 at 9:55 PM, Kit Baum <[email protected]> wrote:
>> <>
>> In my last example, creation of separate variables for each calendar month
>> could also be done with -reshape wide-.
>>
>>
>> Kit Baum   |   Boston College Economics & DIW Berlin   |
>> http://ideas.repec.org/e/pba1.html
>>                              An Introduction to Stata Programming  |
>> http://www.stata-press.com/books/isp.html
>>   An Introduction to Modern Econometrics Using Stata  |
>> http://www.stata-press.com/books/imeus.html
>>
>> *
>> *   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/
>>
>

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index