Docsity

Probability: Concepts and Definitions, Exams of Nursing

Toggle sidebar
bg1
CHAPTER 6
PROBABILITY
• Probability allows us to predict the type of samples that are likely to be obtained from a population.
o Thus, probability establishes a connection between samples and populations.
o Inferential statistics rely on this connection when they use sample data as the basis for making
conclusions about populations.
• For situations where several different outcomes are possible, the probability for any specific outcome is defined as
a fraction or a proportion of all the possible outcomes.
o If the possible outcomes are A, B, C, D, etc.,
▪ then probability of A = number of outcomes classified as A/ total number of possible outcomes
• Probability is a method for measuring and quantifying the likelihood of obtaining a specific sample from a
specific population.
o or a specific event given possible events
• Probability is a measure that is associated with how certain we are an outcome. A research study is a planned
operation carried out under controlled conditions. If the result is not predetermined, then the experiment is said to
be a chance experiment.
• Probabilities are between zero and one, inclusive (that is, zero and one and all numbers between these values).
• Probabilities can be written in three different formats as percentages, decimals or fractions.
• The sample is a subset of the population, and our goal is to use our knowledge of the sample to draw inferences
about the properties of the population. The relationship between the two depends on the procedure by which the
sample was selected. This procedure is referred to as a sampling method, and it is important to understand why it
matters.
• Independent Events
o Two events A and B are independent if the knowledge that one occurred does not affect the chance the
other occurs.
o Two events are independent if the following are true:
▪ P(A|B) = P(A)
▪ P(B|A) = P(B)
▪ P(A AND B) = P(A)P(B)
• Mutually Exclusive Events
o A and B are mutually exclusive events if they cannot occur at the same time. This means that A and B do
not share any outcomes and P(A AND B) = 0 or in other words a single trial can never be both.
o For example, suppose the sample space S = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}. Let A = {1, 2, 3, 4, 5}, B = {4, 5,
6, 7, 8}, and C = {7, 9}. AAND B = {4, 5}. P(A AND B) = 210 and is not equal to zero. Therefore, A and
B are not mutually exclusive. A and C do not have any numbers in common so P(A AND C) = 0.
Therefore, A and C are mutually exclusive.
o If it is not known whether A and B are mutually exclusive, assume they are not until you can show
otherwise. The following examples illustrate these definitions and terms.
• Or & And Events
o "OR" Event: An outcome is in the event A OR B if the outcome is in A or is in B or is in both A and B.
For example, let A = {1, 2, 3, 4, 5} and B = {4, 5, 6, 7, 8}. A OR B = {1, 2, 3, 4, 5, 6, 7, 8}. Notice that 4
and 5 are NOT listed twice.
o "AND" Event: An outcome is in the event A AND B if the outcome is in both A and B at the same time.
For example, let A and B be {1, 2, 3, 4, 5} and {4, 5, 6, 7, 8}, respectively. Then A AND B = {4, 5}.
• The complement of event A is denoted A′ (read "A prime"). A′ consists of all outcomes that are NOT in A. Notice
that P(A) + P(A′) = 1.
• The conditional probability of A given B is written P(A|B). P(A|B) is the probability that event A will occur given
that the event B has already occurred. The formula to calculate P(A|B) is P(A|B) = P(AANDB)P(B) where P(B) is
greater than zero.
• The Multiplication Rule
o If A and B are two events defined on a sample space, then: P(A AND B) = P(B)P(A|B).
o This rule may also be written as: P(A|B) = P(A AND B)P(B)
o (The probability of A given B equals the probability of A and B divided by the probability of B.)
o If A and B are independent, then P(A|B) = P(A). Then P(A AND B) = P(A|B)P(B) becomes P(A AND B)
= P(A)P(B).
• The Addition Rule
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12

Partial preview of the text

Download Probability: Concepts and Definitions and more Exams Nursing in PDF only on Docsity!

CHAPTER 6

PROBABILITY

  • Probability allows us to predict the type of samples that are likely to be obtained from a population. o Thus, probability establishes a connection between samples and populations. o Inferential statistics rely on this connection when they use sample data as the basis for making conclusions about populations.
  • For situations where several different outcomes are possible, the probability for any specific outcome is defined as a fraction or a proportion of all the possible outcomes. o If the possible outcomes are A, B, C, D, etc., ▪ then probability of A = number of outcomes classified as A/ total number of possible outcomes
  • Probability is a method for measuring and quantifying the likelihood of obtaining a specific sample from a specific population. o or a specific event given possible events
  • Probability is a measure that is associated with how certain we are an outcome. A research study is a planned operation carried out under controlled conditions. If the result is not predetermined, then the experiment is said to be a chance experiment.
  • Probabilities are between zero and one, inclusive (that is, zero and one and all numbers between these values).
  • Probabilities can be written in three different formats as percentages, decimals or fractions.
  • The sample is a subset of the population, and our goal is to use our knowledge of the sample to draw inferences about the properties of the population. The relationship between the two depends on the procedure by which the sample was selected. This procedure is referred to as a sampling method, and it is important to understand why it matters.
  • Independent Events o Two events A and B are independent if the knowledge that one occurred does not affect the chance the other occurs. o Two events are independent if the following are true: ▪ P(A|B) = P(A) ▪ P(B|A) = P(B) ▪ P(A AND B) = P(A)P(B)
  • Mutually Exclusive Events o A and B are mutually exclusive events if they cannot occur at the same time. This means that A and B do not share any outcomes and P(A AND B) = 0 or in other words a single trial can never be both. o For example, suppose the sample space S = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}. Let A = {1, 2, 3, 4, 5}, B = {4, 5, 6, 7, 8}, and C = {7, 9}. AAND B = {4, 5}. P(A AND B) = 210 and is not equal to zero. Therefore, A and B are not mutually exclusive. A and C do not have any numbers in common so P(A AND C) = 0. Therefore, A and C are mutually exclusive. o If it is not known whether A and B are mutually exclusive, assume they are not until you can show otherwise. The following examples illustrate these definitions and terms.
  • Or & And Events o "OR" Event: An outcome is in the event A OR B if the outcome is in A or is in B or is in both A and B. For example, let A = {1, 2, 3, 4, 5} and B = {4, 5, 6, 7, 8}. A OR B = {1, 2, 3, 4, 5, 6, 7, 8}. Notice that 4 and 5 are NOT listed twice. o "AND" Event: An outcome is in the event A AND B if the outcome is in both A and B at the same time. For example, let A and B be {1, 2, 3, 4, 5} and {4, 5, 6, 7, 8}, respectively. Then A AND B = {4, 5}.
  • The complement of event A is denoted A′ (read "A prime"). A′ consists of all outcomes that are NOT in A. Notice that P(A) + P(A′) = 1.
  • The conditional probability of A given B is written P(A|B). P(A|B) is the probability that event A will occur given that the event B has already occurred. The formula to calculate P(A|B) is P(A|B) = P(AANDB)P(B) where P(B) is greater than zero.
  • The Multiplication Rule o If A and B are two events defined on a sample space, then: P(A AND B) = P(B)P(A|B). o This rule may also be written as: P(A|B) = P(A AND B)P(B) o (The probability of A given B equals the probability of A and B divided by the probability of B.) o If A and B are independent, then P(A|B) = P(A). Then P(A AND B) = P(A|B)P(B) becomes P(A AND B) = P(A)P(B).
  • The Addition Rule

o If A and B are defined on a sample space as mutually exclusive events, then: P(A OR B) = P(A) + P(B) - P(A AND B). o If A and B are mutually exclusive, then P(A AND B) = 0. Then P(A OR B) = P(A) + P(B) - P(A AND B) becomes P(A OR B) = P(A) + P(B). SAMPLING METHODS

  • To assure that probability is accurate, use random sampling
  • Random sampling requires that each member of a population has an equal chance of being selected. o Independent Random Sampling - there must be a constant probability for each individual selection. Also called Sampling with replacement - odds stay same with each selection. o Sampling without replacement means the probabilities changes with each selection (conditional probabilities) – we are not calculating these.
  • Simple random sampling without replacement from a finite population o
  • Figure 6 .4.2: Biased sampling without replacement from a finite population o
  • Simple random sampling with replacement or a true random sample from a finite population o
  • Most psychology studies, experimental or otherwise, tend to be sampling without replacement, because the same person is not allowed to participate in the experiment twice.
  • However, most statistical theory assumes that the data arise from a simple random sample with replacement.
  • In real life, this very rarely matters. If the population of interest is large (e.g., has more than 10 entities!) the difference between sampling with- and without- replacement is too small to be concerned with. The difference between simple random samples and biased samples, on the other hand, is not such an easy thing to dismiss.
  • Stratified sampling: Suppose your population is (or can be) divided into several different sub populations, or strata. Instead of trying to sample randomly from the population as a whole, you instead try to collect a separate random sample from each of the strata. You choose the number of participants in your sample that represents the number in the actual population. Stratified sampling gives you a better view of what your population actually is, especially when using sub populations that may not be evenly distributed such as a ethnicity or religion within a specific city. o The population is divided into groups, with each group made up of members that share some characteristic(s). Then, a fixed number of members (but not all members) from each group are randomly selected for the sample.
  • Snowball sampling: is a technique that is especially useful when sampling from a “hidden” or hard to access population and is especially common in social sciences.

FINDING PROBABILITY USING Z-SCORES

  • What proportion of the normal distribution corresponds to z-score values greater than z = 1.00? o First, you should sketch the distribution and shade in the area you are trying to determine. ▪ In this case, the shaded portion is the tail of the distribution beyond z = 1.00.
  • To find this shaded area, you simply look for z = 1.00 in column A to find the appropriate row in the table. Then scan across the row to the correct column – here it is col C.

FINDING A Z-SCORE FROM A PROBABILITY

  • For a normal distribution, what z-score separates the top 10% from the remainder of the distribution? o To answer this question, sketch a normal distribution and draw a vertical line that separates the highest 10% (approximately) from the rest. o
  • To find the z-score value, you simply locate the row in the unit normal table that has 0.1000 in column C. o FIND PROBABILITY FOR A SCORE (X) FROM A NORMAL DISTRIBUTION
  • In many situations, it is necessary to find probabilities for specific X values rather than for z-scores. o This requires two steps: ▪ Transform the X values into z-scores.

▪ Use the unit normal table to look up the proportions corresponding to the z-score values.

  • What is the probability of randomly selecting an individual with an IQ score less than 120? o so, we want to find the proportion of the IQ distribution that corresponds to scores less than 120. This requires two steps: ▪ Transform the X values into z - scores. ▪ z = X – m = 120 – 100 = 20 = 1. ▪ s 15 15 ▪ Given IQ pop mean = 100, pop SD = 15 o CONTINGENCY
  • A contingency table provides a way of portraying data that can facilitate calculating probabilities. The table helps in determining conditional probabilities quite easily. The table displays sample values in relation to two different variables that may be dependent or contingent on one another. Later on, we will use contingency tables again, but in another manner. CHAPTER 7 INFERENTIAL STATISTICS: THE BOTTOM LINE
  • We can’t study entire populations: So, researchers select a sample of data from a larger population o Samples are used to learn about populations o We measure mean and variance in a sample to estimate value of mean and variance in population o The Sampling Distribution of Mean tells us how much error to expect each time we draw a sample and how close our sample M is to the pop mean μ INFERENTIAL STATISTICS AND SAMPLING DISTRIBUTIONS
  • Sampling Distribution – a distribution not of raw scores but of statistics - all possible sample means (or sample variances) that could be obtained in samples of a given size from the same population o This is easy to do using computer simulation programs. o Why do it? We can learn how much error to expect in a sample of a given size – o What do we observe?
  • We see more variability in smaller samples. THE MEAN: UNBIASED ESTIMATOR
  • Suppose we select samples of size 2 from a population of 3 with scores of 2, 5, and 8 (μM = 5) o The sample mean is an unbiased estimator if When M = Σx/n, then M = μ on average THE MEAN: CENTRAL LIMIT THEOREM
  • Regardless of the distribution of scores in a population, the sampling distribution of sample means selected from that population will be approximately normally distributed o At least 95% of possible Ms one should select fall within 2 SDs of μ (Empirical Rule) THE VARIANCE:
  • Biased estimator o The sampling distribution of sample variances is positively skewed from any pop. distribution o underestimates the true pop. Variance
  • Unbiased Estimator when divide SS/n- 1 o •Suppose we select samples of size 2 from a population of 3 with scores of 2, 5, and 8. o •The sample variance is an unbiased estimator. When s^2 = SS/(n-1) = SS/df or, then s^2 = σ² on average. FINDING PROBABILITY OF A SAMPLE MEAN
  • To locate the proportion, and therefore probability of obtaining a sample mean: o 1. Draw the normal curve and shade the area you are looking for. o 2. Transform a sample mean (M) into a z score o 3. Locate the corresponding proportion for the z score in the unit normal table o Z-score is used to determine the likelihood of randomly selecting a particular sample mean from a pop with a given mean and variance
  • Problems similar to Chapter 6 except: o use standard error σM not σ o Questions are about means not X scores APA STYLE: REPORTING STANDARD ERROR

SAMPLING DISTRIBUTION OF THE SAMPLE MEANS

  • To make a sampling distribution of the sample means, we just need the following: o A distribution to take numbers from o Several different samples (with the same n) from the distribution o The means of each of the samples o Get all of the sample means, and plot them in a histogram CENTRAL LIMIT THEOREM
  • Another function that happens as your sample (n) gets larger is that the shape of your sampling distribution becomes more bell shaped (normal). This is called The Central Limit Theorem. This even happens no matter what shape your population distribution is, as n increases the sampling distribution of the mean starts to look more like a normal distribution.
  • There is an upper limit to how large n has to be to create to approximate a normal curve. As a sample reaches n=30 for a sampling distribution, the shape of the curve will be normal no matter what original population shape was as demonstrated in the above graphs. CHAPTER 8 HYPOTHESIS TESTING
  • Aka a Significance test
  • A hypothesis test involves collecting data from a sample and evaluating the data. Then, the statistician makes a decision as to whether there is sufficient evidence, based upon analyses of the data, to reject the null hypothesis.
  • Hypothesis testing consists of two contradictory hypotheses or statements, a decision based on the data, and a conclusion.
  • If individuals in the sample are noticeably different from individuals in the population, we suspect the treatment had an effect. o But it’s possible that the difference between the sample and pop is simply sampling error (a fluke, occurred by chance). o We use consistent decision rules to decide which of these is more likely to be true.
  • •The purpose of the hypothesis test is to decide between two explanations: o The difference between the sample and the population can be explained by sampling error (there does not appear to be a treatment effect). ▪ No Difference o The difference between the sample and the population is too large to be explained by sampling error (there does appear to be a treatment effect). ▪ Difference!
  • To perform a hypothesis test, a researcher will perform the following 4 steps: o Set up two contrasting hypotheses. o Set the criteria for your study (level of what you accept as significant) o Analyze sample and perform test statistic of choice o Make a decision and write a meaningful conclusion to present to our readers. MAKING A HYPOTHESIS
  • The 3 step procedure for the creation of an hypothesis o 1. Before the hypothesis is created, a lot of research into prior information about the topic is performed. It would be a waste of time not to use the work of previous researchers, so we read up on what has been done on our subject matter first! o 2. The second important aspect of a hypothesis is that it is not a question, but it is a statement. o 3. The third aspect of a well-formed hypothesis is being testable and falsifiable. A researcher has to be able to gather data on the subject that they are studying. THE LOGIC OF HYPOTHESIS TESTING
  • 1.State a null hypothesis about the population.
  • 2.Use the hypothesis to predict the sample characteristics.
  • 3.Obtain sample data to test it.
  • 4.Compare sample data with the predictions made – (compare stat. test value with critical value)
  • If there’s a large discrepancy between the data and the prediction, the prediction or null hypothesis is wrong. (reject the null)
  • (but usually this is good news à you found a sig. difference! – the treatment worked!)
  • We are testing the Null (no diff) Hypothesis.
  • Why? It is easier to prove something NOT true than to prove something IS true.

o We assume the null hyp is true. o Find probability of getting the difference by chance if the null is true (use table) o If the prob of getting that test statistic is <.05 we reject the null —> there is a difference

  • To conclude that the sample is different or that the treatment worked we have to find an example where it did work – where the difference was big. 4 STEPS IN HPOTHESIS TESTING
  • 1.State H ypotheses.
  • 2.Set Criteria for decision ( A lpha level, typically α=0.05).
  • 3.Compute a T est Statistic.
  • 4.Make a D ecision. NULL (H 0 ) AND ALTERNATIVE HYPOTHESES (HA)
  • The “null” hypothesis, H0, that corresponds to the exact opposite of what I want to test
  • “alternative” hypothesis, H1 or HA.
  • The important thing to recognize is that the goal of a hypothesis test is not to show that the alternative hypothesis is (probably) true; the goal is to show that the null hypothesis is (probably) false.
  • The best way to think about it, in my experience, is to imagine that a hypothesis test is a criminal trial ... the trial of the null hypothesis. The null hypothesis is the defendant, the researcher is the prosecutor, and the statistical test itself is the judge. Just like a criminal trial, there is a presumption of innocence: the null hypothesis is deemed to be true unless you, the researcher, can prove beyond a reasonable doubt that it is false. You are free to design your experiment however you like (within reason, obviously!), and your goal when doing so is to maximize the chance that the data will yield a conviction... for the crime of being false. The catch is that the statistical test sets the rules of the trial, and those rules are designed to protect the null hypothesis – specifically to ensure that if the null hypothesis is actually true, the chances of a false conviction are guaranteed to be low. This is pretty important: after all, the null hypothesis doesn't get a lawyer. And given that the researcher is trying desperately to prove it to be false, someone has to protect it
  • Null hypothesis (H0): there’s no difference in the pop. (i.e., treatment has no effect)
  • Alternative hypothesis (HA): there is a difference in the pop. (i.e., treatment has an effect)
  • Reject the Null --> the IV had a sig. effect on the DV.
  • Retain the Null --> the IV did not have a sig. effect. TWO TYPES OF ERRORS
  • It is either the case that the null hypothesis is true, or it is false; and our test will either reject the null hypothesis or retain it. So, as the table below illustrates, after we run the test and make our choice, one of four things might have happened: o Retain H0 Reject H H0 is True correct decision Type I error H0 is False Type II error correct decision o
  • Type 1 error rate = alpha level (α = .05)
  • Type 2 error is symbolized as beta (β) o Beta is probability of failing to reject the null when it is false (there is an effect). o Prob of overlooking a real treatment effect – make Type II error
  • Power is prob of finding a real treatment effect (1 - β) o Anything that makes it easier to reject the null and find a difference will increase statistical power.
  • RAAR – to help you remember: o RA = Type I Error ▪ R eject H 0 when we should A ccept
  • (Found sig difference that was not real) o AR = Type II Error ▪ A ccept H 0 when we should R eject
  • (Found no difference when it was really there)
  • If p-value is less than level of significance it rejects null hypothesis
  • If p-value is greater than level of significance it does not reject null hypothesis EFFECT SIZE
  • Reject the Null - > Found Sig Diff – Treatment had an Effect - or you found a difference between sample mean and population o Although a difference may be significant – But is it large? Is it important? o After every significant statistical test – we look at the size of the effect.
  • Effect Size – size of an effect in a population o How big is it? Two measures: o How many SDs of change due to treatment? ▪ Cohen’s D o Percent of variance that can be explained by a variable (what is the % change?) ▪ r^2
  • A measure of effect size is intended to provide a measurement of the absolute magnitude of a treatment effect, independent of the size of the sample(s) being used.
  • Cohen’s d measures the size of the mean difference in terms of the standard deviation.
  • the number of standard deviations an effect shifted above or below the population mean stated by the null hypothesis
  • Value for Cohen’s d is 0 when there is no difference between the 2 means o it increases as differences get larger
  • If the true state of the world is very different from what the null hypothesis predicts (HA), then your power will be very high; but if the true state of the world is similar to the null (H0) then the power of the test is going to be very low. Therefore, it’s useful to be able to have some way of quantifying how “similar” the true state of the world is to the null hypothesis. A statistic that does this is called a measure of effect size (e.g., Cohen, 1988; Ellis, 2010). That is, we can measure how large the treatment effect (the difference in scores) is of our studies.
  • The equation we measure effect size with is called Cohen's d and as indicated in the above figure we are measuring the difference between the control and experimental mean. o o We have a table that helps us understand the outcome of Cohen's d and what to expect about the effect size: ▪ size of d interpretation of effect size d=0.2 small effect d=0.5 medium effect d=0.8 large effect o we should always assume that effect size is an absolute number and is always positive o Unlike the power analysis that can be increased by increasing the N of the study, the Cohen's d equation does not include N so the effect size cannot be superficially inflated by the design of the study. While variability (SD) does play a role in equation, the effect size is coming more directly from the treatment (numerator). o As mentioned before that several institutions demand the power analyses be performed, so do they want the effect size of our studies. The black and white criteria of hypothesis testing can be sometimes dubious. As hypothesis testing says it is or is not significant and therein lies problems with this kind of yes/no logic. Including the power analysis and the effect size helps us understand how large the effect of the treatment was. STEPS OF HYPOTHESIS TESTING
  • Step 1: State the hypotheses o H0 ≤ 50% or Working memory scores from subjects raised in enriched environments will equal or less than 50% correct. o HA > 50% or Working memory scores from subjects raised in enriched environments will be more than 50% correct.
  • Step 2 : Set Criteria o This is a one tailed test (to improve memory) and we will set the the alpha level to α=.05. This means our p-value that we obtain from the z score (from the raw scores) has to be equal to a p=.05 or less (failing in the critical area) to be considered significantly better from the chance score of 50%.
  • Step 3: perform the statistical test o We need to obtain the mean, and the standard deviation (ch. 3) and the standard error for the mean (ch. 7) for the scores to perform the z test. ▪ For the above data the M=72.22, and the sample standard deviation s= 8.18, and the standard error of the mean is SEM=2.90. - - Looking at the unit normal table we see that our z score is so big it is not in the table. The highest z = 4.0 is equal to a p value of p=.0003, which is much less than p=.05. o We will also include a Cohen's d test for finding out the effect size of our study. ▪ ▪ d=2.72 would be considered a large effect of the manipulation (enrichment).
  • Step 4: Write conclusion using scientific format: o Rats raised in enriched environments scored significantly better on a working memory task with z= 7. (p<.05) over rats that were not raised in enriched housing and resulted with a large effect size of d=2. ▪ We will discuss writing in scientific format more in later chapters, but you can see the above sentence includes restating the hypothesis and both test scores (z and Cohen's d). THE Z-SCORE FORMULA AS A RATIO
  • You’re comparing the size of the difference that you obtained with the size of the difference that you’d expect purely by chance
  • A BIG value for the test statistic means it probably DID NOT happen just by chance.
  • The sample mean IS different from the pop mean. FACTORS THAT AFFECT STATISTICAL POWER
  • As the effect size increases, the probability of rejecting H0 also increases, which means that the power of the test increases.
  • The sample size has a huge influence on power – larger samples provide more power.
  • The alpha level for hypothesis test also influences power – if easier to reject àmore power. o Using alpha = .01 reduces power; o Using alpha = .10 increases power
  • If the treatment effect is in the predicted direction, changing from a two-tailed test to a one-tailed test increases power. CHAPTER 9 T- TESTS
  • t-tests are used all the time, when the descriptive statistics from the population is not known.
  • Commonly, the one-sample t-test is used to estimate the chances that your sample came from a particular population. Specifically, you might want to know whether the mean that you found from your sample, could have come from a particular population having a particular mean.
  • The one sample t test uses known parameters from the population, like the mean of the population and the standard deviation of the population and we want to compare our sample mean to the known population mean. However, most times you don’t know those parameters of the population! So, you have to estimate them from your sample. Remember from the chapters on descriptive statistics and sampling, our sample mean is an unbiased estimate of the population mean. And, our sample standard deviation (the one where we divide by n-1) is an unbiased estimate of the population standard deviation.
  • Student’s t works without knowing σ
  • Student’s t also works well for small n
  • formula for the one sample t-test o t=measure of effect/measure of error o t=Mean difference/standard error

o USING THE T TABLE:

  • We need 3 bits of information in order to use the table. o 1. We need to know if the hypothesis is one or two tailed. Remember that all the values in the critical area will be either all in one place (one tailed hypothesis) or will be split between two areas as in the two tailed hypothesis, and the t table has the p values for both situations. o 2. We need the alpha level that was set in step 2 of the testing process. o 3. We need the degrees of freedom, which we know as n-1. REPORTING THE t TEST
  • APA asks that we give as much information on the results, so that everyone can understand what we did. So for this we need to state the following three elements: o 1. The formal sentence (I call the magic sentence) for the results should include ALL the variables so it is clear. It should also repeat the direction of the hypothesis and the type of test that was used (for this chapter all we did was the one sample t test). o 2. The results in numbers include the: mean, SEM, t test value, df, and the p level of the result. APA prefers that you report the exact p value (rather than greater or less than a chosen alpha level), but this preference can change with your teacher so use their guidelines on this issue. o 3. We do not always have it, but if we have the effect size we will include this as well.
  • Example: whether or not students guessed on a quiz, and we found that they did as the t result was in the range near the null hypothesis of 50% and we failed to reject the null hypothesis of the study. Even though the results are not significant we still report them! o We will use the list from above: o A one sample t test found that students who took a true/false quiz were found to be cheating as the number of correct responses was not significantly different from chance with M=61correct and SEM=5.67 correct choices. The results of the t test were t ( 9) =1.94, p >. o Statistical tests always use the same format for reporting the numbers. Here is the format: ▪ test name (df) = test result, p value ▪ Notice that the test name (t) and the letter p are italicized. REPORTING THE P LEVEL
  • We need to discuss a little more about the p-level before we report it.
  • When we compare the result from our t test to the t critical value in the t table, all we know is that the value we obtained is under or over our alpha level. We do not know the exact p value that the t test equals to. In this case we would report that p<.05 or p>.05 (depending on your result). When we do a t test using a statistical program, such as SPSS, we are given the exact p-value for the t test outcome.
  • There are two philosophies of reporting the p level. Some teachers or journals (the place where researchers send their articles to be published) say that all they are interested in is if the data are significant or not and think this is the best way to report data. For example, you would write p<.05 if the data were significant. Others say there is information lost using this method. For example, stating a p=.045 is different than stating p=.001. This information is lost, because using the first method these two p levels become p<.05. CONFIDENCE INTERVALS
  • A confidence interval (CI) is a range of values centered around a sample statistic. o The logic is that a treatment effect (sample mean) should be reasonably near the true population parameter (μ) o It won’t be exact! o CIs provide a margin of error around a sample mean (usually 95%)
  • What does 95% confidence mean? o We want to be able to say “There is a 95% probability that the true population parameter lies within the interval.” ← Bayesian interpretation o The correct understanding: If we repeated the study and analysis a large number of times, with new (different) samples each time, 95% of the intervals around the sample mean would contain the true parameter value. o We expect, with 95% certainty, that μ is within the CI. ▪ We are confident that 95% of the time, the true mean will lie within the interval PV
  • The confidence interval gives two values: a lower bound and an upper bound. o Estimation formula: CI = M ± CV (sM) PRECISION VS. ACCURACY
  • Two factors affect the range of the interval: o Confidence level ▪ to gain more confidence in your estimate (e.g., 99%), you must increase the width of your interval ▪ to have a smaller, more precise interval, you must give up confidence (e.g., 90%) to gain accuracy. o Sample size o SEM is sample size (n) dependent o larger n → smaller error → smaller CI CHAPTER 10 INDEPENDENT SAMPLE T TEST
  • In the independent samples t test you can compare your two samples means. In psychology, this can correspond to two different groups of participants (or subjects), where each group corresponds to a different condition in your study. For each person in the study, you measure some outcome variable of interest, and the research question that you’re asking is whether or not the two groups have the same population mean. This is the situation that the independent samples t-test is designed for.
  • the goal is to determine whether two “independent samples” of data are drawn from populations with the same mean (the null hypothesis) or different means (the alternative hypothesis). When we say “independent” samples, what we really mean here is that there’s no relationship between observations in the two samples-just two different groups of samples.
    1. The samples represent populations that are normal.
  1. Each datum point is independent from each other. For example one participant cannot be measured in both groups. »3. The variances of both samples must be homogeneous or have equal variances. PERFORMING THE INDEPENDENT T TEST
  • Our null hypothesis states that the two population means are identical (μ 1 =μ 2 ) and the alternative to this is that they are not (μ 1 ≠μ 2 ).
  • How about different sized sample groups!? This equation would be complete (and is!) for the independent t test if the sample sizes were the same, but often, our sample sizes differ when measuring two different groups. If the groups have two different amounts of participants, then the larger group should get more say in the equation than the smaller group does as the larger group data should contribute more to the equation. To take care of this issue, we cannot use the simple variance

o the difference between two sample means in the numerator and the pooled sample standard deviation in the denominator ▪ Estimated Cohen’s d =

▪ The pooled sample standard deviation is the square root of the pooled sample variance. FACTORS INFLUENCING INDEPENDENT-SAMPLES T AND EFFECT SIZE

  • Significance tests and effect sizes are primarily influenced by 3 factors: o 1.The size of the M difference between the two samples (larger easy to see) o 2.Amount of the sample variance (more error makes it & test stat smaller) o 3.The size of each sample (n) (larger samples à less SE à more power) APA FORMAT
  • When reporting results of a significant t test, APA stats must include: t(9) = 2.24, p <.05, d =. o The value for the test statistic o Degrees of freedom o p value o Cohen’s d is usually reported with t tests
  • In addition, the conclusion sentence includes: o Which test was used o Significant or not o IV & DV are mentioned o Direction of the difference if significant (means) ASSUMPTIONS OF TWO-INDEPENDENT SAMPLE T TEST
    1. Independence – each observation/measured outcome is independent; respondent outcomes are not influenced by any others in the study
    1. Normality – assume data (DV) in each population are normally distributed
    1. Equal Variances – assume variance in each population are equal to each other. o In JASP or SPSS: Levene’s F test for equality of variances: ▪ if F big and p <.05, variances are ≠ so assumption violated – use other test ▪ if F is small and p >.05, variances are = so use t-value (equal variances assumption met) ▪ Or this is satisfied when larger variance is not greater than two times that of the smaller ▪ Hartley’s F-Max test = (larger s^2 / smaller s^2 ) compare to critical value – generally if <2 equal variance CONFIDENCE INTERVAL
  • The Confidence Interval: o builds a margin of error around the treatment mean o tells you that the true mean difference in the population is within the CI (with 95% prob.) o tells you also about the significance of the difference (If 0 is inside the interval it is not sig. because the pop difference may be zero.)
  • To Calculate a Confidence Interval o select a level of confidence (e.g. 95%) and look up the corresponding t values in the t distribution table o the M and sM are from the sample data used in the test o Use this formula: ▪ μ = M ± t (sM )
  • t is a probability value from t-table (95%)
  • M and sM are from the data
  • Confidence Interval: Precision vs Confidence o Two factors affect the width of the confidence interval: o 1) Confidence level or Probability level & 2) SEM (standard error) ▪ The confidence level: to gain more confidence in your estimate (e.g., 99%), you must increase the width of the interval. ▪ Conversely, to have a smaller, more precise interval, you must give up confidence (e.g., 90%) to gain accuracy. ▪ SEM depends on Sample size: The bigger the sample (n), the smaller error, and smaller the CI.

CHAPTER 11

REPEATED MEASURES T-TEST

  • It also goes by the names paired-samples, related samples, dependent-samples t-test, or a matched design.
  • They are called repeated measures designs because we measure how one person (or animal) does something more than once, thus we repeat the measure.
  • Related or Dependent samples – participants are analyzed as pairs not individuals because they are linked.
  • Participants can be related in two ways: o 1.They are same person observed more than once (Repeated Measures design) o 2. They are matched, experimentally or naturally, based on the common characteristics or traits that they share (Matched Pairs design)
  • When we measure a participant one time like when using the independent t test, we call this design a between design. In this design each participant is only measured one time and is then compared to another participant that is measured in the second group.
  • The within design measures each participant in both conditions and uses the paired samples t test to test for differences. o observe the same participants across time, but not necessarily before/after a treatment
  • Pre-Post design – measure DV before & after treatment
  • There are great benefits to using the repeated measures (within) design compared to the independent measures (between) design. If you are testing for differences between two groups (your numerator) you as a researcher would like to minimize all factors except for the issue you are testing for.
  • Rules o 1. The data must come from a normal distribution of difference scores. o 2. Observations within each treatment must be made independently of each other.
  • Advantages o 1. Reduction of variability in our data by removing individual differences 2. Uses less participants/subjects because we are getting two sources of data from each participant/subject 3. Reduces the cost (especially if you are paying or giving something away to each participant) 4. It can sometimes reduce the time it takes to run the study, as we do not have to look for more participants
  • Disadvantages o 1. Carry-over effects Carry-over effects happen when the first condition that the participant/subject is in, affects the outcome of the second condition. o 2.Attrition If attrition (people dropping out of your study) happens after the first part of the study, we will not be able to finish it and make conclusive results.
  • Compares the average difference between pairs of scores. ASSUMPTIONS WITH RELATED-SAMPLES T-TEST
  • Independence: Observations within each treatment are independent of other participants (Each pair is related- but they aren’t related to other pairs of participants).
  • Normality: Population distribution of difference scores (D) is approximately normal MEASUREMENT PHASES
  • the baseline phase, and the test phase. CALCULATING PAIRED-SAMPLES T-TEST
  • we use the one-sample t-test formula on the difference scores
  • Specifically, we are interested in comparing whether the mean of our difference scores came from a distribution with mean difference MD= 0. This is a special distribution we refer to as the null distribution. It is the distribution no differences. Of course, this null distribution can produce differences due to sampling error, but those differences are not caused by any experimental manipulation; they are caused by random variation.
  • In this t test, the difference is calculated for each pair - prior to computing the average difference or MD o This eliminates the error associated with differences between participants within each group (within- group variance)
  • Calculate o 1: Obtain the variance from the SS o 2: Obtain the standard deviation o 3: Obtain the standard error of the deviation scores o 4: Perform the test statistic