Stratified Block Randomization

버전 1.0 (15 KB) 작성자: Bjarke Skogstad Larsen
This matlab function performs (stratified) block randomization.

다운로드 수: 10

업데이트 날짜: 2021/7/18

GitHub에서 호스트

GitHub에서 라이선스 보기

Stratified Block Randomization

This matlab function performs stratified block randomization. Example of use: distributing observations into training and test datasets.

Any number of blocks can be chosen, and each block can be given a different portion of observations. Observations are stratified by any number of variables and categories. The function will seek to randomly assign observations to each block (with the set portion) for each stratification-combination. For example, the same number of Male/Female subjects in each block. If multiple stratification variables are given, the combination of these will be distributed between the blocks. For example, gender (male/female) and diagnosis (healthy/sick). In this case, observations will be distributed between blocks for male-healthy, female-healthy, male-sick, and female-sick.

인용 양식

Bjarke Skogstad Larsen (2022). Stratified Block Randomization (https://github.com/dkbsl/matlab_randblock/releases/tag/1.0), GitHub. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2015b
R2015b 이상 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.
이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.