Stratified Block Randomization

This matlab function performs (stratified) block randomization.
ダウンロード: 22
更新 2021/7/18

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 (2024). 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!
バージョン 公開済み リリース ノート
1.0

この GitHub アドオンでの問題を表示または報告するには、GitHub リポジトリにアクセスしてください。
この GitHub アドオンでの問題を表示または報告するには、GitHub リポジトリにアクセスしてください。