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
Creating a pooled variable with survey dataHello Everyone, I am using a large survey (non panel) data set and would like to restructure multip…
How could I change the color on a scatter plot based on conditions?Basically I want to change the color of everything with a value greater than x, and also add label t…
repeated time values within panelHi all, I have sectoral data (isiccomb1) per year and country. I am getting the error message "repe…
Multiple modesHi everyone, I have a dataset that looks like below. For each of the IDs, there are multiple locati…
what did Stata do when we run a regression on unbalaned data?I am learning how to run a difference in difference model, and my code is areg y treat1996-evergm199…
Subscribe to:
Post Comments (Atom)
0 Response to Psmatch2 for prepensity score matching with specific categorical variables
Post a Comment