ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 179 - MLS-C01 discussion

Report
Export

A Data Scientist is building a linear regression model and will use resulting p-values to evaluate the statistical significance of each coefficient. Upon inspection of the dataset, the Data Scientist discovers that most of the features are normally distributed. The plot of one feature in the dataset is shown in the graphic.

What transformation should the Data Scientist apply to satisfy the statistical assumptions of the linear regression model?

A.
Exponential transformation
Answers
A.
Exponential transformation
B.
Logarithmic transformation
Answers
B.
Logarithmic transformation
C.
Polynomial transformation
Answers
C.
Polynomial transformation
D.
Sinusoidal transformation
Answers
D.
Sinusoidal transformation
Suggested answer: B

Explanation:

The plot in the graphic shows a right-skewed distribution, which violates the assumption of normality for linear regression. To correct this, the Data Scientist should apply a logarithmic transformation to the feature. This will help to make the distribution more symmetric and closer to a normal distribution, which is a key assumption for linear regression.References:

Linear Regression

Linear Regression with Amazon Machine Learning

Machine Learning on AWS

asked 16/09/2024
Volkan Ozsoy
34 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first