Skip to main content Accessibility help
×
Hostname: page-component-8448b6f56d-jr42d Total loading time: 0 Render date: 2024-04-23T19:28:58.491Z Has data issue: false hasContentIssue false

7 - Performing the analysis

Published online by Cambridge University Press:  01 April 2011

Mitchell H. Katz
Affiliation:
University of California, San Francisco
Get access

Summary

What numbers should I assign for dichotomous or ordinal variables in my analysis?

Let's take the simplest case of a dichotomous variable based on an interview question: Do you have a history of diabetes: yes or no?

The equations used to solve multivariable analysis need numerical representations of yes and no. Since this scale only has two points, the numeric distance between the two points can be represented by any two numbers that are separated by one: 0 and 1, 1 and 2, 0 and –1, etc. It doesn't really matter. The sign of the coefficient may change depending on whether you assign “yes” the higher or the lower value, but the coefficient and significance level will be the same (Section 8.3). However, you will not get the same answer if you code your variables such that there is more than one point between the two numbers. For example, coding schemes like +1 and −1 will give you a different answer because there is more than one unit between the two points.

Although any two numbers that are one number apart will give you the same answer, a sensible convention, for both independent and dependent variables, is to use 1 and 0, with 1 representing the presence and 0 representing the absence of the condition. This convention is easy to remember and decreases the chance that you will be confused at the direction of the effect.

Type
Chapter
Information
Multivariable Analysis
A Practical Guide for Clinicians and Public Health Researchers
, pp. 118 - 139
Publisher: Cambridge University Press
Print publication year: 2011

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

References

Alcabes, P., Pezzotti, P., Phillips, A.N., et al. “Long-term perspective on the prevalent-cohort biases in studies of human immunodeficiency virus progression.” Am. J. Epidemiol. 146 (1997): 543–51CrossRefGoogle ScholarPubMed
Benthem, B.H.B., Veugelers, P.J., Schecter, M.T., et al. “Modelling the AIDS incubation time: Evaluation of three right censoring strategies.” AIDS 11 (1997): 834–5Google ScholarPubMed
Korn, E.L., Graubard, B.I., and Midthune, D. “Time-to-event analysis of longitudinal follow-up of a survey: Choice of the time scale.” Am. J. Epidemiol. 145 (1997): 72–80Google ScholarPubMed
Blum, S., Singh, T.P., Gibbons, J., et al. “Trends in survival among persons with acquired immunodeficiency syndrome in New York City.” Am. J. Epidemiol. 139 (1994): 351–61CrossRefGoogle ScholarPubMed
Leoung, G.S., Feigal, D.W., Montgomery, A.B., et al. “Aerosolized pentamadine for prophylaxis against pneumocystis carinii pneumonia.” N. Engl. J. Med. 323 (1990): 769–75CrossRefGoogle ScholarPubMed
Golden, J.A., Katz, M.H., Chernoff, D.N., et al. “A randomized comparison of once-monthly or twice-monthly high-dose aerosolized pentamadine prophylaxis.” Chest 104 (1993): 743–50CrossRefGoogle ScholarPubMed

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

  • Performing the analysis
  • Mitchell H. Katz, University of California, San Francisco
  • Book: Multivariable Analysis
  • Online publication: 01 April 2011
  • Chapter DOI: https://doi.org/10.1017/CBO9780511974175.008
Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

  • Performing the analysis
  • Mitchell H. Katz, University of California, San Francisco
  • Book: Multivariable Analysis
  • Online publication: 01 April 2011
  • Chapter DOI: https://doi.org/10.1017/CBO9780511974175.008
Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

  • Performing the analysis
  • Mitchell H. Katz, University of California, San Francisco
  • Book: Multivariable Analysis
  • Online publication: 01 April 2011
  • Chapter DOI: https://doi.org/10.1017/CBO9780511974175.008
Available formats
×