The Student Room Group

Multivariate statistics

It is believed that there is a significant difference in the quantitative variables between the patients from Cohorts ”2” and ”5”, however, it is also believed that the average level of the variables between the two groups is the same.

What would be the suitable statistical analysis to conduct in R?
Original post by leena97x
It is believed that there is a significant difference in the quantitative variables between the patients from Cohorts ”2” and ”5”, however, it is also believed that the average level of the variables between the two groups is the same.

What would be the suitable statistical analysis to conduct in R?

Sounds like an analysis of variance - ANOVA - is suitable. You can make an ANOVA model using the code

>> Anova.Test <- aov('Dataframe'$'Cohort2' ~ 'Dataframe'$'Cohort5)

Or if you just want to test everything then you can do

>> Anova.All <- aov('Dataframe')
(edited 4 years ago)
Reply 2
I think I am supposed to use profile analysis but I am not sure how to do that
Ah okay, I'm not as familiar with profile analysis, but there is a handy R package for it called "profileR". You might need to download it from the CRAN repository though

Quick Reply

Latest