STEPS
IN HYPOTHESIS TESTING
1. Set up two
opposing hypotheses
a. Null
Hypothesis H0
·
Researcher’s
interest in verifying H0.
·
H0 is either rejected or accepted.
·
H0 contains an equality.
b. Alternative Hypothesis H1
·
Specifies
the situation if H0 is rejected
·
H1
contains a inequality that is mutually exclusive of
H0
2. Define a test
statistic and its distribution under the null hypothesis.
TEST
STATISTIC - formula telling us how to confront the null
hypothesis with the evidence.
Examples of Test Statistics:
a. Z:population
is normally distributed.
b. t:
population is normally distributed, but unknown variance.
c. X2 (Chi2): sum of
squares of independent standard normal random variables.
d. P Value:
population is normally distributed.
3. Define a boundary for dividing the TEST
STATISTIC RESULT space into a region of rejection and a region of acceptance by
determining the level of significance.
Also called Decision Rule
used to accept or reject the Null Hypothesis.
Level of Significance (a) - Probability of a Type
I error.
Type I Error - Rejecting the Null Hypothesis when it is
true.
Decision Rule for P value:
If P
< a reject null
4. Collect data and compute the sample value of
the test statistic.
5. Determine whether the test statistic has
fallen into the rejection or acceptance region.
6. State and
interpret results.
P value is a new approach to
hypothesis testing.
It is the observed/actual
level of significance.
Actual
probability of rejecting when it should be accepted.
If P > a do not reject
STATISTICAL
TESTS
1. One sample t-test -
test whether the mean of a single variable differences from a specified
constant.
Examples:
Whether the average IQ score for children born prematurely
have an average IQ of 100.
Or Income in US = $25000
Test Statistic = t-test
H0 : Mx
= X X = constant
HA : Mx
¹ X
2. Independent samples t-test
- Compares means for 2 groups of cases.
Test Statistic = t-test
H0 : Mx
= My
HA : Mx
¹ My
Regression Analysis
Test
of independence
Estimates the equation that
gives the best linear relationship between 1 dependent variable and 1 or more
independent variables.
Simple Regression (bivariate) - 1 dependent and 1 independent variable
Multiple Regression (multivariate) - 1
dependent and > 1 independent variables
Dependent Variable - variable you are
interested in
explaining
-
left hand side variable
-
Y
variable
- example – Earnings
Independent
Variables - variables that have a possible effect on dependent
variable
- right hand side variables
-
X
variables
-
Examples
– Education
Age
II. Model
Y = B0 + B1X1
+ B2X2 + ... + E
Y = dependent variable
X1, X2,
X3,... = independent variables
B0 = constant (Y when Xi=0)
B1, B2,
B3,...= coefficients on X1, X2,
X3,...
B1: tells you the relationship between X1
and Y.
relates how
much Y varies as X1 varies by 1
unit.
E= error term
Example:
PriceHouse = B0
+ B1 (SQFT) + B2(Bedrooms) +
B3(Baths) + E
PriceHouse = $129,062 + $154(SQFT)
- 21,588(Bedrooms)
- $12,193(Baths)
1 additional SQFT increases the price of a house, on
average by $154, holding all other factors constant.
1 additional bedroom decreases the Price of a house by
$21,588, on average holding all the factors constant.
Hypothesis
Testing:
X1 : Ho : B1
= 0
HA : B1 ¹ 0
X2 : H0 : B2 = 0
HA
: B2 ¹ 0