
































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

































A data analyst is examining a dataset of customer transactions and notices that the 'purchase_amount' column has a highly skewed distribution with several extreme outliers. The analyst decides to apply a log transformation. Which of the following is the most likely primary benefit of this transformation? A. It will eliminate all outliers from the dataset. B. It will make the distribution more symmetric and stabilize variance. C. It will convert the data into a normal distribution exactly. D. It will reduce the mean of the purchase amounts. CORRECT ANSWER B. It will make the distribution more symmetric and stabilize variance. RATIONALE Log transformation is commonly used to reduce right-skewness and stabilize variance, making the distribution more symmetric. It does not eliminate outliers entirely (A is false), nor does it guarantee exact normality (C is false). It changes the scale, so the mean is transformed, but the primary goal is not to reduce the mean (D is not the main benefit). QUESTION 2
In a dataset containing missing values, an analyst decides to impute missing values using the mean of the non-missing values. Which of the following is a potential drawback of this approach? A. It reduces the sample size, leading to less statistical power. B. It can distort the distribution and underestimate variance. C. It introduces bias if the missing data are missing completely at random (MCAR). D. It is only applicable to categorical variables. CORRECT ANSWER B. It can distort the distribution and underestimate variance. RATIONALE Mean imputation replaces missing values with the mean, which reduces variability and can distort the distribution, leading to underestimated variance. It does not reduce sample size (A is false). If data are MCAR, mean imputation may not introduce bias but still underestimates variance (C is not the main drawback). It is not only for categorical variables (D is false). QUESTION 3 A researcher is analyzing the relationship between two continuous variables and creates a scatterplot. The plot shows a clear curved pattern. Which measure of association is most appropriate to quantify the strength of this relationship? A. Pearson correlation coefficient B. Spearman rank correlation coefficient C. Coefficient of determination (R-squared) from linear regression D. Covariance CORRECT ANSWER
into training and test sets. After training, the model performs very well on the training set but poorly on the test set. What does this indicate? A. Underfitting B. Overfitting C. Data leakage D. High bias CORRECT ANSWER B. Overfitting RATIONALE Overfitting occurs when a model captures noise in the training data and fails to generalize to new data, resulting in high training performance but poor test performance. Underfitting (A) would show poor performance on both sets. Data leakage (C) could cause overly optimistic performance on both sets if test data leaks into training. High bias (D) is related to underfitting. QUESTION 6 In a hypothesis test, the p-value is found to be 0.03. If the significance level is 0.05, which of the following is the correct interpretation? A. There is a 3% chance that the null hypothesis is true. B. There is a 3% chance of observing a test statistic as extreme or more extreme than the one computed, assuming the null hypothesis is true. C. The alternative hypothesis is true with 97% probability. D. The effect size is 3%. CORRECT ANSWER B. There is a 3% chance of observing a test statistic as extreme or more extreme than the one computed, assuming the null
hypothesis is true. RATIONALE The p-value is the probability of obtaining a test statistic at least as extreme as the observed one, given that the null hypothesis is true. It is not the probability that the null hypothesis is true (A is a common misconception). It does not give the probability of the alternative hypothesis (C). It is not a measure of effect size (D). QUESTION 7 A dataset contains a variable 'income' with a few extremely high values. Which measure of central tendency is most robust to these outliers? A. Mean B. Median C. Mode D. Range CORRECT ANSWER B. Median RATIONALE The median is resistant to outliers because it depends on the position of the middle value, not the magnitude of extreme values. The mean (A) is sensitive to outliers. The mode (C) is not a measure of central tendency for continuous data and may not be informative. The range (D) is a measure of dispersion, not central tendency, and is also sensitive to outliers. QUESTION 8 An analyst is working with a dataset that has two variables: 'age' and 'income'. The correlation coefficient is 0.85. Which of the following statements is true?
Removing rows (A) loses data. Replacing with current date (C) introduces incorrect information. Ignoring the column (D) may discard valuable information. QUESTION 10 A researcher conducts an A/B test to compare two website designs. The p-value for the difference in conversion rates is 0.08. Which of the following is the most appropriate conclusion at a 5% significance level? A. There is significant evidence that the designs differ. B. There is no significant evidence that the designs differ. C. The designs are identical. D. The test is inconclusive because the p-value is greater than 0.05. CORRECT ANSWER B. There is no significant evidence that the designs differ. RATIONALE At a 5% significance level, a p-value of 0.08 is greater than 0.05, so we fail to reject the null hypothesis. Thus, there is no significant evidence of a difference. It does not mean the designs are identical (C is too strong). The test is not inconclusive; it provides a clear result (D is misleading). QUESTION 11 An analyst is exploring a dataset and finds that the 'age' variable has a bimodal distribution. Which of the following is the most appropriate visualization to confirm this? A. Boxplot B. Histogram C. Pie chart
D. Scatterplot CORRECT ANSWER B. Histogram RATIONALE A histogram is used to visualize the distribution of a continuous variable and can reveal bimodality. A boxplot (A) shows summary statistics but may not clearly show bimodality. A pie chart (C) is for categorical data. A scatterplot (D) is for relationships between two variables. QUESTION 12 In a dataset, a variable 'number_of_children' has values 0, 1, 2, 3, 4, 5, and a few values of 99 indicating 'unknown'. What is the best way to handle the 99 values? A. Treat them as actual values and include them in analysis. B. Replace them with the mean of the other values. C. Recode them as missing values (NA). D. Remove the entire variable from the dataset. CORRECT ANSWER C. Recode them as missing values (NA). RATIONALE Values like 99 are often used as codes for missing data. They should be recoded as missing (NA) to avoid skewing results. Treating them as actual values (A) would be incorrect. Replacing with mean (B) might be done after recoding, but first they must be recognized as missing. Removing the variable (D) may discard useful information. QUESTION 13 A data analyst is comparing the means of three independent groups using ANOVA. The ANOVA results show a p-value of 0.02.
depends on context. Outliers (C) can be handled without dropping the column. Normality (D) is not a reason to drop a column. QUESTION 15 A researcher calculates a 95% confidence interval for the mean difference between two groups as (0.5, 2.5). Which of the following is the correct interpretation? A. There is a 95% probability that the true mean difference lies between 0.5 and 2.5. B. We are 95% confident that the true mean difference lies between 0.5 and 2.5. C. 95% of the sample differences lie between 0.5 and 2.5. D. The mean difference is exactly 1.5 with 95% confidence. CORRECT ANSWER B. We are 95% confident that the true mean difference lies between 0.5 and 2.5. RATIONALE The correct interpretation of a confidence interval is that we are 95% confident that the interval contains the true parameter. It does not mean there is a 95% probability that the true value is in this specific interval (A is a common misconception). It is not about sample differences (C). It does not give a point estimate with confidence (D). QUESTION 16 In exploratory data analysis, an analyst creates a correlation matrix and finds that two predictor variables are highly correlated (r = 0.95). What is the potential issue when building a multiple regression model? A. Multicollinearity B. Heteroscedasticity
C. Autocorrelation D. Non-linearity CORRECT ANSWER A. Multicollinearity RATIONALE High correlation between predictors leads to multicollinearity, which can cause unstable coefficient estimates and inflated standard errors. Heteroscedasticity (B) refers to non-constant variance of errors. Autocorrelation (C) refers to correlated errors over time or space. Non- linearity (D) refers to a non-linear relationship between predictors and outcome. QUESTION 17 A data analyst is examining a dataset of employee salaries and notices that the distribution is right-skewed. Which measure of dispersion is most appropriate to report alongside the median? A. Standard deviation B. Interquartile range (IQR) C. Range D. Variance CORRECT ANSWER B. Interquartile range (IQR) RATIONALE For skewed distributions, the median and IQR are robust measures of central tendency and dispersion, respectively. Standard deviation (A) and variance (D) are sensitive to skewness and outliers. The range (C) is also sensitive to outliers and does not reflect the spread of the middle 50% of data.
Standardization (z-score normalization) transforms features to have mean 0 and standard deviation 1, which can improve the performance of algorithms sensitive to feature scales. It does not guarantee normality (A). It does not remove outliers (C). It does not reduce dimensionality (D). QUESTION 20 An analyst is interpreting the results of a linear regression model. The coefficient for a predictor variable is -2.5. Which of the following is the correct interpretation, assuming all other variables are held constant? A. A one-unit increase in the predictor is associated with a 2.5-unit decrease in the response variable. B. A one-unit increase in the predictor is associated with a 2.5-unit increase in the response variable. C. The predictor is not significantly related to the response variable. D. The predictor explains 2.5% of the variance in the response variable. CORRECT ANSWER A. A one-unit increase in the predictor is associated with a 2.5- unit decrease in the response variable. RATIONALE The coefficient represents the change in the response variable for a one-unit increase in the predictor, holding other variables constant. A negative coefficient indicates a decrease. It does not indicate an increase (B). Significance is determined by p-value, not coefficient alone (C). The coefficient does not directly give the percentage of variance explained (D). QUESTION 21 A data analyst is examining a dataset of customer ages and finds
that the distribution is heavily right-skewed. The analyst decides to replace missing age values with the median age. Which of the following best describes the primary reason for choosing the median over the mean in this context? A. The median is easier to compute than the mean. B. The median is less affected by extreme values in skewed distributions. C. The median always equals the mode in skewed distributions. D. The median uses all data points, whereas the mean does not. CORRECT ANSWER B. The median is less affected by extreme values in skewed distributions. RATIONALE In a right-skewed distribution, extreme high values pull the mean upward, making it unrepresentative of the typical value. The median, being the middle value, is robust to outliers and better represents central tendency in skewed data. Option A is incorrect because ease of computation is not the primary statistical reason. Option C is false; the median and mode are not always equal in skewed distributions. Option D is incorrect because the median does not use all data points in the same way the mean does; the mean uses every value. QUESTION 22 A dataset contains a variable 'income' with values ranging from $20,000 to $2,000,000. The analyst applies min-max normalization to scale income to [0,1]. Which of the following is a potential drawback of this approach? A. Min-max normalization assumes the data are normally distributed. B. Min-max normalization is sensitive to outliers, which can compress the majority of values into a small range.
heteroscedasticity. Linearity appears satisfied by the strong linear pattern. Independence and normality cannot be assessed from the described pattern alone. QUESTION 24 A data scientist is cleaning a dataset and finds that 15% of the values in a key variable are missing. The missingness appears to be related to the values themselves: higher values are more likely to be missing. Which type of missing data mechanism is this? A. Missing Completely at Random (MCAR) B. Missing at Random (MAR) C. Missing Not at Random (MNAR) D. Missing by Design (MBD) CORRECT ANSWER C. Missing Not at Random (MNAR) RATIONALE MNAR occurs when the probability of missingness depends on the unobserved value itself. Here, higher values are more likely missing, so the missingness is related to the value, which is MNAR. MCAR would mean missingness is unrelated to any variable. MAR would mean missingness depends on other observed variables but not the value itself. MBD is not a standard mechanism in this context. QUESTION 25 An analyst is comparing the means of two independent groups and performs a t-test. The sample sizes are small (n1=10, n2=12), and the data in each group appear roughly symmetric but with one outlier in each group. Which of the following is the most appropriate action? A. Proceed with the standard t-test because it is robust to outliers
with small samples. B. Use a non-parametric test such as the Mann-Whitney U test. C. Remove the outliers and then perform the t-test. D. Increase the sample size by duplicating existing data points. CORRECT ANSWER B. Use a non-parametric test such as the Mann-Whitney U test. RATIONALE With small samples and outliers, the t-test assumptions (normality and no extreme outliers) are questionable. A non-parametric test like Mann- Whitney U does not assume normality and is less sensitive to outliers. Option A is false; t-test is not robust with small samples and outliers. Option C is not recommended without justification; removing outliers can bias results. Option D is unethical and invalid. QUESTION 26 A dataset has a categorical variable with 10 levels. The analyst wants to use it in a regression model. Which encoding method is most appropriate to avoid the dummy variable trap? A. One-hot encoding with all 10 dummy variables. B. Label encoding with integers 1 to 10. C. One-hot encoding with 9 dummy variables (dropping one level). D. Binary encoding using 4 bits. CORRECT ANSWER C. One-hot encoding with 9 dummy variables (dropping one level). RATIONALE The dummy variable trap occurs when all dummy variables are included, leading to perfect multicollinearity. Dropping one level (reference category) avoids this. Option A includes all levels and causes multicollinearity. Option B imposes an arbitrary order and is not suitable for nominal variables. Option D is a compression method
D. Use the mode, flagging values that are not equal to the mode. CORRECT ANSWER B. Use the interquartile range (IQR) method, flagging values beyond Q1 - 1.5IQR or Q3 + 1.5IQR. RATIONALE** The IQR method is robust to skewness and outliers because it relies on quartiles. Mean and standard deviation are sensitive to outliers and skewness, so option A is not ideal. Option C uses range, which is also sensitive to outliers. Option D is not a standard outlier detection method. QUESTION 29 In exploratory data analysis, an analyst creates a box plot and notices that the median is not centered in the box, and the whiskers are of unequal length. What does this indicate about the distribution? A. The distribution is symmetric. B. The distribution is skewed. C. The distribution is bimodal. D. The distribution has no outliers. CORRECT ANSWER B. The distribution is skewed. RATIONALE In a box plot, if the median is not centered and whiskers are unequal, the distribution is skewed. A symmetric distribution would have a centered median and roughly equal whiskers. Bimodality is not directly indicated by box plots. Outliers are shown as points beyond whiskers, but their absence is not implied. QUESTION 30
A researcher conducts a hypothesis test and obtains a p-value of 0.03. Which of the following is the correct interpretation? A. There is a 3% chance that the null hypothesis is true. B. There is a 3% chance of observing a test statistic as extreme or more extreme than the one calculated, assuming the null hypothesis is true. C. There is a 97% chance that the alternative hypothesis is true. D. The effect size is 3%. CORRECT ANSWER B. There is a 3% chance of observing a test statistic as extreme or more extreme than the one calculated, assuming the null hypothesis is true. RATIONALE The p-value is the probability of obtaining a test statistic at least as extreme as the observed one, given that the null hypothesis is true. It is not the probability that the null hypothesis is true (A), nor the probability that the alternative is true (C). It does not measure effect size (D). QUESTION 31 A dataset contains a variable with values: 2, 4, 6, 8, 10. The analyst computes the variance using the population formula (dividing by N). What is the variance? A. 8 B. 10 C. 6 D. 4 CORRECT ANSWER A. 8