Question

In: Statistics and Probability

There are two routes to get from the student dorms to class - a long route,...

There are two routes to get from the student dorms to class - a long route, which is scenic, and a short route, which is not scenic. You want to study whether the route that the students choose to take is independent of the weather (in the context of the table, this will mean whether X and Y are independent), and you generate the accompanying table of probabilities.

Rainy

(Y=0)

Sunny

(Y =1)

Total
Long (X=0) 0.1 0.3 0.4
Short (X=1) 0.2 0.4 0.6
Total 0.3 0.7 1

Calculate E(X) and E(Y ).

(b) Calculate E(X | Y = 0). How is this different from E(X)?

(c) Are the route picked and the weather independent of each other? Why or why not? Use the numbers from the table to arrive at the answer.

Solutions

Expert Solution

Solution:

we are given following table of Joint probabilities and marginal probabilities of X = Route picked and Y = Weather

Rainy Sunny Total
(Y=0) (Y =1)
Long (X=0) 0.1 0.3 P(X=0) = 0.4
Short (X=1) 0.2 0.4 P(X=1) = 0.6
Total P(Y=0) =0.3 P(Y=1) = 0.7 1

Part a) Calculate E(X) and E(Y ).

and

Part b) Calculate E(X | Y = 0). How is this different from E(X)?

E(X | Y = 0) = 0.6667 is higher than E(X) = 0.6.

Part c) Are the route picked and the weather independent of each other? Why or why not? Use the numbers from the table to arrive at the answer.

events are independent if and only if:

P( A and B) = P(A) x P(B)

So we have to check if:

or not.

Thus from table we have:

and

P(X = 0) = 0.4 and P( Y = 0) = 0.3

Then P(X = 0) * P(Y = 0) = 0.4 * 0.3 = 0.12 which is not equal to

Now consider

and

P(X =0) = 0.4 and P( Y = 1) = 0.7

then P(X = 0) * P( Y = 1) = 0.4 * 0.7 = 0.28 which is also not equal to

Thus we can say the route picked and the weather are NOT independent of each other .


Related Solutions

Each student need to get a partner from the class and create a team that needs...
Each student need to get a partner from the class and create a team that needs to use Excel from and read how to prepare a: Frequency Histogram, Dot diagram, Stem and Leaf diagram. Each member of the team needs to collect 20 samples values of any variable and prepare a report. * Frequency Histogram (5 bins, Intervals or class) Steam and Leaf Diagram Dot Diagram Identify the concentration and variation tendencies from the data charts.
The Suez shipping route is one of the most active routes used by commercial ships. Yet,...
The Suez shipping route is one of the most active routes used by commercial ships. Yet, these dangerous waters pose a major threat (of theft and kidnapping) to commercial sailors and the goods they transport. For the purpose of the question, assume that ships have to go through the Suez route and may not avoid it. What should shipping companies do to adapt to this threat? Present at least two things that could be done to reduce the piracy and...
On a popular air route, an airline offers two classes of service: business class (B) and...
On a popular air route, an airline offers two classes of service: business class (B) and economy class (E). The respective inverse demands are given by PB = 540 - 0.5QB and PE = 380 - QE. Because of ticketing regulations, business passengers cannot take advantage of economy’s low fares. Each flight has a capacity of 200 passengers, The cost per full flight is $20,000, so you may assume the marginal cost per passenger is $100. 1. What is the...
Create two child classes, UnderGraduateStudent and GraduateStudent that will extend from the Student class. Override the...
Create two child classes, UnderGraduateStudent and GraduateStudent that will extend from the Student class. Override the char getLetterGrade() method in each of the child classes. Use Student.java class defined below: (complete and compile) class Student {    private int id;    private int midtermExam;    private int finalExam;    public double calcAvg() {       double avg;       avg = (midtermExam + finalExam) / 2.0;       return avg;    }    public char getLetterGrade() {       char letterGrade = ‘ ‘;...
There are two routes for eliminating solutes from the circulation. The first is _______, which transfers...
There are two routes for eliminating solutes from the circulation. The first is _______, which transfers solutes directly from the blood to the tubular lumen, and the other is _______, which transfers solutes from peritubular capillaries to interstitial fluid, and from there through tubular cells into the tubular lumen. Multiple Choice passive transport; active transport filtration; tubular secretion filtration; passive transport tubular secretion; filtration
The traffic volume from A to B is 4500 veh/hr. two routes are available from A...
The traffic volume from A to B is 4500 veh/hr. two routes are available from A to B. Route I is 6 mi. long, design speed is 60mi/hr, link performance function is t1(x)=t1(0)+4x; Route II is 3 mi, design speed is 45mi/hr, link performance function is t2(x)=t2(0) +x2(where t(0) is the free-flow travel time, and x is traffic flow on the route in 1000 veh/hr). a. Determine the travel time and flows using user equilibrium method; b. Determine the travel...
Java: Translate the Student class from the code provided to UML, e.g., -----------------------------_ | Student |...
Java: Translate the Student class from the code provided to UML, e.g., -----------------------------_ | Student | ------------------------------ | -lastName: String | | -firstName: String | ----------------------------- Java Code: public class Student { private String lName; private String fName; private int age; private double gpa; public Student(String lname, String fname, int age, double gpa);    public String lname();    public String fname();    public int age(); public double gpa(); public String toString()      {          return lName+ " " + fName+...
There are two traffic lights on a commuter's route to and from work. Let X1 be...
There are two traffic lights on a commuter's route to and from work. Let X1 be the number of lights at which the commuter must stop on his way to work, and X2 be the number of lights at which he must stop when returning from work. Suppose that these two variables are independent, each with the pmf given in the accompanying table (so X1, X2 is a random sample of size n = 2). x1 0 1 2 μ...
There are two traffic lights on a commuter's route to and from work. Let X1 be...
There are two traffic lights on a commuter's route to and from work. Let X1 be the number of lights at which the commuter must stop on his way to work, and X2 be the number of lights at which he must stop when returning home from work. Suppose these two variables are independent, each with pmf given in the accompanying table. (so X1, X2 is a random sample size n=2.) x1 = 0 1 2 p(x1)= .2 .5 .3...
There are two traffic lights on a commuter's route to and from work. Let X1 be...
There are two traffic lights on a commuter's route to and from work. Let X1 be the number of lights at which the commuter must stop on his way to work, and X2 be the number of lights at which he must stop when returning from work. Suppose that these two variables are independent, each with the pmf given in the accompanying table (so X1, X2 is a random sample of size n = 2). x1 0 1 2 p(x1)...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT