Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: How do I generate a matched sample with psmatch2 ?
From 
 
"Frank Spiegel" <[email protected]> 
To 
 
<[email protected]> 
Subject 
 
st: How do I generate a matched sample with psmatch2 ? 
Date 
 
Wed, 23 May 2012 19:13:02 +0200 
Dear Statalist,
I want to create a matched sample in which I have patents owned by family firms and by non-family firms. In the beginning I have around 14,000 family firm patents and 90,000 non-family patents. For patents, it matters when the application was filed, which technology class they belong to etc. Now I would like to take each family patent and match one non-family patent from the same year and same technology class. Further I would like to match the patents, where the owning firms have the same size (for example assets). At the end I do not want any duplicates.
I have already tried the matching procedure with psmatch 2 with the following code:
psmatch2 familyfirm year class assets, neighbor(1) noreplacement
Unfortunately, the matching does not work that good. For example, I have a family firm patent from year 2000 but the matched non-family firm patent (identified with the new variable _id) is from year 2003, although it should be year 2000. The technology classes are also totally random.
Can anybody tell me, how you use the psmatch2 command correctly?
Thank you,
Frank
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/