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]

st: AW: Tobit with - cmp -


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: AW: Tobit with - cmp -
Date   Thu, 19 Aug 2010 15:20:42 +0200

<> 

Once you include the line 
-replace fem_inc = fem_inc - 10-
in your example, they do give the same result. 

You have to scroll through this -rather large- help file from top to bottom
not to miss these things. 

-cmp- can be obtained from -ssc-, btw:

*************
cmp setup
webuse laborsup, clear
replace fem_inc = fem_inc - 10
tobit fem_inc kids male_educ, ll
cmp (fem_inc = kids male_educ), ind("cond(fem_inc, $cmp_cont, $cmp_left)")
qui
*************



HTH
Martin


-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Giacomo Zanello
Gesendet: Donnerstag, 19. August 2010 15:01
An: [email protected]
Betreff: st: Tobit with - cmp -

Dear Statalist Participants,

I am learning to use the - cmp - command, but I cannot replicate the tobit
example in Roodman, 2009 with Stata 11.1. Could someone confirm me if the 
following codes - tobit - and - cmp - give the same output? When I run them,

I got different results.

. cmp setup
. webuse laborsup, clear
. tobit fem_inc kids male_educ, ll
. cmp (fem_inc = kids male_educ), ind("cond(fem_inc, $cmp_cont, $cmp_left)")

qui

Many thanks for your help.
Giacomo Zanello

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


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