Announcement

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

  • psmatch2: how to hide results for some variables?

    I would like to run the code below.

    Code:
    xi: psmatch2 y x1 x2 x3 i.x4
    Because x4 has thousands of categories, is it possible to display the probit results for x1, x2, and x3 only?

  • #2
    I don't think so, but you could do something like this:
    Code:
    . sysuse nlsw88, clear
    (NLSW, 1988 extract)
    
    . quietly xi: probit union wage hours tenure i.grade
    
    . display _b[wage] "   " _se[wage]
    .03423857   .00859051
    
    . display _b[hours] "   " _se[hours]
    .00235801   .00343361
    
    . display _b[tenure] "   " _se[tenure]
    .02386495   .00584163
    Also, note that help xi says "We recommend that you use factor variables instead of xi if a command allows factor variables." See
    Code:
    help fvvarlist
    David Radwin
    Senior Researcher, California Competes
    californiacompetes.org
    Pronouns: He/Him

    Comment

    Working...
    X