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.
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.