第 4 / 21 页
非代码面试题
显示 20 / 415 道匹配题目
答题状态:未尝试未正确已正确
ID题目领域难度题型进度权限
076Monty Hall with an Ignorant HostIn a game show, three doors hide one car and two goats. You pick Door 1. The host, who does **not** know where the car is, opens Door 3 and it happens to reveal a goat. Given that the host revealed a goat (rather than accidentally revealing the car), what is the probability that the car is behind Door 2? Compare this with the classic Monty Hall problem where the host always knowingly reveals a goat.概率简单数值题未尝试免费077The Tuesday Boy ProblemA family has exactly two children. You learn that at least one child is a boy who was born on a Tuesday. Assume each child is equally likely to be a boy or a girl, and equally likely to be born on any of the seven days of the week, all independently. What is the probability that both children are boys?概率简单数值题未尝试免费078Simpson's Paradox in a Clinical TrialA clinical trial tests a drug on two subgroups. In subgroup A (mild cases): 81/87 (93%) of treated patients recover vs 234/270 (87%) of untreated. In subgroup B (severe cases): 192/263 (73%) of treated patients recover vs 55/80 (69%) of untreated. The drug improves recovery rates in both subgroups. Now compute the overall recovery rates (combining subgroups) for treated vs untreated. Explain the apparent contradiction and identify the lurking variable that causes it.概率中等derivation未尝试免费079Four-Door Monty HallThere are four doors: one hides a car, the other three hide goats. You pick Door 1. The host, who knows where the car is, opens one of the remaining doors to reveal a goat (choosing uniformly at random among the goat doors he can open). He opens Door 4. You are now given two options: (a) stick with Door 1, or (b) switch to one of the two unopened doors (Door 2 or Door 3), chosen uniformly at random. What is the probability of winning the car under each option? Is there a third strategy that does even better?概率中等数值题未尝试免费081Bertrand's Box ParadoxThree boxes each contain two coins. Box 1 has two gold coins, Box 2 has one gold and one silver coin, and Box 3 has two silver coins. You pick a box uniformly at random, then draw one coin at random from that box. The coin you draw is gold. What is the probability that the other coin in the same box is also gold?概率简单数值题未尝试免费082The Sleeping Beauty ProblemSleeping Beauty participates in the following experiment. On Sunday she is put to sleep. A fair coin is flipped. If it lands Heads, she is woken on Monday only. If it lands Tails, she is woken on Monday and again on Tuesday (with her memory of the Monday awakening erased before Tuesday). Each time she wakes, she is asked: 'What is your credence that the coin landed Heads?' She knows the full protocol. (a) Present the argument that her answer should be 1/3 (the 'thirder' position). (b) Present the argument that her answer should be 1/2 (the 'halfer' position). (c) Suppose the experiment is repeated 1000 times independently. If Beauty bets \1 at even odds on Heads each time she is woken, what is her expected net gain or loss over all awakenings? What does this imply about the two positions?概率中等derivation未尝试免费084Nontransitive DiceThree dice have the following faces. Die A: 2, 2, 4, 4, 9, 9 . Die B: 1, 1, 6, 6, 8, 8 . Die C: 3, 3, 5, 5, 7, 7 . Each die is fair (all six faces equally likely). Two players each choose a die and roll it; the higher number wins. (a) Compute P(A > B), P(B > C), and P(C > A). (b) Show that these dice are nontransitive: A tends to beat B, B tends to beat C, yet C tends to beat A. (c) You are in a game where your opponent chooses a die first, then you choose. Which die should you pick in each case, and what is your winning probability?概率中等数值题未尝试免费086The Birthday ParadoxAssume birthdays are uniformly distributed over 365 days (ignore leap years). (a) What is the exact probability that in a room of 23 people, at least two share a birthday? (b) Derive a simple approximation for the number of people n needed so that the probability of a shared birthday exceeds 1/2. (c) A trading desk has 50 traders. A manager claims that having two traders share a birthday is 'a remarkable coincidence.' Is the manager correct? Compute the probability and comment.概率简单数值题未尝试免费087The Gambler's Fallacy and the Hot-Hand FallacyA fair coin is flipped 100 times. (a) Conditional on the coin having just landed Heads three times in a row, what is the probability the next flip is Heads? A gambler insists it should be less than 1/2 because the coin 'is due for Tails.' Explain the error precisely. (b) Now consider a different setting: a basketball player's shots are modeled as a Markov chain where P( Hit \mid previous Hit ) = 0.6 and P( Hit \mid previous Miss ) = 0.4. After three consecutive hits, what is the probability the next shot is a hit? (c) Miller and Sanjurjo (2018) showed that even with a fair coin, if you select flips that follow a streak of k Heads and compute the sample proportion of Heads among those selected flips, the expected proportion is strictly less than 1/2. Why does this happen, and what does it imply for empirical hot-hand studies?概率简单derivation未尝试免费089The Prosecutor's FallacyA city has 1,000,000 residents. A crime is committed by one person. The police use a forensic test that has a false positive rate of 1 in 10,000 (i.e., P( positive \mid innocent ) = 10 -4 ) and a true positive rate of 100% (P( positive \mid guilty ) = 1). A suspect tests positive. (a) The prosecutor argues: 'The probability of a false positive is only 10 -4 , so there is only a 0.01% chance this person is innocent.' What is wrong with this argument? (b) Compute the actual probability the suspect is guilty given the positive test, assuming the suspect was selected uniformly at random from the city before the test. (c) Now suppose eyewitness evidence independently narrows the suspect pool to 5 people before the forensic test is applied. Recompute the posterior probability of guilt.概率中等数值题未尝试免费091The False Positive Paradox (Base Rate Neglect)A rare disease affects 1 in 10,000 people. A screening test has 99% sensitivity (true positive rate) and 99% specificity (true negative rate). (a) A randomly chosen person tests positive. What is the probability they actually have the disease? (b) The same person takes a second independent test (same sensitivity and specificity) and tests positive again. Now what is the probability they have the disease? (c) A hospital administrator sees that the test is '99% accurate' and proposes mandatory screening of all 100,000 employees, arguing that 'almost everyone who tests positive will be sick.' Quantify how many of the expected positive results will be false positives, and explain why the administrator's reasoning is flawed.概率简单数值题未尝试免费098The Will Rogers Paradox (Stage Migration)Group A consists of the values \ 1, 2, 3, 9\ and Group B consists of \ 5, 6, 7, 8\ . (a) Compute the mean of each group. (b) Now move the element 5 from Group B to Group A. Recompute the mean of each group. Verify that both means have increased. (c) The overall mean across all 8 values is unchanged. Prove the following general statement: if an element is moved from group B to group A, and the element's value x satisfies A < x < B (where A , B are the pre-move group means), then both post-move group means strictly exceed their pre-move values. (d) A medical study reports that a new diagnostic technology has improved average survival time in both Stage I and Stage II cancer patients, yet overall survival is unchanged. Explain how this is possible without any actual improvement in treatment.概率中等数值题未尝试免费101Matching Suits in a Two-Card DrawTwo cards are drawn without replacement from a standard 52-card deck. What is the probability that both cards are of the same suit?概率简单数值题未尝试免费103Probability of a Full HouseA 5-card poker hand is dealt from a standard 52-card deck. What is the probability of being dealt a full house (three cards of one rank and two cards of another rank)?概率中等数值题未尝试免费104Probability of a FlushA 5-card poker hand is dealt from a standard 52-card deck. What is the probability that all five cards are of the same suit (a flush, including straight flushes)?概率中等数值题未尝试免费105Expected Number of Suits in a Poker HandA 5-card hand is dealt from a standard 52-card deck. Let S be the number of distinct suits represented in the hand. Using indicator random variables, find E[S].概率困难derivation未尝试面试订阅106At Least One King in a Poker HandA 5-card hand is dealt from a standard 52-card deck. What is the probability that the hand contains at least one king?概率简单数值题未尝试免费107Probability of Exactly One PairA 5-card poker hand is dealt from a standard 52-card deck. What is the probability that the hand contains exactly one pair (two cards of one rank and three cards of three different other ranks, with no other matching ranks)?概率中等数值题未尝试免费108Adjacent Cards in a Shuffled DeckA standard 52-card deck is shuffled uniformly at random and laid out in a row. What is the probability that the ace of spades and the king of spades are adjacent (next to each other)?概率中等数值题未尝试免费110The 4-3-3-3 Bridge Hand DistributionA 13-card bridge hand is dealt from a standard 52-card deck. What is the probability that the hand has a 4-3-3-3 suit distribution (exactly four cards of one suit and exactly three cards of each of the other three suits)?概率困难derivation未尝试面试订阅