On Oct 7, 2010, at 7:39 AM, paulideali...@aol.com wrote:




Hello to all R users,

I use R for a year now and am dealing with geometric morphometrics of deer skulls. Yes, I am a biologist and my math skills are just beginning to brush up. To cut to the chase...

I have two groups in my data (males and females) and my data is in a simple vector form. Now I need a bootstrap test for this value

szc1 <- ((mean(maleCent)-mean(femaCent))^ 2)/(var(maleCent) +var(femaCent))

which concerns two aforementioned groups. I have 39 males and 11 females totaling to 50 individuals. Now I don`t know how to assign this to a bootstrap boot() function. Any ideas?

Looks like you are attempting the first part of a a two group t-test. Have you thought of using that function? And it would seem that you have not yet looked at the examples on the boot funtion's page in package boot.
--

David Winsemius, MD
West Hartford, CT

______________________________________________
R-help@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.

Reply via email to