Question: Basic Statisitcal Analysis 1. Simulation Use np.random.randint to simulate age data for 100 adults, whose age range from 18 to 36. Then, calculate basic descriptive
Basic Statisitcal Analysis
1. Simulation
Use np.random.randint to simulate age data for 100 adults, whose age range from 18 to 36.
Then, calculate basic descriptive statistics (mean, median, standard deviation) for your simulated data.
# Simulate age data: age_group1 = ## YOUR CODE HERE
# Compute descriptive statistics: # YOUR CODE HERE
2. Repeat the process in Question 1, except the age range is now 27 to 54.
# Simulate age data: age_group2 = ## YOUR CODE HERE
# Compute descriptive statistics for the new group: # YOUR CODE HERE
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
