user5576922
user5576922

Reputation: 101

Binomial Distribution

I am currently using excel to work out the Binomial Distribution. What is the equivalent code in R that would do this, please?

The size of the random sample=30, the 0.1 is the percentage this event will occur and the 3 is the predicted value

P- Value = 1- Binomdist (3, 30, 0.1, True)

Many Thanks

Upvotes: 0

Views: 335

Answers (1)

dc37
dc37

Reputation: 16178

The probability will be

> dbinom(3,30,0.1)
[1] 0.2360879

More readings on that here: http://www.r-tutor.com/elementary-statistics/probability-distributions/binomial-distribution

Upvotes: 1

Related Questions