How do I calculate the adjusted odds ratio using jamovi (Java Statistical Analysis Module)?

Medical Advisory BoardAll articles are reviewed for accuracy by our Medical Advisory Board
Educational purpose only • Exercise caution as content is pending human review
Article Review Status
Submitted
Under Review
Approved

Last updated: October 2, 2025View editorial policy

Personalize

Help us tailor your experience

Which best describes you? Your choice helps us use language that's most understandable for you.

How to Calculate Adjusted Odds Ratio Using Jamovi

To calculate adjusted odds ratios in Jamovi, use the logistic regression module under the "Analyses" tab, add your outcome variable, predictor variables, and covariates, then interpret the exponentiated coefficients as odds ratios.

Understanding Odds Ratios

An odds ratio (OR) represents the odds that an outcome will occur given a particular exposure, compared to the odds of the outcome occurring in the absence of that exposure. When we adjust for covariates, we're controlling for potential confounding variables that might influence this relationship.

Step-by-Step Guide to Calculate Adjusted Odds Ratios in Jamovi

  1. Open your dataset in Jamovi

    • Import your data file (.csv, .sav, etc.)
    • Ensure variables are correctly defined (nominal, ordinal, continuous)
  2. Access the Logistic Regression module

    • Click on "Analyses" tab
    • Select "Regression"
    • Choose "Logistic Regression"
  3. Set up your model

    • Add your dependent variable (outcome) to the "Dependent Variable" box
    • Add your independent variable(s) of interest to the "Covariates" box
    • Add your adjustment variables (confounders) to the "Covariates" box
  4. Configure additional options

    • Under "Model Builder," ensure all variables are included in the model
    • In "Model Coefficients," check "Odds ratio" to display ORs instead of log odds
    • Select "Confidence interval" and set your desired level (typically 95%)
  5. Interpret the results

    • The "Odds ratio" column shows your adjusted odds ratios
    • The confidence intervals show the precision of these estimates
    • The p-values indicate statistical significance

Advanced Options

Interaction Terms

To include interaction effects:

  • Go to "Model Builder"
  • Select the variables you want to interact
  • Click "Add Interaction" button

Categorical Variables

For categorical predictors with multiple levels:

  • Jamovi automatically creates dummy variables
  • The reference category can be changed in the variable settings

Common Pitfalls to Avoid

  1. Multicollinearity: Check for high correlations between predictors, as this can inflate standard errors and make odds ratios unstable.

  2. Complete separation: If a predictor perfectly predicts the outcome, the model won't converge properly.

  3. Sample size: Ensure you have sufficient cases per predictor variable (typically at least 10 events per predictor).

  4. Misinterpreting odds ratios: Remember that odds ratios are not the same as relative risks, especially when outcomes are common (>10% prevalence) 1.

  5. Confusing adjusted and unadjusted odds ratios: The adjusted OR from logistic regression represents the effect of each variable while controlling for all other variables in the model 2.

Statistical Background

The logistic regression model uses the log odds link function to relate predictors to the binary outcome 2:

log(odds) = β₀ + β₁X₁ + β₂X₂ + ... + βₚXₚ

Where:

  • log(odds) is the natural logarithm of the odds of the outcome
  • β₀ is the intercept
  • β₁, β₂, ..., βₚ are the regression coefficients
  • X₁, X₂, ..., Xₚ are the predictor variables

The exponentiated coefficients (e^β) represent the odds ratios, which Jamovi can display directly in the output 2.

By using this approach, you'll obtain more precise estimates of odds ratios compared to dichotomizing count data before analysis 3.

Professional Medical Disclaimer

This information is intended for healthcare professionals. Any medical decision-making should rely on clinical judgment and independently verified information. The content provided herein does not replace professional discretion and should be considered supplementary to established clinical guidelines. Healthcare providers should verify all information against primary literature and current practice standards before application in patient care. Dr.Oracle assumes no liability for clinical decisions based on this content.

Have a follow-up question?

Our Medical A.I. is used by practicing medical doctors at top research institutions around the world. Ask any follow up question and get world-class guideline-backed answers instantly.