Icon

Challenge 23 - Generating Synthetic Population Attributes

Create a workflow to generate synthetic data for an imaginary population consisting of 1000 people. The data should include attributes such as age, height, and weight.

Generate Unique random ID for 1000 people.

Generate Age Distribution using a Gaussian distribution with a mean of 40 and a standard deviation of 10, generate ages for 1000 people, then bin the dataset into four age groups: 'Children', 'Young Adults', 'Adults', and 'Seniors'.

For each age group, generate heights using a beta distribution. Tune the parameters of the distribution to reflect realistic height ranges for each age group.. Categorize heights into three groups: 'less than 160', 'more than 180', and 'rest'.

Based on the binned height information, generate weights using a gamma distribution. Adjust the parameters of the distribution to accurately model weight distributions for each height group.

Utilize a scatter plot matrix to visualize the relationships between age, height, and weight. Identify any patterns or correlations within the synthetic population.

Challenge 23 : Generating Synthetic Population Attributes


Level: Easy to Medium

Description: You are a social scientist who needs to create some synthetic data for an imaginary population consisting of 1000 people, including attributes age, height, and weight. Start by generating a Gaussian age distribution using a mean of 40 and a standard deviation of 10, then bin people into four age groups: 'Children', 'Young Adults', 'Adults', and 'Seniors’. For each group, generate heights using a beta distribution with realistic parameters. Categorize heights into three groups: ‘< 160cm', ‘> 180', and 'rest’. Based on the binned height information, generate weights using a gamma distribution that accurately models weight distributions per age group. Visualize the relationships and identify patterns and correlations within this synthetic population.

Generate ID
Random Numbers Generator
Assign Height
Beta Distributed Assigner
Assign Weight
Gamma Distributed Assigner
Assign Age
Gaussian Distributed Assigner
Bin Height
Numeric Binner
Number Rounder
Bin Age
Numeric Binner
Scatter Plot Matrix

Nodes

Extensions

Links