Random Numbers in R: Binomial Distribution

  • Thread starter Thread starter MaxManus
  • Start date Start date
  • Tags Tags
    Numbers Random
Click For Summary
SUMMARY

The discussion focuses on generating random numbers using the Binomial distribution in R. Participants clarify that 'n' represents the population size, 'p' is the probability of an individual being sick, and 'y' denotes the number of individuals who are sick. The command to generate random values for 'y' in R is not explicitly stated but can be found in the provided resources, including the R manual and an educational website on probability distributions.

PREREQUISITES
  • Understanding of Binomial distribution concepts
  • Familiarity with R programming language
  • Knowledge of statistical terminology such as population size and probability
  • Basic experience with R libraries and functions
NEXT STEPS
  • Research the R function 'rbinom' for generating random numbers from a Binomial distribution
  • Explore the R manual for detailed explanations on Binomial distribution functions
  • Learn about statistical analysis techniques using R
  • Investigate additional resources on probability distributions in R
USEFUL FOR

Statisticians, data analysts, and R programmers interested in statistical modeling and random number generation using the Binomial distribution.

MaxManus
Messages
268
Reaction score
1
n is the population
p is the probability for one person to be sick
y is the numbers who are sick
I want to use R to generate random y. Binomial distribution. Does anyone know which command?
 
Physics news on Phys.org
Yes, thanks for the help.
 

Similar threads

Replies
2
Views
1K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 30 ·
2
Replies
30
Views
5K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 0 ·
Replies
0
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 15 ·
Replies
15
Views
2K
Replies
1
Views
4K
  • · Replies 2 ·
Replies
2
Views
1K