I created a spreadsheet containing data from a site called Baseball Reference (for 2018's player stats. I used that data set for the look up function formula to reference (this function basically picked a player based off specific stats). For example, if I wanted the 3rd baseman with the most walks from the 2018 season, this function could pick that player out from my data set for me). I used two different stats, and my hand picked team, to determine which stat used in the moneyball theory was most important. The way my spreadsheet was configured allowed me to also be able to test any stat I wanted as all I would have had to do is switch what stat I wanted my team to be picked on in my look up function. I encourage anyone reading this to make a copy of my spreadsheets (my simulator is on the results tab) and test for your self which stats are most important. One more important note, I have left pitchers as a constant and left them out of my teams hitting stats as pitchers have such small sample size that they would make a miniscule difference in the hitting category. I used a pitching rotation that was just a bit over the average ERA (earned runs average) for the MLB, so that way the pitchers would not cause my teams to get more wins they they would normally with a average pitching rotation.
Team RPBB is sort of my creation as I chose to test whether getting on base or getting around them was more important (which may seem like a simple answer, but you would be surprised) , so I chose players who had high RP numbers but also high BB numbers (BB=base on balls or walks). This stat is just the addition of RP and BB. Again, my lookup function picked the players with the highest numbers in this stat.
If you are still a little fuzzy on what exactly is moneyball, check out my background essay about my topic.