Based on 2017 sales, the six top-selling compact cars are the Honda Civic, Toyota Corolla, Nissan Sentra, Hyundai Elantra, Chevrolet Cruze, and Ford Focus.†The 2017 market shares are: Honda Civic 20%, Toyota Corolla 17%, Nissan Sentra 12%, Hyundai Elantra 10%, Chevrolet Cruze 10%, and Ford Focus 8%, with other small car models making up the remaining 23%. Suppose a sample of 400 compact car sales in a certain large city showed the following number of vehicles sold.
Honda Civic99Toyota Corolla73Nissan Sentra55Hyundai Elantra45Chevrolet Cruze41Ford Focus24Others63
Use a goodness of fit test to determine if the sample data indicate that the market shares for compact cars in the city are different than the market shares suggested by nationwide 2017 sales. Use a 0.05 level of significance.