Question

In: Statistics and Probability

Part B: Sampling and Random Variable You already have ten marked pennies (ones with numbers from...

Part B: Sampling and Random Variable You already have ten marked pennies (ones with numbers from Part A) and 15 unmarked pennies.

Thought experiment: Throw them all in a jar and shake. Without looking, pull three out and record how many of them are marked (have a number). You will get 0, 1, 2, or 3 marked coins.

How many different samples of 3 pennies out of 25 can you get? (Order doesn’t matter.) Answer: 2,300                      Show why 2,300 is the answer.

How many of those samples would have 0, 1, 2, 3 marked coins?

# of marked

pennies in sample

         0                         455

         1                         1,050

         2                          675           (Show why this count should be 675.)

         3                          120

                      Total     2,300       (Notice this total matches the total above.)

If you draw a simple random sample of size 3, each sample is equally likely. Counting the number of marked coins gives us a discrete random variable, X.

P(X=0)=      455/2,300     =    .1978

P(X=1)=

P(X=2)=

P(X=3)=

Find the rest of these probabilities. Then find the mean and standard deviation of this discrete random variable.

Now, really and truly put the ten marked coins in a jar with 15 unmarked ones. Shake, pull out three without looking. Write down the number of marked coins. Put them all back, shake, draw again, and count marked coins again. Do this a total of 20 times. Now you have 20 pieces of data. Write down the data set. Compute the sample proportions. How do your sample proportions compare to the probabilities you computed above? Find the mean and standard deviation of the data set. Are the expected value and standard deviation of the random variable close to the mean and standard deviation of the data set? Should they be? Why?

Solutions

Expert Solution

How many different samples of 3 pennies out of 25 can you get?

We need to choose 3 pennies out of 25, this is

ans: 2300

X be the number of marked coins out of 3 selected from 25 coins, X can take the values 0,1,2,3

If X=x is the number of marked coins in 3, then 3-x is the number of unmarked coins in 3

We need to select x coins out of 10 marked coins and 3-x coins from 15 unmarked coins

The total number of ways of doing this is

Now we will calculate this for X=0,1,2,3

ans: 675

The probabilities are

The expected value of X is

The expectation of is

The variance of X is

The standard deviation of X is

ans: the mean of X is 1.2 and the standard deviation is 0.8124

If you perform the experiment as described, one set of numbers could be

2 1 0 0 0 2 1 2 1 1 1 0 2 2 1 2 1 3 2 1

The sample proportions are

X Frequency Proportion
0 4 0.2
1 8 0.4
2 7 0.35
3 1 0.05
Total 20 1

The sample mean is

The sample standard deviation is

The expected mean is 1.2 and the sample mean is 1.25, the expected standard deviation is 0.8124 and the sample standard deviation is 0.8507.

They are close enough as the sample mean and sample variance are the unbiased estimators of the population mean and variance

The sample estimates will get closer as the sample size (currently at 20) increases.


Related Solutions

A computer was used to generate ten random numbers from a normal distribution with a set...
A computer was used to generate ten random numbers from a normal distribution with a set of unknown mean and variance: −1.1623, 0.2210, 1.6518, −1.1312, −0.2879, −1.0458, 1.3706, −0.7492, −0.1355, −1.2686. Eight more random normal numbers with the same variance perhaps a different mean were then generated (the mean may or may not actually be different): 0.3472, 2.2437, 1.0712, 2.5906, 0.5163, −1.1743, 0.0473, −0.8338. (a) What do you think the means of the random normal number generators were? What do...
I HAVE ALREADY CORRECTLY COMPLETED PART A AND B PLEASE COMPLETE PART C ONLY Part A...
I HAVE ALREADY CORRECTLY COMPLETED PART A AND B PLEASE COMPLETE PART C ONLY Part A In late 2020, the Nicklaus Corporation was formed. The corporate charter authorizes the issuance of 6,000,000 shares of common stock carrying a $1 par value, and 2,000,000 shares of $5 par value, noncumulative, nonparticipating preferred stock. On January 2, 2021, 4,000,000 shares of the common stock are issued in exchange for cash at an average price of $10 per share. Also on January 2,...
Recall that for a random variable to be a binomial random variable, you must have an...
Recall that for a random variable to be a binomial random variable, you must have an experiment which meets the following three criteria: 1: There are exactly two outcomes for each trial. 2: There are a fixed number (n) of trials. 3: The trials are independent, and there is a fixed probability of success (p) and failure (q) for each trial. For each of the two situations described below, please indicate if the variable X (as defined in each situation)...
14) You have a binomial random variable, B , with n = 120 and p =...
14) You have a binomial random variable, B , with n = 120 and p = .44. Estimate P( 50 < B < 57 ). 15) Tigers have weights that are N(500, 20 ). ( pounds ) You win 2 tigers. Find the probability that your tigers have an average weight that is more that 510 pounds .
Randomly selecting a proportionate amount from subgroups is an example of: a. Random sampling b. Stratified...
Randomly selecting a proportionate amount from subgroups is an example of: a. Random sampling b. Stratified sampling c. Systematic sampling d. Convenience sampling
# FOR THE NEXT FEW QUESTIONS YOU WILL WORK WITH THE TEN SEGMENTS DATA FROM PART...
# FOR THE NEXT FEW QUESTIONS YOU WILL WORK WITH THE TEN SEGMENTS DATA FROM PART 1 OF THE EXAM. THE DATA ARE LOCATED ON Canvas. 10) Write code to import TenSegments.csv into R as a data frame tensegments 11) Write code that creates a new column with the CLV for all segments using formula 1. Assume a discount rate of 10%. 12) Write a for loop that loops through all the CLV values and creates a new vector that...
Suppose you have access to a random number generator Rng() that generates uniform random numbers in...
Suppose you have access to a random number generator Rng() that generates uniform random numbers in {0, 1, . . . , n − 1}. Design a function uses Rng() generate a uniform random number in {0, 1, . . . , m − 1}, where m ≤ n
Part A: Suppose a random variable X have mean of µ and standard deviation σ. Let...
Part A: Suppose a random variable X have mean of µ and standard deviation σ. Let a and b be constants. i) Derive the expected value of aX + b. ii) Derive standard deviation of aX + b Part B: Suppose that in country A, the price of certain good has a mean of $100 and a variance of 25, in A-dollars. Country B has a fixed exchange rate with A so that it takes 2 B-dollars to buy 1...
Appendix B.4 is a table of random numbers that are uniformly distributed. Hence, each digit from...
Appendix B.4 is a table of random numbers that are uniformly distributed. Hence, each digit from 0 through (including) 9 has the same likelihood of occurrence. (Round your answers to 2 decimal places.) a) Compute the population mean and standard deviation of the uniform distribution of random numbers. Population mean    Population Standard Deviation b) Assume that 10 random samples of five values are selected from a table of random numbers. The results follow. Each row represents a random sample....
1- Write a function f(n,a,b) that generates n random numbers # from Uniform(a,b) distribution and returns...
1- Write a function f(n,a,b) that generates n random numbers # from Uniform(a,b) distribution and returns their minimum. # Execute the function with n=100, a=1, b=9. 2- Replicate the function call f(100,1,9) 100 thousand times # and plot the empirical density of the minimum of 100 indep. Unif(1,9)'s 3-Use the sampling distribution from (b) to find 95% confidence # interval for the minimum of 100 independent Unif(1,9)'s. Please solve in R
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT