almost reversed 2-lag Markov chain

Another simple riddle from the Riddler: take a binary sequence and associate to this sequence a score vector made of the numbers of consecutive ones from each position. If the sequence is ten step long and there are 3 ones located at random, what is the expected total score? (The original ... The post almost reversed 2-lag Markov chain first appeared on R-bloggers.
http://dlvr.it/S3CqwS

تعليقات

المشاركات الشائعة من هذه المدونة

How to add R {magrittr}’s %>% Pipe Operator in VSCode as Keyboard Shortcut