I am struggling to create a stratified sample of size 100 using stratified random sampling with 3078 observations. The conditions the stratified random sampling have to meet are : FARMS92<100, between 100 and 300, between 300 and 600, and FARMS92>600 as strata, and by using proportional allocation.
I do not understand how to proceed when i follow the stratified function : https://gist.github.com/mrdwab/6424112
Here is my dataset:
COUNTY STATE ACRES92 ACRES87 FARMS92
1 ALEUTIAN AK 683533 726596 764514
2 ANCHORAGE AK 47146 59297 256709
3 FAIRBANKS AK 141338 154913 204568
4 JUNEAU AK 210 214 127
5 KENAI AK 50810 85712 98035
6 AUTAUGA AL 107259 116050 145044
7 BALDWIN AL 167832 192082 223502
8 BARBOUR AL 177189 207906 222066
9 BIBB AL 48022 50818 49630
10 BLOUNT AL 137426 140107 163638
11 BULLOCK AL 144799 156332 185304
12 BUTLER AL 96427 99997 124491
13 CALHOUN AL 73841 90474 93248
14 CHAMBERS AL 109555 102153 121101
15 CHEROKEE AL 121504 119956 143656
Could you please explain me the steps on how to proceed?