Announcement

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

  • merging data

    This should be simple but I have encountered a problem merging data. I typed:he

    mmerge country using(d:\Data\ess7aggnew1.dta), saving(d:\Data\immigration.dta) attempting to merge ess7aggnew1.dta to immigration.dta), But I received the message from Stata:

    invalid 'd'

    What did I do wrong? Thanks for any help.

    Ric Uslaner

  • #2
    I have no idea what is wrong but can make three small suggestions.

    Code:
    set trace on
    before running the command will show where the command fails.

    You may need to tinker with set tracedepth to avoid getting either too much output or too little.

    Code:
    cd d:\data 
    and see if the problem goes away when you repeat the command without the directory specification.

    Code:
    net describe mmerge, from(http://fmwww.bc.edu/RePEc/bocode/m)
    shows that mmerge is a community-contributed command from SSC from 2002. In 2024 I would tend to use the official command merge, always.

    Comment

    Working...
    X