I have a dataset containing treatment and control firms. Each firm belongs to a technology class defined in patentclass and innovation output of each firm is defined in patents which is a count data.
I want to match the control firms with treatment firms based on two criteria:
1) both treatment and control firm should be in the same patentclass
2) Control firms should have the same innovation output level based on patents. But I don't want to limit the match based on rage, I want to match with the firm with the closest match of patents
I can think of the following code but not sure how to include that restriction of closest match in patent matching.:
cem patentclass(#0) patent, treatment(treatment)
Any help is appreciated.
thanks
Related Posts with Coarsened Exact Matching (CEM)
How to create a varaible based on each value of existing variable in did_imputation?I have the Syntax of did_imputation is as below Array I am wondering how to create the variable Ei.…
How to Getting Rid of The Factorial Variables after Deleting Multicolinear Variables Using "_rmcoll"I have a set of variables X1, X2, X3, X4, X5. Among them, X5 is colinear with X3. So I use the comma…
How to convert the reg command to reghdfe code in controlling three dimensions?How to convert this code controlling for three ways fixed effect to reghdfe code? Code: reg y x i.…
Estimation of ATT for a naive regression estimatorHello, I want to estimate an average treatment effect on the treated (ATT) for a naive regression wi…
How to create a new binary variable (0-1) based on some conditions in Stata?input id t1 t2 t3 1 1.5 1.4 1.6 2 1.5 . 1.9 3 . 2.0 1.6 4 . . 2.2 5 1.9 2.1 2 6 1.8 2.0 1.9 7 . . . …
Subscribe to:
Post Comments (Atom)
0 Response to Coarsened Exact Matching (CEM)
Post a Comment