Question

In: Statistics and Probability

Please use R studio, Thank you. 2. The probability of a student passing statistics is known...

Please use R studio, Thank you.

2. The probability of a student passing statistics is known to be 0.41; and the probability of a student passing chemistry is known to be 0.55. If the probability of passing both is known to be 0.35, calculate:

(a) the probability of passing at least one of statistics and chemistry

(b) the probability of a student passing chemistry, given that they passed statistics

(c) Are passing chemistry and statistics independent? Justify

(d) (harder) a group of 33 randomly selected students attend a special seminar on study skills. Of these 33, only 7 fail both. State a sensible null hypothesis, test it, and interpret.

Solutions

Expert Solution

Let

S=the event of passing statistics

C=the event of passing chemistry

P(S)=0.41 P(C)=0.55

Hence not independent.

d)Let p denotes the proportion of success in seminaron study skills.

p-value=0.9991 quite close to1, hence at any significancy level we are not able to reject the null hypothesis hence we can strongly conclude that the proportion of success is quite larger than 0.5, i.e. rate of success is higher than the rate of failure.

R CODE:

> #a)
> p_S=0.41;p_C=0.55;p_SC=0.35
> p_S+p_C-p_SC
[1] 0.61
> #b)
> p_SC/p_S
[1] 0.8536585
> #c)
> p_S*p_C
[1] 0.2255
> #d)
> prop.test(33-7, 33, p = 0.5,alternative = "less")

   1-sample proportions test with continuity correction

data: 33 - 7 out of 33, null probability 0.5
X-squared = 9.8182, df = 1, p-value = 0.9991
alternative hypothesis: true p is less than 0.5
95 percent confidence interval:
0.0000000 0.8919282
sample estimates:
p
0.7878788


Related Solutions

Please Use R studio to answer the question. This is the Statistics section of Comparing Groups....
Please Use R studio to answer the question. This is the Statistics section of Comparing Groups. One month before the election, a poll of 630 randomly selected votes showed 54% planning to vote for a certain candidate. A week later, it became known that he had had an extramarital affair, and a new poll showed only 51% of 1010 voters supporting him. Do these results indicate a decrease in voter support fo his candidacy? a) Test an appropriate hypothesis as...
Using R Studio/R programming... Usually, we will use a random sample to estimate the statistics of...
Using R Studio/R programming... Usually, we will use a random sample to estimate the statistics of the underlying population. If we assume a given population is a standard normal distribution and we want to estimate its mean, which is the better technique to estimate that mean from a sample: Use the mean of one random sample of size 500 Use the mean of 300 random samples of size 10 Run your own experiment and use your results as a supporting...
Solve following using Program R studio. Please show code and results. Thank you. 1. Assume that...
Solve following using Program R studio. Please show code and results. Thank you. 1. Assume that ? is a random variable follows binomial probability distribution with parameters 15 and 0.25.   a. Simulate 100 binomial pseudorandom numbers from the given distribution (using set.seed(200)) and assign them to vector called binran. b. Calculate ?(? < 8) using cumulative probability function. c. Calculate ?(? = 8) using probability distribution function. d. Calculate the average of simulated data and compare it with the corresponding...
Solve following using Program R studio. Please show code and results. Thank you. 3. Assume that...
Solve following using Program R studio. Please show code and results. Thank you. 3. Assume that ? is a random variable represents lifetime of a certain type of battery which is exponentially distributed with mean 60 hours.   a. Simulate 500 pseudorandom numbers (using set.seed(10)) and assign them to a vector called expran. b. Calculate average of simulated data and compare it with corresponding theoretical value. c. Calculate probability that lifetime is less than 50 hours using cumulative probability function. d....
Please use R and R studio A sample of 15 female collegiate golfers was selected and...
Please use R and R studio A sample of 15 female collegiate golfers was selected and the clubhead velocity (km/hr) while swinging a driver was determined for each one, resulting in the following data (“Hip Rotational Velocities During the Full Golf Swing,” J.of Sports Science and Medicine, 2009: 296–299): 69.0 69.7 72.7 80.3 81.0 85.0 86.0 86.3 86.7 87.7 89.3 90.7 91.0 92.5 93.0 The corresponding z percentiles are -1.83 -1.28 -0.97 -0.73 -0.52 -0.34 -0.17 0.0 0.17 0.34 0.52...
Please use R and R studio The accompanying observations are precipitation values during March over a...
Please use R and R studio The accompanying observations are precipitation values during March over a 30-year period in Minneapolis-St. Paul. .77 1.20 3.00 1.62 2.81 2.48 1.74 .47 3.09 1.31 1.87 .96 .81 1.43 1.51 .32 1.18 1.89 1.20 3.37 2.10 .59 1.35 .90 1.95 2.20 .52 .81 4.75 2.05 a. Construct and interpret a normal probability plot for this data set. b. Calculate the square root of each value and then construct a normal probability plot based on...
The probability of a student playing basketball is known to be 0.53; and the probability of...
The probability of a student playing basketball is known to be 0.53; and the probability of a student playing soccer is known to be 0.43. If the probability of playing both is known to be 0.35, calculate: the probability of playing soccer the probability of playing at least one of basketball and soccer the probability of a student playing soccer, given that they play basketball? Are playing soccer and basketball independent? Justify (harder) a group of 29 randomly selected students...
The probability of a student playing football is known to be 0.53; and the probability of...
The probability of a student playing football is known to be 0.53; and the probability of a student playing rugby is known to be 0.5. If the probability of playing both is known to be 0.38, calculate: (a) the probability of playing rugby (b) the probability of playing at least one of football and rugby (c) the probability of a student playing rugby, given that they play football (d) Are playing rugby and football independent? Justify (e) (harder) a group...
Please use R program and explain clealry please. thank you. 1. In NZ supermarkets, the average...
Please use R program and explain clealry please. thank you. 1. In NZ supermarkets, the average weight of a banana is 120 grams. An agricultural scientist buys bananas from a supermarket. Their weight, in grams, is as follows: c(103.2, 95.2, 89.6, 98.5, 112.8, 111) She suspects that this sample of bananas is lighter than average and wonders if this supermarket is selling bananas that are lighter than the NZ average. (a) State a sensible null hypothesis (b) State the precise...
R - STUDIO R PROGRAMMING STATISTICS Imagine that you and your friend have catched COVID-19 while...
R - STUDIO R PROGRAMMING STATISTICS Imagine that you and your friend have catched COVID-19 while jogging without social distancing. Your case is more severe than your friend’s at the beginning: there are 400 millions of coronavirus in you, and only 120 millions in your friend. However, your immune system is more effective. In your body the number coronavirus decrease by 20 percent each day (new = 0.8 × orginal), while in your friend it increases by 10 percent each...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT