Assume that a man’s profession can be classified as professional, skilled laborer, or unskilled laborer. Assume that, of the sons of professional men, 80 percent are professional, 10 percent are skilled laborers, and 10 percent are unskilled laborers. In the case of sons of skilled laborers, 60 percent are skilled laborers, 20 percent are professional, and 20 percent are unskilled. Finally, in the case of unskilled laborers, 50 percent of the sons are unskilled laborers, and 25 percent each are in the other two categories. Assume that every man has at least one son, and form a Markov chain by following the profession of a randomly chosen son of a given family through several generations. Set up the matrix of transition probabilities. Find the probability that a randomly chosen grandson of an unskilled laborer is a professional man.
The Transition Matrix is printed below in R:
TM <- matrix(c(0.8, 0.1, 0.1, 0.2, 0.6, 0.2, 0.25, 0.25, 0.5), nrow = 3L,
byrow = TRUE)
rownames(TM) <- colnames(TM) <- c("PR", "SL", "UNS")
TM
## PR SL UNS
## PR 0.80 0.10 0.1
## SL 0.20 0.60 0.2
## UNS 0.25 0.25 0.5
The distribution of outcomes for the grandson of a laborer can be calculated as \(\mathbf{uTM}^{2}\) where \(\mathbf{u}\) is the vector \((0, 0, 1)\) representing a skilled laborer and \(\mathbf{TM}\) is the matrix above. We see below that the probability that the grandson of a skilled laborer (UNS) is a professional man (PR) is about 37.5%.
c(0, 0, 1) %*% TM %*% TM
## PR SL UNS
## [1,] 0.375 0.3 0.325