Items are given a fixed probability of selection per trial

In summary, the probability of selecting a unique item in a game where there are multiple items with fixed probabilities and one "unique item" with a probability of 1.5% is dependent on the game's selection algorithm. If the algorithm re-rolls the selection if a unique item is already obtained, then the probability distribution does not change. However, if the algorithm selects from the remaining non-unique items, the probability of selecting the unique item decreases as it is obtained.
  • #1
benorin
Homework Helper
Insights Author
1,435
186
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
  • #2
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}##
 
  • #3
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 RUber
  • #4
I second what MrAnchovy wrote. That will get you to the answer much more efficiently than the binomial sum equation I posted.
 
  • #5
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...
 
  • #6
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.
 
  • #7
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.
 

1. What does it mean for an item to have a fixed probability of selection per trial?

Having a fixed probability of selection per trial means that every time a trial is conducted, the item has the same chance of being selected as any other item. This probability does not change from trial to trial.

2. How is the fixed probability of selection per trial determined?

The fixed probability of selection per trial is usually determined by the researcher based on the desired sample size and the number of items in the population. It can also be determined by using a randomization process.

3. Why is it important to have a fixed probability of selection per trial?

Having a fixed probability of selection per trial ensures that every item in the population has an equal chance of being selected for the sample. This helps to reduce bias and increase the generalizability of the results.

4. Can the fixed probability of selection per trial be changed during the course of the research?

No, the fixed probability of selection per trial should not be changed during the course of the research. This can introduce bias and affect the validity of the results. If necessary, the probability can be adjusted before the research begins.

5. How does the fixed probability of selection per trial affect the accuracy of the results?

The fixed probability of selection per trial does not guarantee accuracy, but it helps to increase the likelihood of obtaining a representative sample from the population. The accuracy of the results also depends on other factors such as the sampling method and the quality of data collection and analysis.

Similar threads

  • Set Theory, Logic, Probability, Statistics
Replies
10
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
17
Views
3K
  • Precalculus Mathematics Homework Help
Replies
10
Views
2K
Replies
1
Views
1K
  • Math Proof Training and Practice
4
Replies
116
Views
15K
  • Sci-Fi Writing and World Building
Replies
9
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
13
Views
1K
  • Precalculus Mathematics Homework Help
Replies
2
Views
1K
  • General Discussion
Replies
6
Views
1K
  • DIY Projects
Replies
13
Views
1K
Back
Top