May I confirm that the following command can calculate 20% quintile with the name "quintile_1"?
Code: Select all
scalar quintile_1 = @quantile(xxx, 0.2)I am not sure what I have done is correct because the answer is not the same when I calculate it in Excel by the function "percentile".
Thank you very much for your help!
