Saturday, April 8, 2017

probability - What is the expected number of times that the phrase will appear in the sentence?

You create a random sentence of length n by repeatedly picking words at random from the
vocabulary {a, is, not,rose}, with each word being equally likely to be picked. What is the

expected number of times that the phrase “a rose is a rose” will appear in the sentence?

No comments:

Post a Comment

analysis - Injection, making bijection

I have injection $f \colon A \rightarrow B$ and I want to get bijection. Can I just resting codomain to $f(A)$? I know that every function i...