Ekaterina Selezneva wrote:
> I'm wondering whether I understand properly the mechanism underlying
> --sqom-- command of the Sequence Analysis module.
>
> For example, I use the following piece of code:
>
> . sqset stat id year;
> . sqom, subcost(subalb) name(om1) refseq(1100071027);
>
> If I understand correctly, the procedure has nothing to do with other
> variables existing in my dataset (for example, sex and age of
> individuals, whose labour market careers I'm following).
>
> At the same moment, I receive an error message "age not constant
> within id" when persofming the --sqom-- command. Does it mean that the
> procedure uses, in fact, all the other variables in dataset, or it's
> me who is wrong? ;)
This question refer to the -sq- package for sequence analysis available with
-ssc install sq-.
What you report seems odd. The error message you mentioned is neither coded
into -sqom-, nor into -sqset-. Error messages like those you mention here are
typical for the -sqstat- commands (sqstattab1, sqstattab2, sqstattabsum,
etc.).
For now, the only explanation I have has to do with the delimiter. It seems
that you use ";" as delimiter. Can you check out if there is a -sqstat*-
command upstream, which missing it's delimiter?
Uli
--
[email protected]
+49 (030) 25491-361
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/