Professional Documents
Culture Documents
SPSS - Unit I
SPSS - Unit I
• = ȳ-
The Coefficient of Determination : A
Measure of “Goodness of Fit”
• We now consider the goodness of fit of the fitted regression line to a set of data;
that is, we shall find out how “well” the sample regression line fits the data
• it is clear that if all the observations were to lie on the regression line, we would
obtain a “perfect” fit, but this is rarely the case. Generally, there will be some
positive uˆi and some negative uˆI
• What we hope for is that these residuals around the regression line are as small
as possible.
• The coefficient of determination r 2 (two-variable case) or R2 (multiple
regression) is a summary measure that tells how well the sample regression line
fits the data.
• The value of r square lies between 0 and 1.
• TSS = ESS + RSS
• Now dividing the above equation by TSS on both sides,
1=
The quantity r 2 thus defined is known as the (sample) coefficient of determination and is the most
commonly used measure of the goodness of fit of a regression line.
It measures the proportion or percentage of the total variation in Y explained by the regression model.
Hypotheis testing
• Hypothesis: It is mere assumption or some supposition to be proved or
disapproved. Research hypothesis is a predictive statement capable of
being tested by scientific methods that relates independent variable to
some dependent variable
• Null hypothesis:
It means no difference b/w the true/actual value and hypothesis
value.
Null hypothesis denoted as H0.
• Alternative hypothesis:
Any hypothesis, which is complementary to the null hypothesis is
called an alternative hypothesis, usually denoted by H1.
• No hypothesis test is 100% certain. Because the test is based on
probabilities, there is always a chance of making an incorrect
conclusion. When you do a hypothesis test, two types of errors are
possible: type I and type II.
Type I error:
When the null hypothesis is true and you reject it, you make a type I
error.
Type II error
When the null hypothesis is false and you fail to reject it, you make a
type II error. When we accept the null hypothesis though it is false.
Steps in the hypothesis testing
1.Formulation of hypothesis(H0 and H1)
2.Level of significance(α) and the critical region: the maximum size of
type I error that we may commit. This refers to degree of significant
with which we accept or reject particular hypothesis. A region
(corresponding to a statistic t) in the sample space S that amounts to
rejection of H0 is termed as 'critical region'.
3.One tail or two tail test: In this alternative hypothesis expressed by the symbol(<) or
(>) is called one tailed test. A test of any statical hypothesis where the alternative is
written with a symbol ( ≠ ) is called two tailed test.
h0=0 (no difference between sample mean and population)
h1≠0 two tail test
h1 <0 left tail test
h1>0 right tail test
4. Decide sample statistic:
5. Calculate sample statistic
6. Critical values/table values
7. Compare calculated and critical values and make decision: if calculated
value is greater than table value or critical value, reject H0 and accept H1
and vice versa
8. Write conclusion