Filter löschen
Filter löschen

Adjusted values for plotting

1 Ansicht (letzte 30 Tage)
Sahil Bajaj
Sahil Bajaj am 17 Jul. 2018
Kommentiert: Jeff Miller am 18 Jul. 2018
Hi,
I have two variable X and Y. Correlation between these two is r = 0.2 at p = 0.51 (non-significant). If I include covariates age and sex then my partial correlation is 0.79 at p = 0.02 (significant). I am interested in reporting the partial correlation/p-value along with the linear plot. How can I calculate adjusted X and Y values i.e., after including the covariates so that I can plot the adjusted values which are giving me correlation is 0.79 at p = 0.02?
Thanks.
  1 Kommentar
Jeff Miller
Jeff Miller am 18 Jul. 2018
Rather than adjusting for sex, you might display separate X/Y plots for the males and females. This could be easier to understand than a plot of adjusted values, and it does control for sex by considering each sex in isolation. Harder to do with age, but you could perhaps break your sample into 3 age groups and make six plots with young, middle-aged, old X male/female. After all, you have the overall numerical summaries (e.g., .79, .02) and just need the plots so that people can visualize the relationships.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by