[R] Handling survey data issue

From: Walter R. Paczkowski <dataanalytics_at_earthlink.net>
Date: Fri 03 Feb 2006 - 01:44:18 EST

Good morning,

I have a survey from a client that has a variable, say number of pills taken per day, that is coded as a numeric - in part. The survey respondents were asked to state the number of pills and this number was recorded. But, for those who took more than 10, the answer was recorded as 10+. I have to calculate a mean and do other estimations. How do I handle the 10+? Any suggestions on handling the 10+? Is there a way to estimate a number for 10+? I seem to recall a paper years ago that addressed the issue of a censored answer such as 10+ to find a number that could then be used in calculations. This should be a common problem. My next question, of course, is: Is there an R function for this?

Thanks for any help.

Walt Paczkowski


Walter R. Paczkowski, Ph.D.
Data Analytics Corp.
44 Hamilton Lane
Plainsboro, NJ 08536
(V) 609-936-8999
(F) 609-936-3733



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Feb 03 01:56:39 2006

This archive was generated by hypermail 2.1.8 : Fri 03 Feb 2006 - 14:38:05 EST