# Ratio Question missing a variable?

**URL:** <https://talk.achievable.me/t/ratio-question-missing-a-variable/844>\
**Category:** Quantitative reasoning\
**Created:** [October 4, 2021, 9:18pm UTC](https://talk.achievable.me/t/ratio-question-missing-a-variable/844 "2021-10-04T21:18:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![James1](https://talk.achievable.me/user_avatar/talk.achievable.me/james1/32/206_2.png) [@James1](https://talk.achievable.me/u/James1)\
**Post date:** [October 4, 2021, 9:18pm UTC](https://talk.achievable.me/t/ratio-question-missing-a-variable/844/1 "2021-10-04T21:18:12Z")

</div>

Hi, I’ve had this question a few times.

 ![image](https://d2a8kmyc1dvkyq.cloudfront.net/original/1X/00d86d0be0fbd1ed57ef667f3941e24658e5fc56.png)  
everytime, the percent has been 15%.  
Wondering if that should be a random variable but is coded as a fixed constant instead.

---

<div class="post-metadata">

**Author:** ![Justin](https://talk.achievable.me/user_avatar/talk.achievable.me/justin/32/41_2.png) [@Justin](https://talk.achievable.me/u/Justin)\
**Post date:** [October 5, 2021, 2:58am UTC](https://talk.achievable.me/t/ratio-question-missing-a-variable/844/2 "2021-10-05T02:58:32Z")

</div>

Hey @James1, thanks for flagging this one. I’ve double-checked the randomization logic, and it does have an equal chance of drawing a number between 15% - 40% in intervals of 5%.

It’s crazy how the randomization can lead to seemingly non-random streaks!

If you have some time for a fun (in my opinion 😉) dive into it, take a look at this:

[What were the Odds of Having Such a Terrible Streak at the Casino?](https://wizardofodds.com/image/ask-the-wizard/streaks.pdf)
