search for: stomwt

Displaying 1 result from an estimated 1 matches for "stomwt".

2004 Jun 25
1
trouble using boot package
Hello, I am trying to carry out a bootstrap analysis (using the boot package) on a table and cannot work out how to get the results I need! I have a table ("d2") with 4 columns: "ID_code", "Age", "Quarter" and "StomWt". Age (0-5) and Quarter (1-4) are my strata Therefore I wish to estimate the confidence intervals for the mean StomWt for each Age and Quarter. If I do this manually for each age / quarter I get the following: > boot (d2$StomWt[d2$Age=="0" & d2$Quarter=="1"], mean,...