
Answer-first summary for fast verification
Answer: Scatter plot, because it allows for the examination of the relationship between two continuous variables by plotting individual data points., Box plot, as it provides a summary of the distribution of each variable separately.
A scatter plot is the most appropriate choice for exploring the relationship between two continuous variables, such as square footage and housing prices, as it directly plots individual data points, enabling the identification of trends, outliers, and the strength of the relationship. While a box plot (Option A) is useful for summarizing the distribution of a single variable, it does not directly show the relationship between two variables. The inclusion of Option E allows for the selection of two answers, acknowledging that while a scatter plot is primary for relationship exploration, a box plot can provide additional insights into the distributions of the variables involved.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
In the context of a machine learning project aimed at predicting housing prices based on features such as square footage and number of bedrooms, which visualization technique would you recommend to initially explore the relationship between square footage (a continuous variable) and the predicted housing price (another continuous variable)? Consider the need for identifying trends, outliers, and the strength of the relationship. Choose the best option.
A
Box plot, as it provides a summary of the distribution of each variable separately.
B
Histogram, for it displays the frequency distribution of each variable individually.
C
Bar chart, suitable for comparing the average prices across different categories of square footage.
D
Scatter plot, because it allows for the examination of the relationship between two continuous variables by plotting individual data points.
E
Both A and D, as a box plot can summarize distributions and a scatter plot can show relationships.
No comments yet.