Outlier treatment of negative value in R

linear_regression
r
outliers

#1

Hi,

I am doing linear regression in R and while doing outlier capping in the lower side (5%), I am getting some negative value. Please help me how to handle this nice problem.

Thanks in advance!


#2

Hi @manasdata,

Can you please describe more about the variable in which you are getting negative values as outlier. That would help us to clarify this doubt in a better way.

In general, if we have negative values as outliers, we can replace those with the mean or median of that variable. There can be other approaches too. Please share the dataset or describe the variable having these outliers for detailed answer.


#3

Thank You