Question

Using, for example, the command “=IF(RAND()<0,4;1;0)” in Excel, simulate 40 different realizations with n = 60...

Using, for example, the command “=IF(RAND()<0,4;1;0)” in Excel, simulate 40 different realizations with n = 60 and the true supporting rate to be 40%. In order to “freeze” the output generated by Excel, select the cells with all 0s and 1s values that have been randomly generated using the above mentioned command, copy them and paste them (using the paste special option) as values back on top of the cells. Then in each of the 40 different simulated “datasets” calculate Y, i.e. total number of 1s (voters). Finally create a histogram of your 40 values of Y and discuss your findings.

Homework Answers

Answer #1

SOLUTION:

Initially data was generated according to the given formula in excel .Unable to paste those random generated data due to Answering character limit,Below is the Y values for each simulation.

Simulation number    Y
1 25
2 21
3 26
4 22
5 25
6 24
7 30
8 26
9 31
10 23
11 24
12 31
13 20
14 28
15 20
16 25
17 31
18 24
19 21
20 24
21 29
22 23
23 28
24 30
25 26
26 22
27 26
28 22
29 23
30 20
31 25
32 24
33 21
34 25
35 21
36 25
37 28
38 25
39 22
40 23

From the graph data is uniformly distributed and out of 40 ,25 simulations have support more than 40.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Using, for example, the command “=IF(RAND()<0,4;1;0)” in Excel, simulate 40 different realizations with n = 60...
Using, for example, the command “=IF(RAND()<0,4;1;0)” in Excel, simulate 40 different realizations with n = 60 and the true supporting rate to be 40%. In order to “freeze” the output generated by Excel, select the cells with all 0s and 1s values that have been randomly generated using the above mentioned command, copy them and paste them (using the paste special option) as values back on top of the cells. Then in each of the 40 different simulated “datasets” calculate...
Using, for example, the command “=IF(RAND()<0,4;1;0)” in Excel, simulate 40 different realizations with n = 60...
Using, for example, the command “=IF(RAND()<0,4;1;0)” in Excel, simulate 40 different realizations with n = 60 and the true supporting rate to be 40%. In order to “freeze” the output generated by Excel, select the cells with all 0s and 1s values that have been randomly generated using the above mentioned command, copy them and paste them (using the paste special option) as values back on top of the cells. Then in each of the 40 different simulated “datasets” calculate...
A politician claims that he will gain 50% of votes in a city election and thereby...
A politician claims that he will gain 50% of votes in a city election and thereby he will win. However, after studying the politician's policies, an expert thinks he will lose the election; i.e. he will gain less than 50% of the votes. To test his conjecture, the expert randomly selected n voters from the city and found Y of them would vote for the candidate. Let p denotes the supporting rate for the candidate. α)State clearly the null and...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT