MLS-C01 Question 110
Select 3You are a data scientist at an e-commerce company using Amazon SageMaker to analyze customer purchasing behavior. You have collected a dataset containing customer age, average monthly spending, and the number of purchases made in the last year. Your goal is to visualize relationships between these variables to discover trends and anomalies. Which of the following graphs can you create in Amazon SageMaker to explore the relationships effectively?
- A
Scatter plot to show the relationship between customer age and average monthly spending
- B
Box plot to compare the distribution of average monthly spending across different age groups
- C
Time series plot to visualize how the number of purchases changes over time
- D
Histogram to display the frequency distribution of customer age
- E
Pie chart to represent the proportion of purchases made in each month
Show answer and explanation
Correct answers: A, B, D
Explanation
Scatter plots, box plots, and histograms are all appropriate tools to visualize relationships and distributions in the given dataset. Scatter plots can help identify correlations between two continuous variables, box plots can compare distributions across groups, and histograms can reveal the frequency distribution of a variable. A time series plot is not applicable because the dataset lacks temporal data, and pie charts are unsuitable for exploring relationships in numerical datasets.
- A. Correct.
Scatter plots are suitable for examining relationships between two continuous variables, such as customer age and average monthly spending.
- B. Correct.
Box plots are useful for visualizing the distribution of a continuous variable across categorical groups, such as average monthly spending across age groups.
- C. Incorrect.
Time series plots are effective for visualizing trends over time, but there is no temporal component in the provided dataset to analyze (e.g., no date field).
- D. Correct.
Histograms are appropriate for showing the frequency distribution of a single variable, such as customer age.
- E. Incorrect.
Pie charts are not suitable for this scenario as they are typically used to display proportions of a whole, and there is no categorical breakdown of monthly purchases in this dataset.