Version (3.29 KB) by Luki
This function randomly age and gender matches two groups +/- the year gap given.
Updated 18 Apr 2018

View License

It can be used when the case group was recruited and the researcher wants to find out, which ages and genders are required to match the control group. The two groups are matched randomly for many times so that you can determine the 'priority' of each gender and age that is unmatched.

Cite As

Luki (2024). Age_gender_match(year_gap,group1,group2) (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes