Professional Documents
Culture Documents
com
Q.N.1)The following data set represents the strength of two types of cable.
Cable A 4.8 5.3 6.4 4.8 5 4.7
Cable B 6.5 4.7 5.5 6.2 4.8 5.2
Test whether average strength of cable B is greater than cable 4.
Solution:
Setting of hypothesis:
µ1=µ2 i.e. there is no significant difference between mean strength of two types of cables.
µ1<µ2 i.e. strength of cable
there Bis issignificant
greater than
difference
cable Abetween mean strength of two types of cables.
Level of significance alpha= 5%
t-Test: Two-Sample Assuming Equal Variances
Variable 1 Var 2
Mean 5.1667 5.483
Variance 0.4107 0.542
Observations 6 6
Pooled Variance 0.4762
Hypothesized Mean Difference 0
df 10
t Stat -0.795
P(T<=t) one-tail 0.2226
t Critical one-tail 1.8125
P(T<=t) two-tail 0.4452
t Critical two-tail 2.2281
Decision: Since,tcalculated is less than ttabulated so we donot reject H0.
So, we conclude that there is no significant difference between strength of two cables.
https://genuinenotes.com
https://genuinenotes.com
Variable 1 Var 2
Mean 40.14285714 40
Variance 138.8095238 155.33
Observations 7 7
Pooled Variance 147.0714286
Hypothesized Mean Difference 0
df 12
t Stat 0.022037982
P(T<=t) one-tail 0.491389936
t Critical one-tail 1.782287556
P(T<=t) two-tail 0.982779871
t Critical two-tail 2.17881283
Decision:
Since,tcalculated<ttabulated so we do not reject H0.
Hence,we conclude that there is no significant difference between average scores of two groups of
students.
Q.N.3)The following table gives the test score secured by eight student before and after coaching class:
Before 47 53 61 44 60 59 58 68
After 51 55 60 49 57 62 63 66
Test whether coaching class is efficteve or not.
Soltion:
Setting of hypothesis:
µ1=µ2 i.e. coaching class is not effective
µ1<µ2 i.e. coaching class is effective
Level of significane:
alpha= 5%
Variable 1 Var 2
Mean 56.25 57.875
Variance 61.64285714 35.554
Observations 8 8
Pearson Correlation 0.928430823
Hypothesized Mean Difference 0
df 7
t Stat -1.434360939
P(T<=t) one-tail 0.097297255
t Critical one-tail 1.894578605
P(T<=t) two-tail 0.19459451
t Critical two-tail 2.364624252
DECISION:
Since,tcalulated is less than ttabulated so we do not reject H0.
Hence,we conclude that the coaching class is not effective.
https://genuinenotes.com
https://genuinenotes.com
Q.N.4)The marks obtained by seven students before and after coaching class is given below:
A B C D E F G
Before 4 7 8 9 5 7 2
After 3 12 12 10 5 9 1
Test whether coaching class is effective or not.
Solution:
Setting of hypothesis:
µ1=µ2 i.e. coaching class is not effective
µ1≠µ2 i.e. coaching class is effective
Level of significance:
alpha= 5%
Variable 1 Var 2
Mean 6 7.4286
Variance 6 19.619
Observations 7 7
Pearson Correlation 0.921691143
Hypothesized Mean Difference 0
df 6
t Stat -1.59448201
P(T<=t) one-tail 0.080969114
t Critical one-tail 1.943180281
P(T<=t) two-tail 0.161938228
t Critical two-tail 2.446911851
Decision:
Since,tcalculated<ttabulated so we do not reject H0.
Hence,we conclude that coaching class is not effective.
Q.N5)A computer manager is keenly interested to kow how efficiency of her new computer program
depends on the size of incoming.
Datasize: 6 7 7 8 10 10 15
Number of tables: 4 20 20 10 10 2 1
Efficiency 40 55 50 41 17 26 16
a) Obtain the multiple regresssion eqution.
b) Predict the value of efficiency when data size is 9GB and number of tables is 15.
c) Compute coefficient of determination and standard error.
d) Test the significance of each of regression coefficients
e) Test the overall regression model.
Solution:
Let Y denotes efficiency and X1 denote datasize and X2 denote number of tables.
Then multiple regression eqution Y on X1 and X2 is
Y=a+b1X1+b2X2
https://genuinenotes.com
https://genuinenotes.com
DatasizeNumberEfficiency
of tables
6 4 40
7 20 55
7 20 50
8 10 41
10 10 17
10 2 26
15 1 16
SUMMARY OUTPUT
Regression Statistics
Multiple R 0.887367725
R Square 0.787421479
Adjusted R Square 0.681132219
Standard Error 8.784418197
Observations 7
ANOVA
df SS MS F Significance F
Regression 2 1143.3 571.7 7.4083 0.04519
Residual 4 308.66 77.17
Total 6 1452
Then,efficiency Y= 40.13
Level of significance:
alpha= 5%
Test statistics:
t= 1.99
https://genuinenotes.com
https://genuinenotes.com
Critical value:
p= 0.12
Decision:
Since,p value >alpha so we do not reject H0.
Hence, we conclude that reggression coefficient is not significant.
Level of significance:
alpha= 5%
Test statistics:
t= 1.54
Critical value:
p= 0.19
Decision:
Since,p value >alpha so we do not reject H0.
.Hence, we conclude that reggression coefficient is not significant.
Test for overall regression model.
H0: Regression model is not significant.
H1: Regression model is significant.
Level of significance:
alpha= 5%
Test statistics:
F= 7.41
Critical value:
p= 0.045
Decision:
Since,pvalue<alpha so we reject H0. Hence we conclude that model is significant.
QN6).The following information has been gathered from a random sample of apartment renters in a city.
We are trying to predict rent(in dollars per month) based on the size of apartment(number of rooms)
and the distance
Rent(Dollar) 360 1000 450 525 350 300
Number of rooms 2 6 3 4 2 1
Distance 1 1 2 3 10 4
from downtown
a.Obtain the multiple regresssion eqution.
b.If some one is looking for a two bed apartment 2 miles from down town, what rent he expect to pay?
c.Compute coefficient of determination and standard error.
https://genuinenotes.com
https://genuinenotes.com
Regression Statistics
Multiple R 0.956889427
R Square 0.915637376
Adjusted R^2 0.859395627
S.E 97.08638239
Observations 6
ANOVA
df SS MS F Significance F
Regression 2 306910 2E+05 16.28 0.024503
Residual 3 28277 9426
Total 5 335188
Y=96.45+136.48X1-2.4X2
https://genuinenotes.com
https://genuinenotes.com
Level of significance
alpha=5%
Test Statistics
t= 5.08
Probability Value
p= 0.014
Decision
Since,p-value < alpha we donot reject H0.Hence, regression coefficient is significant
Level of significance
alpha=5%
Test Statistics
t= 0.17
Probability Value
p= 0.87
Decision:
Since,p-value > alpha we donot reject H0.Hence, regression coefficient is not
significant
Level of Significance
alpha=5%
Test Statistics
Ftab= 16.28
Critical Value
p= 0.024
Decision:
Since p <alpha so we reject H0.Hence,overall regression model is significant
https://genuinenotes.com
https://genuinenotes.com
Q.N.7)The following data represents the layout of CRD of 4 treatments A,B,C and D.
A 4 8 7 3
B 5 9 4 4
C 10 6 8 5
D 9 4 6 10
Carry out the analysis of design.
Solution:
Hypothesis:
H0: There is no significant difference between mean of four treatments.
H1: There is significant difference between mean of four treatments.
Level of significance:
alpha= 5%
SUMMARY
Groups Count Sum AverageVariance
Row 1 4 22 5.5 5.6667
Row 2 4 22 5.5 5.6667
Row 3 4 29 7.25 4.9167
Row 4 4 29 7.25 7.5833
ANOVA
Source of Variation SS df MS F P-value F crit
Between Groups 12.25 3 4.083 0.6853 0.578017 3.49029
Within Groups 71.5 12 5.958
Total 83.75 15
Test statistics:
F= 0.68
Critical value:
p-value= 0.57
Decision:
Since,p_value>alpha so we donot reject H1.
Hence, we conclude that there is no significant difference between mean of four treatments.
Q.N.8) The layout of CRD of three treatments with four replication is given below:
A 6 9 12 14 41
B 12 7 10 12 41
C 9 10 8 20 47
Test whether there is significant difference between mean of three treatments.
Solution:
Hypothesis:
H0: There is no significant difference between mean of three treatments.
H1: There is significant difference between mean of three treatments.
https://genuinenotes.com
https://genuinenotes.com
Level of significance:
alpha= 5%
SUMMARY
Groups Count Sum Average Variance
Row 1 5 82 16.4 198.3
Row 2 5 82 16.4 193.3
Row 3 5 94 18.8 271.7
ANOVA
Source of Variation SS df MS F P-value F crit
Between Groups 19.2 2 9.6 0.043419 0.95766 3.885
Within Groups 2653.2 12 221.1
Total 2672.4 14
Test statistics:
F= 0.043
Critical value:
p-value= 0.957
Decision:
Since,p_value>alpha so we donot reject H1.
Hence, we conclude that there is no significant difference between mean of four treatments.
Level of significance
alpha=5%
Test Statistics
Anova: Two-Factor Without Replication
https://genuinenotes.com
https://genuinenotes.com
B1 4 35 8.75 6.25
B2 4 43 10.75 0.9167
B3 4 46 11.5 9
B4 4 48 12 24.667
ANOVA
Source of Variation SS df MS F P-value F crit
Rows 16 3 5.333 0.4507 0.723016 3.86255
Columns 24.5 3 8.167 0.6901 0.580606 3.86255
Error 106.5 9 11.83
Total 147 15
Ft= 0.45
Fb= 0.69
Critical value
pt= 0.72
pb= 0.58
https://genuinenotes.com
https://genuinenotes.com
Level of significance:
alpha= 5%
ANOVA
Source of Variation SS df MS F P-value F crit
Rows 14 2 7 0.5294 0.614125 5.14325
Columns 12.91666667 3 4.306 0.3256 0.807367 4.75706
Error 79.33333333 6 13.22
Total 106.25 11
Ft= 0.52
Fb= 0.32
Critical value:
p value for treatment= 0.61
p value for block= 0.8
Decision:
For treatment,
Since,p-value>alpha so we do not reject H0.
Hence, we conclude that there is no significant difference between four treatments.
For block,
Since,p-value>alpha so we do not reject H0.Hence,we conclude that block is homogeneous.
https://genuinenotes.com