[R] mean and variance of ratio
Dimitris Rizopoulos
dimitris.rizopoulos at med.kuleuven.be
Mon Feb 18 15:41:59 CET 2008
two options are the Delta method (see, e.g., function deltamethod() in
package 'msm'), and the Bootstrap method (check package 'boot').
I hope it helps.
Best,
Dimitris
----
Dimitris Rizopoulos
Ph.D. Student
Biostatistical Centre
School of Public Health
Catholic University of Leuven
Address: Kapucijnenvoer 35, Leuven, Belgium
Tel: +32/(0)16/336899
Fax: +32/(0)16/337015
Web: http://med.kuleuven.be/biostat/
http://www.student.kuleuven.be/~m0390867/dimitris.htm
----- Original Message -----
From: "Irene Mantzouni" <ima at difres.dk>
To: <r-help at stat.math.ethz.ch>
Sent: Monday, February 18, 2008 3:22 PM
Subject: [R] mean and variance of ratio
> Hi all!
>
>
>
> I try to estimate a statistic of the form: (x1-x2)/(y1-y2), where
> x1,x2,y1,y2 represent variable means, so each has an estimate and
> standard error associated with it.
>
> How is it possible to estimate the mean and the variance of this
> ratio?
>
>
>
> Thank you!
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
More information about the R-help
mailing list