How to find the correlation between 5 variables from which 4 are ordinal and one is numeric in R?

by firmo23   Last Updated September 20, 2018 15:19 PM - source

I have a sample dataset like:


As you can see in this dataset there are 5 students and their answers to 3 questions in a scale from 1 to 5. You can also see the hours that these students spent on preparing for these "condidence" tests. I am not sure what kind of analysis should I perform in R on this dataframe as it seems to me that ans1,ans,ans3 are correlated since they come from the same student. What model would make sense?

Related Questions

Dropping one of the columns when using one-hot encoding

Updated February 18, 2018 15:19 PM

Multiple categorical IVs in meta-regression

Updated April 26, 2018 18:19 PM