BookmarkSubscribeRSS Feed
deleted_user
Not applicable
I am super new to SAS. I was wondering how would you go about programming a simulation of the Price is Right game Plinko.
Thanks in advance for the help!
1 REPLY 1
n6
Quartz | Level 8 n6
Quartz | Level 8
Do you mean the Plinko game on The Price Is Right where they drop a ball in the top and it hits all the pegs on the way down and eventually lands in one of the cells at the bottom? If so then the first thing you'd have to do is figure out / guess / estimate what the probabilities are of the ball dropping into each cell at the bottom. Presumably it's symmetric, ie, the cell at the farthest left has an equal probability to the cell at the farthest right, etc. But what the probabilities are, I have no idea. If you have the probabilities (or any set of probabilities) then simulating that in SAS via a function (RANUNI I think) is easy.

CFC_SAS_Communities_400x225.jpg

Call for content now open!

It's your turn to help shape SAS Innovate 2027. Share your expertise and inspire the SAS community.

Submit your proposal →

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 2042 views
  • 0 likes
  • 2 in conversation