Skip to content

Learning to Program

  • R
  • Data
  • Logic Statements

Category: Logic Statements

Drawing a ball from a bag

I am learning to program. Here is an example in R of simulating the problem of drawing 1 ball from a bucket of 200 balls, and repeating this a total of 300 times. How many times does the same ball come up in succession? Obviously depends. Simulate the drawing of the balls Next search through…

Continue reading Drawing a ball from a bag
Published September 11, 2023
Categorised as Logic Statements, Loop, Probability, R, Uncategorized

Latest posts

  • Correlation in RSeptember 12, 2023
  • Removing missing data in RSeptember 12, 2023
  • Import a csv into RSeptember 12, 2023

Archive

  • September 2023

About Me

This blog will chart me learning programming for statistics and data science. Mainly R and Python. It will allow me a place to put things and categorise them so I can find later.