We want to represent the pattern of how a SNP effect changes by age, however:
Effect estimates can be erratic when standard errors are large
Using z-scores can be more influenced by different sample sizes across ages
Ideally we would use smoothed betas to solve both of these issues.
Polynomial meta regression can handle sample overlap which is ideal for hypothesis testing, but imposes a functional form which won’t represent the age-trajectory patterns accurately
Non-parametric smoothing (e.g. LOESS smoothers) can do a better job of capturing the shape without having a statistically clear interpretation
This basic analysis explores how to get smoothed betas.
Approximate the age-stratified effect estimate results for the FTO variant on BMI
However I did artificially make the very imprecise estimate for age 90 to be slightly off the obvious trend to try to capture