i sample dataframe base in python. sample has stratified specific variables. tried sklearn.cross_validation problem can stratify 1 variable, , need stritify population according several variables.
so looking equivalent of proc survey, (strata instruction in sas) or svydesign(in r). function exist in python ?
i found on page function stratified_samples https://gist.github.com/spacelis/6088623 there no documentation or example of use , hard understand how enter stratified variable.
thanks help
Comments
Post a Comment