The total effect is often measured using statistical models like regression analysis. In a simple scenario, it can be calculated by comparing the outcome in the exposed group with the outcome in the non-exposed group. More complex models, such as structural equation modeling or causal mediation analysis, can also be used to disentangle direct and indirect effects while still providing an estimate of the total effect.