I am being honest with you, I cannot really say neither. As I said I am mostly working according to what my PI instructs me to do. But I can post a screenshot of the table I was asked to work on.
Basically I use a multivariate analysis to calculate the correlation coefficient and p-value within group via Spearmans. And the question is how to calculate "mean dose" and "mean blood level".
Y --> 1) med level 2) med dose
By --> a) list of meds b) e.g. sex
and I was looking for a way to find a median here in the list of commands. Since you can access the mean value via "simple statistics"
I use Fit model to calculate p value across groups and y by x to for
"N" --> *number of blood draws post-baseline with available information about antipsychotic dose and blood level (maximum 3 time points per patient, i.e. at week 4, 8 and 12).
Thats all the information I can provide.