Suppose the rbinom() function is used to generate 20 sets of data (each with sample size of n=10 from the distribution Bin(1, 0.8). For each of the 20 datasets, I conduct a sign test. The null hypothesis for the sign test is that the population probability of getting 1 is 0.5; the alternative hypothesis is that the population probability is not 0.5. Then I calculate the proportion of rejection across the 20 datasets and found out that 6 of the 20 datasets had a significant result at α=0.5; in other words, t
Suppose the rbinom()
0.05
0.3
0.5
0.7
1
not enough information
Step by step
Solved in 2 steps with 2 images