[R] ratio distribution - missing attachment

Martin Maechler maechler at stat.math.ethz.ch
Mon May 28 11:36:42 CEST 2007


Thank you, Ravi.
You probably will have noticed, that the attachment didn't make
it to the mailing list.

The reason is that the we let the mailing list software strip 
"binary" attachments which can easily be misused to spread
viruses; see --> http://www.r-project.org/mail.html (search "attachment")
or the posting-guide.

OTOH, the software allows attachments with MIME type text/plain.
If you use an e-mail software for sophisticated users, the
software allows you to specify the MIME type of your
attachments;
otherwise (as with most "user friendly", "modern" e-mail
software), attach a *.txt file (Doug Bates uses  <foo>_R.txt) 
and it should make it to the lists;
as a third alternative, just "cut & paste" the corresponding
text into your e-mal.

I think your R function should make it to R-help (and its
archives), so I'd be thankful for a repost.

Martin


>>>>> "Ravi" == Ravi Varadhan <rvaradhan at jhmi.edu>
>>>>>     on Fri, 25 May 2007 14:24:20 -0400 writes:

    Ravi> Mike, Attached is an R function to do this, along with
    Ravi> an example that will reproduce the MathCad plot shown
    Ravi> in your attached paper. I haven't checked it
    Ravi> thoroughly, but it seems to reproduce the MathCad
    Ravi> example well.

    Ravi> Ravi.

    Ravi> ----------------------------------------------------------------------------
    Ravi> -------

    Ravi> Ravi Varadhan, Ph.D.

    Ravi> Assistant Professor, The Center on Aging and Health

    Ravi> Division of Geriatric Medicine and Gerontology

    Ravi> Johns Hopkins University

    Ravi> Ph: (410) 502-2619

    Ravi> Fax: (410) 614-9625

    Ravi> Email: rvaradhan at jhmi.edu

    Ravi> Webpage:
    Ravi> http://www.jhsph.edu/agingandhealth/People/Faculty/Varadhan.html

 

    Ravi> ----------------------------------------------------------------------------
    Ravi> --------


    Ravi> -----Original Message----- From:
    Ravi> r-help-bounces at stat.math.ethz.ch
    Ravi> [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of
    Ravi> Mike Lawrence Sent: Friday, May 25, 2007 1:55 PM To:
    Ravi> Lucke, Joseph F Cc: Rhelp Subject: Re: [R] Calculation
    Ravi> of ratio distribution properties

    Ravi> According to the paper I cited, there is controversy
    Ravi> over the sufficiency of Hinkley's solution, hence
    Ravi> their proposed more complete solution.

    Ravi> On 25-May-07, at 2:45 PM, Lucke, Joseph F wrote:

    >> The exact ratio is given in
    >> 
    >> On the Ratio of Two Correlated Normal Random Variables,
    >> D. V.  Hinkley, Biometrika, Vol. 56, No. 3. (Dec., 1969),
    >> pp. 635-639.
    >> 

    Ravi> -- Mike Lawrence Graduate Student, Department of
    Ravi> Psychology, Dalhousie University

    Ravi> Website: http://myweb.dal.ca/mc973993 Public calendar:
    Ravi> http://icalx.com/public/informavore/Public

    Ravi> "The road to wisdom? Well, it's plain and simple to
    Ravi> express: Err and err and err again, but less and less
    Ravi> and less."  - Piet Hein



More information about the R-help mailing list