Question

An inspector for the state gaming commission visited a casino to inspect a card-dealing machine. The...

An inspector for the state gaming commission visited a casino to inspect a card-dealing machine. The inspector observed the suits of a small sample of the cards in the machine, and counted 404 spades, 430 hearts, 400 diamonds, and 366 clubs.

1- Calculate the Chi-squared value based on the assumption that the cards represent a random assortment.

2- Are the observed cards consistent with a random assortment of cards, or are the discrepancies too much to be random?

I need some help in showing the method of answering this question.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

The observed counts of suits are

Suit Observed Frequency (fo)
Spades 404
Hearts 430
Diamonds 400
Clubs 366
Total 1600

We know that each of these 4 suits are equally probable in a random assortment of cards. That is the probability of a randomly selected card is of each of these types is 1/4. The inspector is interested in knowing if the cards represent the random assortment, that is there is an equal probability of selecting any of the suits.

We want to test the following hypotheses.

Ho : The cards represent a random assortment <-null hypothesis Ha : The cards do not represent a random assortment alternativ

If the cards represent a random assortment, then among 1600 total cards sampled by the inspector, the expected frequency of each suit would be 1600/4=400

the inspector would have expected an egin{align*} f_e=400 end{align*} of each suit in the sample.

Suit Observed Frequency (fo) Expected Frequency (fe)
Spades 404 400
Hearts 430 400
Diamonds 400 400
Clubs 366 400

The chi-square test statistics is calculated as

fe (404 400 (430 400)2 ( 400400 )2 ( 366-400 )2 400 400 400 400 5.18

The degrees of freedom for chi-square is k-1=4-1=3, where k=4 is the number of groups.

The critical value for alpha=0.05 using the chi-square table for df=3 is 7.815.

We will reject the null hypothesis if the test statistics is greater than the critical value.

Here the test statistics of 5.18 is less than the critical value of 7.815.

That means we will not reject the null hypothesis.

We can conclude that the cards represent a random assortment and the discrepancies can be attributed to chance.

Add a comment
Know the answer?
Add Answer to:
An inspector for the state gaming commission visited a casino to inspect a card-dealing machine. The...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • A poker-dealing machine is supposed to deal cards at random.   In a test, you counted 1600...

    A poker-dealing machine is supposed to deal cards at random.   In a test, you counted 1600 cards, and observed the following:             Spades 410             Hearts 390             Diamonds        415             Clubs               385 Could it be that the suits are equally likely? Or are these discrepancies too much to be random? Test the appropriate hypotheses at 5%.

  • Same as before, but this time jokers are included, and you counted 1602 these results: led,...

    Same as before, but this time jokers are included, and you counted 1602 these results: led, and you counted 1662 cards, with 16062/5=e=332 404 420 Spades Hearts Diamonds Clubs Jokers 400 356 82 Could it be that the suits are equally likely? Or are these discrepancies too much to be random?

  • 7.12 (Card Shuffling and Dealing) Modify the program in Fig. 7.24 so that the card-dealing function deals a five-card...

    7.12 (Card Shuffling and Dealing) Modify the program in Fig. 7.24 so that the card-dealing function deals a five-card poker hand. Then write the following additional functions: a) Determine whether the hand contains a pair. b) Determinewhetherthehandcontainstwopairs. c) Determine whether the hand contains three of a kind (e.g., three jacks). d) Determinewhetherthehandcontainsfourofakind(e.g.,fouraces). e) Determine whether the hand contains a flush (i.e., all five cards of the same suit). f) Determine whether the hand contains a straight (i.e., five cards of...

  • (Card Shuffling and Dealing) Modify the program below so that the card-dealing function deals a five-card...

    (Card Shuffling and Dealing) Modify the program below so that the card-dealing function deals a five-card poker hand. Then write the following additional functions: a) Determine whether the hand contains two pairs b) Determine whether the hand contains a full house (i.e., three of a kind with pair). c) Determinewhetherthehandcontainsastraight flush (i.e.,fivecardsofconsecutivefacevalues). d) Determine whether the hand contains a flush (i.e., five of the same suit) #include <stdio.h> #include <stdlib.h> #include <time.h> #define SUITS 4 #define FACES 13 #define CARDS...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT