Dear R users, Based on a set of binomial sample data, how would you utilize the "nlm" function in R to estimate the true proportion of the population? Thanks. Debbie _________________________________________________________________ [[elided Hotmail spam]] [[alternative HTML version deleted]]
On Mon, 18 May 2009 17:33:51 +1030 Debbie Zhang <debbie0621 at hotmail.com> wrote: DZ> Based on a set of binomial sample data, how would you utilize the DZ> "nlm" function in R to estimate the true proportion of the DZ> population? Dear Debbie, This is a list that is mainly intended helping people if they have a problem writing code. If you expect useful answers you should: - follow the posting guide: "PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code." - especially try NOT to give the impression that you are doing homeworks and expect others to do the work for you (thus show at least some effort: what you have searched/found and what you programmed to solve the problem see "homework before posting" in the posting guide) - Use the subject field of the e-mail to give a pointer of the problem: it increases the probability that someone who has knowledge actually reads your mail Thanks Stefan
Dear Debbie, can you **PLEASE** use a 'Subject' in your postings to R-help, and also (see below)>>>>> "DZ" == Debbie Zhang <debbie0621 at hotmail.com> >>>>> on Mon, 18 May 2009 17:33:51 +1030 writes:DZ> Dear R users, DZ> Based on a set of binomial sample data, how would you DZ> utilize the "nlm" function in R to estimate the true DZ> proportion of the population? DZ> Thanks. DZ> Debbie DZ> _________________________________________________________________ DZ> [[elided Hotmail spam]] DZ> [[alternative HTML version deleted]] DZ> ______________________________________________ DZ> R-help at r-project.org mailing list DZ> https://stat.ethz.ch/mailman/listinfo/r-help =============================== DZ> PLEASE do read the posting guide =============================== Yes, PLEASE do read *and* then follow it. DZ> http://www.R-project.org/posting-guide.html and provide DZ> commented, minimal, self-contained, reproducible code. Also, given your postings, I'd start contemplating to add something there saying that we do not "allow" more than two beginner's questions per day for a specific beginner ... In spite of the above: Congratulations on chosing R, wishing you "happy houRs" ! Regards, Martin Maechler, ETH Zurich
On Mon, 18 May 2009, Debbie Zhang wrote:> Based on a set of binomial sample data, how would you utilize the "nlm" > function in R to estimate the true proportion of the population? >I can't see why anyone would want to use nlm() for this. The sample proportion is the MLE, and binom.test() gives an exact confidence interval. -thomas Thomas Lumley Assoc. Professor, Biostatistics tlumley at u.washington.edu University of Washington, Seattle