gdillon_nifc

Stratified sample with Create Spatially Balanced Points tool

Discussion created by gdillon_nifc on Aug 26, 2011
Latest reply on Aug 26, 2011 by EKrause-esristaff
I'm trying to create a sample of pixel locations to feed into a binary response model. My raster that depicts the response variable is just coded with zeros and ones. I would like my point sample to be balanced so that I have an even number of zeros and ones.

Is there any way to create a stratified sample using the Create Spatially Balanced Points tool, so that half the samples are from class zero and half are from class one? Or do I just need to draw one big sample (much larger than I'll need), and then as a second step extract the response value at each sample point and select an even number of sample points from within each of my response categories?

Outcomes