Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • What is the difference between teoverlap and tebalance density?

    Hi all, I am learning propensity matching score. I saw many papers using psmatch2 (a user-written code), but there is teffects psmatch built by STATA (which is more flexible, handle with standard error better but a little bit slower)
    I spent the whole day to search for the graph plotting the density of propensity matching score after using teffects psmatch.

    Unlike psmatch2 with this code you can get the graph for plotting before and after matching, it is hard to find a document to show that.
    After searching and searching I found the code that perform what I want.

    I used the dataset from University of Wisconsin as below

    Code:
    use http://ssc.wisc.edu/sscc/pubs/files/psm, replace 
    
      teffects psmatch (y) (t x1 x2),gen(match)
    The post-matching, I found a code from the help file to draw a graph

    Code:
      teoverlap
    I tried it and the results show is

    Click image for larger version

Name:	1.png
Views:	1
Size:	42.7 KB
ID:	1703419


    I did some searches and saw that it is the density and propensity pre-match, not post-match

    Afterwards, I found another code for plotting after using teffects psmatch

    Code:
    tebalance density
    And I got the results

    Click image for larger version

Name:	2.png
Views:	1
Size:	34.1 KB
ID:	1703420


    I am wondering why these two graphs are so different. Which one is correct or similar to the graph below from psmatch2

    Click image for larger version

Name:	3.png
Views:	1
Size:	102.3 KB
ID:	1703421


    Many thanks and best regards.

    Attached Files

  • #2
    Interesring question, did you find an answer to this ?

    Comment


    • #3
      Originally posted by Tara Boyle View Post
      Interesring question, did you find an answer to this ?
      yes, I did, just change to t=1 in the first graph and thing gets solved

      Comment

      Working...
      X