Probability - I am so lost here

  • Thread starter Thread starter FrogPad
  • Start date Start date
  • Tags Tags
    Lost Probability
Click For Summary

Homework Help Overview

The discussion revolves around comparing two long-distance calling plans based on their expected costs, given that call durations follow an exponential distribution with an expected value of τ minutes. The original poster expresses confusion regarding the calculations for the expected costs associated with each plan.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the formulation of cost as random variables for each calling plan and attempt to derive the expected values. Questions arise about the assumptions made regarding call durations exceeding 20 minutes and the implications for cost calculations.

Discussion Status

There is an ongoing exploration of the expected cost calculations for both plans, with participants providing clarifications and corrections to each other's interpretations. Some guidance has been offered regarding the integration of probability density functions in the cost calculations, but no consensus has been reached on the best approach yet.

Contextual Notes

Participants are working under the constraints of the problem as stated, specifically regarding the exponential distribution of call durations and the defined pricing structures of the calling plans. There is a noted confusion about the notation used for probability density functions and the assumptions about call duration.

FrogPad
Messages
801
Reaction score
0
Question:
Long-distance calling plan A offers a flat rate service at 10 cents per minute. Calling plan B charges 99 cents for every call under 20 minutes; for calls over 20 minutes, the charge is 99 cents for the first 20 minutes plus 10 cents for every additional minute. (Note that these plans measure your call duration exactly, without rounding to the next minute or even second.) If your long-distance calls have exponential distribution with expected value [itex]\tau[/itex] minutes, which plan offers a lower expected cost per call?

Answer:
I am lost. Here is my attempt.

We first want a random variable that yields the cost for each plan. Let's first let [itex]T[/itex] be a random variable that represent the time of the call. Thus,

[tex]C_A = 10 T[/tex]
A random variable of cost is representative of the random variable for the cost of the time.

Now, I don't really know how to do plan B, here is my attempt:
[tex]C_B = 99 + 10(T-20)u(T-20)[/tex] where [itex]u(T-20)[/itex] would be the step function. I am trying to say that the [itex]10(T-20)[/itex] term would turn on at [itex]T \geq 20[/itex].

Now I want the expected value of each, thus:

[tex]E(C_A) = 10 \tau[/tex]
[tex]E(C_B) = 99 + 10E((T-20)u(T-20))[/tex]

I am lost, and need help. Thanks!
 
Physics news on Phys.org
What you want is:

[tex]E[C_B]=\int_0^{20}.99f_X(x|\tau=t)dx+\int_{20}^{+\infty}(.10(x-20)+.99)f_X(x|\tau=t)dx[/tex]

Now, you compare values of tau to see what one will be the best plan.

Edit: This is the right one. ;0

Note here how if you take that .99f(x) integrated from 20 to infinity out and combine it with the first summand you get your original equation which is actually more easier to compute.

So, essentially it just ammounts to finding E[(t-20)u(t-20)] which is precisely [tex]\int_{20}^{+\infty}(t-20)f_X(t)dt[/tex].
 
Last edited:
ZioX said:
Note how you're assuming that the time is going to exceed 20 minutes in your derivation of plan b. This is wrong, tau could be very small.

QUOTE]

I'm not sure what you mean here. How am I assuming the time is going to exceed 20 minutes?

If it is under 20 minutes then u(T-20) would be zero, so the cost would be 99 cents.

If is is over 20 minutes then u(T-20) becomes 1 and therefore the additional cost switches on. Are you saying that there is a problem at this point?

Also, what does:
[tex]f_X(x|\tau=t)[/tex] denote. The notation is a different then what I am sued to.

Are you saying that, [itex]f_X(x|\tau=t)[/itex] is a probability density function for the [tex]T[/tex] random variable. The question states that,

[tex]E[T] = \tau[/tex].
So I'm not sure what you mean.

I appreciate the help, sorry I'm not getting it.
 
Last edited:
Sorry, X is the r.v. representing time on the phone. [tex]f_X(x|\tau=t)[/tex] denotes the distribution of x given tau=t. I changed it to that because I wanted to emphasize that expected cost was a function of tau.
 
Last edited:
ZioX said:
Sorry, X is the r.v. representing time on the phone. [tex]f_X(x|\tau=t)[/tex] denotes the distribution of x given tau=t. I changed it to that because I wanted to emphasize that expected cost was a function of tau.

Actually, now that I think about it, you were right. If you evaluate that expectation you should get the same thing.

No worries!

I still have a few questions though. So, how does

[tex]E[C_B]=\int_0^{20}.99f_X(x|\tau=t)dx+\int_{20}^{+\infty} .99(x-20)f_X(x|\tau=t)dx[/tex]

account for the 10 cents per minute charge after 20 minutes? Is it supposed to read:

[tex]E[C_B]=\int_0^{20}.99f_X(x|\tau=t)dx+\int_{20}^{+\infty} .10(x-20)f_X(x|\tau=t)dx[/tex]

?

If this is the case, how do you get
[tex]E[C_B]=\int_0^{20}.99f_X(x|\tau=t)dx[/tex]? I don't understand that term.

Thanks!
 
I'm sorry, I made a mistake. I fixed it up above.
 
No worries.

So where does,
[tex]\int_0^{20}.99f_X(x|\tau=t)dx[/tex]

come from?
 
Estimated cost is really just integrating what you're paying at time t multiplied by the pdf evaluated at t.

So that integral comes from the fact that from 0 to 20 minutes we're paying a constant 99 cents. After 20 minutes we are paying 10 cents for every minute after 20 minutes plus the additional 99 cents we already used for the first 20 minutes. That is where (.10(x-20)+.99)f(x) comes from.
 
ZioX said:
Estimated cost is really just integrating what you're paying at time t multiplied by the pdf evaluated at t.

So that integral comes from the fact that from 0 to 20 minutes we're paying a constant 99 cents. After 20 minutes we are paying 10 cents for every minute after 20 minutes plus the additional 99 cents we already used for the first 20 minutes. That is where (.10(x-20)+.99)f(x) comes from.

clap clap clap :)

very cool man. I can't thank you enough!
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 32 ·
2
Replies
32
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
17
Views
1K
Replies
1
Views
2K
Replies
8
Views
3K
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K