[R] confidence intervals for the difference between group means

varin sacha v@r|n@@ch@ @end|ng |rom y@hoo@|r
Mon Aug 17 20:28:00 CEST 2020


Dear Matthias,

Many thanks for your response.

Best,
SV


Le mardi 4 août 2020 à 16:22:41 UTC+2, Prof. Dr. Matthias Kohl <matthias.kohl using stamats.de> a écrit : 





you could try:

library(MKinfer)
meanDiffCI(a, b, boot = TRUE)

Best
Matthias

Am 04.08.20 um 16:08 schrieb varin sacha via R-help:
> Dear R-experts,
> 
> Using the bootES package I can easily calculate the bootstrap confidence intervals of the means like in the toy example here below. Now, I am looking for the confidence intervals for the difference between group means. In my case, the point estimate of the mean difference is 64.4. I am looking at the 95% confidence intervals around this point estimate (64.4).
> 
> Many thanks for your response.
> 
> ############
> library(bootES)
> a<-c(523,435,478,567,654)
> b<-c(423,523,421,467,501)
> bootES(a)
> bootES(b)

> ############
> 
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.
> 

-- 
Prof. Dr. Matthias Kohl
www.stamats.de

______________________________________________
R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.



More information about the R-help mailing list