Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Issue with psmatch2


From   Amadou DIALLO <[email protected]>
To   [email protected]
Subject   Re: st: Issue with psmatch2
Date   Sun, 15 Dec 2013 11:14:47 +0100

Many thanks Professor Baum,
I've used the "ssc inst" command, and now the adoupdate, but still got
the same results, no matter the specification.

. adoupdate psmatch2, update
(note: adoupdate updates user-written files; type -update- to check
for updates to
       official Stata)
(note: package st0085_1 was installed more than once; older copy removed)
(note: package estout was installed more than once; older copy removed)

Checking status of specified packages...

   [33] psmatch2 at http://fmwww.bc.edu/repec/bocode/p:
        installed package is up to date

(no packages require updating)

. do "C:\Users\LLD4599\AppData\Local\Temp\STD00000000.tmp"

. cap noi psmatch2 Treatment Male Res_dept , out( Test2 ) // nt working so far

Probit regression                                 Number of obs   =         26
                                                  LR chi2(2)      =       1.09
                                                  Prob > chi2     =     0.5800
Log likelihood = -17.477069                       Pseudo R2       =     0.0302

------------------------------------------------------------------------------
   Treatment |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
        Male |   .4987472   .5312873     0.94   0.348    -.5425567    1.540051
    Res_dept |   .3828578   .5826098     0.66   0.511    -.7590364    1.524752
       _cons |  -.4108196   .4708479    -0.87   0.383    -1.333664    .5120252
------------------------------------------------------------------------------
There are observations with identical propensity score values.
The sort order of the data could affect your results.
Make sure that the sort order is random before calling psmatch2.
unrecognized command

.
end of do-file


2013/12/13, Christopher Baum <[email protected]>:
> <>
> On Dec 13, 2013, at 2:33 AM, Amadou wrote:
>
>> I am having trouble with psmatch2.
>>
>> . psmatch2 Treatment Test1 Male Res_dep, outcome(Test2)
>>
>> Probit regression                                 Number of obs   =
>>  22
>>                                                  LR chi2(3)      =
>> 2.94
>>                                                  Prob > chi2     =
>> 0.4008
>> Log likelihood = -13.687694                       Pseudo R2       =
>> 0.0970
>>
>> -
>> ------------------------------------------------------------------------------
>>   Treatment |      Coef.   Std. Err.      z    P>|z|     [95% Conf.
>> Interval]
>> -
>> -------------+----------------------------------------------------------------
>>       Test1 |  -.1986892   .2724534    -0.73   0.466     -.732688
>> .3353096
>>        Male |   .5929837   .6528513     0.91   0.364    -.6865813
>> 1.872549
>>    Res_dept |   1.392754   .9005725     1.55   0.122    -.3723361
>> 3.157843
>>       _cons |   .0514229   .8150437     0.06   0.950    -1.546033
>> 1.648879
>> -
>> ------------------------------------------------------------------------------
>> There are observations with identical propensity score values.
>> The sort order of the data could affect your results.
>> Make sure that the sort order is random before calling psmatch2.
>> unrecognized command
>> r(199);
>>
>> end of do-file
>
> psmatch2 has not relied on C-language plugin technology for a Very Long
> Time. It was rewritten in Mata years ago. You must
> have a very old and obsolete version of psmatch2. It was last updated on SSC
> in July 2012. You should -adoupdate psmatch2, update-.
>
> Kit
>
>
> Kit Baum
> Professor of Economics and Social Work, Boston College, Chestnut Hill MA,
> USA
> DIW Research Professor, Department of Macroeconomics, DIW Berlin, Berlin,
> Germany
> [email protected]  |  http://ideas.repec.org/e/pba1.html
>
>
>
>
>
>
>
>
>
>
>
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/faqs/resources/statalist-faq/
> *   http://www.ats.ucla.edu/stat/stata/
>


-- 
Amadou B. DIALLO, PhD.
Senior Economist, AfDB.
[email protected]
+21671101789
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index