Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Samenvatting

Statistics I Summary

Beoordeling
-
Verkocht
1
Pagina's
71
Geüpload op
17-01-2025
Geschreven in
2023/2024

This document provides you with a unique combination of lecture and seminar (practicum) information essential for you to pass the exam. It explains in depth examples discussed in class, as well as more detailed exercises from the practicums. The summary also provides all the crucial theoretical concepts you need in order to understand the practical assignments. Good luck and I hope this document helps!

Meer zien Lees minder
Instelling
Vak

Voorbeeld van de inhoud

Statistics Summary
Lectures and Practicum Notes
by Lidia Nikolova
BA CIS
2023-2024

,
, Block 1, week 1 - Lecture 1, 07/09/2023



Goals of this course:
- Get an understanding of descriptive (describing a population) and inferential statistics
(computing p-values and assessing if difference between numbers is significant)
- Statistical reasoning – by completing lecture exercises and practicums.
- There is practical approach, but some calculation are done to understand principles
- We will learn how to understand and apply basic analyses
- How to report statistical analyses and understand them


What we will learn in this course:
1. In terms of descriptive statistics we will learn:
The differences between measures for central tendency and spread.
Measure for central tendency is the mean (sum of all scores divided by the number of
participants)
Variation – by looking at the range (the minimum and the maximum value)
We can also summarize in terms of visualizations e.g., bar plot.
Descriptives is one variable at a time, summarizing that single variable for a sample.


2. Inferential statistics are about multiple variables (CIS and LING students) to generalize the
outcome of a sample to a population:
- Compare two groups (or a single group with fixed values like grades between males and
females)
- Check associations between two variables (e.g. is my English pronunciation related to the
grade I received in high school)


3. Internal consistency of questions in a questionnaire, how to run statistical tests in R

4. Creating lab reports


Basic Functions of R:
- Use as a calculator (adding, multiplying)
- Storing values in variables (a <- 5)
- Adjust a variable (b <- a*a, b= 25)
- d <- NA (if means is missing)
- Storing multiple values in a variable (b <- c (2, 4, 6, 7, 8) – function ‘c’ to
combine
- To add a number on a specific position b [4] <- a
▪ [1] 2 4 6 5 8
- Function ‘mean’ to calculate the mean score
- If we have missing values in our dataset the mean will not be computed, that’s why we
need a function that will ignore the NAs
▪ mean (b, na.rm = TRUE)
- To check the structure of the data frame use function str(), how many variables

, - To view parts of the data frame:
o Dat [a,b]
o a gives selected rows of dat – dat [1, ]
o b gives selected columns of dat – dat [, 1]
o don’t forget the comma

- data can be viewed by columns by means of names for the columns (variable names):
o dat[c(1 ,3, 5), c(“participant”, “study”) #rows 1, 3, 5 and 3
named columns
- A single column can also be selected by means of ‘$’ function: dat$gender (getting
the column gender of the dataset dat)
- Saving selected data tmp <- dat[5:8, c(1,3)]


Q1: How can we select the value in the third column, fourth row of dataset dat?
A. dat[4,3]
B. dat[3,4]
C. dat[3,]$4
D. dat[4,]$3


If within a data frame want to select specific cases, for example only interested in male
participants we can use CONDITIONAL INDEXING:
tmp <- dat[dat$gender == “M”,]



To combine conditions use ‘&’:
tmp <- dat[dat$gender == “M” & dat$study == “IS”]



To turn a conditional indexing around: ‘!=’
#only women (i.e., not men) *or* everybody with a grade higher than 7
Tmp <- dat[dat$gender != “M” | dat$english_grade > 7, ]



Add data to columns:
Dat$diff <- dat$english_grade – dat$english_score #this column will contain
info about the difference of English grade and English score



If I want to indicate whether people failed or passed then:
dat$pass_fail <- “pass” #new column, initially everybody passes
dat[dat$english_grade < 5.5, ]$pass_fail <- “fail” #if grade too low, then fail
head(datpdat$english_grade > 4 ^ dat$english_grade < 6,]) #show subset of data

If I create a new variable I first all the values to one specific value and then adjust the cases that
do not meet the criteria.
Basi options to visualize data in R;
- barplot() - barplot

- plot() - plot

Geschreven voor

Instelling
Studie
Vak

Documentinformatie

Geüpload op
17 januari 2025
Aantal pagina's
71
Geschreven in
2023/2024
Type
SAMENVATTING

Onderwerpen

$9.55
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
lidianikolova Rijksuniversiteit Groningen
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
17
Lid sinds
2 jaar
Aantal volgers
0
Documenten
3
Laatst verkocht
4 maanden geleden

0.0

0 beoordelingen

5
0
4
0
3
0
2
0
1
0

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen