[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: Taboods
In the continuing thread on -tabodds-, I had suggested that the problem may
have been with a variable labeling. Jean Bouyer <Bouyer@vjf.inserm.fr> adds:
> Thanks for your answer. But, I had already check for this, and I don't think
> it is the solution because the variable agec6 has no value label (see
My Stata colleague, Weihua Guan, pointed this out to me:
> The -base(#)- option does not specify the value of a category, i.e.,
> agec6==#, but specifies the #th category. In Jean's example, -base(2)-
> actually tells -tabodds- that the second category, for which agec6==1, will
> be set as the base.
> The ado code generates a temporary group variable using -egen-:
> . egen `g' = group(agec6)
> and then compare the number specified by -base()- to the value of `g'.
> The help file of -tabodds- is not clear about this point, and we may want to
> modify it in a later update.
Weihua and I agree that this "feature" of -tabodds- needs to be better
* For searches and help try: