Hello.
In this chapter we're going to learn how to compute quantizer in our I'm going to use the same data
crame dream on and I'm going to compute some quantized for the variable income.
Namely I want to compute the following percentiles.
17 percent.
55 percent and 97 percent to that effect.
I will use the quantize function in the path back edge.
Now that the back edge love automatically when you start bar.
So you don't have to call it using the require function.
Now let's see how the quantized function looks like.
First of all you have to specify the variable in this case k is the variable income from the data rate.
The moon.
And then you introduce your percentile downtimes using the option provice.
Please don't forget that you have to concatenate the percentiles with the function the just like this.
So let's run this.
Here you have the desired quantizes for your for the variable income.
They are twenty four three three hundred thirty respective.
Now if you want to get the quartal so that quantized that divide the distribution in four equal parts
you'll have to use of or the corresponding percentages.
Here is the function.
So they are 0.25 25 percent 50 percent.
And seventy five percent.
So that's round there.
So the spotlight will be in 28 45 and 86 respectively.
That will go the trial.
Thank you.