How to calculate covariance of n-play?

Started by sza 6 replies 2,230 views Jump to latest

sza
sza
  • 37 posts
  • Threads: 6
Joined: May 28, 2017
June 4th, 2023 at 2:06:48 AM #1
In 9/6 JOB, the covariance is 1.966389 according to this Standard Deviation for Multihand Video Poker

Is it calculated by enumerating all possible dealt hands? Or how to calculate it? Thanks!
Dieter
Administrator
Dieter
  • 8,088 posts
  • Threads: 21
Joined: Jul 23, 2014
June 4th, 2023 at 2:19:17 AM #2
Quote: sza

In 9/6 JOB, the covariance is 1.966389 according to this Standard Deviation for Multihand Video Poker

Is it calculated by enumerating all possible dealt hands? Or how to calculate it? Thanks!
link to original post



Blessing the link.
May the cards fall in your favor.
CrystalMath
CrystalMath
  • 1,914 posts
  • Threads: 8
Joined: May 10, 2011
Thanked by
sza
June 6th, 2023 at 8:22:41 AM #3
The covariance in video poker is the same as the variance on the deal; this is the part of the variance shared by all of the hands.

To get this variance, loop through all C(52,5) deal hands and calculate the EV of each hand. Calculate the variance of those EVs. For 9/6 JOB, I get 1.966388673520996, which corroborates the Wizard's work.
I heart Crystal Math.
UP84
UP84
  • 374 posts
  • Threads: 3
Joined: May 22, 2012
June 6th, 2023 at 8:54:59 AM #4
In order to calculate the covariance in n-play VP you first need to derive the probability pairs matrix for the given strategy, which is not easy.
sza
sza
  • 37 posts
  • Threads: 6
Joined: May 28, 2017
Thanked by
CrystalMath
June 9th, 2023 at 2:31:15 PM #5
CrystalMath, thank you very much!

I got a very close number using your approach. 1.9663894301318172.

Your number seems to be the sum of the square differences divided by 2598960, not 2598960-1. Please correct me if I am wrong.
CrystalMath
CrystalMath
  • 1,914 posts
  • Threads: 8
Joined: May 10, 2011
Thanked by
sza
June 9th, 2023 at 6:10:05 PM #6
Quote: sza

CrystalMath, thank you very much!

I got a very close number using your approach. 1.9663894301318172.

Your number seems to be the sum of the square differences divided by 2598960, not 2598960-1. Please correct me if I am wrong.
link to original post



You’re welcome. Mine are all divided by 2598960. Since we are looking at every outcome, it’s the entire population, so we don’t need to subtract 1.
I heart Crystal Math.
sza
sza
  • 37 posts
  • Threads: 6
Joined: May 28, 2017
Thanked by
CrystalMath
June 10th, 2023 at 11:21:31 AM #7
Make sense. Thank you very much, CrystalMath!

Join the discussion

Log in or create a free account to reply to this thread.

  • Jump to: