Question: IMPORTANT NOTE: THE SOLUTION MUST BE PROVIDED WITH R CODE: QUESTION: With n = 100 and p = 0.02, use the binomial probabilities from *dbinom()*

IMPORTANT NOTE: THE SOLUTION MUST BE PROVIDED WITH "R" CODE:

QUESTION: With n = 100 and p = 0.02, use the binomial probabilities from *dbinom()* to calculate the expected value and variance for this binomial distribution using the general formula for mean and variance of a discrete distribution (To do this, you will need to use integer values from 0 to 100 as binomial outcomes along with the corresponding binomial probability). Calculate the same using the formulae np and np(1-p).

n <- 100

p <- 0.02

n * p# expected value

n * p * (1 - p) # variance

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!