Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 72762

Error cmp (conditional mixed process) command

$
0
0
Dear Stata users,

I am using Stata version 11.2 in a Mac to estimate models using the user-written-cmp- (conditional mixed process) command . I installed the version from ssc, and if I check with -ssc install cmp-, Stata says that the latest version is installed.
I am having trouble replicating the cmp examples displayed in the Stata Journal paper (http://www.stata-journal.com/article...article=st0224). As directed by the author's article, I do :

cmp setup
webuse laborsup
replace fem inc = fem inc - 10
cmp (kids = fem inc male educ), indicators($cmp cont) quietly

I get the error:
"Indicator for kids must only evaluate to integers between 0 and 9.
invalid syntax"
I have tried
-update all
-adoupdate cmp, update
-adoupdate ghk2, update

They are all updated. Any suggestion ?

Best,
Celia P.



Viewing all articles
Browse latest Browse all 72762

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>