# How Can I Simulate This?

Six Sigma – iSixSigma › Forums › General Forums › Tools & Templates › How Can I Simulate This?

This topic contains 6 replies, has 4 voices, and was last updated by Mike Carnell 2 weeks, 5 days ago.

- AuthorPosts
- October 19, 2019 at 6:03 pm #243060

swatiagaParticipant@swatiaga**Include @swatiaga in your post and this person will**

be notified via email.How can this be simulated? A baseball player is batting 0.300, another is batting 0.271

0October 20, 2019 at 7:39 pm #243071

Mike CarnellParticipant@Mike-Carnell**Include @Mike-Carnell in your post and this person will**

be notified via email.October 21, 2019 at 6:03 pm #243096

Chris SeiderParticipant@cseider**Include @cseider in your post and this person will**

be notified via email.@mike-carnell let’s hope the Astros do well.

0October 21, 2019 at 6:18 pm #243097

Mike CarnellParticipant@Mike-Carnell**Include @Mike-Carnell in your post and this person will**

be notified via email.@cseider We at least know they did better than the Texas Rangers. That is the interesting thing they play for months to come down to 2 teams that has one winner on a best of 7 games. Whatever happened to participation trophies?

0October 21, 2019 at 6:29 pm #243098

Chris SeiderParticipant@cseider**Include @cseider in your post and this person will**

be notified via email.Have you been to any tournament lately for kids? :) All clear up here for this bud in Dallas but let’s hope recovery goes well for those souls impacted. I shop SOMETIMES at the Home Depot that got destroyed at Forest Ave in Dallas. That store manager that got everyone out and closed the store deserves a medal.

0October 21, 2019 at 11:38 pm #243104

Robert ButlerParticipant@rbutler**Include @rbutler in your post and this person will**

be notified via email.I don’t understand what you mean by “simulate”.

If you just want to play games with the variation around a .271 or a .300 batting average over time the easiest thing to do is take a thousand samples – in the first case 271 1’s and 729 0’s and in the second case 300 1’s and 700 0’s. Put them in two columns with 271 1’s followed by 729 0’s (or the other way around – it doesn’t matter) and the same for the 300 and 700. Then find a random number generator function out on the web and have it generate a random sequence of integers from 1 to 1000 (sampling without replacement so you only get each integer once). Do this twice and then match the random column one-to-one with the 0’s and 1’s column and then sort the two columns by the random number column so the random numbers are in sequence from 1 to 1000. This will result in a random draw for the 0’s and 1’s and you can take any sub-sample of any size (1-50, 35-220, 14-700, etc.) and compute the batting averages for those sub-samples and see what you see.

1October 23, 2019 at 3:00 pm #243144

Mike CarnellParticipant@Mike-Carnell**Include @Mike-Carnell in your post and this person will**

be notified via email. - AuthorPosts

You must be logged in to reply to this topic.