Stationary Distribution of a Random Surfer on a Four Page Web
Last updated: November 29, 2026
Quick Overview
Four pages link as follows: A links to B and C, B links to C, C links to A, and D links to C. Find the random surfer's long-run share of time on each page with and without a 0.85 damping factor, and explain why damping is needed.
0
0
0 solved
Four pages link as follows: A links to B and C, B links to C, C links to A, and D links to C. Find the random surfer's long-run share of time on each page with and without a 0.85 damping factor, and explain why damping is needed.
PageRank is Google's founding idea, and interviewers use it to test Markov chain fundamentals: stationary distributions, irreducibility, and why the teleport step exists. Expect to solve a small chain by hand and implement power iteration.
What the Interviewer Expects
- Write the transition matrix from the link structure
- Solve for the stationary distribution without damping
- Explain why page D gets zero without teleportation
- Add damping and compute ranks by power iteration
- Discuss dangling pages and convergence
Key Topics to Cover
How to Approach This
- Define your hypotheses (H0 and H1) clearly before performing any test.
- Calculate required sample size BEFORE running an experiment, using power analysis.
- Remember the Central Limit Theorem: sample means become approximately normal with large n.
- Watch for Simpson's paradox. Always segment data by key dimensions.
- Distinguish between statistical significance and practical significance.
Possible Follow-up Questions
- What happens to the undamped chain if A also linked only to itself?
- How fast does power iteration converge, and what controls it?
- How would you compute this on billions of pages?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Statistics QuestionsSample Answer
Clarify
The surfer follows a uniformly random outlink at each step. With damping , they follow a link with probability and jump to a uniformly random page with probability . We want the stationa...
Approach
Without damping, solve the balance equations directly. Note that nothing links to D, so once the surfer leaves D they never return: D is transient. With damping, every page is reachable from every pag...