Probability and Statistical Inference

Summary of lectures

Lecture 1 - 19/09/2018

Introduction & Fundamentals

Introduction

Fundamentals


Lecture 2 - 19/09/2018

Describing and Presenting Data

File geoms.docx (843.268 KB)
File PSIWeek2.R (6.032 KB)
File L2-More on Describing Data.pptx (2.435 MB)
File PSIWeek2Data.zip (12.167 KB)
File Datasets.docx (14.26 KB)

Attached to this page you will find the material you need for the lecture tomorrow plus the practical class.

geoms.docx is a scan of pages from Andy Field's book about common geom functions and aethetics
Datasets.docx describes the data we are using.
PSIWeek2Data.zip contains the datasets we are going to use.
PSIWeek2.R includes the R script for creating some graphs from the lecture.

Lecture 3 - 19/09/2018

Correlation and Difference

File PSIWeek3-Lecture.Rmd (6.118 KB)
File Field-BDI-Non-parametric.dat (466 B)
File L3 - Correlation and Difference.pptx (3.075 MB)
File PSIWeek3-Lecture.html (958.808 KB)
File PSIWeek3Exercise.docx (198.319 KB)
File survey.dat (192.817 KB)
File Regression.sav (190.589 KB)
This week we are introducing statistical tests for correlation and difference.

Attached to this page you will find:

Lecture notes (.pptx)
PSI-Week3.rmd - R markdown file with all the commands used in the lecture + PSIWeek3-Lecture.html which is the knitted output
All the datafiles used in the lecture (both .dat and .sav formats)
The specification for the practical class PSIWeek3Exercise.pdf (this uses the survey dataset from this week and the regression dataset from last week)
I will be using R markdown from now on to provide you with the R code. A guide to getting started is available at https://rmarkdown.rstudio.com/lesson-1.html
  H0 is true H0 is false
Reject H0 Type I error Correct
Fail to reject </br>Reject H0 Correct Type II error

Spearman (Non-parametric)

Spearman’s Rho is the statistic in R (aka rs or the Greek letter ρ) </br> Kendall’s Tau is the statistic in R (aka tau-b or τb)

  Independent Samples Related Samples
Interval measures/ parametric Independent samples t-test* Paired samples t-test**
Ordinal/ non-parametric Mann-Whitney U-Test Wilcoxon test

* 2 different groups of participants</br> ** 2 same participants measured at two different points


Lecture 4 - 10/10/2018

Difference

File experim.dat (3.964 KB)
File Field-BDI-Non-parametric.dat (466 B)
File L4 - Difference.pptx (1.66 MB)
File PSIWeek4-Lecture.html (790.572 KB)
File PSIWeek4-Lecture.Rmd (3.924 KB)
File Regression.sav (190.636 KB)
File survey.dat (192.817 KB)
File PSIWeek4Exercise.docx (198.268 KB)

Attached to this page you will find:

Lecture notes for this week
Rmd file plus Html output for rmd used in the lecture
Exercise for this week
Datasets used (regression.sav, survey.dat, Field-BDI-Non-Parametric.dat, experim.dat)

(Review class)

Lecture 5 - 17/10/2018

Comparing More Than Two Groups. </br> Comparing non-numerical variables

File bullying.dat (69.664 KB)
File diet.dat (573 B)
File experim.dat (3.964 KB)
File L5 - Differences More than Two.pptx (1.88 MB)
File PSI-Lecture5.html (738.271 KB)
File PSI-Lecture5.Rmd (6.816 KB)
File survey.dat (192.817 KB)
File youthcohort.dat (3.185 MB)
This week we will be using the following R packages:

library(psych)library(semTools)library(stats)library(ggplot2)library(FSA)library(userfriendlyscience) library(gmodels)

Attached to this page are :

Lecture Notes for this week
Markdown file plus html output for R used in the lecture
Datasets used.
  Independent Samples Related Samples
Interval measures/ parametric ANOVA* Repeated** Measures ANOVA
Ordinal/ non-parametric Kruskall-Wallis Freidman

* multiple different groups of participants </br> ** multiple same participants measured at multiple different points


Lecture 6 - 24/10/2018

Assignment class revision. </br> Descriptive statistics, graphs, tests

Module Link/Module Content/Choosing your Statistical Test (pdf)”

Lecture 6 - 07/11/2018 (week 8)

Dimension Reduction </br> Linear Regression

File L6 - Dimension Reduction.pptx (8.889 MB)
File PSI-Lecture6-DimRed.html (1.934 MB)
File PSI-Lecture6-DimRed.Rmd (4.64 KB)
Attached to this page you will find:
---
File PSI-Lecture7-LinReg.html (725.91 KB)
File L7 - Getting Started with Predictive Statistics.pptx (1.914 MB)
File PSI-Lecture7-LinReg.Rmd (1.322 KB)
Attached to this page are: