Icon

02. Probability

<p><strong>Probability</strong></p><ul><li><p>This workflow accesses and preprocesses Eurostat data on Employment survey for Italy in 2023.</p></li><li><p>Computes probabilities for mutually exclusive and non-mutually exclusive events.</p></li><li><p>Computes conditional probability and probability using Bayes' Theorem.</p><p></p></li></ul>

URL: Population and social conditions > Employment and unemployment survey (Eurostat dataset) https://ec.europa.eu/eurostat/databrowser/view/lfsi_emp_a__custom_12798318/default/table?lang=en

Annotations and comments
  • Access and preprocess
  • Compute
  • Mutually exclusive events What's the probability that an employee in Italy belongs to the age group "From 15 to 24" or "From 25 to 54"? P(15 to 24 years or 25 to 54 years) = P(15 to 24 years) + P(25 to 54 years)
  • Conditional probability What's the probability of an employee in Italy being male given that the person is in the "From 15 to 24 years" age group? P(Males|15 to 24 years) = P(Male and 15 to 24 years) / P(15 to 24 years)
  • Non-mutually exclusive events What's the probability that an adult employee is either "From 15 to 24 years" or "Male" in Italy? P(15 to 24 years or Male) = P(15 to 24 years) + P(Male) − P(15 to 24 years and Male)
  • Bayes' Theorem What's the probability that a randomly selected employed person in Italy is between 15 and 24 years old, given that they are male? P(15 to 24 years|Males) = P(15 to 24 years) * P(Males|15 to 24 years) / P(Males)
  • P(Male and 15 to 24 years)
  • P(Males)
  • P(15 to 24 years)
  • P(Males|15 to 24 years)
  • Read Eurostat data on Employment survey for Italy in 2023
  • Multiply by 1000
  • Keep only Sheets
  • Remove last 2 rows
  • Replace missing with values form different column
  • Remove unnecessary rows
  • Retain only total age groups
  • Compute prob of each age group in Italy
  • 77.6%
  • Sum of Males
  • P(Male)
  • P(15 to 24 and Male)
  • 59.32%
  • 61.64%
  • 5.56%
  • Sum of total employees
  • Read sheets of Eurostat data on Employment survey for Italy in 2023
  • Retain only groups of interest
  • Keep only age group of interest
  • Keep only Males
  • Keep Males from 15 to 24 years

Nodes

Extensions

Links