Professional Documents
Culture Documents
Given that,
n = 400
x = 80
1 - = 1 - 0.2 = 0.8
= 1 - 95%
/2 = 0.025
Z /2 = Z0.025 = 1.96
= 0.0392
- E < p < + E
( 0.1608 , 0.2392 )
The 95% confidence interval for the population proportion p is ( 0.1608 , 0.2392 )
b. Margin of error = E = 0.04
Sample size = n = (Z / 2 / E )2 * * (1 - )
= 384.16
Quess 2
Here the explanatory variable is total wealth (in dollars) and age (in years) is the response variable.
a.
y=β0+β1x+e ,
Now, we have to estimate the coefficients of the equation using least square method.
β1=covx,ySx2 and β0=y-β1x
X=1ni=1nxi, Y=1ni=1nyi
Now, we have the estimated values as,
45.2159
β0
5.3265
β1
The estimated regression equation is,
b.
Now, we have to estimate the total wealth when a person is 50 years old. We replace x=50
c.
r2=SxySxxSyy
Interpretation:
91.46% of the total variability is explained by the estimated regression model.
d.
Now, we want to test whether there is a significant relationship between wealth and age at the
10% significance level.
Hypothesis to be tested:
We want to test,
H11:not H01
ii)H02:β0=0 ag. H12:β0≠0
iii)H03:β1=0 ag. H13:β1≠0
Test Statistics:
ii) The test statistic for testing H02 ag. H12 is given by,
F=51907.64840.3936=61.7658
t1=45.215939.8049=1.1359
t2=5.32650.6777=7.8596
Critical values:
We take α=0.05.
Then F0.05;1.6=5.9873
t0.05;6=1.9432
Here to calculate the critical value we use Excel .Inv() function.
Conclusion:
Here, the value of F statistic is greater than the critical value, hence we reject the null hypothesis
and conclude on the basis of the given data that the model fits the data moderately.
Ques 3
Step 2
1).
Null hypothesis:
Alternative hypothesis:
Ques 3
Step 1
c.
Income(x1)
family size(x2)
additions to savings(x3)
Step 2
The complete ANOVA table is,
ANOVA df SS MS F
45.9634/3
15.32113/0.238345
Regressio
3 45.9634
n =15.3211
=64.28121
3
2.6218/11
Residual 11 2.6218
=0.23834
5
Total 3+11=14 45.9634+2.6218=48.5852
Decision Rule:
p-value: