Question: Create a data frame with columns n, p, x, mu, and prob where: n varies from 2 to 100 by twos (so each n
Create a data frame with columns n, p, x, mu, and prob where: n varies from 2 to 100 by twos (so each n value is even); p equals 0.5; x is n/2; mu is the mean of the distribution; prob is P(X = x) Show the first few rows using head().
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
