Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Use R to check the accuracy of the binomial approximation to the hypergeometric distribution. You can use the dbinom and dhyper functions to compute probabilities
Use R to check the accuracy of the binomial approximation to the hypergeometric distribution. You can use the dbinom and dhyper functions to compute probabilities for the two distributions. Compare the distributions for n = 10, M/N = 0.6 and N = 50, 100, 1000. The syntax in R for computing the hypergeometric probability mass function is dhyper(x,M,N-M,n). Note that x can be a vector in either function. So, for example, dbinom(0:3,10,.4) returns a vector with binomial(10,.4) probabilities for x = 0, 1, 2, 3.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started