Items are given a fixed probability of selection per trial

  • Context: Undergrad 
  • Thread starter Thread starter benorin
  • Start date Start date
  • Tags Tags
    Per Probability trial
Click For Summary

Discussion Overview

The discussion revolves around the probabilities associated with selecting items in a game, particularly focusing on fixed probabilities per trial and the implications of unique items that can only be obtained once. Participants explore how these probabilities function over multiple trials and the effects of unique items on the overall probability distribution.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • Ben Orin inquires about calculating the probability of selecting an item with a 1.5% chance over 20 trials, expressing a desire for an explanation to understand the process.
  • One participant suggests using a sum of binomial probabilities to calculate the likelihood of selecting the item at least once in the given trials.
  • Another participant emphasizes the importance of considering the probability of not selecting the item, proposing a method to derive the probability of selecting it at least once.
  • Ben Orin raises a further question regarding the impact of unique items on the probability distribution, questioning whether the re-rolling mechanism affects the probabilities once a unique item is obtained.
  • A participant argues that if a unique item is no longer available, its probability becomes zero, redistributing that probability to the remaining items.
  • Another participant notes that the implementation of unique items depends on the game's programming, suggesting that the selection algorithm could vary significantly between games.

Areas of Agreement / Disagreement

Participants express differing views on how unique items affect probability distributions, with some asserting that the distribution remains unchanged due to re-rolling, while others argue that obtaining a unique item alters the probabilities for the remaining items. The discussion does not reach a consensus on this point.

Contextual Notes

There are unresolved assumptions regarding the specific mechanics of the game's probability distribution and how unique items are handled in different implementations. The discussion highlights the complexity of probability in gaming contexts without providing definitive answers.

Who May Find This Useful

This discussion may be of interest to game developers, mathematicians, and players interested in understanding probability mechanics in gaming scenarios, particularly those involving unique items and fixed selection probabilities.

benorin
Science Advisor
Insights Author
Messages
1,442
Reaction score
191
Several items are given fixed probabilities of selection per trial, one such item has a probability of 1.5%. What is the probability of selecting this item if 20 trials are permitted?This is not homework just a calculation for a game I play, so an explanation would be nice so I can do it myself, but all that is required is an answer, preferably in %.

Haven't done Probability or Stats in few years now... can't think of which rule I ought to use in this situation.

Many thanks,

Ben Orin
 
Physics news on Phys.org
Question, are you just looking for selection and if you get it, you stop the trials?
If so, then you have a sum of binomial probabilities.
##\sum_{n=1}^{20} (.015)(.985)^{n-1}##
 
benorin said:
an explanation would be nice so I can do it myself
The way to look at problems of this type is to think about the probability of NOT selecting the item.

If the probability of selecting the item in one trial is p, what is the probability of not selecting the item in one trial? So what is the probability of not selecting the item in 2 trials? In n trials? So the probability of selecting the item at least once in n trials is...?
 
  • Like
Likes   Reactions: RUber
I second what MrAnchovy wrote. That will get you to the answer much more efficiently than the binomial sum equation I posted.
 
Another question regarding the same scenario, specifically in a game I play there is an array of items purchasable for a fixed price each having a fixed probability of be obtained per purchase, now this bit is new: some of the items are called "unique items" of which only one may be obtained while the majority of items may be obtained multiple times, and I'm told that "The uniqueness of items doesn't change the probability distribution in the slightest because if an already obtained unique item is selected in a given trial, then random number generator 're-rolls' it, or simply put, it selects another item until a already obtained unique item is not selected." So is the statement in double quotes beginning with "The uniqueness..." really true? It seemed to me (before I knew it got "re-rolled") that having unique items would mean that the probability distribution would change once they were obtained since there was an item with, say a 1.5% chance of being obtained, that could no longer be selected once obtained initially and this intuitively constituted a change in the distribution though I hadn't considered the possibility of "re-rolling". Can u elaborate on this a bit, whether or not there is a change, and why? My math brain is rusty...
 
In your example, if a unique item is no longer available the probability of selecting it goes to zero. That 1.5 percent is clearly going to be distributed to the other items.
So for simplicity, say 3 items with probability of 50% , 40%, and 10%. Say the 10% item is unique, then your likelihood of drawing any items before the unique item is gone is just as above. Once the unique item is gone, you reroll if it is selected. Essentially making that probability zero. So the new probability for the other two items are 50/90 and 40/90.
 
It entirely depends how the game programmer has implemented the selection algorithm. Hint: game programmers are often not very good at probability.

One way of implementing "unique items" is to assign a probability to the event "wins a unique item", which in this case may be 1.5%, and if this event occurs select at random (usually according to some weighted distribution so that some items are harder to get than others) among the unique items that have not already been won.

Reverse engineering commercial game algorithms is probably outside the scope of this forum; try the game's unofficial fan site.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 17 ·
Replies
17
Views
4K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 10 ·
Replies
10
Views
4K
  • · Replies 101 ·
4
Replies
101
Views
14K
  • · Replies 66 ·
3
Replies
66
Views
16K
  • · Replies 1 ·
Replies
1
Views
5K
Replies
71
Views
16K
  • · Replies 2 ·
Replies
2
Views
11K