+ Reply to Thread
Results 1 to 18 of 18

a probability function

  1. #1
    Registered User
    Join Date
    07-12-2010
    Location
    Internet
    MS-Off Ver
    Excel 2007
    Posts
    23

    Question a probability function

    I'm looking for an excel 2007 statistic function. I have a list of values and am looking for a function that will return the probability that another value will fall between a specified lower and upper limit. The values are not integers and there are some gaps in the distribution. Can you help?
    Last edited by Xorin; 07-16-2010 at 08:41 AM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,601

    Re: a probability function

    Can you upload example?

  3. #3
    Registered User
    Join Date
    07-12-2010
    Location
    Internet
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: a probability function

    Attached is some of the raw data. So far I've tried using a NORMDIST from integers 1 to 240 (ignoring the outlier) using the mean and std dev from the data (including outlier), and then graphed it and got the trendline formula for a 6th power polynomial for most accuracy. I was going to use this formula with some calculus to get what I wanted, but taking the integral from 0 to 240 only got me .71ish so something went wrong along the line, probably the function.
    Attached Files Attached Files

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: a probability function

    Looks more lognormal-ish to me.
    Entia non sunt multiplicanda sine necessitate

  5. #5
    Registered User
    Join Date
    07-12-2010
    Location
    Internet
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: a probability function

    To put it into some sort of context these values are time latencies for a communication system that's being tested.

    So any ideas anyone?

  6. #6
    Registered User
    Join Date
    07-12-2010
    Location
    Internet
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: a probability function

    I tried the LOGNORMDIST but that doesn't look right at all. From the data you can see the probability should be favored on the lower side but not with the highest probability closer to 0.
    Last edited by Xorin; 07-13-2010 at 08:44 AM.

  7. #7
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: a probability function

    A lognormal distribution need not have the highest density at zero. Consistent with an LN distribution, your data is asymmetric and has no values < 0.

    Poisson is another possibility.

  8. #8
    Registered User
    Join Date
    07-12-2010
    Location
    Internet
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: a probability function

    I've tried both options. Logarithmic doesn't vary vertically enough, staying between 0.40 and 0.42 the entire time. Poisson reaches 1.0 much too soon, saying that it is 100% probable the time will be less than a minute, which isn't true. Normal looks the best so far... it's just that since these distributions are based off the mean and/or std dev, instead of the data set itself, the inaccuracy is high.

    Is there an altogether different way of doing this besides distribution curves?

  9. #9
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: a probability function

    Is there an altogether different way of doing this besides distribution curves?
    What you you know about the underlying phenomenon?

  10. #10
    Registered User
    Join Date
    07-12-2010
    Location
    Internet
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: a probability function

    The data basically represents the time delay between two stations using a comm system thats under review. The smaller values are regular delays, while the larger ones include switching from one medium to another under failure of the most efficient. There's a certain threshhold of acceptance for the latencies, and I've used percentile and percent rank previously. Now I'm dabbing in the probability for even more data.

  11. #11
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: a probability function

    Then it's the sum of two distributions, right?

    I think you need to parse them into two groups and model each separately.

  12. #12
    Registered User
    Join Date
    07-12-2010
    Location
    Internet
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: a probability function

    Well, it's an evaluation of the system as a whole. The media switch will occur at approximately the rate shown by the data, as the more efficient system relies on LOS (line of sight). I can't separate the data because they're not independent of each other and an overall assessment must be made.

  13. #13
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: a probability function

    Separating the data doesn't limit your ability to analyze it as a whole. On the contrary, I expect you can't model the system without doing so.

    The primary system has some distribution arising from its nature, and so does the backup.

    Simplistically, the PDF of the system is (1-P)*PDF1 + P*PDF2, where P is the probability of failure of the primary system.

  14. #14
    Registered User
    Join Date
    07-12-2010
    Location
    Internet
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: a probability function

    I'm sorry, I don't know what PDF means besides the file extension haha. Could you explain some more please?

  15. #15
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: a probability function

    Probability Density Function.

    If you use the Frequency function to plot the number of samples in a given range, you have a Probability Mass Function, the discrete analog of the PDF.
    Last edited by shg; 07-15-2010 at 10:51 AM.

  16. #16
    Registered User
    Join Date
    07-12-2010
    Location
    Internet
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: a probability function

    I've already created a frequency plot for ranges 1-240 in unit intervals. How can I make this into a PDF?

  17. #17
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: a probability function

    See attached.
    Attached Files Attached Files

  18. #18
    Registered User
    Join Date
    07-12-2010
    Location
    Internet
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: a probability function

    Thank you very much. That looks like it will help me a lot.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1