varin sacha
2020-Aug-04 14:08 UTC
[R] confidence intervals for the difference between group means
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) ############
Prof. Dr. Matthias Kohl
2020-Aug-04 14:22 UTC
[R] confidence intervals for the difference between group means
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 at 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
varin sacha
2020-Aug-17 18:28 UTC
[R] confidence intervals for the difference between group means
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 at 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 at 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 at 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.