Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

THIS QUESTION REQUIRES GREAT KNOWLEDGE OF THE SOFTWARE R STUDIOS (CODE) AND STAT

ID: 3255375 • Letter: T

Question

THIS QUESTION REQUIRES GREAT KNOWLEDGE OF THE SOFTWARE R STUDIOS (CODE) AND STATISTICS

Question 3. The probability that an individual commutes to work by car is 0.9. If ten neighbors are studied.

A- What is the probability that ten neighbors all commute by car? Calculate by hand. Also explain which probability distribution you choose and explain WHY you use that distribution.

B- What is the average number of neighbors who commute to work by car? Calculate by hand.

C- With the help of R, calculate the probability distribution of the number of neighbors who commute to work by car, and illustrate the distribution as a table and as a graph. "please show code used for this"

Explanation / Answer

A : (0.9)10

B. 10*0.9=9

C.

x=rbinom(1000,10,0.9)
d=table(x)
M= as.matrix(d)

M[,1]=M[,1]/1000