agb0808
agb0808
  • Threads: 1
  • Posts: 2
Joined: Dec 5, 2022
December 5th, 2022 at 8:03:01 PM permalink
Hello, I am wondering if anyone could help me with a question about a 243 way slot specifically where each reel is not set, i.e each reel widow is generated every spin by sampling without replacement from an array. I am trying to calculate the rtp for a slot machine with this design, but my simulated rtp is not matching the theoretical rtp I calculated. I believe where I am going wrong is in my calculation for the 3 and 4 of a kind total hit calculation. For the three of a kind total hit calculation equation I used is:
Total hits=n(s,1)*n(s,2)*n(s,3)*x(s,4)*( (x(s,4)-1)_P_2/ (t(4)-1)_P_2) *v^3 where
• Let v = number of visible rows on the machine.
• Let n(s,r) = number of times symbol s or a wild appears on reel r.
• Let t(r) = Total length of reel r
• Let x(s,r)=t(r)-n(s,r)
• Let n_P_k= k permutations of n

Could anyone comment if I am doing this correctly or what I have done wrong. Thank you.
Last edited by: agb0808 on Dec 5, 2022
ChesterDog
ChesterDog
  • Threads: 8
  • Posts: 1501
Joined: Jul 26, 2010
December 6th, 2022 at 1:53:47 AM permalink
Quote: agb0808

Hello, I am wondering if anyone could help me with a question about a 243 way slot specifically where each reel is not set, i.e each reel widow is generated every spin by sampling without replacement from an array. I am trying to calculate the rtp for a slot machine with this design, but my simulated rtp is not matching the theoretical rtp I calculated. I believe where I am going wrong is in my calculation for the 3 and 4 of a kind total hit calculation. For the three of a kind total hit calculation equation I used is:
Total hits=n(s,1)*n(s,2)*n(s,3)*x(s,4)*( (x(s,4)-1)_P_2/ (t(4)-1)_P_2) *v^3 where
• Let v = number of visible rows on the machine.
• Let n(s,r) = number of times symbol s or a wild appears on reel r.
• Let t(r) = Total length of reel r
• Let x(s,r)=t(r)-n(s,r)
• Let n_P_k= k permutations of n

Could anyone comment if I am doing this correctly or what I have done wrong. Thank you.
link to original post



I think Ask the Wizard #305 can help you. See the second question on the page.
agb0808
agb0808
  • Threads: 1
  • Posts: 2
Joined: Dec 5, 2022
Thanked by
ChesterDog
December 6th, 2022 at 8:47:46 AM permalink
This question is a little different then the Ask the Wizard#305 as the reels in that question are preset where in my question the reels showing are generated based off a distribution.
Mental
Mental
  • Threads: 13
  • Posts: 1285
Joined: Dec 10, 2018
December 27th, 2022 at 4:52:16 AM permalink
Quote: agb0808

Hello, I am wondering if anyone could help me with a question about a 243 way slot specifically where each reel is not set, i.e each reel widow is generated every spin by sampling without replacement from an array. I am trying to calculate the rtp for a slot machine with this design, but my simulated rtp is not matching the theoretical rtp I calculated. I believe where I am going wrong is in my calculation for the 3 and 4 of a kind total hit calculation. For the three of a kind total hit calculation equation I used is:
Total hits=n(s,1)*n(s,2)*n(s,3)*x(s,4)*( (x(s,4)-1)_P_2/ (t(4)-1)_P_2) *v^3 where
• Let v = number of visible rows on the machine.
• Let n(s,r) = number of times symbol s or a wild appears on reel r.
• Let t(r) = Total length of reel r
• Let x(s,r)=t(r)-n(s,r)
• Let n_P_k= k permutations of n

Could anyone comment if I am doing this correctly or what I have done wrong. Thank you.
link to original post

For starters, there are v^5 ways of getting a three of a kind (243 ways for three lines). Every line is independent, so you just need to multiply the fraction of symbols per column for the first three reels/columns and divide by v^5. No combinatorics are needed.

Maybe I don't understand what you mean by 'three of a kind total hit calculation' - is it expected number of trips on each spin?

The probability of trips on any one line is simply n(s,1)/t(1) * n(s,2)/t(2) * n(s,3)/t(3) not exclusive of quads and quints.

The probability of quads on any one line is n(s,1)/t(1) * n(s,2)/t(2) * n(s,3)/t(3) * n(s,4)/t(4), etc.

The expected number of trips on each spin exclusive of quads and quints is obtained by subtracting off those probabilities from the probability of nonexclusive trips and multipied by v^3
Last edited by: Mental on Dec 27, 2022
This forum is more enjoyable after I learned how to use the 'Block this user' button.
  • Jump to: