| To: | s-news@lists.biostat.wustl.edu |
|---|---|
| Subject: | sampling |
| From: | "Ngai, Christopher" <Christopher.Ngai@moh.gov.on.ca> |
| Date: | Sun, 18 Apr 2004 17:03:05 -0400 |
|
Hi
all,
I'm working with a
large drug utilization database (>600M records). For a specific drug (dosage,
form), I have one entry for each prescription filled by a patient. The basic
layout of the database is: drug_id, user_id, date_filled, days_to_next_refill,
quantity. Quantity is in the smallest unit, e.g. tablet. Days_to_next_refill is
the number of days between the current and next prescription filled date.
Now, I want to know
how many patients take a specific drug 1 tablet a day, 2 tablets a day, etc. I
do not want to go through the whole database. I would like to utilize repeated
sampling to get a distribution for percent of patients taking 1tab/day,
2tab/day, etc.
Can anyone suggest
an approach using S-Plus? Thanks.
- - - - + - - - - + - - -
- + - - - - + - - - - + - - - - + - - - - + |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | multistate survival, Osman Al-Radi |
|---|---|
| Next by Date: | Re: multicomp and glm, Dominique PELLETIER |
| Previous by Thread: | multistate survival, Osman Al-Radi |
| Next by Thread: | Parameter Estimation of Non-linear C.E.S Production Function, wildstat0 |
| Indexes: | [Date] [Thread] [Top] [All Lists] |