Test On Variables: in Surveys, The Foolish Ask Questions, Wise Cannot Answers
Test On Variables: in Surveys, The Foolish Ask Questions, Wise Cannot Answers
Group 5
Asim Kumar Verma
Deeptiman Guha
Himanshu Arora
Kaavish Kidwai
Nirmal Modh
When n
When n
less than
greater than 30
30
Hypothesis testing
Goal: Make statement(s) regarding unknown population
parameter values based on sample data
Elements of a hypothesis test:
Null hypothesis - Statement regarding the value(s) of
unknown parameter(s). Typically will imply no association
between explanatory and response variables in our applications
Alternative hypothesis - Statement contradictory to the null
hypothesis (will always contain an inequality)
Test statistic - Quantity based on sample data and null
hypothesis used to test between null and alternative hypothesis
Rejection region - Values of the test statistic for which we
reject the null in favor of the alternative hypothesis
Test On Variables
In these decisions are made on quantitative measures
T test
H0: m ³ 0 H0: m £ 0
H1: m < 0 H1: m > 0
Reject H0 Reject H 0
a a
0 Z 0 Z
Must Be Significantly Small values don’t contradict H0
Below m = 0 Don’t Reject H0!
Hypothesis Test
• Hypothesis testing is used when we want to
know whether the sample data support some
preconceived theory we hold about the
parameters of the population model.
• If we can find a numerical value of the
relevant probability, then we might be able to
assess whether the belief is supported or not:
• a high probability of obtaining the data
supports the belief, a low one does not.
t test
• t tests is simply comparing two means to see if
they are significantly different from each other.
• The more technical definition or description of a
t test is any statistical test that uses the t, or
Student's t, family of distributions.
ỹ-µ
Properties of t Test
Student’s t distributions are
1. Unimodal;
2. Asymptotic to the horizontal axis;
3. Symmetrical about zero, E(t);
4. Dependent on v, the degrees of freedom (for the
statistic under discussion, v=n-1);
5. More variable than the standard normal
distribution, V(t)=v/(v-2) for n > 2;
6. Approximately standard normal if v is large.
Excel Command
To test whether the population mean could be
µ, use :
MeanTest uses the original data and the
hypothetical value µ of the population mean.
StudentTPValue uses only the value of the test
statistic t = m-µ/Sm and degrees of freedom n - 1.
The two commands use the Student t distribution to
perform the testing.
Comparision