[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: r(or) with tabodds com
On Wednesday, Paolo wrote:
> The [ST] manual on page 60 says that in Tabodds command are saved in
> r(), as scalars, the odds.
> But, actually, when you see the list of return, you can't see those scalars.
> Is this a bug?
In any Stata command, some results may only be saved with a particular
specification of a command. So the list given in the manual is the union
of all sets of results possible with that command.
In the case of -tabodds-, specifying an exposure variable is optional.
If you do not, -tabodds- calculates a single odds, together with its
confidence interval, and that is what is saved.
If you do specify an exposure variable, there will probably be at least
two odds, with corresponding intervals. What is saved in this
case is the relevent information from the homogeneity and trend tests.
Here is an example:
tabodds case [fw=fr]
tabodds case alc [fw=fr]
* For searches and help try: