1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
BabaBlast [244]
3 years ago
11

4. You want to know if there's an association between college students' spring break destinations and what year they're in. You

take a random sample of 405 college students and record the following data: Amusement Parks Mexico Home Other Freshman 23 21 43 21 Sophomore 34 23 14 26 Junior 25 30 23 26 Senior 27 33 17 19 A. Set up your null and alternative hypotheses. (2 points)
Mathematics
1 answer:
Pachacha [2.7K]3 years ago
7 0

Answer:

\chi^2 =27.356

p_v = P(\chi^2_{9} >27.356)=0.00122

And we can find the p value using the following excel code:

"=1-CHISQ.DIST(27.356,9,TRUE)"

Since the p value is lower than the significance level assumed 0.05 we can reject the null hypothesis at 5% of significance, and we can conclude that we have association between the two variables analyzed.

Step-by-step explanation:

A chi-square goodness of fit test "determines if a sample data matches a population".

A chi-square test for independence "compares two variables in a contingency table to see if they are related. In a more general sense, it tests to see whether distributions of categorical variables differ from each another".

Assume the following dataset:

                           Amusement Parks     Mexico    Home    Other    Total

Freshman                     23                         21            43          21         108

Sophomore                  34                         23            14          26        97

Junior                           25                         30            23         26        104

Senior                           27                         33             17         19         96

Total                            109                        107            97         92        405

We need to conduct a chi square test in order to check the following hypothesis:

H0: There is independence between the two random variables

H1: There is dependence between the two variables

The level os significance assumed for this case is \alpha=0.05

The statistic to check the hypothesis is given by:

\chi^2 =\sum_{i=1}^n \frac{(O_i -E_i)^2}{E_i}

The table given represent the observed values, we just need to calculate the expected values with the following formula E_i = \frac{total col * total row}{grand total}

And the calculations are given by:

E_{1} =\frac{109*108}{405}=29.07

E_{2} =\frac{107*108}{405}=28.53

E_{3} =\frac{97*108}{405}=25.87

E_{4} =\frac{92*108}{405}=24.53

E_{5} =\frac{109*97}{405}=26.11

E_{6} =\frac{107*97}{405}=25.63

E_{7} =\frac{97*97}{405}=23.23

E_{8} =\frac{92*97}{405}=22.03

E_{9} =\frac{109*104}{405}=27.99

E_{10} =\frac{107*104}{405}=27.48

E_{11} =\frac{97*104}{405}=24.91

E_{12} =\frac{92*104}{405}=23.62

E_{13} =\frac{109*96}{405}=25.84

E_{14} =\frac{107*96}{405}=25.36

E_{15} =\frac{97*96}{405}=22.99

E_{16} =\frac{92*96}{405}=21.81

And the expected values are given by:

                        Amusement Parks     Mexico    Home    Other    Total

Freshman                   29.07                28.53     25.87     24.53      108

Sophomore                26.11                  25.63     23.23     22.03      97

Junior                         27.99                 27.48     24.91      23.62     104

Senior                        25.84                 25.36     22.99      21.81       96

Total                            109                      107         97           92         405

And now we can calculate the statistic:

\chi^2 =27.356

Now we can calculate the degrees of freedom for the statistic given by:

df=(rows-1)(cols-1)=(4-1)(4-1)=9

And we can calculate the p value given by:

p_v = P(\chi^2_{9} >27.356)=0.00122

And we can find the p value using the following excel code:

"=1-CHISQ.DIST(27.356,9,TRUE)"

Since the p value is lower than the significance level assumed 0.05 we can reject the null hypothesis at 5% of significance, and we can conclude that we have association between the two variables analyzed.

You might be interested in
Why do you need to find common denominators simplify your equation
Daniel [21]
Finding common denominators allows you to more easily get your answer for the problem.  fractions are complex as it is  if you have a denominator of 16 and 4 your immediate reaction would be to just subtract the process and answer would be completely wrong.
4 0
3 years ago
A circular chicken house has an area of 40m². What length of chicken wire is required to fence the house without any wire left o
Lyrx [107]
Good bless you brother I wish I can help you
8 0
3 years ago
Is 4 greater than 4.002?
elixir [45]
No because 4=4.00000 and there is that much more than 4.00000 so 4.002 is more
5 0
2 years ago
Read 2 more answers
Which graph represents the solution set for the system 6x + y > -3 and 2x + y ≤ 4?
VikaD [51]
This one.

The doubly-shaded area is the solution set. The dashed line is not included.

3 0
3 years ago
Read 2 more answers
The perimeter of a rectangle is 128 cm, and the ratio of its sides is 5: 3. Find the area of ​​a rectangle
blondinia [14]

Answer:

Area of the rectangle =15 cm^2

Step-by-step explanation:

Perimeter of the rectangle= 128 cm

Ratio of length to width is:

\frac{Length}{Width}= \frac{5}{3} \\\\Length=5 cm\\\\Width=3 cm

Area of the rectangle= Length*Width

=5cm*3cm\\\\=15cm^2

Area of the rectangle =15 cm^2

7 0
3 years ago
Read 2 more answers
Other questions:
  • The relationship and how to Figure it out
    12·1 answer
  • The coordinates of the vertices of triangle ABC are A(-1,3), B(1,2) and C(-3,-1).
    7·1 answer
  • The slope of a line is –4 and its y-intercept is (0, 4). What is the equation of the line that is perpendicular to the first lin
    6·1 answer
  • you and your friends go to the fair and spend $35 on 10 hot dogs and 5 drinks if the concession stand is advertising seven hot d
    14·1 answer
  • milton purchases a 5-gallon aquarium for his bedroom.To fill the aquarium with water,he uses a container with a capacity of 1 qu
    5·2 answers
  • #1. Use substitution to solve the system of equations
    8·1 answer
  • Do the following, i mean like... its not THAT HARD
    12·1 answer
  • Peter is a long distance runner. In a training session he runs around the 400 m track 23 times. He wanted to run a distance of 1
    14·1 answer
  • Find the least number which must be subtracted from each of the following numbers
    9·1 answer
  • Please Help me with this
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!