Icon

JKISeason3-23_​Generating Synthetic Population Attributes

Generating Synthetic Population Attributes

Challenge 23

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.

Author: Keerthan Shetty

Mean 40StdDev 101000 Rows1Node 5Age IntegerAge IntegerNode 8Node 10heightheight IntegerNode 15Node 16Node 17CategorizeHeightNode 23Node 24meanminmaxNode 30Node 31BMINode 34100 Rows1Node 37Node 38Node 39Age IntegerNode 41Node 42Node 44Node 45Node 46Node 47Gaussian DistributedAssigner Empty Table Creator ConstantValue Column Moving Aggregator Math Formula Row Aggregator Line Plot Rule Engine Beta DistributedAssigner Math Formula GroupBy Color Manager Scatter Plot Rule Engine Value Counter Gamma DistributedAssigner GroupBy GroupBy GroupBy Joiner Joiner Math Formula Table Creator Empty Table Creator ConstantValue Column Moving Aggregator Value Lookup Value Lookup Math Formula Math Formula Sunburst Chart Color Manager Scatter Plot String Manipulation Rule Engine Mean 40StdDev 101000 Rows1Node 5Age IntegerAge IntegerNode 8Node 10heightheight IntegerNode 15Node 16Node 17CategorizeHeightNode 23Node 24meanminmaxNode 30Node 31BMINode 34100 Rows1Node 37Node 38Node 39Age IntegerNode 41Node 42Node 44Node 45Node 46Node 47Gaussian DistributedAssigner Empty Table Creator ConstantValue Column Moving Aggregator Math Formula Row Aggregator Line Plot Rule Engine Beta DistributedAssigner Math Formula GroupBy Color Manager Scatter Plot Rule Engine Value Counter Gamma DistributedAssigner GroupBy GroupBy GroupBy Joiner Joiner Math Formula Table Creator Empty Table Creator ConstantValue Column Moving Aggregator Value Lookup Value Lookup Math Formula Math Formula Sunburst Chart Color Manager Scatter Plot String Manipulation Rule Engine

Nodes

Extensions

Links