Question: Hi, I need help on probability distribution question. Anyone who can provide a solution will be much appreciated. Thanks. 5 After their STATS 210 lecture,
Hi, I need help on probability distribution question. Anyone who can provide a solution will be much appreciated. Thanks.


5 After their STATS 210 lecture, Alice told Bob that, in any English text it is equally likely to have letters from the set V and From the set C that are dened below: V : {Aaa'vaeiliiioaoval-l}: C = {3,b,c,c,_..,y,y,z,z}. Note that the entries of C are all the letters of the English alphabet (uppercase and lowercase) which are not included in V. Bob was not convinced that the claim is true and, because of that, he decided to investigate it by analyzing Shakespearels Sonnet 130. More precisely, he took the text of the sonnet and replaced each letter from V by symbol 'V'. Then he replaced any letter from C by symbol '0'. He also removed all the punctuation marks, but he maintained the spaces between the original Words. The text produced after these alterations is: CC CVCCCVCC VCVC VCV CVCCVCC CVCV CCV CVC CVCVC VC CVC CVCV CVC CCVC CVC CVCC CVC VC CCVC CV CCVCV CCC CCVC CVC CCVVCCC VCV CVC VC CVVCC CV CVCVC CCVCC CVCVC CCVC VC CVC CVVC V CVCV CVVC CVCVC CVCVCCVC CVC VCC CCVCV CVC CV CVCC CVCVC CVV V VC CVC CCVVCC VCC VC CVCV CVCCVCVC VC CCVCV CVCV CVCVCCC CCVC VC CCV CCVVCC CCVC CCVC CC CVCCCVCC CVVCC V CVCV CV CVVC CVC CCVVC CVC CVCC V CCVC CCVC CVCVC CVCC V CVC CVCV CCVVCVCC CVVCC V CCVCC V CVCVC CVC V CVCCVCC CV CC CVCCCVCC CCVC CCV CVCCC CCVVCC VC CCV CCVVCC VCC CVC CC CVVCVC V CCVCC CC CVCV VC CVCV VC VCC CCV CVCVVC CVCC CVCCV CVCCVCV After counting carefully, Bob and Alice came to the conclusion that, out of the 464 letters of the text, only 171 are from V. Answer the following questions: a (2 marks) Out of the 464 letters of the text, let X be the number of the letters from V. Under the assumptions that (i) the symbols in the altered text have no influence on each other and (ii) it is equally likely to have in the altered text the symbols 'V' and 'C', state the distribution of X , with parameters. b (2 marks) We wish to test the hypothesis that it is equally likely to have letters from the sets V and C in the English texts. Formulate the null and alternative hypotheses in terms of the distribution of X and its parameters. Specify the full distribution of X and use a two-sided alternative hypothesis. c (2 marks) Sketch as a curve the shape of the probability function of X under the null hypothesis. Your sketch should have axes labelled x and P(X = x). Mark on the sketch the upper and lower limits of x, and the approximate value of z where the curve peaks under the null hypothesis. Also mark the observed value x = 171 so that you can see the tail probabilities required for the p-value and shade under the curve the area represented by the p-value. d (5 marks) Write down the R command required to find the p-value for the hypothesis test, and run this command in R to find the p-value. Interpret the result in terms of the strength of evidence against the null hypothesis
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
