CBMS-2019-11

题目来源:[[做题/文字版题库/CBMS/2019#Question 11|2019#Question 11]] 日期:2024-07-26 题目主题: CS-概率论-马尔可夫模型

解题思路

本题涉及一阶马尔可夫模型的概率计算以及期望值的求解。以下是具体步骤:

  1. 计算包含指定子串的序列的概率。
  2. 计算指定条件下的期望值。
  3. 使用给定的转移概率计算无穷长度序列的状态比例。
  4. 通过转换规则计算新的序列中各字母的期望比例。

Solution

Question 1: Probability that and are included as continuous substrings in when

To determine the probability of specific substrings occurring within a Markov sequence, we need to calculate the joint probabilities of these substrings appearing in the sequence.

Probability of being included

We consider all possible sequences of length 4 that include as a continuous substring:

Calculate the probabilities of these sequences:

  1. For :
  1. For :
  1. For :
  1. For :

The probability of being included is the sum of these probabilities:

Probability of being included

We consider the sequences of length 4 that include as a continuous substring:

Calculate the probabilities of these sequences:

  1. For :
  1. For :
  1. For :

The probability of being included is the sum of these probabilities:

Question 2: Expected number of 1s in when is included as a continuous substring

Given that we need to find the expected number of 1s in the sequence when the substring is included, we need to consider the sequences that include .

The sequences of length 4 that include as a continuous substring are:

Let , , , and be the probabilities of these sequences, respectively.

We will calculate the expected number of 1s by averaging the number of 1s in these sequences, weighted by their probabilities.

  1. For :
  1. For :
  1. For :
  1. For :

The expected number of 1s, , is given by:

Where is the total probability of having the substring :

Thus, the expected number of 1s is:

Using the given probabilities:

Substitute these probabilities into the expression for the expected number of 1s:

Question 3: Expected proportion of 1s in when

To find the steady-state probabilities and , we solve the following system:

Substitute the given values:

Solving the system:

The expected proportion of 1s is:

Question 4: Expected proportions of in when

Given the rules for :

  • : and
  • : and
  • : and
  • : and

Calculate the steady-state probabilities for pairs:

The expected proportions are:

  • :
  • :
  • :
  • :

知识点

概率计算马尔可夫链转移概率随机过程

重点词汇

  • Markov Model 马尔可夫模型
  • Transition Probability 转移概率
  • Steady-State 稳态

参考资料

  1. “Markov Chains: From Theory to Implementation and Experimentation” by Paul A. Gagniuc
  2. “Introduction to Probability Models” by Sheldon M. Ross