100% de satisfacción garantizada Inmediatamente disponible después del pago Tanto en línea como en PDF No estas atado a nada
logo-home
Statistics I Summary $8.75
Añadir al carrito

Resumen

Statistics I Summary

 0 veces vendidas
  • Grado
  • Institución

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 con...

[Mostrar más]

Vista previa 4 fuera de 71  páginas

  • 17 de enero de 2025
  • 71
  • 2023/2024
  • Resumen
avatar-seller
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

Los beneficios de comprar resúmenes en Stuvia estan en línea:

Garantiza la calidad de los comentarios

Garantiza la calidad de los comentarios

Compradores de Stuvia evaluaron más de 700.000 resúmenes. Así estas seguro que compras los mejores documentos!

Compra fácil y rápido

Compra fácil y rápido

Puedes pagar rápidamente y en una vez con iDeal, tarjeta de crédito o con tu crédito de Stuvia. Sin tener que hacerte miembro.

Enfócate en lo más importante

Enfócate en lo más importante

Tus compañeros escriben los resúmenes. Por eso tienes la seguridad que tienes un resumen actual y confiable. Así llegas a la conclusión rapidamente!

Preguntas frecuentes

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

100% de satisfacción garantizada: ¿Cómo funciona?

Nuestra garantía de satisfacción le asegura que siempre encontrará un documento de estudio a tu medida. Tu rellenas un formulario y nuestro equipo de atención al cliente se encarga del resto.

Who am I buying this summary from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller lidianikolova. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy this summary for $8.75. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

45,681 summaries were sold in the last 30 days

Founded in 2010, the go-to place to buy summaries for 15 years now

Empieza a vender

Vistos recientemente


$8.75
  • (0)
Añadir al carrito
Añadido