đ Plan du Cours
- Utilité et applications fondamentales des statistiques
- Niveaux de mesure des variables : nominal, ordinal, discret et continu
- Organisation et structuration des données dans les tableaux
- Mesures de tendance centrale : mode, médiane et moyenne
- Effet de la distribution asymétrique (skewness) sur les mesures centrales
- Mesures de dispersion : étendue, intervalle interquartile, variance et écart-type
- Calcul détaillé de la variance et correction de Bessel (n-1)
- InterprĂ©tation et propriĂ©tĂ©s de lâĂ©cart-type comme mesure de dispersion
- Introduction au logiciel statistique R : installation, organisation des fichiers et projets
- Gestion des erreurs et bonnes pratiques pour lâutilisation de R en analyse statistique
- Compétences visées : calcul, interprétation des statistiques univariées et bivariées, et usage de logiciels
- Résumé des notions clés : niveaux de mesure, mesures centrales, dispersion et introduction à R
đ 1. UtilitĂ© et applications fondamentales des statistiques
đ Notions clĂ©s & DĂ©finitions
- Central Tendency : A statistical concept that identifies the typical or central value of a variable, summarizing important information about its distribution.
- Uncertainty Across Disciplines Statistics gives : The role of statistics as a universal language that provides a vocabulary to communicate insights and uncertainty from data across various fields.
- Vocabulary to communicate insights from : A set of statistical terms and concepts that enable clear communication of findings and uncertainty derived from data.
đ Points essentiels
- Measures of central tendency summarize important information about a variable by identifying its typical or central value.
- 2 Course Setup 3 Levels of Measurement 4 Measures of Central Tendency 5 Measures of Dispersion 6 Working with R 6 / 73 Course Setup 7 / 73 Workgroup Instructors Pouria Mirelmi, MSc Christofer Talvitie, MSc Duygu Uysal, MSc Raafat Shamieh, MSc Benjamin Kester, MSc Amber Lauwers, MSc 8 / 73 Learning Outcomes In short: Statistical Literacy!
đĄ Ă retenir
Measures of central tendency summarize important information about a variable by identifying its typical or central value.
đ 2. Niveaux de mesure des variables : nominal, ordinal, discret et continu
đ Notions clĂ©s & DĂ©finitions
- Nominal : A measurement level characterized by two or more mutually exclusive categories without any natural ordering, where no arithmetic operations such as addition or subtraction are possible.
- Ordinal : A measurement level with a clear rank ordering of values, where the distances between values are not necessarily equal.
đ Points essentiels
- Nominal variables include examples such as eye color, marital status, political preference, and favorite football club.
- Ordinal variables include examples such as education level and degree of agreement on a Likert scale.
- Nominal variables do not allow arithmetic operations, while ordinal variables have a clear ordering but unequal distances between values.
- 37 / 73 Measures of Central Tendency 38 / 73 Measures of Central Tendency: Overview Measurement Level Measure of Central Tendency Nominal Mode Ordinal Mode + Median Interval-ratio Mode + Median + Mean 39 / 73 Mode The mode is the most frequent value.
đĄ Ă retenir
Nominal variables include examples such as eye color, marital status, political preference, and favorite football club.
đ 3. Organisation et structuration des donnĂ©es dans les tableaux
đ Notions clĂ©s & DĂ©finitions
- Extended with many : CapacitĂ© dâun logiciel statistique Ă ĂȘtre complĂ©tĂ© par de nombreux packages additionnels pour Ă©tendre ses fonctionnalitĂ©s.
- Inference for Numerical Data : Domaine dâĂ©tude consacrĂ© Ă lâinfĂ©rence statistique sur des donnĂ©es numĂ©riques, incluant la comparaison de moyennes, le test t, la taille dâeffet de Cohen et lâANOVA.
- Offered on a Pay-What- You-Want : Forme de diffusion dâun livre permettant au lecteur de choisir le montant Ă payer, avec une version gratuite disponible.
đ Points essentiels
- Le livre OpenIntro statistics est proposé selon un modÚle Pay-What-You-Want, incluant une version gratuite.
- 4 / 73 What can you do with it?
đĄ Ă retenir
Le livre OpenIntro statistics est proposé selon un modÚle Pay-What-You-Want, incluant une version gratuite.
đ Notions clĂ©s & DĂ©finitions
- Mode : Mesure de tendance centrale correspondant à la valeur la plus fréquente dans une série de données.
- Should I learn statistics : Question traitant de l'importance d'apprendre les statistiques Ă l'Ăšre de l'intelligence artificielle, soulignant que mĂȘme si l'IA peut rĂ©aliser l'analyse des donnĂ©es, l'interprĂ©tation, la vĂ©rification des hypothĂšses et la prĂ©vention des usages trompeurs nĂ©cessitent une comprĂ©hension humaine.
- Refer adequately to any literature : Consigne imposant de citer correctement toute littérature utilisée lors de la réalisation des travaux et exercices.
đ Points essentiels
- Even if AI fully does the data analysis for you⊠Economics: If data analysis becomes cheaper, it will be more common Interpretation requires understanding Assumptions are not automatically verified Data can be used to mislead Productivity gains are the highest for experts Living in the age of AI requires data literacy - more than ever!
- Refer adequately to any literature you use.
đĄ Ă retenir
Even if AI fully does the data analysis for you⊠Economics: If data analysis becomes cheaper, it will be more common Interpretation requires understanding Assumptions are not automatically verified Data can be used to mislead Productivity gains are the highest for experts Living in the age of AI requires data literacy - more than ever!
đ 5. Effet de la distribution asymĂ©trique (skewness) sur les mesures centrales
đ Notions clĂ©s & DĂ©finitions
- Exam Grades : A variable representing the score obtained on the Statistics I exam, which can vary between students and over time.
- Projects in RStudio : A structured folder in RStudio where scripts, RMarkdown files, and data files are stored together to organize quantitative analysis work.
đ Points essentiels
- The exam grade is considered a variable that can be analyzed using data from previous years to understand likely outcomes and their uncertainty.
- In RStudio projects, scripts, RMarkdown files, and data files should be placed together within the project folder.
đĄ Ă retenir
The exam grade is considered a variable that can be analyzed using data from previous years to understand likely outcomes and their uncertainty.
đ 6. Mesures de dispersion : Ă©tendue, intervalle interquartile, variance et Ă©cart-type
đ Notions clĂ©s & DĂ©finitions
- Interquartile Range : A measure of dispersion calculated as the difference between the third quartile (Q3) and the first quartile (Q1), representing the spread of the middle 50% of the data.
- Variance and Standard Deviation : Measures of dispersion that quantify how values are spread around the mean; variance is the average of squared deviations from the mean, and standard deviation is the square root of the variance, restoring the measure to the original data scale.
đ Points essentiels
- Range is calculated as the difference between the maximum and minimum values.
- Interquartile range is calculated as Q3 minus Q1.
- 5 60 / 73 Standard Deviation By taking the square root of the variance, we bring the measure of dispersion back to the same scale as the original data.
đĄ Ă retenir
Interquartile range is calculated as Q3 minus Q1.
đ 7. Calcul dĂ©taillĂ© de la variance et correction de Bessel (n-1)
đ Notions clĂ©s & DĂ©finitions
- Squared Differences : The squared deviations obtained by taking each valueâs difference from the mean and squaring it; these are summed to form the sum of squares.
- Total Deviation : The sum of deviations from the mean, which is always equal to 0.
đ Points essentiels
- 49 / 73 Calculating Variance (1) 50 / 73 Calculating Variance (2) 51 / 73 Calculating Variance (3) 52 / 73 Calculating Variance (4) 53 / 73 Calculating Variance (5) 54 / 73 Calculating Variance (6) 55 / 73 Calculating Variance (7) 56 / 73 Total Deviation and Squared Differences The total deviation is always equal to 0.
- The sum of the squared differences (sum of squared errors or simply sum of squares) is calculated as: SS = n â i=1 (xi â ÂŻx)2 57 / 73 Squared Differences 58 / 73 Variance The larger , the larger the sum of squares.
đĄ Ă retenir
49 / 73 Calculating Variance (1) 50 / 73 Calculating Variance (2) 51 / 73 Calculating Variance (3) 52 / 73 Calculating Variance (4) 53 / 73 Calculating Variance (5) 54 / 73 Calculating Variance (6) 55 / 73 Calculating Variance (7) 56 / 73 Total Deviation and Squared Differences The total deviation is always equal to 0.
đ 8. InterprĂ©tation et propriĂ©tĂ©s de lâĂ©cart-type comme mesure de dispersion
đ Notions clĂ©s & DĂ©finitions
- Example : How many cups of coffee or tea do you drink per day?
đ Points essentiels
- 41 / 73 Median (Even Number of Values) If you have an even number of values, you can (when working with numeric values) calculate the median as the average of the two middle values: Arrange all values in a row: 1 5 7 10 The median is then: 5+7 2 = 6 42 / 73 Mean The mean is the sum of all values divided by the number of values.
- 37 / 73 Measures of Central Tendency 38 / 73 Measures of Central Tendency: Overview Measurement Level Measure of Central Tendency Nominal Mode Ordinal Mode + Median Interval-ratio Mode + Median + Mean 39 / 73 Mode The mode is the most frequent value.
đĄ Ă retenir
The notes link central tendency and dispersion to the variable grades$grade_rounded, where the median is 8 and the mean is 7.1. They also state that a larger standard deviation means greater dispersion around the mean.
đ 9. Introduction au logiciel statistique R : installation, organisation des fichiers et projets
đ Notions clĂ©s & DĂ©finitions
- Calculating Variance : A measure of dispersion for interval-ratio data calculated by summing the squared differences between each value and the mean, then dividing by n-1 when using a sample.
đ Points essentiels
- Variance and standard deviation are the measures of dispersion used for interval-ratio data.
- The range is calculated as the maximum value minus the minimum value, with an example calculation of 6 - 1 = 5.
- The interquartile range is calculated as Q3 minus Q1, with an example calculation of 5 - 1 = 4.
đĄ Ă retenir
The interquartile range is calculated as Q3 minus Q1, with an example calculation of 5 - 1 = 4.
đ 10. Gestion des erreurs et bonnes pratiques pour lâutilisation de R en analyse statistique
đ Notions clĂ©s & DĂ©finitions
- Standard deviation : N n â 1 s2 = SS n â 1 = ân i=1(xi â ÂŻx)2 n â 1 59 / 73 Variance s2 = SS n â 1 = 1166 5 â 1 = 1166 4
đ Points essentiels
- The course states that the total deviation is always equal to 0, so it is not useful for measuring dispersion.
- The sum of squared errors is divided by n-1 because the course often works with samples and this gives more accurate results, described as Besselâs correction.
- The variance formula shown is sÂČ = SS / (n - 1).
- The standard deviation is the square root of the variance, written as s = âsÂČ = â(SS / (n - 1)).
đĄ Ă retenir
The standard deviation is the square root of the variance, written as s = âsÂČ = â(SS / (n - 1)).
đ 11. CompĂ©tences visĂ©es : calcul, interprĂ©tation des statistiques univariĂ©es et bivariĂ©es, et usage de logiciels
đ Notions clĂ©s & DĂ©finitions
- Calcul : Processus d'exécution d'opérations mathématiques sur des données pour obtenir des résultats numériques, comme le calcul de la variance et de l'écart-type à partir de la somme des carrés et de l'effectif.
đ Points essentiels
- 68 / 73 Projects in RStudio (2) 69 / 73 Projects in RStudio (3) Place scripts, RMarkdown files and data files in the project folder.
- (In Windows Explorer or Finder on Mac) 67 / 73 Projects in RStudio Use a Project in RStudio so that all related files are easy to find.
đĄ Ă retenir
68 / 73 Projects in RStudio (2) 69 / 73 Projects in RStudio (3) Place scripts, RMarkdown files and data files in the project folder.
đ 12. RĂ©sumĂ© des notions clĂ©s : niveaux de mesure, mesures centrales, dispersion et introduction Ă R
đ Notions clĂ©s & DĂ©finitions
đ Points essentiels
- 68 / 73 Projects in RStudio (2) 69 / 73 Projects in RStudio (3) Place scripts, RMarkdown files and data files in the project folder.
đĄ Ă retenir
Ce rĂ©sumĂ© relie les niveaux de mesure, les mesures de tendance centrale et de dispersion, et introduit lâorganisation des fichiers dans R via les projets pour faciliter le travail et la gestion des erreurs, tout en rappelant que les travaux notĂ©s doivent ĂȘtre rĂ©alisĂ©s individuellement.
𧩠Compléments de couverture
- Today: Summarizing important information about a variable level of measurement central tendency dispersion Statistics is universal
- Describing reality Discovering patterns Investigating (causal) relationships Working with samples 5 / 73 Overview 1 Why Statistics? 2 Course Setup 3 Levels of Measurement 4 Measures of Central Tendency 5 Measures of Dispersion 6 Working wit
- Objective 2: Students can calculate and report, as well as critically evaluate othersâ use and interpretation of, a number of bivariate statistical analyses
- Data: Comparing Means T-test, Cohenâs D 7 Inference for Numerical Data: Statistical Power and ANOVA ANOVA Ï2 10 / 73 Textbook Diez, D
- Pay-What- You-Want basis, including a free version
- 14 / 73 Brightspace Announcements Slides Instructional videos and software guides Important documents (reporting guidelines, formula sheets, FAQ) Quizzes 15 / 73 What do you need to do each week? Read textbook chapters (3-5 hours) Attend le
- Total: 10-18 hours per week
- 18 / 73 Why should I learn statistics in the age of AI? Even if AI fully does the data analysis for you⊠Economics: If data analysis becomes cheaper, it will be more common Interpretation requires understanding Assumptions are not automatic
- Study: Read the book, watch the videos, attend the lecture and workgroup every week 2
- Exam Grades: Expectations and the Past 24 / 73 Exam Grades: Expectations and the Past The exam grade is a variable
- Examples: Eye color (brown, blue, green, âŠ) Marital status (married, unmarried, divorced, widowed, âŠ) Political preference (Labour, CDA, VVD, âŠ) Favorite football club No arithmetic operations possible (subtract, add, etc
- Examples: Weight (in kilograms or pounds) Time (measured in seconds, minutes, or hours) Blood pressure Body temperature 30 / 73 Discrete Only certain, countable values are possible (usually whole numbers) Examples: Number of pets Exam point
- Discrete Interval-ratio: only countable (whole) values Number of pets Exam points 32 / 73 Organizing Data Variables in the columns
- Non-binary <NA> A few times 6 6 0 Male <NA> A few times 7 7 0 Female <NA> A few times 8 8 0 Female <NA> A few times 9 9 1 Male High Regularly 10 10 0 Female High A few times 33 / 73 Nominal Variable: Gender 34 / 73 Ordinal Variable: Compute
- er Skills 35 / 73 Interval-ratio Variable: Exam Grades 36 / 73 Skewness Variable Grade is not symmetrically distributed, but skewed: a long tail on the left side.
-
- 41 / 73 Median (Even Number of Values) If you have an even number of values, you can (when working with numeric values) calculate the median as the average of the two middle values: Arrange all values in a row: 1 5 7 10 The median is the
- Exam Grades Mode DescTools::Mode(grades$grade_rounded)1 [1] 8
- Dispersion - Overview Measurement Level Measure of Dispersion Nominal â Ordinal Range, Interquartile Range Interval-ratio Variance or Standard Deviation 47 / 73 Range and Interquartile Range Range 1 1 1 3 4 4 5 6 6 Range = maximum - minimum
-
- Not so useful a measure for dispersion
- Thatâs why we divide the sum of squared errors by : Why n-1? We often work with samples and by using n-1 we get more accurate results (Besselâs correction). Watch the video on Brightspace for more explanation. n n â 1 s2 = SS n â 1 = ân i=1
- But: getting started is often a bit more difficult than âpoint and clickâ 66 / 73 Organize Your Files Use a folder for all files in this course with subfolders within it
- Example: a project for all the exercises for this course
- Note: in R you can often do things in multiple ways
- n) Skewness: with skewed distribution the mean differs from the median; outliers pull the mean along Dispersion: range, interquartile range (IQR), variance ( ) and standard deviation ( ) R: create projects, load data, fix error messages s2
đ Tableaux de SynthĂšse
Niveaux de mesure et mesures associées
| Niveau | Propriété | Mesure(s) de tendance centrale |
|---|
| Nominal | Catégories mutuellement exclusives sans ordre naturel | Mode |
| Ordinal | Ordre clair | Mode, médiane |
| Interval-ratio | Valeurs numériques | Mode, médiane, moyenne |
Dispersion et calculs
| Mesure | Définition | Formule ou propriété |
|---|
| Ătendue | DiffĂ©rence entre maximum et minimum | maximum - minimum |
| Intervalle interquartile | Dispersion des 50% centraux | Q3 - Q1 |
| Variance | Moyenne des écarts au carré autour de la moyenne | SS / (n - 1) |
| Ăcart-type | Racine carrĂ©e de la variance | MĂȘme Ă©chelle que les donnĂ©es |
â ïž PiĂšges & Confusions FrĂ©quentes
- Confondre nominal et ordinal : le nominal nâa pas dâordre naturel, lâordinal a un rang clair.
- Utiliser la moyenne pour une variable nominale : le cours associe le mode au niveau nominal.
- Oublier que la médiane pour un nombre pair de valeurs est la moyenne des deux valeurs centrales.
- InterprĂ©ter lâĂ©tendue comme une mesure des valeurs centrales alors quâelle mesure la dispersion globale.
- Confondre variance et Ă©cart-type : lâĂ©cart-type est la racine carrĂ©e de la variance.
- Oublier la correction de Bessel : la variance dâĂ©chantillon est divisĂ©e par n - 1.
- Croire que la déviation totale mesure la dispersion : le total des écarts à la moyenne est toujours 0.
â
Checklist Examen
- DĂ©finir lâutilitĂ© des statistiques comme langage pour communiquer des informations et de lâincertitude.
- Distinguer nominal et ordinal par la prĂ©sence ou non dâun ordre naturel.
- Associer le mode au niveau nominal.
- Associer mode et médiane au niveau ordinal.
- Associer mode, médiane et moyenne aux données interval-ratio.
- Calculer lâĂ©tendue comme maximum moins minimum.
- Calculer lâintervalle interquartile comme Q3 moins Q1.
- Expliquer la variance comme somme des écarts au carré divisée par n - 1 pour un échantillon.
- Expliquer que lâĂ©cart-type est la racine carrĂ©e de la variance.
- Relier lâasymĂ©trie Ă un Ă©cart entre moyenne et mĂ©diane.
- Retenir que la somme des écarts à la moyenne est toujours égale à 0.
- Savoir quâen R il faut organiser ses fichiers en dossiers et projets et gĂ©rer les messages dâerreur.
Create your own revision sheets
Import your course and AI generates sheets, quizzes and flashcards in 30 seconds.
Sheet generator