Professional Documents
Culture Documents
Assignment - 2
Group - 02
Members :-
Abhay Pratap Singh, 160103002
Abhishek Tiwari, 160103003
Abhishek Verma, 160103004
Solution 1
MATLAB Code for Q1.
Solution 2 : Plot
Solution 2
Given, sum of numbers on the two dices and their frequencies.
and f = [32 100 116 168 212 220 184 156 116 88 48]
Now, mean,
For the data given in question, mean = 6.9861 and standard deviation = 2.4712
Then, lets define a normal distribution with the above mean and standard deviation
as
Show test is true at 99% confidence
level.
Using Chi-Square Goodness of Fit,
Then,
Here, v = k - 1 = 11 - 1 = 10.
Sum Observed Frequency, Expected Frequency, Absolute Difference
O E
2 32 40 8
3 100 80 20
4 116 120 4
5 168 160 8
6 212 200 12
7 220 240 20
8 184 200 16
9 156 160 4
10 116 120 4
11 88 80 8
12 48 40 8
For 99% Confidence level, significance = 1.00 - 0.99 = 0.01
Now,
And,
Since,
Also, using
Where,
With,
With,
We get,
Or
Solution 3 : part 2
Taking Null Hypothesis,
We have,
I.e
Also,
Since,