When outliers are present, the mean can be _______ as it is sensitive to extreme values.

  • Accurate
  • Misleading
  • Stable
  • Unchanged
When outliers are present, the mean can be misleading as it is sensitive to extreme values. This is because the mean takes into account every value in the dataset, so a significantly larger or smaller outlier can skew the mean.

Multicollinearity can make the regression coefficients _________.

  • Constant
  • Impossible to calculate
  • Unstable and highly sensitive to changes in the model
  • Zero
Multicollinearity can inflate the variance of the regression coefficients, making them unstable. This means that small changes in the data can lead to large changes in the estimates of the coefficients. This instability can make interpretation of the model very difficult.

Suppose you need to create a static visualization that will be printed in a scientific journal, which Python library would you prefer to use?

  • Bokeh
  • Matplotlib
  • Plotly
  • Seaborn
Matplotlib, with its fine-grained control over all aspects of a figure, is an excellent choice for creating static visualizations for print, such as those found in scientific journals.

What is the primary purpose of a box plot in data visualization?

  • To indicate the frequency of values
  • To show the correlation between two variables
  • To show the trend over time
  • To visualize the quartiles and potential outliers in a dataset
The primary purpose of a box plot is to visualize the quartiles and potential outliers in a dataset.

What is the primary use of regression imputation in handling missing data?

  • To delete missing data
  • To estimate missing values based on relationships with other variables
  • To replace missing data with mean values
  • To replace missing data with median values
The primary use of regression imputation in handling missing data is to estimate missing values based on relationships with other variables. It uses the relationships between the variable with missing data and other variables to estimate what the missing value could be.

Which method of variable selection can help mitigate the impact of Multicollinearity?

  • All of these methods.
  • Backward elimination.
  • Best subset selection.
  • Forward selection.
All these variable selection methods can be useful to mitigate the impact of multicollinearity. They help by eliminating irrelevant variables and keeping only those that contribute the most to the prediction of the dependent variable.

What implications can a negative correlation coefficient value hold?

  • One variable tends to increase as the other decreases
  • The relationship between variables is not linear
  • There is no relationship between variables
  • Variables tend to increase or decrease together
A negative correlation coefficient value implies that one variable tends to increase as the other decreases. In other words, it indicates a negative or inverse relationship between the two variables.

How can color and size be effectively used in data visualization?

  • Color and size should always be varied to make the graph interesting
  • Color and size should be used sparingly to avoid confusing the audience
  • Color can be used to represent categories or express quantities, size can represent quantities
  • Color should be used for quantities and size for categories
Color and size are powerful tools in data visualization. Color can be used to distinguish between different categories or express quantities, using either a sequential or diverging scheme. Size can be used to represent quantities, allowing patterns and outliers to be visually apparent. However, these should be used with care to avoid overwhelming or confusing the audience.

Can you describe the basic idea behind the Interquartile Range (IQR) method for outlier detection?

  • It calculates the difference between the 75th and 25th percentile
  • It involves the calculation of Z-scores
  • It is based on mean
  • It is based on standard deviation
The basic idea behind the Interquartile Range (IQR) method for outlier detection is that it calculates the difference between the 75th percentile (Q3) and the 25th percentile (Q1). This range represents the middle 50% of the data.

How are outliers usually represented in a boxplot?

  • As points outside the box
  • As points outside the whiskers
  • As the median of the boxplot
  • As the quartiles of the boxplot
In a boxplot, outliers are typically represented as points that fall outside of the whiskers (the lines extending from the box, indicating variability outside the upper and lower quartiles).