Start learning 50% faster. Sign in now
Replacing missing values with the mean or median is one of the most common methods used during data wrangling. This method is preferred when the missing values are not randomly distributed, and there is a need to fill gaps without introducing significant bias. The mean is often used for normally distributed data, while the median is preferred for skewed data, as it is less sensitive to outliers. This technique allows analysts to retain all the available data and proceed with analysis without losing important information, which could otherwise distort statistical analyses or machine learning models. Option A (Remove rows with missing data) is incorrect because it can lead to a significant loss of data, especially if the missing values are scattered across the dataset. Option B (Replace missing values with zeros) is not ideal because replacing with zeros can distort the analysis, especially if zeros don't make sense in the context of the data. Option D (Ignore the missing values) is not recommended as it might lead to biased results or inaccuracies in analysis. Option E (Use machine learning to predict missing values) is correct in advanced scenarios but typically used after more straightforward methods (like mean/median imputation) have been applied.
x, y and z are real numbers. If x3 + y3 + z3 = 13,x + y + z = 1 and xyz = 1, then what is the value of xy + yz + zx?...
If x1x2x3 = 4(4 + x1 + x2 + x3), then what is the value of [1/(2 + x1)] + [1/(2 + x2)] + [1/(2 + x3)]?
If (x - 1/x)2 = 3, then the value of x6 + 1/x6 equals
If a + b + c = 0 then the value of (1/(a+b)(b+c)) + (1/(b+c)(c+a)) + (1/(c+a)(a+b)) is
There are 6 blue pens, 5 black pens and 4 green pens in a bag. Three pens are chosen randomly.
Quantity I – The probability of their bein...
If a3 = 117 + b3 and a = 3 + b, then the value of a + b is:
10 women and 12 men complete a certain piece of work in 30 days, if each women takes thrice the time taken by a man to finish the work.
Quantity...
If 3x + 5y + 7z = 49 and 9x + 8y + 21z = 126, then what is the value of y?
The expression of (cot θ + cosec θ −1) / (cot θ − cosec θ+1) is equal to
If (a + b)/c = 6/5 and (b + c)/a = 9/2, then what is the value of (a + c)/b?