Ask a question from expert

Ask now

Statistics Sample Assignment

15 Pages1902 Words101 Views
   

Added on  2021-06-16

Statistics Sample Assignment

   Added on 2021-06-16

BookmarkShareRelated Documents
Running head: STATISTICSSTATISTICSName of the studentName of the university:Authors note:
Statistics Sample Assignment_1
1STATISTICSTable of ContentsAnswer 1:.........................................................................................................................................2Answer 2:.........................................................................................................................................2Answer 3:.........................................................................................................................................2References........................................................................................................................................3
Statistics Sample Assignment_2
2STATISTICSAnswer 1:(a) Given that the problem has geometric prior distribution with mean 100. The priordistribution is:P(N)=(1/100)(99/100)N-1Given that the far number 203 is being observed here. Hence, it can be expected to beat least 203 cars. Any of the cars has equal probability to be the number of the lastcar. The likelihood function can be evaluated here as:P(y/N) = (1/N), for each N>202,1, else where.The posterior distribution here will be:P(N/y) α P( N)*P(y/N)=(1/N)(0.01)(0.99)N-1α (1/N)(0.99)N(b) A probability distribution adds up to 1 and the posterior probability has to sum up to1. Therefore, the normalizing constants here are:P(X) = ∑(1/N)(0.99)N N=203(1) ∞Therefore, the posterior mean is:E[p(N/X)] = ∑N=20310000 N(1N)(99100)N1p(X) = ∑N=20310000(99100)N1p(X) = 279.0885And, the standard deviation is:
Statistics Sample Assignment_3
3STATISTICSsd[p(N/X)] = √(NE[p(NX)])(1N)(99100)N1p(X) = 79.96458N = 203:10000p.x. = sum((1/N)*(99/100)*(N-1))e.n. = sum(((99/100)*(N-1))/p.x)e.n.s.d.N = sqrt(sum((N-e.n.)^2*((1/N)*(99/100)*(N-1)/p.x.))s.d.N(c)Let the problem has constant prior distribution. The prior distribution is:P(N)=k.Given that the far number 203 is being observed here. Hence, it can be expected to beat least 203 cars. Any of the cars has equal probability to be the number of the lastcar. The likelihood function can be evaluated here as:P(y/N) = (1/N), for each N>202,2, else where.The posterior distribution here will be:P(N/y) α P( N)*P(y/N)=(1/N)*kA probability distribution adds up to 1 and the posterior probability has to sum up to 1.Therefore, the normalizing constants here are:
Statistics Sample Assignment_4

End of preview

Want to access all the pages? Upload your documents or become a member.