[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: RE: Calculate z-values
You can compute the z-values that -lincom- produces as:
z = ln(OR)*OR/se
where OR and se are the values you posted to your file.
The reported p-values are p = 2*(1-norm(abs(z))).
> -----Original Message-----
> From: Metrika Consulting [mailto:firstname.lastname@example.org]
> Sent: Tuesday, February 25, 2003 6:15 AM
> To: email@example.com
> Subject: st: Calculate z-values
> Does anyone know how to calculate z-values from odds ratios
> and standard errors of odds ratios?
> I have run a hugh amount of "logit..., robust or"
> regressions followed by "lincom....., or", and I have posted
> all the r(estimate) and r(se) to a new file. The new file
> thus contains one variable with odds ratios and one variable
> with the standard errors of odds ratios. How can I construct
> a new variable with the z-values (or some approximation of
> z-values)? I thought that "gen z = ln(odds ratio) / ln(se)"
> would do it but it is obviously not the right way to do it.
> * 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/
CONFIDENTIALITY NOTE: This e-mail message, including any
attachment(s), contains information that may be confidential,
protected by the attorney-client or other legal privileges, and/or
proprietary non-public information. If you are not an intended
recipient of this message or an authorized assistant to an intended
recipient, please notify the sender by replying to this message and
then delete it from your system. Use, dissemination, distribution,
or reproduction of this message and/or any of its attachments (if
any) by unintended recipients is not authorized and may be unlawful.
* For searches and help try: