Quantitative Methods in Social Science 360-300 • CEGEP, Montreal

Corrected exercises: Z scores, percentile ranks and the R score (360-300)

These ten corrected exercises, preceded by a list of calculations, cover the measures of POSITION in the Quantitative Methods course for Social Science, 360-300 at CEGEP, the ones that say where a person stands in a group: the Z score, the percentile rank, derived scales such as the intelligence quotient and the T score, the conversion between Z score and percentile rank through the normal distribution and the empirical rule, and the college performance score, the R score (cote R).

Exercise 0.1 opens the set with ten conversions to compute directly, as in textbook drill lists: the Z score of a mark above and then below the mean, the mark that matches a Z score, the standard deviation recovered from a mark, the intelligence quotient and the T score, IQ=15z+100IQ=15z+100 and T=10z+50T=10z+50, then the percentile rank, by the empirical rule and in a sorted list of ten marks. Each line has its value to find, checked as you type it.

By the end of the set, you can standardize a data set and say what the Z score keeps and destroys (exercise 1), convert between Z score, IQ and T score (exercise 2), compute a percentile rank with the convention of the course (exercise 3), go from a percentile rank to a Z score under the normal distribution (exercise 4), explain what the three parts of the R score correct, the Z score, the group strength indicator (IFG) and the indicator of the group's dispersion in secondary school (IDGS) (exercise 5), and compute the R score of a record weighted by units (exercise 9). The problems compare the same mark in a strong group and in a weak group (exercise 6), discuss the limits of the R score (exercise 7) and rank four candidates from four grading systems (exercise 10).

The thread of the set fits in one sentence: a measure of position never speaks about a performance, it speaks about a ranking within a given group, and the whole job is to know which group that is. It is because the Z score only compares within one group that the R score had to add a group strength indicator. Three pitfalls are named outright: the percentile rank mistaken for a percentage of correct answers (exercises 3 and 8), the Z score treated as a ratio scale (exercise 8), and the R score of the record computed as a simple mean instead of a mean weighted by units (exercises 8 and 9).

11 corrected exercises • 110 points • 150 minutes

This chapter is part of 360-300, every chapter with its set and sheet Before you start Revision sheet: the traps and the method for this chapter

Self-checking set Type your answers and check them question by question: the page tells you right or wrong before you open the solution. With an account, every answer right on the first try earns points, and your right answers stay filled in when you come back.

Course recap

  • • Z score: z=x−x‾sz=\dfrac{x-\overline{x}}{s}. The standardized data set ALWAYS has mean 0 and standard deviation 1: these two numbers carry no information.
  • • The Z score is invariant under any increasing affine transformation of the data: adding points for everyone or changing the scale does not change it.
  • • INTERVAL scale: differences between Z scores can be compared, ratios are meaningless. "Twice as good" is a mistake.
  • • Derived scales, all of the form y=az+by=az+b: intelligence quotient 15z+10015z+100, T score 10z+5010z+50, R score (z×IDGS+IFG)×5+25\left(z\times IDGS+IFG\right)\times 5+25.
  • • PERCENTILE RANK: the percentage of the group that lies BELOW. It is never 0 or 100, and it has nothing to do with the percentage of correct answers.
  • • Under the normal distribution: z=−2z=-2 is about rank 2, z=−1z=-1 about 16, z=0z=0 about 50, z=1z=1 about 84, z=2z=2 about 98. These landmarks are those of the empirical rule.
  • • Ten percentile ranks cost more the higher you are: from 0 to 1 standard deviation you gain 34 ranks, from 1 to 2 you gain only 14.
  • • The Z score compares a student to HIS OR HER group. The IFG, built on secondary school records, compares the GROUPS to each other.
  • • The IDGS compresses the Z score when the group was very homogeneous in secondary school, to cancel the inflation caused by an artificially small standard deviation.
  • • R score of the record: ∑uiCRCi∑ui\dfrac{\sum u_{i}CRC_{i}}{\sum u_{i}}, weighted by units and not by the number of courses.
  • • No R score is produced if the standard deviation of the group is zero or if the group is too small: the whole construction assumes variability.

Calculations: the conversions to compute

Exercise 0.1: Converting between marks, Z scores and derived scales: ten direct calculations

For each line, make the conversion asked for; the standard deviations given are those of the group. The percentile rank follows the convention of the course, PR=number of lower scores+0.5×number of other equal scoresn×100PR=\frac{\text{number of lower scores}+0.5\times\text{number of other equal scores}}{n}\times 100, and the score that matches a percentile rank PP is read at position P100×n\frac{P}{100}\times n of the sorted list.

One formula and its inverse: z=x−x‾sz=\frac{x-\overline{x}}{s} to go from a mark to a Z score, x=x‾+z sx=\overline{x}+z\,s to go back. Every derived scale is a Z score in disguise, y=a z+by=a\,z+b, where bb is the mean of the scale and aa its standard deviation: intelligence quotient 15z+10015z+100, T score 10z+5010z+50. To go from one scale to another, ALWAYS go through the Z score.

  • a) The Z score of a mark of 8181 in a group with mean 7272 and standard deviation 66.
  • b) The Z score of a mark of 5858 in a group with mean 6666 and standard deviation 55.
  • c) The mark that corresponds to a Z score of −0.75-0.75 in a group with mean 6464 and standard deviation 1212.
  • d) The standard deviation of a group with mean 7575 in which the mark 8585 has a Z score of 1.251.25.
  • e) The intelligence quotient that corresponds to a Z score of −0.6-0.6.
  • f) The T score that corresponds to an intelligence quotient of 112112.
  • g) The Z score that corresponds to a T score of 3636.
  • h) The approximate percentile rank, by the empirical rule, of a mark of 5353 in a group with mean 6262 and standard deviation 99, the distribution being normal.
  • i) The percentile rank of the mark 6767 in the sorted list 4747, 5454, 5959, 6262, 6767, 6767, 7272, 7575, 8181, 8989.
  • j) The mark that corresponds to the percentile rank 7070 in the same list.

Type your answers, the page tells you right or wrong 0/10

a)
b)
c)
d)
e)
f)
g)
h)
i)
j)
Show the solution

Answers

  • a) z=81−726z=\frac{81-72}{6}; z=1.5z=1.5
  • b) z=58−665z=\frac{58-66}{5}; z=−1.6z=-1.6
  • c) x=64+(−0.75)×12x=64+(-0.75)\times 12; x=55x=55
  • d) s=85−751.25s=\frac{85-75}{1.25}; s=8s=8
  • e) IQ=15×(−0.6)+100IQ=15\times(-0.6)+100; IQ=91IQ=91
  • f) z=0.8z=0.8, T=10z+50T=10z+50; T=58T=58
  • g) z=36−5010z=\frac{36-50}{10}; z=−1.4z=-1.4
  • h) z=−1z=-1, empirical rule; percentile rank 1616
  • i) PR=4+0.510×100PR=\frac{4+0.5}{10}\times 100; PR=45PR=45
  • j) position 77; mark 7272

The move that decides everything: write the formula BEFORE substituting, and keep the sign. A negative Z score means "below the mean", which is not an error; and a derived scale is never converted directly into another one, you go back through zz.

a)

z=81−726=96=1.5z=\frac{81-72}{6}=\frac{9}{6}=1.5: the mark is one and a half standard deviations above the mean.

b)

z=58−665=−85=−1.6z=\frac{58-66}{5}=\frac{-8}{5}=-1.6. Pitfall: writing 66−585=1.6\frac{66-58}{5}=1.6, with the numerator reversed, which puts a mark that is below the mean above it.

c)

x=x‾+z s=64+(−0.75)×12=64−9=55x=\overline{x}+z\,s=64+(-0.75)\times 12=64-9=55. Pitfall: dropping the sign of zz, which gives 7373, a mark above the mean for a negative Z score.

d)

From z=x−x‾sz=\frac{x-\overline{x}}{s} we get s=x−x‾z=85−751.25=8s=\frac{x-\overline{x}}{z}=\frac{85-75}{1.25}=8. Pitfall: multiplying, 10×1.25=12.510\times 1.25=12.5, when the standard deviation is in the DENOMINATOR.

e)

IQ=15z+100=15×(−0.6)+100=−9+100=91IQ=15z+100=15\times(-0.6)+100=-9+100=91.

f)

Go back through the Z score: z=112−10015=1215=0.8z=\frac{112-100}{15}=\frac{12}{15}=0.8, then T=10z+50=8+50=58T=10z+50=8+50=58. Pitfall: converting directly, 112−100+50=62112-100+50=62, as if the two scales had the same standard deviation.

g)

z=T−5010=36−5010=−1.4z=\frac{T-50}{10}=\frac{36-50}{10}=-1.4.

h)

z=53−629=−1z=\frac{53-62}{9}=-1. The empirical rule puts 68%68\% of the observations between z=−1z=-1 and z=1z=1, so 100−682=16%\frac{100-68}{2}=16\% lie below z=−1z=-1: percentile rank 1616. Pitfall: answering 3232, the total share outside the interval, instead of its lower half.

i)

Four marks are below 6767, namely 4747, 5454, 5959 and 6262, and one other mark is equal to it: PR=4+0.5×110×100=45PR=\frac{4+0.5\times 1}{10}\times 100=45. Pitfall: counting the tie in full, which gives 5050, or forgetting it, which gives 4040.

j)

Position 70100×10=7\frac{70}{100}\times 10=7: the seventh value of the sorted list, that is 7272. Pitfall: reading the percentile rank 7070 as 70%70\% of the top mark, when it designates a POSITION in the group.

Check: every conversion can be redone backwards. In c), 55−6412=−0.75\frac{55-64}{12}=-0.75; in d), 75+1.25×8=8575+1.25\times 8=85; in f), the T score of 5858 gives back z=0.8z=0.8 and then an intelligence quotient of 112112. A Z score and its mark are always on the same side of the mean.

Tick the exercises you have done or want to review: a free account, no password, keeps your ticks and your right answers from one visit to the next, tells you which chapter to tackle next and lets you ask for the exercise you are missing. Create your space, an email is enough.

Part A: the basics (/50)

Exercise 1: Standardizing: what the Z score keeps and what it destroys

The Z score replaces each value by its distance from the mean, counted in standard deviations: z=x−x‾sz=\dfrac{x-\overline{x}}{s}. The operation looks harmless, yet it completely changes what the number says.

Five exam results: 70, 74, 78, 82, 86.

66707478828690points
  • a) Compute the mean and the population standard deviation of this data set, then the five Z scores.
  • b) Check that the Z scores add up to zero and that their standard deviation is 1. Explain why this is always true.
  • c) Everyone is given 5 extra points. What happens to the Z scores? And if all the marks are multiplied by 1.2?
  • d) A Z score of −1.5-1.5 in one course and of +0.4+0.4 in another: what can be compared, and what cannot?
  • e) What information does standardization DESTROY? Give a case where this loss is serious.

Type your answers, the page tells you right or wrong 0/15

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) Mean 7878, variance 3232, σ≈5.657\sigma\approx 5.657; Z scores −1.414-1.414, −0.707-0.707, 00, 0.7070.707, 1.4141.414
  • b) Sum zero and standard deviation 1, always: the deviations from the mean add up to zero, and dividing by ss divides the standard deviation
  • c) Unchanged in both cases: the Z score is invariant under any increasing affine transformation
  • d) Relative positions, never levels: the Z score compares a student to HIS OR HER group
  • e) The absolute level and the unit; a 4848 in a group with mean 4040 gives z=+1z=+1 without a pass
a)

Mean: 70+74+78+82+865=3905=78\dfrac{70+74+78+82+86}{5}=\dfrac{390}{5}=78. Deviations from the mean: −8-8, −4-4, 00, 44, 88; their squares: 64, 16, 0, 16, 64, with sum 160. Population variance: 1605=32\dfrac{160}{5}=32, so σ=32≈5.657\sigma=\sqrt{32}\approx 5.657. Z scores: −1.414-1.414, −0.707-0.707, 00, 0.7070.707 and 1.4141.414.

b)

The Z scores add up to −1.414−0.707+0+0.707+1.414=0-1.414-0.707+0+0.707+1.414=0. This is always true because ∑zi=∑(xi−x‾)s\sum z_{i}=\dfrac{\sum \left(x_{i}-\overline{x}\right)}{s} and the sum of the deviations from the mean is zero by the very definition of the mean. As for the standard deviation of the Z scores, σz=σxs=1\sigma_{z}=\dfrac{\sigma_{x}}{s}=1, since dividing a whole data set by a constant divides its standard deviation by that same constant. A standardized data set therefore ALWAYS has mean 0 and standard deviation 1: these two numbers carry no information, they are imposed by the construction.

c)

Adding 5 points to everyone shifts the mean by 5 and leaves the standard deviation unchanged: each numerator xi+5−(x‾+5)x_{i}+5-\left(\overline{x}+5\right) gives back xi−x‾x_{i}-\overline{x}, so the Z scores are UNCHANGED. Multiplying by 1.2 multiplies both the mean and the standard deviation by 1.2: the numerator and the denominator are both multiplied by 1.2, and the Z scores are still UNCHANGED. This is why standardization is the right tool for comparing teachers who do not mark on the same scale: it is insensitive to any increasing affine transformation.

d)

We can compare RELATIVE POSITIONS: the student is well below the group in the first course and slightly above it in the second. We can NOT conclude that the student has a better command of the second subject, or that the two groups are at a comparable level: a Z score of +0.4+0.4 in a weak group may correspond to a lower command of the material than a score of −1.5-1.5 in a very strong group. The Z score compares a student to HIS OR HER group, never two groups to each other. This is precisely the gap that the R score comes to fill.

e)

Standardization destroys the ABSOLUTE LEVEL and the UNIT. After the transformation, we no longer know whether the mean of the group was 45 or 85, or whether the exam was out of 20 or out of 100. The serious case is a group in which everyone failed: a student who gets 48 out of 100 in a group with mean 40 shows a flattering Z score of +1+1 without having reached the passing mark. The Z score never says whether a goal was reached, only where one stands relative to the others. Any decision about a competency, as opposed to a ranking, must therefore go back to the raw mark.

66707478828690−2−1012marksZ scoremean 78, s = 5.66

Exercise 2: From Z to derived scales: IQ, T score and R score

Nobody likes reading a negative mark. All the test scales used in the social sciences are therefore Z scores in disguise, put through an affine transformation y=az+by=a z+b, where bb is the desired mean and aa the desired standard deviation.

−3−2−10123Z557085100115130145IQ20304050607080T score10152025303540R score
  • a) The intelligence quotient is built with a mean of 100 and a standard deviation of 15. Write the formula and compute the IQ that corresponds to z=1.2z=1.2.
  • b) The T score has mean 50 and standard deviation 10. Convert a T score of 63 into a Z score, then into an IQ.
  • c) The R score, in its original form, is (z+IFG)×5+25\left(z+IFG\right)\times 5+25. What is the mean R score in a group whose strength indicator is 0.80.8?
  • d) An IQ score of 128: what Z score, and what T score?
  • e) Why do all these scales use a standard deviation other than 1?

Type your answers, the page tells you right or wrong 0/12

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) IQ=15z+100IQ=15z+100, so 15×1.2+100=11815\times 1.2+100=118, about the 88th percentile rank
  • b) z=63−5010=1.3z=\dfrac{63-50}{10}=1.3, that is IQ=119.5IQ=119.5
  • c) (0+0.8)×5+25=29(0+0.8)\times 5+25=29: the IFG shifts the whole distribution of the group
  • d) z=2815≈1.867z=\dfrac{28}{15}\approx 1.867 and T≈68.7T\approx 68.7
  • e) To avoid negatives, to write integers that are fine enough, and, less admittedly, to hide the relative nature of the score
a)

IQ=15z+100IQ=15z+100. For z=1.2z=1.2: IQ=15×1.2+100=18+100=118IQ=15\times 1.2+100=18+100=118. The correct reading is that the person stands 1.2 standard deviations above the mean of the age group, which, under a normal distribution, corresponds to about the 88th percentile rank. The number 118 has no existence of its own: it is a position disguised as a quantity.

b)

T=10z+50T=10z+50, so z=T−5010=63−5010=1.3z=\dfrac{T-50}{10}=\dfrac{63-50}{10}=1.3. As an IQ: 15×1.3+100=19.5+100=119.515\times 1.3+100=19.5+100=119.5, or about 120. Note that the two numbers, 63 and 119.5, describe exactly the same position: going from one to the other only changes the unit, like going from centimetres to inches.

c)

In any group, the mean of the Z scores is 0 by construction. The mean R score is therefore (0+0.8)×5+25=4+25=29\left(0+0.8\right)\times 5+25=4+25=29. This is the exact effect of the group strength indicator: it SHIFTS the whole distribution of the group's R scores up or down, without changing the gaps between students of the same group. A strong group, with a high IFG, sees all its R scores rise together.

d)

z=128−10015=2815≈1.867z=\dfrac{128-100}{15}=\dfrac{28}{15}\approx 1.867. Corresponding T score: 10×1.867+50≈68.710\times 1.867+50\approx 68.7. Consistency can be checked another way: 128 is a little under two standard deviations above 100, and 68.7 is a little under two standard deviations above 50. The two scales tell the same story.

e)

For three practical reasons. First, a standard deviation of 1 would give scores between −3-3 and 33, with negatives and decimals, which users reject. Second, a larger standard deviation makes it possible to write INTEGERS that are fine enough: with the IQ, a difference of one point represents 115\dfrac{1}{15} of a standard deviation, a convenient resolution. Finally, the chosen scale hides the relative nature of the score, which is a commercial advantage and a scientific flaw: nobody asks "118 compared to whom?", when that is the only question worth asking.

Exercise 3: The percentile rank: a position, not a percentage

The percentile rank says what proportion of the group lies BELOW. It is commonly confused with the percentage of correct answers, and the two have nothing to do with each other.

Results of 20 students, sorted: 52, 55, 58, 60, 61, 63, 65, 66, 68, 70, 71, 73, 74, 76, 78, 80, 83, 86, 90, 94.

The graph below shows the data.

5060708090
  • a) Give the definition of the percentile rank and compute that of the mark 71, with the convention PR=number below+0.5×number of tiesn×100PR=\dfrac{\text{number below}+0.5\times \text{number of ties}}{n}\times 100.
  • b) Compute the percentile rank of 94, the top mark. Can it be 100?
  • c) A student gets 71 out of 100 and a percentile rank of 52.5. Explain to a parent why these two numbers do not mean the same thing.
  • d) Which mark corresponds to the percentile rank 75? Use the position 75100×20=15\dfrac{75}{100}\times 20=15.
  • e) Two students are 12 marks and 5 percentile ranks apart; two others, 2 marks and 20 percentile ranks apart. How is that possible?

Type your answers, the page tells you right or wrong 0/14

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) Ten marks below: PR=50PR=50 with the strict convention, 52.552.5 when the mark counts for half
  • b) PR=95PR=95, or 97.597.5; never 100100, since a value is not strictly above itself
  • c) The mark says what was learned, the percentile rank says where one stands; limited-enrolment admission only looks at the second
  • d) Position 1515, so the mark 7878; this is not "75%75\% of the top mark"
  • e) Because the percentile rank follows the density: sparse at the ends, dense at the centre. It is therefore ordinal
a)

The percentile rank of a value is the percentage of the observations that are BELOW it, ties counting for half. The mark 71 is in 11th place; ten marks are below it and there are no ties, so PR=10+020×100=50PR=\dfrac{10+0}{20}\times 100=50. With the convention that counts the value itself for half, we would get 10+0.520×100=52.5\dfrac{10+0.5}{20}\times 100=52.5: both conventions are in circulation, and a serious problem statement says which one it uses, since the gap can reach several ranks on a small sample.

b)

For 94, nineteen marks are below: PR=1920×100=95PR=\dfrac{19}{20}\times 100=95, or 97.5 with the second convention. The percentile rank can never be 100, since an observation cannot be strictly above itself: there is always at least one value, its own, that is not below. Symmetrically, rank 0 is impossible. Software that displays "percentile rank 100" has rounded.

c)

The mark of 71 out of 100 measures a PERFORMANCE: the share of the exam that was answered correctly, judged against the content. The percentile rank of 52.5 measures a POSITION: about half of the group did worse. The two can diverge completely. On a very hard exam, a mark of 45 may correspond to rank 95; on an easy exam, a mark of 88 may correspond to rank 30. What to tell the parent: the mark answers "what did the student learn?", the percentile rank answers "where does the student stand?", and a limited-enrolment admission file only cares about the second question.

d)

Position 15 corresponds to the 15th value of the sorted list, that is 78. We could refine this by interpolating between the 15th and 16th values, but with 20 observations the precision displayed would be illusory. Above all, remember that percentile rank 75 is not "75% of the top mark": here it is worth 78 points, and it could have been worth 40 in a weaker group.

e)

Because the percentile rank depends on the DENSITY of the observations in the region concerned. At the ends of the distribution, where observations are sparse, it takes many points to gain a few ranks: from 83 to 94, eleven points, only three observations are passed (86, 90 and 94). In the centre, where everyone is crowded together, the same distance goes much further: from 60 to 66, six points, four observations are passed (61, 63, 65 and 66). On this list of twenty, each observation passed is worth 5 ranks, so the three observations passed at the top gain 15 ranks over eleven points, and the four passed in the middle gain 20 ranks over six points. This is the direct translation of the bell shape: the same distance in marks is not worth the same number of ranks depending on where you are, and this is why the percentile rank is not an interval scale.

Exercise 4: From the percentile rank to the Z score through the normal distribution

When the distribution is approximately normal, the percentile rank and the Z score can be deduced from each other. The normal table makes the conversion, and the empirical rule already gives its landmarks.

−3−2−10123Z score
  • a) State the empirical rule and deduce the percentile ranks associated with z=−2z=-2, −1-1, 00, 11 and 22.
  • b) A test has a mean of 500 and a standard deviation of 100. Which score corresponds to the percentile rank 84? To the percentile rank 16?
  • c) A university keeps only the top 10%. Given that z=1.28z=1.28 leaves 90% below, what score must be reached?
  • d) Two students have Z scores of 1.0 and 2.0. Is the percentile-rank gap the same as between 0.0 and 1.0? Compute it.
  • e) The distribution of the marks in the course is strongly skewed. What happens to this conversion between Z and percentile rank?

Type your answers, the page tells you right or wrong 0/15

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) Ranks 2.52.5, 1616, 5050, 8484 and 97.597.5 for z=−2z=-2, −1-1, 00, 11, 22
  • b) Rank 84: 600600. Rank 16: 400400
  • c) 500+1.28×100=628500+1.28\times 100=628
  • d) No: 3434 ranks between z=0z=0 and 11, only 13.513.5 between z=1z=1 and 22
  • e) It stops being valid: without normality, Chebyshev only guarantees 14\dfrac{1}{4} beyond two standard deviations
a)

Empirical rule: about 68% of the observations fall within [μ−σ,μ+σ]\left[\mu-\sigma, \mu+\sigma\right], about 95% within [μ−2σ,μ+2σ]\left[\mu-2\sigma, \mu+2\sigma\right] and about 99.7% within three standard deviations. By symmetry, below z=−1z=-1 there remains 100−682=16%\dfrac{100-68}{2}=16\%, so the percentile rank of z=−1z=-1 is 16, and that of z=1z=1 is 16+68=8416+68=84. Below z=−2z=-2: 100−952=2.5%\dfrac{100-95}{2}=2.5\%, rounded to 2 with the exact values of the table, and z=2z=2 corresponds to rank 98. Finally z=0z=0 is the median, rank 50.

b)

Percentile rank 84 is z=1z=1, so the score is 500+1×100=600500+1\times 100=600. Percentile rank 16 is z=−1z=-1, so 500−100=400500-100=400. These two values enclose the central two thirds of the candidates: a score of 600 places you above about five candidates out of six.

c)

We need z=1.28z=1.28, so a score of 500+1.28×100=628500+1.28\times 100=628. Note in passing that gaining the six percentile ranks between 84 and 90 costs 28 score points, while the 34 ranks between 50 and 84 cost 100: the progression is not linear, and it gets more and more expensive as you climb.

d)

No, the gap is not the same. Between z=0z=0 and z=1z=1: from 50 to 84, that is 34 ranks. Between z=1z=1 and z=2z=2: from 84 to 97.5 (98 with the rounded landmark), that is about 13.5 ranks, or 14 rounded to the unit. The same one-standard-deviation gap is therefore worth more than twice as many ranks at the centre as at the edge, because the density of the curve is much higher there. This is the numerical demonstration of the point made in the previous exercise: the percentile rank is ORDINAL, it cannot be subtracted.

e)

The conversion stops being valid. The correspondences z=1z=1 to rank 84 and z=2z=2 to rank 98 are properties of the NORMAL distribution, not properties of the Z score. On a distribution stretched toward the right, such as incomes or response times, a Z score of 1 may correspond to rank 90 or more. The Z score remains computable and interpretable as a distance in standard deviations, but any conversion into a percentile rank requires either normality or the empirical distribution itself. A useful reminder of Chebyshev's inequality: with no assumption about shape, all we know is that at most 14\dfrac{1}{4} of the observations lie beyond two standard deviations of the mean, which is much looser than the 5% of the normal distribution.

−3−2−1012368%13.6%13.6%rank 2rank 16rank 84rank 98
The empirical rule: 68% between −1 and 1, 13.6% on each side out to 2; percentile ranks 2, 16, 84 and 98.
200300400500600700800628: z = 1.28top 10%
The top 10% start at z = 1.28, that is at a score of 628.

Exercise 5: The R score: what each of its three parts corrects

The college R score, or R score (cote de rendement au collégial, CRC), is the number that decides competitive university admissions in Quebec. It is built with exactly the tools of this chapter, and each of its pieces answers a precise objection.

Current formula: CRC=(z×IDGS+IFG)×5+25CRC=\left(z\times IDGS+IFG\right)\times 5+25, where zz is the student's Z score in the course group, IFGIFG the group strength indicator (indicateur de force du groupe) and IDGSIDGS the indicator of the group's dispersion in secondary school (indicateur de dispersion du groupe au secondaire). The acronyms come from the French names and are the ones printed in Quebec documents.

  • a) Which objection does the Z score answer? What would happen if applications were ranked on the raw average?
  • b) Which objection does the group strength indicator answer?
  • c) Why multiply by 5 and add 25?
  • d) Compute the R score of a student with z=1.4z=1.4, in a group where IFG=0.9IFG=0.9 and IDGS=1.0IDGS=1.0. Then in a group where IFG=0.3IFG=0.3.
  • e) The IDGS corrects for the dispersion of the group in secondary school. Compute the R score of the same student with IDGS=0.85IDGS=0.85 and IFG=0.9IFG=0.9, and explain the meaning of the correction.

Type your answers, the page tells you right or wrong 0/12

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) The uneven severity of markers; on the raw average, a generous marker would be worth free points
  • b) The symmetric objection: after standardization, all groups have the same mean although they are not at the same level
  • c) Cosmetic: one standard deviation is worth 55 points, and +25+25 eliminates negatives; the ranking is unchanged
  • d) 36.536.5 with IFG=0.9IFG=0.9, 33.533.5 with IFG=0.3IFG=0.3: three points for the same relative performance
  • e) (1.4×0.85+0.9)×5+25≈35.45(1.4\times 0.85+0.9)\times 5+25\approx 35.45: the IDGS compresses a Z score inflated by the homogeneity of the group
a)

The Z score answers the objection of TEACHERS WHO DO NOT MARK ALIKE. If applications were ranked on the raw average, one student would land with a generous marker and gain points without learning anything more, while another, in a course known for low averages, would be penalized for the whole university career. By standardizing within each course group, we erase the severity of the marker and the scale of the exam, since the Z score is invariant under any increasing affine transformation of the marks.

b)

The group strength indicator answers the SYMMETRIC objection: after standardization, all groups have the same mean, 0, whereas the groups are not at the same level. Without the IFG, an average student in a very strong group and an average student in a very weak group would have exactly the same score, which would encourage people to pick the weakest groups possible. The IFG is estimated from the SECONDARY school records of the group's members, that is from information that comes before and from outside the course, and it shifts all the scores of the group up or down.

c)

For purely cosmetic and practical reasons, exactly as for the IQ. Multiplying by 5 spreads the scale so that one standard deviation is worth 5 R score points, which gives a convenient resolution. Adding 25 eliminates negative values: nearly all scores then fall between 15 and 35. It must be stressed that these two operations change nothing about the RANKING: they are affine and increasing, so the order of the students is strictly the same as with the raw Z scores.

d)

With IFG=0.9IFG=0.9: CRC=(1.4×1.0+0.9)×5+25=2.3×5+25=11.5+25=36.5CRC=\left(1.4\times 1.0+0.9\right)\times 5+25=2.3\times 5+25=11.5+25=36.5. With IFG=0.3IFG=0.3: CRC=(1.4+0.3)×5+25=1.7×5+25=8.5+25=33.5CRC=\left(1.4+0.3\right)\times 5+25=1.7\times 5+25=8.5+25=33.5. Three R score points of difference for the same relative performance, only because of the level of the group. On a full record, such a gap moves a candidate by several hundred places in a competitive program, which explains why the construction of the IFG is closely monitored.

e)

CRC=(1.4×0.85+0.9)×5+25=(1.19+0.9)×5+25=2.09×5+25≈35.45CRC=\left(1.4\times 0.85+0.9\right)\times 5+25=\left(1.19+0.9\right)\times 5+25=2.09\times 5+25\approx 35.45. The correction costs about one point. Its meaning: in a group that was very HOMOGENEOUS in secondary school, the standard deviation of the course marks is artificially small, so that an ordinary performance produces an inflated Z score. The IDGS, below 1 in this case, compresses the Z score to cancel that inflation. It is the answer to a third objection: without it, a student would gain by ending up in a group where everyone looks alike.

Part B: problems and reasoning (/50)

Exercise 6: Two groups, one mark

The textbook case of the chapter, and the question students ask every semester: is it better to be in a strong group or in a weak group?

In two groups of the same course, a given student gets 78. Group A has a mean of 70 and a standard deviation of 4; group B has a mean of 82 and a standard deviation of 4.

58626670747882869094group Agroup B
  • a) Compute the student's Z score in each group.
  • b) The strength indicators are 0.4 for group A and 1.1 for group B, the IDGS being 1 in both cases. Compute the two R scores and compare.
  • c) Does a student gain by enrolling in a weak group? Answer by separating the effect of the Z score from that of the IFG.
  • d) The standard deviation of group A goes from 4 to 8, the mean staying at 70. What happens to the student's Z score, and why?
  • e) A student gets 78 in a group where everyone has exactly 78. What is the Z score, and how does the system handle this case?

Type your answers, the page tells you right or wrong 0/14

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) zA=2.0z_{A}=2.0 and zB=−1.0z_{B}=-1.0 for the same mark of 7878
  • b) 3737 and 25.525.5: 11.511.5 points apart, the IFG making up only 3.53.5
  • c) Yes through the Z score, no through the IFG; the compensation is partial, so the residual advantage is modest
  • d) z=88=1.0z=\dfrac{8}{8}=1.0, half as much: eight points above the mean is commonplace in a spread-out group
  • e) Zero standard deviation, undefined Z score: no R score is produced and the course is removed from the record
a)

In group A: z=78−704=2.0z=\dfrac{78-70}{4}=2.0. In group B: z=78−824=−1.0z=\dfrac{78-82}{4}=-1.0. The same mark of 78 is therefore worth two standard deviations above in one case and one standard deviation below in the other: this is the largest gap met in practice, and it shows why a raw mark means nothing without its group.

b)

Group A: CRC=(2.0+0.4)×5+25=2.4×5+25=37CRC=\left(2.0+0.4\right)\times 5+25=2.4\times 5+25=37. Group B: CRC=(−1.0+1.1)×5+25=0.1×5+25=25.5CRC=\left(-1.0+1.1\right)\times 5+25=0.1\times 5+25=25.5. The gap is 11.5 R score points, enormous. The group strength correction, which gives group B 0.7 more Z points, that is 3.5 R score points, is very far from making up for the three standard deviations that separate the two relative positions.

c)

The two effects must be separated. Through the Z score, yes: in a weak group, the same absolute performance ranks higher, and the Z score rises. Through the IFG, no: a weak group has a lower IFG, and all its R scores are lowered by the same amount. The calculation shows that the compensation is PARTIAL, because the IFG is estimated from secondary school records and varies by only about one point from one extreme to the other, whereas the Z score can vary by three. In practice, the residual advantage of a weak group exists but remains modest, and it vanishes as soon as the weak group teaches less well, which is paid for in later courses. The honest answer to give a student is therefore: this parameter is marginal compared with the work put in, and it cannot be controlled at registration time.

d)

z=78−708=1.0z=\dfrac{78-70}{8}=1.0 instead of 2.0. The Z score is HALVED although neither the mark nor the mean has moved. The reason is that the Z score measures a distance in standard-deviation units: in a very spread-out group, eight points above the mean is commonplace, while in a homogeneous group it is exceptional. This is exactly the phenomenon that the IDGS comes to correct when the homogeneity comes from recruitment rather than from the course.

e)

The standard deviation of the group is 0, and the Z score would be 00\dfrac{0}{0}, therefore undefined. The system then computes no Z score: the regulations provide that no R score is produced when the dispersion is zero or the group is too small, in practice fewer than six students with a usable CEGEP record. The course is then removed from the calculation of the record, without penalty. This is an important reminder: the whole construction rests on the existence of variability in the group, and it makes no sense without it.

Exercise 7: The limits of the R score

The R score is a good instrument that is poorly understood. Its limits are known and documented, and they all follow from the fact that it is a RELATIVE measure built on groups of finite size.

  • a) A course has only 8 students. Why is the Z score less stable there? Illustrate with the effect of one very strong student leaving.
  • b) A student retakes a failed course and gets an excellent mark. How does the record take this into account, and what criticism does it raise?
  • c) Why can the same student's R score vary by several points from one semester to the next without any change in his or her work?
  • d) A university program requires an R score of 30. Two candidates show 29.8 and 30.2. What should we make of this cutoff?
  • e) Is the R score comparable from one CEGEP to another? Justify from the formula.

Type your answers, the page tells you right or wrong 0/13

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) zz goes from 0.6760.676 to 1.5811.581 after the 9595 leaves: more than four R score points gained for nothing
  • b) Both results count; the criticism is that a bad start weighs durably and discourages risk-taking
  • c) Because the composition of the group, the IFG and the weighting in units change without the student
  • d) Administrative cutoff: 0.40.4 R score points is indistinguishable, it is the noise of the instrument
  • e) Yes, but only through the IFG, built on secondary school marks standardized across Quebec
a)

With 8 students, the mean and especially the standard deviation of the group are estimated from very few observations, so they are very sensitive to each value. If the group included a student at 95 and that student drops out, the mean falls and the standard deviation DROPS: the other Z scores are recomputed on a tighter base, and those of the good students rise mechanically. A numerical example: on the marks 60, 64, 68, 70, 72, 76, 80 and 95, the mean is 73.125 and the population standard deviation about 10.17; the student at 80 has a Z score of 0.676. Without the 95, the mean falls to 70 and the standard deviation to 6.32, and the same 80 is now worth 1.58. The R score gains more than four points without the student having done anything. This is precisely why a minimum group size is imposed.

b)

Both results count: the failure goes into the record with its score, and the retake with its own, each weighted by the units of the course. Nothing erases the failure. The criticism is twofold: it durably penalizes a bad start, often linked to circumstances outside school, and it discourages risk-taking, since a student has every interest in never enrolling in a difficult course outside his or her program. In practice, a whole semester ruined for health reasons can be removed from the calculation on request, but that is an administrative procedure, not an automatic mechanism.

c)

Because three of the four ingredients of the formula do not depend on the student. The composition of the group changes every semester, so the mean and the standard deviation on which the Z score is computed change too; the IFG changes with the cohort; the courses taken do not have the same weighting in units. A perfectly consistent student will therefore see the score fluctuate by a point or two from one semester to the next, which is the normal noise of the instrument.

d)

The cutoff is administrative, not statistical. The gap of 0.4 R score points corresponds to less than a tenth of a standard deviation of performance, that is, to an indistinguishable difference, of the same order as the noise described in the previous question. Treating 29.8 and 30.2 as two distinct cases is a management choice that nothing in the measure justifies. What can correctly be said: the R score ranks large groups well, and it does not decide between two neighbouring files. Programs that know this complete the ranking with a letter, an interview or a test.

e)

Yes, in principle, and that is the whole point of the construction. The first term, the Z score, is computed inside a course group of a given CEGEP, which allows no direct comparison between institutions. It is the IFG that makes comparison possible, because it is built on a COMMON reference outside the CEGEPs, the secondary school marks, themselves standardized across Quebec. Comparability therefore rests entirely on the quality of that reference: if secondary school marks were themselves incomparable from one school to another, the whole edifice would lose its foothold. This is the fundamental objection that regularly comes back in public debate.

Exercise 8: Five statements to correct

Each of the following five statements is FALSE. Say why and give the correct statement.

  • 1) "My percentile rank is 80, so I got 80% on the exam."
  • 2) "A Z score of 2 is twice as good as a Z score of 1."
  • 3) "Everyone in my group got 85, so everyone has a high R score."
  • 4) "Going from percentile rank 50 to rank 60 takes the same effort as going from rank 85 to rank 95."
  • 5) "A student's R score is the arithmetic mean of the R scores of his or her courses."

Type your answers, the page tells you right or wrong 0/10

1)
2)
3)
4)
5)
Show the solution

Answers

  • 1) FALSE: percentile rank 80 says that 80%80\% of the group did worse, and nothing about the mark
  • 2) FALSE: interval scale, ratios are meaningless; from 1 to 2 you gain 14 ranks, from 0 to 1 you gain 34
  • 3) FALSE, and the opposite: zero standard deviation, so no R score is produced and the course is removed
  • 4) FALSE: 0.2530.253 standard deviation against 0.6090.609, nearly two and a half times as much
  • 5) FALSE: it is a mean WEIGHTED by the units, ∑uiCRCi∑ui\dfrac{\sum u_{i}CRC_{i}}{\sum u_{i}}
1)

FALSE. Percentile rank 80 means that 80% of the group did WORSE, and says nothing about the mark. On a hard exam, it can correspond to 58 out of 100; on an easy exam, to 92. Correct statement: the percentile rank is a position in a group, the mark is a performance on a body of content, and the two coincide only by chance.

2)

FALSE. The Z score is an INTERVAL scale, with a conventional zero placed at the mean: ratios are meaningless on it, exactly as for degrees Celsius. Going from 1 to 2 also corresponds to gaining only 14 percentile ranks, against 34 for going from 0 to 1. Correct statement: a Z score of 2 is one standard deviation higher than a score of 1, which is a considerable gap, but the expression "twice as good" has no meaning.

3)

FALSE, and in fact the opposite. If everyone got 85, the standard deviation of the group is zero, the Z score is undefined and no R score is produced for that course; it is removed from the record. More generally, in a very homogeneous group the standard deviation is small and the Z scores are extreme in both directions, which benefits some and heavily penalizes others. Correct statement: the R score exists only if there is variability in the group, and a high mark shared by everyone produces no advantage.

4)

FALSE. Percentile ranks are not equally spaced in performance. Under a normal distribution, going from rank 50 to rank 60 takes about 0.25 standard deviation; going from rank 85 to rank 95 takes about 0.60, nearly two and a half times as much. Correct statement: ten percentile ranks cost more the higher you are, because the density of the distribution decreases toward the ends.

5)

FALSE. The CEGEP record is a mean WEIGHTED by the number of units of each course: a 3-unit course weighs more than a 1-unit course, and physical education or make-up courses do not carry the same weight as a course in the specific education component. Correct statement: the R score of the record is ∑uiCRCi∑ui\dfrac{\sum u_{i}CRC_{i}}{\sum u_{i}}, and two students with exactly the same course R scores can have different records if their distribution of units differs.

Exercise 9: Problem: the complete record of a semester

A social science student finishes the semester. Four courses, four groups, four R scores, and a record that must be computed correctly.

CourseUnitsMarkGroup meanStandard deviationIFG
Quantitative Methods284718.00.7
Philosophy2.3376736.00.5
Psychology281729.00.8
English270747.00.9
  • a) Compute the four Z scores, taking IDGS=1IDGS=1 throughout.
  • b) Compute the four R scores.
  • c) Compute the R score of the record, weighted by the units.
  • d) The student is thinking of dropping English before the deadline. What happens to the record without that course? Is it a good idea?
  • e) A program asks for 29. What would the student need in English, all else being equal, to reach that threshold?

Type your answers, the page tells you right or wrong 0/16

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) 1.6251.625, 0.50.5, 1.01.0 and −0.571-0.571
  • b) 36.6336.63, 30.030.0, 34.034.0 and 26.6426.64
  • c) 264.448.33≈31.75\dfrac{264.44}{8.33}\approx 31.75
  • d) 211.166.33≈33.36\dfrac{211.16}{6.33}\approx 33.36, that is +1.6+1.6; arithmetically yes, in practice rarely
  • e) Nothing: the record already exceeds 2929. It would have to fall to 15.215.2 in English to get there
a)

Quantitative Methods: z=84−718=1.625z=\dfrac{84-71}{8}=1.625. Philosophy: z=76−736=0.5z=\dfrac{76-73}{6}=0.5. Psychology: z=81−729=1.0z=\dfrac{81-72}{9}=1.0. English: z=70−747≈−0.571z=\dfrac{70-74}{7}\approx -0.571. Note that the best MARK, 84, also corresponds to the best position, but this is not automatic: 81 in psychology, in a very spread-out group, is worth less than 84 in a group that is less so.

b)

Quantitative Methods: (1.625+0.7)×5+25=2.325×5+25≈36.63\left(1.625+0.7\right)\times 5+25=2.325\times 5+25\approx 36.63. Philosophy: (0.5+0.5)×5+25=30.0\left(0.5+0.5\right)\times 5+25=30.0. Psychology: (1.0+0.8)×5+25=34.0\left(1.0+0.8\right)\times 5+25=34.0. English: (−0.571+0.9)×5+25≈26.64\left(-0.571+0.9\right)\times 5+25\approx 26.64. Note that English, the only course where the student is below the mean, stays above 25 thanks to a high IFG: the group was strong, and that partially protects the student.

c)

Sum of the units: 2+2.33+2+2=8.332+2.33+2+2=8.33. Weighted sum: 2×36.63+2.33×30.0+2×34.0+2×26.64=73.26+69.90+68.00+53.28=264.442\times 36.63+2.33\times 30.0+2\times 34.0+2\times 26.64=73.26+69.90+68.00+53.28=264.44. Record: 264.448.33≈31.75\dfrac{264.44}{8.33}\approx 31.75. The weighting by units has a real effect here: philosophy, a weaker score but with more units, pulls the record down by about a tenth of a point compared with a simple mean.

d)

Without English, the sum of the units becomes 6.33 and the weighted sum 264.44−53.28=211.16264.44-53.28=211.16, so a record of 211.166.33≈33.36\dfrac{211.16}{6.33}\approx 33.36, a gain of 1.6 points. Arithmetically, dropping the course therefore improves the record. Is it a good idea? Rarely: a withdrawal puts a notation on the transcript, delays graduation, may cost full-time status and therefore financial aid, and above all the course will have to be retaken, with the risk that the new score is worse. The prudent rule is to drop a course you are going to fail, not a course where you are slightly below the mean.

e)

The record is already at 31.75, well above the threshold of 29: no improvement is needed. We can turn the question around and look for the minimum R score in English that would keep the record at 29: we would need 73.26+69.90+68.00+2x8.33=29\dfrac{73.26+69.90+68.00+2x}{8.33}=29, so 2x=29×8.33−211.16=241.57−211.16=30.412x=29\times 8.33-211.16=241.57-211.16=30.41, that is x≈15.2x\approx 15.2. An R score of 15 corresponds to about two standard deviations below the mean of an ordinary group, that is, to a clear failure. The threshold is therefore reached with a very comfortable margin, and this is exactly the kind of check a student should make before worrying.

202530354036.63quant.30phil.34psych.26.64Englishoverall 31.75

Exercise 10: Problem: comparing candidates from different scales

An admissions committee receives four files expressed in four systems. It must put them in order. The whole chapter is used here, and the last question deals with what the ranking cannot say.

CandidateSystemResultMeanStandard deviation
ACEGEP R score31.025 (by construction)5 (by construction)
Bstandardized testscore 612500100
Caverage out of 20, French lycée14.612.41.8
Dpercentile rankrank 88rank 50-
  • a) Convert each of the four files to a Z score.
  • b) Rank the four candidates and give the gap, in Z scores, between the first and the last.
  • c) Candidate D has only a percentile rank. Under what assumption is the conversion valid, and what is it worth without that assumption?
  • d) The committee wants to give each one a mark on a common scale with mean 70 and standard deviation 8. Compute the four marks.
  • e) The committee concludes that A is better than C. What reservations must be put in writing in the minutes?

Type your answers, the page tells you right or wrong 0/17

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) zA=1.200z_{A}=1.200, zB=1.120z_{B}=1.120, zC≈1.222z_{C}\approx 1.222, zD≈1.175z_{D}\approx 1.175
  • b) C, A, D, B; gap of 0.1020.102 standard deviation, that is two percentile ranks
  • c) Under the assumption of NORMALITY; without it, only the ORDER is secure
  • d) 79.6079.60, 78.9678.96, 79.7879.78 and 79.4079.40: eight tenths of a point separate the four
  • e) Different reference populations, a gap smaller than the noise, and a Z score for C built on a single class
a)

Candidate A: the R score has by construction a mean of 25 and a standard deviation of 5, so z=31−255=1.2z=\dfrac{31-25}{5}=1.2. Candidate B: z=612−500100=1.12z=\dfrac{612-500}{100}=1.12. Candidate C: z=14.6−12.41.8≈1.222z=\dfrac{14.6-12.4}{1.8}\approx 1.222. Candidate D: rank 88 corresponds, under the normal distribution, to z≈1.175z\approx 1.175, a value read from the table between 1.17 and 1.18.

b)

Ranking by decreasing Z score: C (1.2221.222), A (1.2001.200), D (1.1751.175), B (1.1201.120). The gap between the first and the last is 1.222−1.120=0.1021.222-1.120=0.102 standard deviation, about a tenth of a standard deviation. This is a tiny gap: on a normal distribution, it separates percentile rank 89 from rank 87. In other words the four candidates are indistinguishable, and the order obtained comes down to rounding.

c)

Converting a percentile rank into a Z score assumes the NORMALITY of the original distribution. Without it, rank 88 may correspond to a very different Z score: on a distribution stretched toward the right, it could be worth 0.9; on a tighter distribution with a few extreme values, 1.6. With no information about the shape, the only thing known for certain is the ORDER: candidate D is above 88% of the group, which is enough for a rough ranking and not for a comparison to the tenth.

d)

With y=8z+70y=8z+70: candidate A, 8×1.2+70=79.68\times 1.2+70=79.6; candidate B, 8×1.12+70=78.968\times 1.12+70=78.96; candidate C, 8×1.222+70≈79.788\times 1.222+70\approx 79.78; candidate D, 8×1.175+70=79.48\times 1.175+70=79.4. The four marks fit within eight tenths of a point, which makes visible at a glance what the raw numbers, 31, 612, 14.6 and 88, completely hid.

e)

Three reservations. First reservation: the four Z scores are computed on different REFERENCE POPULATIONS, Quebec CEGEP students for A, the test takers for B, one lycée class for C; being above one's group says nothing as long as the groups are not comparable, and nothing here guarantees that they are. Second reservation: the gap measured, a tenth of a standard deviation, is smaller than the noise of each of the instruments, so the ranking obtained is not reproducible. Third reservation: for C, the standard deviation of 1.8 points comes from a single class, hence a small sample, which makes its Z score unstable exactly as in the case of the small CEGEP groups. The conclusion to write is that the four files are equivalent given the data available, and that the tie must be broken on other criteria, explicit and written in advance.

1.101.151.201.25CADBZ score
Something missing from this set? A type of exercise your teacher gives, a problem you are stuck on, a mistake you spotted: tell me, I read every request.

Sending goes through your free space: that is how I can answer you and tell you when the exercise is added. An email is enough, no password. Create your space. Rather not create an account? Write to me directly.

What is it about?
I read every request myself, nobody else sees it. No need to write your name or your school.
When your request is dealt with, you hear about it by email and in your space.

By sending, you agree that I read your request to answer it. It is kept with your account, erased with it, and never published: privacy policy.

Previous chapter Frequency distributions and graphs, 360-300 Next chapter Index numbers, rates and constant dollars, 360-300

© Ahmed Squalli Houssaini. Exercise set published at www.letuteurscientifique.ca/en/exercices/cegep-qm-z-scores-percentile-ranks. Free for personal and classroom use; republishing it elsewhere requires written permission (legal notice).

See also

Looking for a quantitative methods tutor in Montreal?

Get in touch for a first session. Quantitative Methods is the only compulsory mathematics course in Social Science, and it is also the one that most often decides the R score of a semester.

Site by Studio Squalli