0% found this document useful (0 votes)
116 views8 pages

Sta 408 Assignment No.01 Done

sta 408 assignment no.01 done

Uploaded by

Ali Jamshade
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
116 views8 pages

Sta 408 Assignment No.01 Done

sta 408 assignment no.01 done

Uploaded by

Ali Jamshade
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

Assignment No.

1 (Course STAT408)

STUDENT NAME: MUHMMAD ADEEL


STUDENT ID: BC210200501

QUESTION NO.01:

In a randomized complete block design, in each of four blocks I II, III, and IV, four
varieties of wheat and are in the layout given below and yield is also indicated
with one missing value represented by x.

Treatments

A B C D

I 17 27 15 25

II 28 26 16 22
Blocks
III 22 25 12 14

IV 17 18 x 19

a) Estimate the missing observation .

SOULTION:
TREATEMENT
A B C D
i 17 27 15 25
ii 28 26 16 22
BLOCK
iii 22 25 12 14
iv 17 18 x 19

AS,

Estimating the Missing Value for Treatment C in Block IV

To estimate the missing value, we will use the average of the observed values for treatment C in
the other blocks (I, II, III).

Treatment C Values in Other Blocks

- Block I, Treatment C: 15

- Block II, Treatment C: 16

- Block III, Treatment C: 12

Estimating the Missing Value

To estimate x, calculate the average of these values:

x = (15 + 16 + 12) / 3
= 43 / 3

= 14.33

Thus, the estimated value for x = 14.33.

Complete the data table

Now that we've estimated the missing value, the completed table would be:

TREATEMENT
A B C D
i 17 27 15 25
ii 28 26 16 22
BLOCK
iii 22 25 12 14
iv 17 18 14.33 19

This completes the missing data estimation for treatment C in block IV.

Question no.02:

b) After estimating missing observation, perform analysis of variance to test at 5%


significance level, the difference in the yield varieties and in blocks.

Solution:

1- Hypothesis

Hypotheses for Two-Way ANOVA


We will consider the data as a Two-Way Analysis of Variance (ANOVA) with
Treatments as one factor (A, B, C, D) and Blocks as the other factor (i, ii, iii, IV).

Null Hypotheses

1. Treatment Effect: There is no significant difference between the treatments (A,


B, C, D).

H₀ = μA = μB = μC = μD

2. Block Effect: There is no significant difference between the blocks (i, ii, iii, IV).

H₀ = μi = μii = μiii = μiv

3. Interaction Effect: There is no interaction effect between the treatments and


blocks.

H₀ = No interaction between Treatment and Block

Alternative Hypotheses

1. Treatment Effect: There is a significant difference between the treatments (A, B,


C, D).

H₁ = At least one treatment mean is different

2. Block Effect: There is a significant difference between the blocks (i, ii, iii, iv).
H₁ = At least one block mean is different

3. Interaction Effect: There is a significant interaction effect between the


treatments and blocks.

H₁ = There is an interaction between Treatment and Block

2-level of signigicance 5%

3-test statitics

Hypothesis Testing Using Two-Way ANOVA

To calculate the test statistics for the given data and test hypotheses using ANOVA at the 5%
significance level (α = 0.05), we will follow a systematic approach.

TEST STATISTICS:

F1=(s base t) ^2 /(S base e) ^2 for treatment

F2=(s base b) ^2 /(S base e) ^2 for block

Solution:

Step 1: Calculate the Grand Mean (GM)

The grand mean is the average of all the values in the table.

GM = (17 + 27 + 15 + 25 + 28 + 26 + 16 + 22 + 22 + 25 + 12 + 14 + 17 + 18 + 14.33 + 19) / 16

GM = 18.396
Step 2: Calculate the Mean for Each Treatment (A, B, C, D)

For each treatment (A, B, C, D), calculate the average value.

μA = (17 + 28 + 22 + 17) / 4 = 21

μB = (27 + 26 + 25 + 18) / 4 = 24

μC = (15 + 16 + 12 + 14.33) / 4 = 14.33

μD = (25 + 22 + 14 + 19) / 4 = 20

Step 3: Calculate the Mean for Each Block (i, ii, iii, iv)

Now, calculate the mean for each block.

μi = (17 + 27 + 15 + 25) / 4 = 21

μii = (28 + 26 + 16 + 22) / 4 = 23

μiii = (22 + 25 + 12 + 14.33) / 4 = 18.33

μiv = (17 + 18 + 14.33 + 19) / 4 = 17.083

Step 4: Sum of Squares for Treatments (SST)

The SST measures the variation between the treatment means and the grand mean.

SST = 4[(21-18.396) ^2 + (24-18.396) ^2 + (14.33-18.396) ^2 + (20-18.396) ^2]

SST = 229.188
Step 5: Sum of Squares for Blocks (SSB)

The SSB measures the variation between the block means and the grand mean.

SSB = 4[(21-18.396) ^2 + (23-18.396) ^2 + (18.33-18.396) ^2 + (17.083-18.396) ^2]

SSB = 118.9

Step 6: Sum of Squares for Error (SSE)

The SSE measures the unexplained variation (within blocks and treatments).

SSE = SST + SSB - Total Sum of Squares (Total)

Step 7: Calculate Mean Squares (MS)

Now, we can calculate the Mean Squares for treatments, blocks, and error.

MST = SST / (k-1) = 229.188 / 3 = 76.396

MSB = SSB / (b-1) = 118.9 / 3 = 39.633

MSE = SSE / ((k-1) (b-1))

Step 8: Calculate F-statistics

Now, we can calculate the F-statistics:

F1 (for Treatments) = MST / MSE


F2 (for Blocks) = MSB / MSE

Step 9: Decision Rule

Finally, compare the calculated F1 and F2 values to the critical F-values from the F-distribution
table at a 5% significance level (α = 0.05).

Make Decisions Based on the F-Test

If the p-value is less than 0.05, reject the null hypothesis. If the p-value is greater than 0.05, fail
to reject the null hypothesis.

You might also like