[R] first post and bootstarpping problems
David Winsemius
dwinsemius at comcast.net
Thu Oct 7 14:09:27 CEST 2010
On Oct 7, 2010, at 7:39 AM, paulidealiste at 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
More information about the R-help
mailing list