Announcement

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

  • Kmatch

    I have used this syntax with Stata 17 and it worked fine. Am currently using Stata 18 and I get an error message and not sure how to get around it. TIA

    . gen random= runiform()

    . sort random

    .
    . global txvar mat

    . global exact_vars_st lunch ethblk ethwht ethasian ethothr female ell swd lanothrengl grade9 grade10 grade10 grade11 grade12

    . global match_vars_sch g8_zsci Manh Bronx Brooklyn Queens SI totreg per_ecdis per_black per_hisp per_asian per_white teacher_years_doe license_es license_gs

    .
    . kmatch md $txvar $match_vars_sch, over(year) ematch($exact_vars_st) nn(5) att wgen ebalance replace
    class mm_density undefined
    (18 lines skipped)
    (error occurred while loading kmatch.ado)
    r(3000);
Working...
X