Exercises: Contingency tables
In a study on the use of social media in a high school, 100 12th-grade students have been surveyed about their preferred platform. The data are collected in the…
In a study on the use of social media in a high school, 100 12th-grade students have been surveyed about their preferred platform. The data are collected in the following contingency table, although some values have been erased:
Given that there is a total of 45 boys and 55 girls:
- a) Complete the missing values in the table.
- b) If we choose a student at random, what is the probability that their preferred network is TikTok?
- c) What is the probability that it is a girl who prefers Instagram?
A streaming platform analyzes the preferences of its users according to their age. A random sample is selected and the following results are obtained: | | Movies |…
A streaming platform analyzes the preferences of its users according to their age. A random sample is selected and the following results are obtained:
| Movies | Series | Total | |
|---|---|---|---|
| Under 25 years old | $0,15$ | $0,35$ | $0,50$ |
| Over 25 years old | $0,30$ | $0,20$ | $0,50$ |
| Total | $0,45$ | $0,55$ | $1,00$ |
Calculate the following probabilities when choosing a user at random:
- a) $P(\text{Series})$, that is, the probability that they prefer series.
- b) $P(\text{Movies} \cap \text{Under 25 years old})$.
- c) $P(\text{Over 25 years old} \cup \text{Movies})$.
In a pickleball tournament organized by the local recreation department, 80 people participate. It is known that 32 are men and the rest are women. Of the men, 20 are…
In a pickleball tournament organized by the local recreation department, 80 people participate. It is known that 32 are men and the rest are women. Of the men, 20 are registered, while of the women only 12 are registered.
- a) Organize the information into a contingency table.
- b) If we select a participant at random, calculate the probability that they are not registered.
- c) What is the probability that the participant is a woman given that she is registered?
A survey has been carried out on transportation habits for going to college. $40\%$ of the students are men ($H$) and $60\%$ are women ($M$). $25\%$ of the men commute…
A survey has been carried out on transportation habits for going to college. $40\%$ of the students are men ($H$) and $60\%$ are women ($M$). $25\%$ of the men commute by car ($C$), while $15\%$ of the women use this mode of transportation.
- a) If we consider a sample of 100 people, construct the contingency table with the absolute values.
- b) Calculate the probability that a person chosen at random is a woman and does not use a car.
- c) Calculate the probability that, being a man, he does not use a car.
Observe the following table which classifies the employees of a company according to their department and whether they have requested to work from home: Calculate with…
Observe the following table which classifies the employees of a company according to their department and whether they have requested to work from home:
Calculate with reasoning using the table:
- a) $P(T | V)$, the probability that an employee works from home if they belong to the Sales department.
- b) $P(I | T)$, the probability that an employee is from R&D given that they have requested to work from home.
- c) Which is more likely: that a Sales employee works from home or that an R&D employee works from home?
In a language school, students are divided by level (Basic or Advanced) and by language (English or German). The probability that a student is at the advanced level is…
In a language school, students are divided by level (Basic or Advanced) and by language (English or German). The probability that a student is at the advanced level is $0,4$. The probability that they study English is $0,7$. It is known that the probability that a student studies German and is at the basic level is $0,2$.
- a) Create a contingency table with probabilities (where the total is $1$).
- b) Calculate the probability that a student chosen at random is at the advanced level and studies English.
- c) If a student studies English, what is the probability that they are at the basic level?
A group of 200 teenagers was asked whether they have cereal or fruit for breakfast. The results were: 120 have cereal, 100 have fruit, and 40 have both. a) Complete the…
A group of 200 teenagers was asked whether they have cereal or fruit for breakfast. The results were: 120 have cereal, 100 have fruit, and 40 have both.
- a) Complete the following contingency table to organize the data:
- b) What is the probability that a teenager has neither cereal nor fruit for breakfast?
- c) Given that a teenager has cereal for breakfast, what is the probability that they also have fruit?
A sporting goods store classifies its sneaker sales according to type (Running or Trail) and gender (Men's or Women's). In one day they sold 50 pairs: | | Running |…
A sporting goods store classifies its sneaker sales according to type (Running or Trail) and gender (Men's or Women's). In one day they sold 50 pairs:
| Running | Trail | Total | |
|---|---|---|---|
| Men's | 18 | 12 | 30 |
| Women's | 15 | 5 | 20 |
| Total | 33 | 17 | 50 |
Calculate the probability that when choosing a sale at random:
- a) The sneakers are Trail.
- b) They are women's given that they are Running.
- c) They are Trail given that it is a men's sale.
In a study on the digital content consumption habits among $200$ teenagers, it has been observed that $120$ are subscribed to a streaming platform. Of those who are…
In a study on the digital content consumption habits among $200$ teenagers, it has been observed that $120$ are subscribed to a streaming platform. Of those who are subscribed, $80$ prefer watching shows over movies. Among those who do not pay for a subscription, $30$ prefer movies.
- a) Organize the above information into a contingency table.
- b) If we choose a teenager at random, what is the probability that they prefer watching shows?
- c) Given that the chosen teenager prefers movies, what is the probability that they are not subscribed to any platform?
A technology company analyzes the relationship between the use of a new model of wireless earphones and customer satisfaction. Of the $500$ users surveyed, $350$ bought…
A technology company analyzes the relationship between the use of a new model of wireless earphones and customer satisfaction. Of the $500$ users surveyed, $350$ bought the "Pro" model and the rest the "Basic" model. It is known that event $S$ (being satisfied) and event $M$ (Pro model) are independent. If the probability of being satisfied is $P(S) = 0,8$:
- a) Complete the contingency table with the expected number of people for each category.
- b) Calculate the probability that a user has bought the "Basic" model and is not satisfied.
- c) What does it mean in this context for the events to be independent?
In a high school, $60\%$ of the seniors are women. It is known that $20\%$ of the women participate in the debate club, while $10\%$ of the men also do so. a) Construct…
In a high school, $60\%$ of the seniors are women. It is known that $20\%$ of the women participate in the debate club, while $10\%$ of the men also do so.
- a) Construct a contingency table of relative frequencies (probabilities).
- b) If we select a student at random, what is the probability that they belong to the debate club?
- c) If the chosen student does not belong to the debate club, what is the probability that they are a man?
A survey has been carried out on voting intention and the main social concern (Environment, Economy or Health), obtaining the following partial table of probabilities: |…
A survey has been carried out on voting intention and the main social concern (Environment, Economy or Health), obtaining the following partial table of probabilities:
| Concern | Party A | Party B | Totals |
|---|---|---|---|
| Environment | $0,15$ | $0,10$ | |
| Economy | $0,25$ | $0,45$ | |
| Health | $0,12$ | ||
| Totals | $1,00$ |
- a) Complete the contingency table.
- b) Calculate the probability that a voter for Party A is concerned about Health.
- c) Are the events "Voting for Party B" and "Being concerned about the Environment" independent? Justify your answer mathematically.
A sports center offers Yoga, Pilates and Crossfit classes. The distribution of the $300$ members according to activity and age group is as follows: | Activity | Young…
A sports center offers Yoga, Pilates and Crossfit classes. The distribution of the $300$ members according to activity and age group is as follows:
| Activity | Young (16-30) | Adults (>30) |
|---|---|---|
| Yoga | $20$ | $50$ |
| Pilates | $30$ | $60$ |
| Crossfit | $110$ | $30$ |
- a) If we choose a member at random, what is the probability that they practice Yoga or are Young?
- b) Among Adult members, which activity is the most probable?
- c) If a Crossfit practitioner is chosen, what is the probability that they are Young?
The success of an advertising campaign on social media is analyzed. Of the people who saw the ad, $40\%$ did so on Instagram and $60\%$ on TikTok. It is known that…
The success of an advertising campaign on social media is analyzed. Of the people who saw the ad, $40\%$ did so on Instagram and $60\%$ on TikTok. It is known that $15\%$ of those who saw it on Instagram bought the product, while on TikTok $10\%$ did so.
- a) Transfer these percentages to a contingency table of $1000$ people.
- b) Calculate the probability that a person chosen at random has bought the product.
- c) Given that a person has bought the product, on which social network is it more probable that they saw the ad?
In a medical study on the efficacy of a vaccine, the following data are obtained from a sample of $1000$ patients: | | Became ill | Did not become ill | Totals | | :---…
In a medical study on the efficacy of a vaccine, the following data are obtained from a sample of $1000$ patients:
| Became ill | Did not become ill | Totals | |
|---|---|---|---|
| Vaccinated | $20$ | $600$ | |
| Unvaccinated | $280$ | ||
| Totals | $1000$ |
- a) Complete the table.
- b) Calculate the probability of becoming ill having been vaccinated.
- c) Calculate the probability of becoming ill not having been vaccinated.
- d) In light of the results, do you consider the vaccine to be effective? Justify your answer by comparing the conditional probabilities.
An e-commerce platform classifies its customers into "Frequent" and "Occasional", and their purchases into "Electronics" or "Fashion". It is known that $30\%$ of the…
An e-commerce platform classifies its customers into "Frequent" and "Occasional", and their purchases into "Electronics" or "Fashion". It is known that $30\%$ of the customers are Frequent. Of all the purchases made, $40\%$ are Electronics. Furthermore, $10\%$ of the total customers are Frequent who have bought Fashion.
- a) Construct the complete contingency table of probabilities.
- b) What is the probability that a frequent customer buys Electronics?
- c) Given that a customer has bought Electronics, what is the probability that they are an Occasional customer?
A cybersecurity department analyzes the email traffic of a large technology company. It is known that $12\%$ of the emails entering the server are phishing* (fraud)…
A cybersecurity department analyzes the email traffic of a large technology company. It is known that $12\%$ of the emails entering the server are phishing (fraud) attempts. The smart filtering system labels the emails as "Suspicious" or "Safe".
The system is capable of correctly detecting $95\%$ of the phishing emails. However, due to overzealousness, $3\%$ of legitimate emails are incorrectly labeled as "Suspicious".
- a) Organize the information in a contingency table using a theoretical sample of $10\,000$ emails.
- b) If an employee receives an email labeled as "Suspicious", what is the probability that it is actually a legitimate email?
- c) Are the events "Phishing Email" and "Labeled as Suspicious" independent events? Justify your answer by calculating probabilities.
In a study on the streaming content consumption habits of young people aged between 18 and 22, the following data has been obtained: $65\%$ of the young people are…
In a study on the streaming content consumption habits of young people aged between 18 and 22, the following data has been obtained:
-
$65\%$ of the young people are subscribed to Netflix ($N$).
-
$40\%$ are subscribed to Disney+ ($D$).
-
The probability that a young person is not subscribed to either of the two platforms is $0,25$.
- a) Create a contingency table expressing the values in terms of probability.
- b) A young person is chosen at random and turns out to be subscribed to Netflix. Calculate the probability that they are also subscribed to Disney+.
- c) Determine whether having a subscription to Netflix is independent of having a subscription to Disney+.
A secondhand clothing sales platform analyzes the behavior of its users. $60\%$ of the users are "Recurring Buyers" ($C$), while the rest are "Sporadic Buyers". It is…
A secondhand clothing sales platform analyzes the behavior of its users. $60\%$ of the users are "Recurring Buyers" ($C$), while the rest are "Sporadic Buyers".
It is observed that $70\%$ of recurring buyers use the mobile app for their transactions, whereas only $30\%$ of sporadic buyers use it (preferring the web).
- a) If we select a user at random, what is the probability that they use the web to make their purchases?
- b) If we know that a user has made a purchase through the web, what is the probability that they are a recurring buyer?
- c) Represent the situation using a contingency table for a population of $500$ users.
A community college offers two vocational programs: Web Application Development ($DAW$) and Marketing and Advertising ($MK$). $55\%$ of the students are enrolled in…
A community college offers two vocational programs: Web Application Development ($DAW$) and Marketing and Advertising ($MK$). $55\%$ of the students are enrolled in $DAW$.
It has been found that $20\%$ of the students in $DAW$ and $15\%$ of those in $MK$ drop out of their studies before finishing the first year.
- a) Construct the contingency table associated with this institution.
- b) If we choose a student at random from those who have dropped out of the program, what is the probability that they were enrolled in Marketing and Advertising?
- c) Is dropping out of studies independent of the program the student is enrolled in? Justify your answer by comparing $P(Abandono)$ with $P(Abandono | DAW)$.
In a survey carried out at a music festival about musical genre preference and age, the following data has been obtained from a sample of $200$ attendees: | | Pop ($P$)…
In a survey carried out at a music festival about musical genre preference and age, the following data has been obtained from a sample of $200$ attendees:
| Pop ($P$) | Rock ($R$) | Indie ($I$) | |
|---|---|---|---|
| Under 25 years old ($M$) | $40$ | $30$ | |
| 25 years old or over ($A$) | $50$ |
Given that the total number of Pop lovers is $65$, that those under 25 years old represent $45\%$ of the total sample, and that the events "Being under 25 years old" and "Indie" are independent:
- a) Complete the contingency table with the absolute values.
- b) Calculate the probability that an attendee chosen at random is over 25 years old and likes Indie.
- c) If an attendee likes Rock, what is the probability that they are under 25 years old?
A new antigen test is being tested for a recent variant of a virus. Clinical data indicates that the test is positive in $98\%$ of people who are actually infected…
A new antigen test is being tested for a recent variant of a virus. Clinical data indicates that the test is positive in $98\%$ of people who are actually infected ($I$). On the other hand, the test gives a "false positive" (positive in healthy people, $S$) in $4\%$ of cases. In the current population, it is estimated that $5\%$ of people have the virus.
- a) Create a contingency table for a sample of $10\,000$ people.
- b) If a person takes the test and tests positive, what is the actual probability that they are infected? Comment on the result obtained in relation to the reliability of the test.
- c) If the test is negative, what is the probability that the person is actually healthy?
A gym offers two types of activities: Weightlifting ($M$) and Group Classes ($C$). $40\%$ of the members are women. It is known that $70\%$ of women opt for group…
A gym offers two types of activities: Weightlifting ($M$) and Group Classes ($C$). $40\%$ of the members are women. It is known that $70\%$ of women opt for group classes, while $80\%$ of men prefer weightlifting.
- a) If we choose a member at random, what is the probability that they prefer weightlifting?
- b) If we select a member who prefers group classes, what is the probability that they are a man?
- c) Determine whether the member's sex and the preference for weightlifting are independent events. Explain your mathematical reasoning.
In a study on the use of electric vehicles ($E$) and gas-powered vehicles ($C$) in a city, $1\,200$ drivers are analyzed. $25\%$ of the drivers have an electric vehicle.…
In a study on the use of electric vehicles ($E$) and gas-powered vehicles ($C$) in a city, $1\,200$ drivers are analyzed. $25\%$ of the drivers have an electric vehicle. Of the electric vehicle drivers, $60\%$ live in single-family homes ($U$), whereas among gas-powered vehicle drivers, this percentage drops to $20\%$.
- a) Calculate the probability that a driver chosen at random lives in a single-family home.
- b) If a driver lives in a single-family home, what is the probability that they own an electric vehicle?
- c) Are the events "Owning an electric vehicle" and "Living in a single-family home" independent? Prove this by comparing the relevant probabilities.