+ Reply to Thread
Results 1 to 10 of 10

Any way to predict non numeric values?

  1. #1
    Registered User
    Join Date
    08-16-2015
    Location
    US
    MS-Off Ver
    Office 2010
    Posts
    3

    Any way to predict non numeric values?

    Hello everyone,

    Trying to figure out a way to predict next value in the following example.

    I have a weighted (non random) six sided dice that has colors instead of numbers. After 10 tosses of the dice, I have collected the following information.

    A=Tosses, B=Colors
    Toss1, Red
    Toss2, Yellow
    Toss3, Green
    Toss4, Red
    Toss5, Blue
    Toss6, Black
    Toss7, Red
    Toss8, White
    Toss9, Red
    Toss10, White
    Toss11, ???

    Obviously with this small sample it would be difficult to predict, but hopefully after 1000 rolls of the die, there should be an ability to predict next with some level of certainty. Is this possible?

    Thanks in advance!

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Any way to predict non numeric values?

    Sounds more like s stats problem than an excel problem?

    How would you calc this manually?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,856

    Re: Any way to predict non numeric values?

    I expect that any computer language (including spreadsheet) approach to this is going to
    1) Assign the number values 1 to 6 to the 6 colors. Probably a lookup table in Excel.
    2) Perform the statistical analysis using the 6 numbers.
    3) Assign the color values to the 6 numbers, using the same lookup table from step 1.

    Steps 1 and 3 are trivial, if you are familiar with lookup tables. If not, then I refer you to the vlookup() help file: https://support.office.com/en-us/art...8-93a18ad188a1 The bulk of the statistical work is in step 2. At this point, I am assuming you already understand the statistics and probability formulas that would be involved. If my assumption is incorrect, then help us understand what part of the probability theory is troubling you, and we'll see if we can help.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  4. #4
    Registered User
    Join Date
    08-16-2015
    Location
    US
    MS-Off Ver
    Office 2010
    Posts
    3

    Re: Any way to predict non numeric values?

    Yes, the lookup portion is not a problem for me. I have tried a host of straightforward mathematics in Excel but cannot seem to find the right function that best suits this example. I tried things like TREND and FORECAST, but the syntax and return values to seem to be a good fit unless I am using them incorrectly. I'm happy do the work and not looking here for a 100% solution, but if someone could get me headed in the right direction it would be appreciated.

    Many thanks!

  5. #5
    Valued Forum Contributor quekbc's Avatar
    Join Date
    01-18-2010
    Location
    Sydney, Australia
    MS-Off Ver
    2010, 2013, 2016
    Posts
    1,149

    Re: Any way to predict non numeric values?

    Quote Originally Posted by t9xlor View Post
    Obviously with this small sample it would be difficult to predict, but hopefully after 1000 rolls of the die, there should be an ability to predict next with some level of certainty. Is this possible?
    Looking at this from a purely statistical/probabilistic standpoint and some basic assumptions - the quick answer is no. Otherwise everyone would be lottery winners and casinos will go bankrupt.

    Basic assumptions 1) it's a fair die, 2) each throws are independent

  6. #6
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,856

    Re: Any way to predict non numeric values?

    TREND() and FORECAST() perform regressions along a linear (y=mx+b) trendline. I'm not sure how you would be using these functions to understand a semi random event like a dice throw. I would have expected something more like the =FREQUENCY() function to count how many times each side of the dice came up. Once you can assign a probability to each die roll, then you can use the RAND() function and your knowledge of these probabilities to predict the next 10 die rolls.

    All of that assumes that I am understanding what you are trying to do here.

    And, as the previous poster said, each die roll is independent, so you can state probabilities for the next die roll, but you can't really "predict" the next die roll.

  7. #7
    Registered User
    Join Date
    08-22-2015
    Location
    Dhaka
    MS-Off Ver
    office 8
    Posts
    33

    Re: Any way to predict non numeric values?

    "each die roll is independent" and this is the key point for which not only excel but only any other super software never can predict the next color. otherwise Lottary business will not exist.

  8. #8
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Any way to predict non numeric values?

    But lotteries are fair, a weighted die is not.

    I don't see how you'd run the simulation without knowing the weighting to be applied, any wouldn't that weighting simply be the probability of the colour arising so there'd be no need to run the simulation? Or have I missed something?

    Wouldn't the given chance of the next colour based on your sample be?
    Please Login or Register  to view this content.
    Though 10 rolls is presumably not a sufficient sample size
    Last edited by Kyle123; 08-25-2015 at 06:02 AM.

  9. #9
    Registered User
    Join Date
    08-16-2015
    Location
    US
    MS-Off Ver
    Office 2010
    Posts
    3

    Re: Any way to predict non numeric values?

    Maybe I'm not explaining things very well or maybe I am missing something simple. In my weighted die example, there will begin to establish a trend over time. For example, after 1000 rolls, if RED has come up 600 times, WHITE has come up 350 times, and all the other colors combined make up the other 50, I should know the probability of what colors will come up on the next roll in order to make a prediction. I'm making the example crude, but its the best way I know how to explain what I'm trying to model in Excel.

  10. #10
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,856

    Re: Any way to predict non numeric values?

    For example, after 1000 rolls, if RED has come up 600 times, WHITE has come up 350 times, and all the other colors combined make up the other 50, I should know the probability of what colors will come up on the next roll in order to make a prediction.
    If you have the results of multiple rolls of this die, you can use the FREQUENCY() function (or the COUNTIF() function) to tally up the number of times each side of the dice comes up, then easily estimate probability (# times 1 is rolled/total number of rolls) and do that for each of the 6 sides. (help file for FREQUENCY() function https://support.office.com/en-us/art...7-fd9ea898fdb9 ). Is that the central part of your question?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 9
    Last Post: 11-18-2013, 07:40 AM
  2. [SOLVED] vba macros to force user to input numeric values for numeric values with hyphen
    By Abdur_rahman in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-28-2013, 01:05 PM
  3. [SOLVED] UDF to Vlookup multiple delimited values (numeric/non-numeric) and sum found values
    By Geert Rottiers in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-21-2013, 09:30 AM
  4. [SOLVED] Help find MAX value in one column when numeric & alph-numeric values are present
    By KevinAB in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-01-2013, 11:29 AM
  5. [SOLVED] Sum of numeric values within cells also containing non-numeric characters
    By Mike Brewer in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 04-24-2013, 09:16 AM
  6. Formula to predict missing values in a range
    By agreaves in forum Excel General
    Replies: 1
    Last Post: 12-06-2012, 11:51 PM
  7. Extracting Numeric Values from an Alpha/Numeric String
    By Delkath in forum Excel General
    Replies: 5
    Last Post: 10-27-2010, 02:36 PM
  8. How do I forecast/predict future values ?
    By new2all in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-19-2007, 08:07 AM

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