Dear Statalisters,

I am stuck at a seemingly easy code. I am using matching algorithm, cem (coarsened exact matching).

There are two groups - smokers and non-smokers. I want to match the two groups on a number characteristics - say age, education, income, and etc. But I want to keep a condition where characteristics are flexible in 30% range. For example, the size of the match could vary in the range of -30% to +30%. I am not sure how I can incorporate this in my code.

cem age educ income, treatment(smoker)

Any guidance would be appreciated.

Thank you.

Kind regards,
Manish