data skills - estimating means

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/27

encourage image

There's no tags or description

Looks like no tags are added yet.

28 Terms

1
New cards

what is inference

Drawing conclusions about a population using information from a sample

  • in order for inference to be accurate you need to be answer a very specifc question


2
New cards

what are confidence intervals

a range of values that, based on data and certain assumptions, we have a certain level of confidence that contains the population mean

  • we often use 95% confidence level so that we have a significance level of 5%


3
New cards

what is a point estimate

An estimate of the population means using the mean of a sample

  • inferring that the mean of our sample is the mean of the population


4
New cards

what does “95% confident mean”

means that if you repeat the experiment over and over 95% of the intervals you calculate will contain the true population mean

5
New cards

how to calculate confidence intervals

<point estimate ± <critical value> x <SE>

  • critical value is a cut-off point on a probability distribution graph

  • SE = standard error and is the standard deviation of the sampling distribution of the sample mean (average distance between means)


6
New cards

assumption of CI with known population mean

  • The population mean is known

  • that we have a simple random sample of size n

  • that our sampling distribution is or is close to normal ( the population either has to be normally distributed or we use the central limit theorm)


7
New cards

how to calculate critical value z*

done using R-studio

  • state the confidnece level and assign variable

  • zcrit = qnorm(1-alpha/2, mean =, sd =)

  • alpha = significance level


8
New cards

how to calculate standard error

the standard deviation of the sample distribution for the sample mean

<p>the standard deviation of the sample distribution for the sample mean</p>
9
New cards

what is the significance level

what is left over after choosing a confidence level

  • confidence = 95% the significance = 5%

  • Also represented as alpha and is used with the p-value to determine the significance of results

  • on a normal distribution graph represent the 2 sections on the side combined that do not fall with the confidence level


10
New cards

format for CI with known population mean interpretation

we are <confidence level> confident that the true <parameter> of <population> is between <lower> and <upper> <units>

11
New cards

what are symmetrical intervals, and how do they relate to the margin of error

Any number that is ± another, for example 5± 1 with the centre being 5 and the width being 2

  • the 1 then represents the margin of error as the answer could actually be 4,5 or 6


12
New cards

what effects the margin of error of results

  • the level of confidence (effects the crit value required to calculate)

  • sample size (affects SE)

  • variance (affects SE)


13
New cards

what are sample size calculations

a calculation used to determine how big of a sample you need to get a certain margin of error, confidence intervals and variance

  • sample size >/= (z* x population mean/margin of error)2


14
New cards

how to calculate margin of error

knowt flashcard image
15
New cards

what are the assumption used to calculate CI without and population mean

only need to assume that we have a simple random sample and that our distribution is or is close to normal

  • can used the central limit theory or a QQ-plot


16
New cards

What is a t-distribution

another for of a symmetrical, unimodal distribution, like a normal distribution, but a little wider

  • accounts for the additional uncertainty due to an unknown population mean

  • differs depending on sample size (identified using a degree of freedom of n-1 for this)


17
New cards

how to calculate CI without population mean

<point estimate>± <t* or critical value> x <SE>

  • SE is calculated with the sample standard dev and not the populations


18
New cards

How to calculate CI in RStudio

everything else is the same but to calulate the t critical value

  • qt(1-alpha/2, df=n-1)

  • make sure to assign varible to all thing in CI equation before writing it out in R studio


19
New cards

difference between CI with or without population mean

Without using the population mean when no longer have to make the assumption that said mean is right

  • however we do get and wider range for our confidence intervals


20
New cards

what is calculated in a t-test

  • t-distribution

  • Df

  • p-value

  • CI

  • mean


21
New cards

what is Hypothesis testing

Evaluating the amount of evidence against the null hypothesis to see if it should be retained or rejected

  • used to determine if we should believe that a certain value is true like the population mean


22
New cards

what does it mean for a theory to be valid

it has to be falsifiable

  • has to be a way to observe a variable that would prove the theory wrong, like saying all crows are black; you need to be able to find one that isn’t

  • can’t be deemed certainly true as you may not have discovered the exception yet


23
New cards

what is the p-value

A statistic used to test a hypothesis that represents the plausibility that the hypothesis is right

  • compared to the significance level to determine so

  • only infer statistical significance but not always importance and instead you need to use logic to explain a relationship

  • if p-value = 0.01, you would only see findings consistent with the null hypothesis in 1 of every 100 experiments


24
New cards

interpreting a p-value

  • if p-value is < the significance then the null hypothesis is rejected and the theory is disproven

  • if p-value is > significance then we fail to reject the null hypothesis and retain it instead as there is not enough evidence to prove it wrong


25
New cards

how to test a hypothesis framework

  1. State your null and alternative hypothesis

  2. calculate the value of the test statistic (what test you use depends on the situation

  3. find the p-vale of your data and interpret it

  4. state whether or not your null hypothesis can be rejected


26
New cards

what does it mean to have no evidence against the null hypothesis

will occur when the p-value is larger, showing that the data isn’t inconsistent with the null hypothesis but you most likely would get these results is the null hypothesis was right

  • no evidnec against the null hypothesis but also n evidence that supports it


27
New cards

what does it mean to have strong evidence against the null hypothesis

when the p-value is very small, indicating the data is inconsistant with the findings you would get if the null hypothesis was true

28
New cards

What are some errors that can be made when testing a hypothesis

Type I error (false positive): when you reject the null hypothesis but it turns out to be right

  • you say there is a relationship between variables when there isn’t

  • also called type alpha


Type II error (false negative): when you fail to reject the null hypothesis despite it being wrong

  • you say there is no relationship between variables when there actually is

  • also called type beta