benjann / kmatch

Multivariate-distance and propensity-score matching, including entropy balancing, inverse probability weighting, (coarsened) exact matching, and regression adjustment
MIT License
8 stars 3 forks source link

error message when installing ssc moremata (to use kmatch) #1

Open BenedicteLescrauwaet opened 4 years ago

BenedicteLescrauwaet commented 4 years ago

Hello,

I am attending a remote course on Average Treatment Effect by Stephen Vaisey. For the course, we were asked to install ssc install moremata.

When I did, I got an error message (see attached file) and also when applying mm_density.

I am a Stata 16.1 user, and previously installed ssc packages without error messages.

Not sure what is happening.

Thank you for your help, Benedicte

Screenshot 2020-11-15 at 20.05.46.pdf IMG_8353

benjann commented 4 years ago

Hi, an outdated version of moremata that does not feature mm_density() seems to be installed on your system. Specify option replace to allow Stata overwrite the old version. That is, typing

ssc install moremata, replace

should solve both issues. ben

BenedicteLescrauwaet commented 4 years ago

Thank you Ben, indeed it solved both issues Impressive program code!! Kind regards, Benedicte

On 16 Nov 2020, at 08:27, Ben Jann notifications@github.com wrote:

Hi, an outdated version of moremata that does not feature mm_density() seems to be installed on your system. Specify option replace to allow Stata overwrite the old version. That is, typing

ssc install moremata, replace should solve both issues. ben

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/benjann/kmatch/issues/1#issuecomment-727790696, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARYOVWIWLXWMRYT53CO4ESDSQDH5VANCNFSM4TWMKCKA.