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
Create a macro of all polynomials and all possible interactions between variables that are set in one macro.Dear forum users, I have a programming problem when setting up a macro and would like to ask your h…
generate a new variable that takes on the value of a separate variableI have data that are long. I would like to generate a new variable that takes on the value of a sepa…
spmaps | How to overlay three (or more) polygons?Hi there, I would like to draw a map and then overlay it with two polygons (in my case the EU at NUT…
Create Country pair dummiesDear All, I have a dataset with one country exporting to 84 countries and importing from that 84 cou…
Estimation of standard error for wtpHi everyone! I have estimated willingness to pay using wtp command and now I want to calculate stand…
Subscribe to:
Post Comments (Atom)
0 Response to Psmatch2 for prepensity score matching with specific categorical variables
Post a Comment