Back to Course

FoSSA Français

0% Complete
0/0 Steps
  1. Information sur le cours

    Rencontrez l'équipe enseignante
  2. Jeu de données du cours 1
  3. Jeu de données du cours 2
  4. MODULE A1: INTRODUCTION AUX STATISTIQUES AVEC R ET STATA
    A1.1 Qu'est-ce que les Statistiques?
  5. A1.2.1a Introduction Ă  Stata
  6. A1.2.2b: Introduction Ă  R
  7. A1.2.2c: Introduction to SPSS
  8. A1.3: Statistiques Descriptives
  9. A1.4: Estimations et Intervalles de Confiance
  10. A1.5: Tests d'Hypothèses
  11. A1.6: Transformation de Variables
  12. Fin du Module A1
    1 Quiz
  13. MODULE A2: CALCULS DE PUISSANCE STATISTIQUE & DE TAILLE D’ÉCHANTILLON
    A2.1 Concepts Clés
  14. A2.2 Calculs de puissance pour une différence de moyennes
  15. A2.3 Calculs de puissance pour une différence de proportions
  16. A2.4 Calcul de taille d’échantillon pour les essais randomisés (RCTs)
  17. A2.5 Calculs de taille d’échantillon pour les études transversales (ou sondages)
  18. A2.6 Calcul de taille d'échantillon pour un devis cas-contrôle
  19. Fin du Module A2
    1 Quiz
  20. MODULE B1: RÉGRESSION LINÉAIRE
    B1.1 Corrélation et Nuages de Points (scatterplots)
  21. B1.2 Différences Entre Moyennes (ANOVA à un facteur)
  22. B1.3 Régression Linéaire Univariée
  23. B1.4 Régression Linéaire Multivariée
  24. B1.5 Sélection de Modèles et Tests F
  25. B1.6 Diagnostics de Régression
  26. Fin du Module B1
    1 Quiz
  27. MODULE B2: COMPARAISONS MULTIPLES & MESURES RÉPÉTÉES
    B2.1 ANOVA Approfondie— Tests Post-Hoc
  28. B2.2 Correction pour Comparaisons Multiples
  29. B2.3 ANOVA Ă  deux facteurs (Two-way ANOVA)
  30. B2.4 Mesures Répétées et Test T Apparié
  31. B2.5 ANOVA pour Mesures Répétées
  32. Fin du Module B2
    1 Quiz
  33. MODULE B3: MÉTHODES NON-PARAMETRIC
    B3.1 Hypothèses des Tests Paramétriques
  34. B3.2 Test U de Mann-Whitney
  35. B3.3 Test de Kruskal-Wallis
  36. B3.4 Test des rangs signés de Wilcoxon
  37. B3.5 Test de Friedman
  38. B3.6 Corrélation des Rangs de Spearman
  39. Fin du Module B3
    1 Quiz
  40. MODULE C1: DONNÉES BINAIRES & RÉGRESSION LOGISTIQUE
    C1.1 Introduction à la prévalence, au Risque, aux Cotes (Odds) et aux Taux
  41. C1.2 Le Test du Chi Carré & le Test de Tendance
  42. C1.3 Régression Logistique Univariée
  43. C1.4 Régression Logistique Multivariée
  44. Fin du Module C1
    1 Quiz
  45. MODULE C2: DONNÉES DE SURVIE
    C2.1 Introduction aux Données de Survie
  46. C2.2 Fonction de Survie de Kaplan-Meier & Test du Log-Rank
  47. C2.3 Régression de Cox à Risque Proportionnel
  48. C2.4 Régression de Poisson
  49. Fin du Module C2
    1 Quiz
Lesson 38 of 49
In Progress

B3.6 Corrélation des Rangs de Spearman

Learning Outcomes

By the end of this section, students will be able to:

  • Explain the importance of the parametric assumptions and determine if they have been met
  • Explain the basic principles of rank based non-parametric statistical tests
  • Describe the use of a range of common non-parametric tests
  • Conduct and interpret common non-parametric tests

You can download a copy of the slides here: B3.6 Spearman’s Rank Order Correlation

B3.6 PRACTICAL: R

For the last practical in this module, you are going to perform a test of correlation on non-parametric data using the Spearman’s Rank Order Correlation.

This can be conducted using the cor.test command, which has the structure:

cor.test(data, variable 1, variable 2, method=””)

We can specify spearman as the method to conduct a Spearman’s rank test. If the method is not specified, the default is Pearson’s correlation.

Question B3.6: What is the spearman correlation between Weight_end and BCS_end?

Answer

We can use the cor.test command with the structure specified above:

> cor_test(data, Weight_end, BCS_end, method = “spearman”)

This gives the following RStudio output:

We can see that there is a significant (p<0.05) correlation between the body condition score and the weight of the mice at the end of the study and their correlation coefficient is 0.81.

B3.6 PRACTICAL: Stata

For the last practical in this module, you are going to perform a test of correlation on non-parametric data using the Spearman’s Rank Order Correlation.

The command in Stata is

spearman [varlist] [if] [in] [, spearman_options]

We can put multiple variables on the command line where it states [varlist].

Question B3.6: What is the spearman correlation between Weight_end and BCS_end?

Answer

Here you would report an rs value of 0.814 and a significant correlation with P<0.001.

B3.6 PRACTICAL: SPSS

For the last practical in this module, you are going to perform a test of correlation on non-parametric data using the Spearman’s Rank Order Correlation.

Select

Analyze  >> Correlate >> Bivariate

Move the two variables you are interested in into the Test Variables box. Here we are going to look at BCS_end and Weight_end.

If you put more than two variables into the Test Variables box, SPSS will perform the selected test of correction on all possible combinations.

Make sure ‘Spearman’ is selected at the bottom of the box before you press ‘OK’ to run the test.

Answer

Here you would report an rs value of 0.814 and a significant correlation with P<0.001. SPSS automatically conducts all of the correlations both ways and the correlation of each variable against itself.

If this is confusing, you can get rid of this by clicking ‘show only lower triangle’ and then deselecting ‘show diagonal’ when setting up the test. Then your output will look like this.

đŸ‘‹ Before you go, leave an anonymous rating & feedback

Average rating 4.8 / 5. Vote count: 10

No votes so far! Be the first to rate this post.

Please share any positive or negative feedback you may have.

Feedback is completely anonymous

0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
0
Questions or comments?x