Hello Statalist community.
I am currently trying to do a propensity score matching with the psmatch2 package. I have a treatment variable (regulated firm --> 'regualted') and want to find a statistical twin in a large dataset according to asset size (--> logfixedassets). However, this firm must be in the same sector/industry (i.nace2) and from the same country (i.ctrycode). If I run this code, however, I get matches that do not fulfill the sector and country requirements:
psmatch2 regulated logfixedassets i.nace2 i.ctrycode, n(3)
Can anybody help me?
Thank you
Lennart
Related Posts with Psmatch2 for prepensity score matching with specific categorical variables
Sargan's criteriaHi, I want to calculate Sargan's criteria (S) to choose between two alternative equations (1 and 2)…
Counting Occurrences X Years Before Each ObservationHi everyone, I am relatively new to stata. For my thesis, I am working on a dataset that lists paten…
Conflicting results - xtsktest and jb -Hello everyone, I apologize in advance in case this is a silly questions but I could not find enligh…
Replace O by NAHello What is wrong with my code please to replace my 0 by something meaning NA ? : replace namevari…
ICD10 with multiple variablesHi, I am relatively new to Stata so apologies if this is a basic question but I hope someone can he…
Subscribe to:
Post Comments (Atom)
0 Response to Psmatch2 for prepensity score matching with specific categorical variables
Post a Comment