Rédigé par des étudiants ayant réussi Disponible immédiatement après paiement Lire en ligne ou en PDF Mauvais document ? Échangez-le gratuitement 4,6 TrustPilot
logo-home
Examen

Inferential statistics cheat sheet test 1

Vendu
1
Pages
2
Grade
8-9
Publié le
15-06-2025
Écrit en
2024/2025

Cheat sheet voor test 1 met de volgende onderwerpen: Proportions/means/goodness of fit (15%) You should be able to calculate (and interpret) by hand the se of proportions / means, given the standard deviation and n of a sample. You are thus also able to calculate the confidence interval and the margin of error for a 95% confidence interval. So maybe write down these formula on your cheat sheet :-). You should also be able to do a proportions test, a means test and a goodness of fit test by using R. Associations (15%) You are able to calculate the Chi square in a small table by hand (determine observed and expected values) and interpret that number (see in the R manual how to find the associated p-value of a chi square statistic and the associated degrees of freedom. You are familiar with the interpretation of the measures of association discussed in the course. Basic linear regression descriptive (20%) You are able to translate linear equations into graphs and vice versa. You are able to identify the b-coefficients in output and thus create linear equations and graphs. In the first test attention is restricted to additive linear models (the independent variables can be dummies, nominal or ratio, the max number of independent variables is two (so the most complex model is a nominal variable and a ratio variable as independent variables. Linear regression slightly more advanced / inference (30%) The inferential part includes confidence intervals, standard errors, t values and p values. You can interpret those when given some output and know how these numbers are related. You know what residuals are and are able to analyse those. Since the package modelr may not be available in the test environment and you cannot install your own packages during the exam, I will give clear instructions on how to find and use the residuals without modelr. In one question you will be asked to download a dataset, to construct relevant variables and to do and correctly perform a test using the lm() procedure. Selecting a test (20%) Based on a general problem, you have to select a specific test in R. This implies identifying the problem and selecting the associated test and clarifying the expectation. For example: make sure you know under which circumstances you have to select the Welch t-test and Welch ANOVA.

Montrer plus Lire moins
Établissement
Cours

Aperçu du contenu

e-07 = 7 0’s before the output number | SE decreases when sample size increases | 68 – 95 – 99.7 |
USE 3 or ALL DECIMALS WHEN CALCULATING
Standard error of a proportion Margin of error 1.96 * π 




The sampling distribution of p is approximately normally distributed if N is fairly large and π is not
close to 0 or 1. A rule of thumb is that the approximation is good if both Nπ and N(1 - π) are greater
than 10.
General confidence interval: estimate ± 2 * SE
For mean: mean ± 2 * (s / sqrt(n))
For proportion: prop ± 2 * sqrt(p * (1 - p)) /(sqrt(n))
From R for proportion: Use prop.test()
For slope (regression): Use estimate (slope) ± 2 * SE, where both estimate and SE come from Routput
For correlation: Use the estimate from R
prop.test([# of positives], [n]) OR binom.test([# of positives], [n])
Lazy formulas for C.I (for the mean!) (change values for the question and put them on separate row)
mean = 5.02 | s = 1.87 | n = 300 | SE = s/sqrt(n) |
upper = mean + 2*SE| lower = mean - 2*SE
Standardizing / t value


How many SD
the sample mean away is from mean mu |
table(dataset) # to see how many 1’s or 0’s
Write in R as (x-mu)/(sd/sqrt(n)) (first make the
values x, mu, sd & n)
Standard error of a one sample t-test : S.e. = s.d./sqrt(n)
P value in R (t value) : 2*pt(-[t], [df]) | If you reject H0, my sample mean is significantly different for
the population mean.
Calculate the Chi square
Expected numbers Chi Calculate the outcomes of all the total tables for each of the cells (percentages
need to be written as 0.54)




Interpreting the chi square statistic



# to find P-value given a chisquare and df | pchisq(3.84[chi], 4[df], lower.tail = FALSE)
# P-value < 0.05 there is a significant association # P-value > 0.05 there is no significant association
# GOODNESS OF FIT TEST: Open question (sample size | proportion fractions)
observed <- c(30,98,80,100) | expected <- c(0.10,0.25,0.30,0.35) | chisq.test(x=observed,
p=expected) #H0: The sample proportions are a good representation of the population proportions

École, étude et sujet

Établissement
Cours
Cours

Infos sur le Document

Publié le
15 juin 2025
Nombre de pages
2
Écrit en
2024/2025
Type
Examen
Contient
Seulement des questions

Sujets

€8,99
Accéder à l'intégralité du document:

Mauvais document ? Échangez-le gratuitement Dans les 14 jours suivant votre achat et avant le téléchargement, vous pouvez choisir un autre document. Vous pouvez simplement dépenser le montant à nouveau.
Rédigé par des étudiants ayant réussi
Disponible immédiatement après paiement
Lire en ligne ou en PDF

Faites connaissance avec le vendeur
Seller avatar
marlouvanhoudt1
3,0
(1)

Document également disponible en groupe

Reviews from verified buyers

Affichage de tous les avis
2 mois de cela

3,0

1 revues

5
0
4
0
3
1
2
0
1
0
Avis fiables sur Stuvia

Tous les avis sont réalisés par de vrais utilisateurs de Stuvia après des achats vérifiés.

Faites connaissance avec le vendeur

Seller avatar
marlouvanhoudt1 Universiteit Twente
S'abonner Vous devez être connecté afin de suivre les étudiants ou les cours
Vendu
7
Membre depuis
11 mois
Nombre de followers
0
Documents
3
Dernière vente
2 mois de cela

3,0

1 revues

5
0
4
0
3
1
2
0
1
0

Documents populaires

Récemment consulté par vous

Pourquoi les étudiants choisissent Stuvia

Créé par d'autres étudiants, vérifié par les avis

Une qualité sur laquelle compter : rédigé par des étudiants qui ont réussi et évalué par d'autres qui ont utilisé ce document.

Le document ne convient pas ? Choisis un autre document

Aucun souci ! Tu peux sélectionner directement un autre document qui correspond mieux à ce que tu cherches.

Paye comme tu veux, apprends aussitôt

Aucun abonnement, aucun engagement. Paye selon tes habitudes par carte de crédit et télécharge ton document PDF instantanément.

Student with book image

“Acheté, téléchargé et réussi. C'est aussi simple que ça.”

Alisha Student

Foire aux questions