
Advanced Statistics Advanced Probability and Statistics Math Forum 
 LinkBack  Thread Tools  Display Modes 
June 26th, 2017, 08:49 AM  #1 
Member Joined: Apr 2017 From: PA Posts: 45 Thanks: 0  what choice of b minimizes E(X −b)?
The Pilsdorff Beer Company runs a fleet of trucks along the $100$ mile road from Hangtown to Dry Gulch. The trucks are old, and are apt to break down at any point along the road with equal probability. Where should the company locate a garage so as to minimize the expected distance from a typical breakdown to the garage? In other words, if $X$ is a random variable giving the location of the breakdown, measured, say, from Hangtown, and $b$ gives the location of the garage, what choice of $b$ minimizes $E(X − b)$? Now, suppose $X$ is not distributed uniformly over $[0, 100]$, but instead has density function $f_X(x) = \frac{2x}{10000}$. Then what choice of $b$ minimizes $E(X − b)$? **Attempt:** For this, I thought about taking the definite integral $$\int_{0}^{100}((2x^2)/10,000)dx,$$ and got $200/3$, but it did not seem to be leading to the right answer. Later, I was really stuck. , but it did not seem to be leading to the right answer. Later, I was really stuck. 
June 26th, 2017, 10:25 AM  #2 
Senior Member Joined: Dec 2012 From: Hong Kong Posts: 853 Thanks: 311 Math Focus: Stochastic processes, statistical inference, data mining, computational linguistics 
$\displaystyle \begin{align} E(X  b) &= E(X  bX \geq b) P(X \geq b) + E(b  XX < b) P(X < b)\\ &= [E(XX \geq b)  b] P(X \geq b) + [b  E(XX < b)] P(X < b)\\ &= \left[\int_{b}^{100} x \frac{2x/10000}{P(X \geq b)} \mathop{} \mathrm{d}x  b\right]P(X \geq b) + \left[b\int_{0}^{b} x \frac{2x/10000}{P(X < b)} \mathop{} \mathrm{d}x \right]P(X <b) \end{align}$ Noting that $\displaystyle P(X < b) = \int_0^b \frac{2x}{10000} \mathop{}\mathrm{d}x= \frac{b^2}{10000}$ we thus have $\displaystyle \begin{align} E(X  b) &= \left[\int_{b}^{100} \frac{2x^2}{10000}\mathop{} \mathrm{d}x  b \left(1\frac{b^2}{1000}\right)\right] + \left[ \frac{b^3}{10000}\int_{0}^{b} \frac{2x^2}{10000} \mathop{} \mathrm{d}x \right]\\ & = \left[\frac{200}{3}  \frac{b^3}{15000} b \left(1\frac{b^2}{1000}\right) \right] + \left[ \frac{b^3}{10000}\frac{b^3}{15000}\right]\\ &= \frac{200}{3} + \frac{b^3}{3000}  b \end{align}$ and thus the expectation is minimised when $\displaystyle \frac{b^2}{1000}  1 = 0$, i.e. $\displaystyle b = \sqrt{1000}$. Last edited by 123qwerty; June 26th, 2017 at 10:37 AM. 
June 26th, 2017, 02:36 PM  #3 
Member Joined: Apr 2017 From: PA Posts: 45 Thanks: 0 
Hey, I was curious, what is the formula for P(X is greater than or = to b)?

June 26th, 2017, 07:59 PM  #4 
Senior Member Joined: Dec 2012 From: Hong Kong Posts: 853 Thanks: 311 Math Focus: Stochastic processes, statistical inference, data mining, computational linguistics  
June 27th, 2017, 04:04 PM  #5 
Member Joined: Apr 2017 From: PA Posts: 45 Thanks: 0 
If *X is a random variable giving the location of the breakdown, measured, say, from Hangtown, and *b gives the location of the garage, what choice of *b* minimizes *E(X−b)? Also, for this part of the question, is a different formula needed? Last edited by skipjack; June 28th, 2017 at 08:49 AM. 
June 27th, 2017, 06:52 PM  #6 
Senior Member Joined: Dec 2012 From: Hong Kong Posts: 853 Thanks: 311 Math Focus: Stochastic processes, statistical inference, data mining, computational linguistics  You mean the first part of the question with equal probability? Just replace $\displaystyle \frac{2x}{10000}$ in the formulas with $\displaystyle \frac{1}{100}$. Last edited by skipjack; June 28th, 2017 at 08:50 AM. 
June 28th, 2017, 09:59 AM  #7 
Member Joined: Apr 2017 From: PA Posts: 45 Thanks: 0 
Also is the equation to find the minimum P(X < b)1=o? And we have to find b?

June 28th, 2017, 07:21 PM  #8 
Senior Member Joined: Dec 2012 From: Hong Kong Posts: 853 Thanks: 311 Math Focus: Stochastic processes, statistical inference, data mining, computational linguistics  

Tags 
−b, choice, ex, minimizes 
Thread Tools  
Display Modes  

Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
axiom of choice  shaharhada  Algebra  1  December 13th, 2013 02:21 AM 
Axiom of Choice  johnr  New Users  0  November 9th, 2012 03:35 PM 
multiple choice  panky  Algebra  1  October 10th, 2011 01:04 PM 
What Choice to Make?  vjain1  Advanced Statistics  0  May 27th, 2010 05:20 AM 
website choice  Soha  Algebra  4  December 20th, 2006 12:12 PM 