Univariate and Bivariate Analysis
Univariate and Bivariate Analysis
Univariate and Bivariate Analysis
Analysis
T-Test
• A t-test is used to determine whether or not there is a statistically significant
independent variables).
ANOVA- extension of independent sample T Test
more groups of people when the groups can be split on one factor.
• . The most commonly used ANOVA tests in practice are the one-way
30
30 30
• Each group uses a different studying technique for one month to prepare for
an exam. At the end of the month, all of the students take the same
exam. You want to know whether or not the studying technique (factor) has an
impact on exam scores so you conduct a one-way ANOVA to determine if
there is a statistically significant difference between the mean scores of the
three groups.
.•
When to use a one-way ANOVA
• Use a one-way ANOVA when you have collected data about one categorical
independent variable and one quantitative dependent variable. The
independent variable should have at least three levels (i.e. at least three
different groups or categories).
• ANOVA tells you how the mean of a dependent variable changes according
to three or more levels of independent variable. For example:
• Your independent variable is brand of soda (IV), and you collect data
on Coke, Pepsi, Sprite, and Fanta (4 categories) to find out if there is a
difference in the price per 100ml (DV).
Hypothesis
• H0 There is no significant difference in DV (scores) with respect to a
specific categories of the independent variable (study method) .
• Assumptions of ANOVA
• The assumptions of the ANOVA test are the same as the general
assumptions for any parametric test:
1.Independence of observations: The observations should be
independent of each other.
2.Normally-distributed response variable: The values of the
dependent variable follow a normal distribution.
3.Homogeneity of variance: The population variances are the same
across all categories of DV ( all means are coming from same
population).
in terms of sales kids adults sports
Two Way ANOVA
• A two-way ANOVA is an extension of the one-way ANOVA. A two-way
ANOVA test is a statistical test used to determine the effect of two
nominal predictor (IV) variables on a continuous DV.
• You can use a two-way ANOVA when you have collected data on a
quantitative dependent variable at multiple levels of two categorical
independent variables.
Stress levels of employees (mean level) dependent upon their gender (nominal
variable) and organizational level (upper, middle, lower)
Gender stress
Org Level stress
Gender*Org Level stress
Questions asked by Two Way ANOVA
• Does age affect memory?
• Does health affect memory?
These two effects are called main effects and refer to the effect of
a single factor on dependent variable (memory) at a time.
• 0-0.5 weak
• 0.5-0.7 moderate
• 0.7-1 Strong