To handle the outliers in any hard rooms and rainfall, we will use the capping and flooring technique
discussed in Lichter's.
We will cap the upper value of and hot rooms to a value of three into 99 percentile, and we will cap
the lower value of for two point three into first person date.
For this, we need to know how to find out the value of a variable at a particular percentile level.
The method for this is to use quintile to relate quintile within bracket.
Relate.
D.F. dollar and hard rooms.
Coma, we will mention the percentile values or zero point nine.
If you'd unders.
In the desert, you can see fifteen point three nine nine is the 99 percentile value in in hot rooms
to be won three times of this value as the upper limit.
So we will assign you V a value of three times this.
So I'll copy paste.
This lane.
So about well, you get a number, which is forty six point two, which is three times fifteen point
three nine.
Now, for all we're losing in hot rooms, we will compare whether it is greater than you'll.
And if it is, we will see indeed that value to you.
We to do that.
We will wait.
Beef, dollar and hard rooms.
Within square brackets, we relate B F dollar and hard rooms.
Greater than EUI.
So all values of this variable greater than you, we should get the value you we.
Now, if you're on this, all the values which were beyond the movie range now have value, U.B..
Now, if we run UDD on this particular variable, we will somebody and within bracket will ADF dollar
and hotrods.
Run this.
You can see the median and mean are now much closer to.
And the maximum value is change to 46, which was earlier hundred and one.
So let's let us do the same thing for rainfall.
Rainfall has outlaid on the lower side, so we assign Elvie the value of point three times the first
quartile value to relate Elway's equal to zero point three times gone by.
And the variable is D.F. dollar rainfall.
And we want DeForest COINTEL.
So at this point due to one.
Do we have the law?
Well, you know, we've been done this.
There is another variable, Elvie, here, which has a value of six.
No, let us replace this value.
We will ride the F dollar rainfall.
And within square brackets, we will light D.F. dollar rainfall is less than this first court quantize
value.
These values will get Elvie input on this.
The values have been changed.
If we done EGD again on rainfall by somebody, B.F. dollar rainfall.
We again see that mean and median values are quite close now, and the minimum value, which was earlier,
probably three, is now six.
If you want to have a value of minimum value closer to the first quintile, you we could have used a
different multiplier than zero point three.
Probably that gave us a very low value.
But still, the median MediaNet quite close and we are happy with this.
So we have done the outlash treatment for the two variables that we wanted to treat.