Re: [R] stratified sampling

2014-03-07 Thread Daniel Nordlund
> -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > On Behalf Of Kristi Glover > Sent: Friday, March 07, 2014 11:56 AM > To: R-help > Subject: [R] stratified sampling > > Hi R users, > I have been struggling to

Re: [R] stratified sampling

2014-03-07 Thread Bert Gunter
Why? Presumably you want to bootstrap the distribution of the mean -- but why? Anyway, if this is correct, the boot package can do this for you. -- Bert Bert Gunter Genentech Nonclinical Biostatistics (650) 467-7374 "Data is not information. Information is not knowledge. And knowledge is certa

[R] stratified sampling

2014-03-07 Thread Kristi Glover
Hi R users, I have been struggling to select the equal number of samples from each strata. I have the data collected in different years in different regions with different sample size. Basically, I have two two conditions (year and region). I wanted to make smaple sample size for both year and

Re: [R] Stratified Sampling with randomForest Regression

2012-06-01 Thread Liaw, Andy
AM To: r-help@r-project.org Subject: [R] Stratified Sampling with randomForest Regression Hi All, I'm using R's randomForest package (and it's quite awesome!) but I'd really like to do some stratified sampling with a regression problem. However, it appears that the pac

[R] Stratified Sampling with randomForest Regression

2012-06-01 Thread Josh Browning
Hi All, I'm using R's randomForest package (and it's quite awesome!) but I'd really like to do some stratified sampling with a regression problem. However, it appears that the package was designed to only accommodate stratified sampling for classification purposes (see https://stat.ethz.ch/pipe