Академический Документы
Профессиональный Документы
Культура Документы
To have a high chance of detec/ng a clinically important treatment effect if it exists.
To ensure appropriate precision of es/mates.
• Pilot studies that will be used to inform larger studies (and not make
conclusions).
• Assume that you plan an experiment with just two groups (Treated and Control)
and that you will measure a metric character.
• Your null hypothesis is that there is no difference between the means of the two
groups. The steps that you need to take are as follows:
• Decide on your alterna/ve hypothesis. This will be either that the means differ
(two sided) or they differ in a par/cular direc/on (one sided).
• The default is two sided.
• Decide the significance level you plan to use.
• We will assume 5%.
• Decide what power you want (i.e. the chance of detec/ng a real effect if it is
present).
• If the consequences of failing to detect the effect (a Type II error) could be
serious, such as in toxicity tes/ng, you might want a rela/vely high power such as
90%.
• In fundamental studies where we may only be interested in large effects a Type II
error may not have such serious consequences. An 80% power may be sufficient
to catch large effects and fewer subjects will be needed.
• Obtain an es/mate of the noise, i.e. the standard devia/on of the character of
interest. This has to come from a previous study, the literature or a pilot study.
• If using the literature it may be best to look at several papers and take some sort
of (possibly informal) average..
• Es/mate the signal (effect size) that might interest you.
• How large a difference between the two means would be of scien/fic or clinical interest?
• If the difference is only small, you are probably not par/cularly interested in it.
• If it is large, then you certainly want to be able to detect it.
• The signal is the cutoff between these two alterna/ves. If the response is larger, then there
will be an even greater chance of detec/ng it.
• Your pilot study analyzed with a Student t-test reveals that group 1 (N=29) has a mean score of
30.1 (SD, 2.8) and that group 2 (N=30) has a mean score of 28.5 (SD, 3.5).
• The calculated P value = .06, and on the surface, the difference appears not significantly different.
• However, the calculated effect size is 0.5, which is considered ‘‘medium’’ according to Cohen.
• In order to test your hypothesis and determine if this finding is real or due to chance (ie, to find a
significant difference), with an effect size of 0.5 and P <.05, the power will be too low unless you
expand the sample size to approximately N = 60 in each group, in which case, power will reach .
80.
• For smaller effect sizes, to avoid a Type II error, you would need to further increase the sample
size.
17-12
17-13
Interpreting Effect Size
• Usually, guidelines are given for interpreting the effect size
• Help you to know how important the effect is
• Only a guide, you can use your own brain to compare
• In general, r2 is interpreted as:
• 0.01 or smaller, a Trivial Effect
• 0.01 to 0.09, a Small Effect
• 0.09 to 0.25, a Moderate Effect
• > 0.25, a Large Effect
Effect Size for Group Differences
• In general, effect size is a ratio of the mean difference between two groups
and the standard deviation
• Effect size, when calculated this way, is basically determining how many
standard deviations the two groups are different by
• E.g., effect size of 1 means the two groups are different by 1 standard deviation (this
would be a big difference)!
Example
• When working with t-tests, calculating effect size by the mean difference/
SD is called Cohen’s d
• < 0.1 Trivial effect
• 0.1-0.3 Small effect
• 0.3-0.5 Medium effect
• > 0.5 Large effect
• The next slide is the result of a repeated measures t-test from a past
lecture, we’ll calculate Cohen’s d
Paired-Samples t-test Output
Coefficient Value Strength of
Association
0.1 < | r | < .3 small correlation
0.3 < | r | < .5 medium/moderate correlation
| r | > .5 large/strong correlation
Assumption 4: You should have independence of observations, which you can easily
check using the Durbin-Watson statistic
(1) The independent variable, time_tv, which is the average daily time spent
watching TV in minutes;
(2) The dependent variable, cholesterol, which is the cholesterol concentration
in mmol/L; and
(3) The chronological case number, caseno, which is used for easy elimination
of cases that might occur when checking assumptions. It is not used directly in
calculations for a simple linear regression analysis and thus it is not essential
for you to have this variable.
LINEAR REGRESSION: SPSS
PROCEDURE
LINEAR REGRESSION: SPSS
PROCEDURE
o INDEPENDENT-SAMPLES T-TEST
o one-way ANOVA
INDEPENDENT-SAMPLES T-TEST
SPSS STATISTICS
The independent-samples t-test is For example, you could use the
used to determine if a difference independent-samples t-test to determine
exists between the means of two whether (mean) salaries, measured in US
independent groups on a continuous dollars, differed between males and females
dependent variable. More (i.e., your dependent variable would be
specifically, it will let you determine "salary" and your independent variable would
whether the difference between be "gender", which has two groups: "males"
these two groups is statistically and "females"). You could also use an
significant. independent-samples t-test to determine
This test is also known by a number whether (mean) reaction time, measured in
of different names, including the milliseconds, differed in under 21 year olds
independent t-test, independent- versus those 21 years old and over (i.e., your
measures t-test, between-subjects t- dependent variable would be "reaction time"
test, unpaired t-test and Student's t- and your independent variable would be "age
test. group", split into two groups: "under 21 year
olds" and "21 years old and over").
Basic requirements of the independent-
samples t-test
Assumption 1: You have one dependent variable that is measured at the continuous
level. Examples of continuous variables include revision time (measured in hours),
intelligence (measured using IQ score), exam performance (measured from 0 to 100),
weight (measured in kg), and so forth.
Assumption 2: You have one independent variable that consists of two categorical,
independent groups (i.e., a dichotomous variable). Example independent variables that
meet this criterion include gender (two groups: "males" or "females"), employment status
(two groups: "employed" or "unemployed"), transport type (two groups: "bus" or "car"),
smoker (two groups: "yes" or "no"), trial (two groups: "intervention" or "control"), and so
forth.
Basic requirements of the independent-
samples t-test
Assumption 3: You should have independence of observations, which means that there is no
relationship between the observations in each group of the independent variable or between the
groups themselves.
FOR EXAMPLE: if you split a group of individuals into two groups based on their gender (i.e., a male
group and a female group), no one in the female group can be in the male group and vice versa. As
another example, you might randomly assign participants to either a control trial or an intervention
trial. Again, no participant can be in both the control group and the intervention group.
Basic requirements of the independent-
samples t-test
Assumption 3: You should have independence of observations, which means that there is no
relationship between the observations in each group of the independent variable or between the
groups themselves.
FOR EXAMPLE: if you split a group of individuals into two groups based on their gender (i.e., a male
group and a female group), no one in the female group can be in the male group and vice versa. As
another example, you might randomly assign participants to either a control trial or an intervention
trial. Again, no participant can be in both the control group and the intervention group.
Basic requirements of the independent-
samples t-test
Assumption 4: there should be no significant outliers in the two groups of your independent variable in
terms of the dependent variable;
Assump/on 5: your dependent variable should be approximately normally distributed for each group of
the independent variable;
Assump/on 6: you have homogeneity of variances (i.e., the variance of the dependent variable is equal
in each group of your independent variable).
INDEPENDENT-SAMPLES T-TEST: SPSS
PROCEDURE
An Advertising Agency is commissioned to create a TV advert to promote a new product. Since the
product is designed for men and women, the TV advert has to appeal to men and women equally.
Before the company that commissioned the Advertising Agency spends $250,000 across a number
of TV networks, it wants to make sure that the TV advert created by the Advertising Agency
appeals equally to men and women. More specifically, the company wants to know whether the
way that men and women engage with the TV advert is the same. To achieve this, the TV advert is
shown to 20 men and 20 women, who are then asked to fill in a questionnaire that measures their
engagement with the advertisement. The questionnaire provides an overall engagement score.
INDEPENDENT-SAMPLES T-TEST: SPSS
PROCEDURE
Setting up your data
For an independent-samples t-test, you will have two
variables. In this example, these are:
Assumption 2: You have one independent variable that consists of two or more categorical,
independent groups. Typically, a one-way ANOVA is used when you have three or more categorical,
independent groups, but it can be used for just two groups (although an independent-samples t-test
is more commonly used for two groups). Example independent variables that meet this criterion
include ethnicity (e.g., three groups: Caucasian, African American and Hispanic), physical activity
level (e.g., four groups: sedentary, low, moderate and high), profession (e.g., five groups: surgeon,
doctor, nurse, dentist, therapist), and so forth.
Basic requirements of the one-way
ANOVA
Assumption 3: You should have independence of observations, which means that there is no
relationship between the observations in each group of the independent variable or between the groups
themselves.
For example, if you split a group of individuals into four groups based on their physical activity level (e.g.,
a "sedentary" group, "low" group, "moderate" group and "high" group), no one in the sedentary group can
also be in the high group, no one in the moderate group can also be in the high group, and so forth. As
another example, you might randomly assign participants to either a control trial or one of two
interventions. Again, no participant can be in more than one group (e.g., a participant in the the control
group cannot be in either of the intervention groups).
Basic requirements of the one-way
ANOVA
Assumption 4: there should be no significant outliers in the groups of your independent
variable in terms of the dependent variable;
Assumption 6: you should have homogeneity of variances (i.e., the variance of the
dependent variable is equal in each group of the independent variable).
ONE-WAY ANOVA: SPSS PROCEDURE
A researcher believes that individuals that are more physically active are better able to cope with stress
in the workplace. To test this theory, the researcher recruited 31 subjects and measured how many
minutes of physical activity they performed per week and their ability to cope with workplace stress.
The subjects were categorized into four groups based on the number of minutes of physical activity
they performed: namely, "sedentary", "low", "moderate" and "high" physical activity groups.
These groups (levels of physical activity) formed an independent variable called group. The ability to
cope with workplace stress was assessed as the average score of a series of Likert items on a
questionnaire, which allowed an overall "coping with workplace stress" score to be calculated; higher
scores indicating a greater ability to cope with workplace-related stress. This dependent variable was
called coping_stress and "ability to cope with workplace-related stress" abbreviated as "CWWS" score.
The researcher would like to know if CWWS score is dependent on physical activity level.
ONE-WAY ANOVA: SPSS PROCEDURE
For a one-way ANOVA, you will have two variables. In this example,
these are:
SPSS Statistics will have generated a Descriptives table containing some useful descriptive statistics
for each group of the independent variable – the "Sedentary", "Low", "Moderate" and "High" groups –
which will help you get a "feel" for your data and will be used when you report your results. You can
make an initial interpretation of your data using the Descriptives table:
ONE-WAY ANOVA: SPSS PROCEDURE
• Including more subjects will increase your chance of finding statistically significant
results
# of IV
# of DV (format) Examining… Test/Notes
(format)
1 1
Association Pearson Correlation (r)
(continuous) (continuous)
1 1 Simple Linear Regression
Prediction
(continuous) (continuous) (m + b)
1 Multiple Linear Regression
Multiple Prediction
(continuous) (m + b)
# of IV
# of DV (format) Examining… Test/Notes
(format)
When one group is a
1 (grouping, 2 1 Group
‘known’ population = One-
levels) (continuous) differences
Sample t-test