Saltar al contenido

Exploración de datos de una variable

AP Estadística · Tema 1

Lección de video para este tema Abrir la página de video
9:03

Exploración de Datos de Una Variable

Mide lo mismo veinte veces y no obtendrás la misma respuesta veinte veces. Veinte estudiantes miden la misma mesa. Los valores varían. Eso no es un…

Narración en inglés · subtítulos en inglés y 中文 que puedes cambiar

1.1

Introducción a la estadística: ¿Qué podemos aprender de los datos?

Syllabus

Comprensión perdurable (VAR-1): Dado que la variación puede ser aleatoria o no, las conclusiones son inciertas.

Objetivo de aprendizaje VAR-1.A: Identificar preguntas para responder, basándose en la variación en datos de una variable. [Habilidad 1.A]

  • VAR-1.A.1 Los números pueden transmitir información significativa cuando se colocan en contexto.

Fuente: College Board AP Course and Exam Description

English

Two companies both offer you a first job at $\$36{,}000$ a year. One has a higher median salary; the other has a few very high salaries and a wider spread. Which offer is better for you? A single number cannot say. To answer, you need the whole distribution, described with the right summaries and in context. That is what this unit teaches.

Statistics 统计学 is the science of learning from data 数据 – numbers or labels collected from the real world. Data vary, so we describe patterns and account for the variation 变异 rather than expecting every value to match. A statistical question anticipates an answer based on data that vary. A number on its own means little: "$42$" is meaningless, but "$42\%$ of students in the sample walk to school" carries information because it has context.

Two distinctions run through the whole course. A parameter 参数 is a numerical summary of a whole population; a statistic 统计量 is a numerical summary of a sample - we use the statistic to estimate the parameter we cannot measure directly. And descriptive statistics 描述统计学 only summarise the data set in hand, while inferential statistics 推断统计 use a sample to make and test claims about the larger population.

Statistics answers questions by collecting, analysing and interpreting data
Statistics answers questions by collecting, analysing and interpreting data
Explorar

Datos que varían

Los datos reales se distribuyen a lo largo de valores; la estadística encuentra el patrón en esa variación.

Vocabulario Entrenar
English Español
Statistics/stəˈtɪstɪks/ estadística
data/ˈdeɪtə/ datos
variation/ˌveərɪˈeɪʃn/ Variación
parameter/pəˈræmɪtə/ parámetro
statistic/stəˈtɪstɪk/ estadístico
descriptive statistics/dɪˈskrɪptɪv stəˈtɪstɪks/ estadística descriptiva
inferential statistics/ɪnfəˈrenʃl stəˈtɪstɪks/ Estadística inferencial
1.2

El lenguaje de la variabilidad: variables

Syllabus

Comprensión perdurable (VAR-1): Dado que la variación puede ser aleatoria o no, las conclusiones son inciertas.

Objetivo de aprendizaje VAR-1.B: Identificar variables en un conjunto de datos. [Habilidad 2.A]

  • VAR-1.B.1 Una variable es una característica que cambia de un individuo a otro.

Objetivo de aprendizaje VAR-1.C: Clasificar los tipos de variables. [Habilidad 2.A]

  • VAR-1.C.1 Una variable categórica toma valores que son nombres de categorías o etiquetas de grupos.
  • VAR-1.C.2 Una variable cuantitativa es aquella que toma valores numéricos para una cantidad medida o contada.
    • Ejemplos ilustrativos para VAR-1.C:
      • Variables categóricas:
        • Mano dominante
        • Grupo de edad (joven o mayor)
        • Título académico más alto obtenido
      • Variables cuantitativas:
        • Edad de una estructura
        • Altura de un niño
        • Concentración de una muestra

Fuente: College Board AP Course and Exam Description

English

A variable 变量 is a characteristic that can differ between individuals. Two kinds:

A large crowd of people
Every person in a crowd differs in height, age and much else: statistics starts from that variation
  • Categorical 分类 (qualitative): values are labels/groups (eye colour, brand).
  • Quantitative 定量: values are numbers you can do arithmetic on (height, age). Quantitative variables are discrete (countable) or continuous (measured).

Choosing the right graph and summary depends on which kind you have.

Categorical variables sort cases into groups; quantitative variables are numbers you can average
Categorical variables sort cases into groups; quantitative variables are numbers you can average
Explorar

¿Cualitativa o cuantitativa?

Cada variable es ya sea categórica (etiqueta cada unidad con un grupo) o cuantitativa (un número medido que puedes promediar). Qué tipo es decide los gráficos y resúmenes que tienes permitido usar.

Vocabulario Entrenar
English Español
variable/ˈveərɪəbl/ Variable
Categorical/ˌkætɪˈɡɒrɪkl/ Categoría
Quantitative/ˈkwɒntɪteɪtɪv/ Cuantitativo
1.3

Representación de variables categóricas mediante tablas

Syllabus

Comprensión duradera (UNC-1): Las representaciones gráficas y las estadísticas nos permiten identificar y representar características clave de los datos.

Objetivo de aprendizaje UNC-1.A: Representar datos categóricos utilizando tablas de frecuencia o frecuencia relativa. [Habilidad 2.B]

  • UNC-1.A.1 Una tabla de frecuencia proporciona el número de casos que caen en cada categoría. Una tabla de frecuencia relativa proporciona la proporción de casos que caen en cada categoría.

Objetivo de aprendizaje UNC-1.B: Describir datos categóricos representados en tablas de frecuencia o frecuencia relativa. [Habilidad 2.A]

  • UNC-1.B.1 Los porcentajes, las frecuencias relativas y las tasas proporcionan la misma información que las proporciones.
  • UNC-1.B.2 Los conteos y las frecuencias relativas de los datos categóricos revelan información que puede utilizarse para justificar afirmaciones sobre los datos en su contexto.

Fuente: College Board AP Course and Exam Description

English

A frequency table 频数表 lists each category's count (frequency); a relative frequency 相对频率 table lists each category's proportion 比例 (count ÷ total). Relative frequencies let you compare groups of different sizes fairly. A proportion, a percentage and a rate all say the same thing: $30$ out of $200$ is $0.15$, $15\%$, or a rate of $150$ per $1000$.

Worked example. In a survey, $36$ of $120$ juniors and $45$ of $200$ seniors said they drive to school. More seniors drive ($45>36$), but that is only because more seniors were asked. Compare proportions: $36/120=0.30$ for juniors and $45/200=0.225$ for seniors. A higher proportion of juniors drive.

A frequency table lists counts; relative frequency is each count divided by the total
A frequency table lists counts; relative frequency is each count divided by the total
Explorar

Partes del todo

Las frecuencias relativas son la proporción de cada categoría respecto al total: exactamente lo que muestra un diagrama circular de la tabla de frecuencias.

Vocabulario Entrenar
English Español
frequency table/ˈfriːkwənsi ˈteɪbl/ tabla de frecuencias
relative frequency/ˈrelətɪv ˈfriːkwənsi/ Frecuencia relativa
proportion/prəˈpɔːʃn/ Proporción
1.4

Representación de variables categóricas mediante gráficos

Syllabus

Comprensión duradera (UNC-1): Las representaciones gráficas y las estadísticas nos permiten identificar y representar características clave de los datos.

Objetivo de aprendizaje UNC-1.C: Representar datos categóricos gráficamente. [Habilidad 2.B]

  • UNC-1.C.1 Los diagramas de barras (o gráficos de barras) se utilizan para mostrar frecuencias (conteos) o frecuencias relativas (proporciones) en datos categóricos.
  • UNC-1.C.2 La altura o longitud de cada barra en un gráfico de barras corresponde al número o proporción de observaciones que caen dentro de cada categoría.
  • UNC-1.C.3 Existen muchas formas adicionales de representar frecuencias (conteos) o frecuencias relativas (proporciones) para datos categóricos.

Objetivo de aprendizaje UNC-1.D: Describir datos categóricos representados gráficamente. [Habilidad 2.A]

  • UNC-1.D.1 Las representaciones gráficas de una variable categórica revelan información que puede utilizarse para justificar afirmaciones sobre los datos en su contexto.

Objetivo de aprendizaje UNC-1.E: Comparar múltiples conjuntos de datos categóricos. [Habilidad 2.D]

  • UNC-1.E.1 Las tablas de frecuencias, los gráficos de barras u otras representaciones pueden utilizarse para comparar dos o más conjuntos de datos en términos de la misma variable categórica.

Fuente: College Board AP Course and Exam Description

English

Bar charts 条形图 show the count or proportion of each category as separated bars; a pie chart shows each category's share of the whole. The bar heights (or slices) let you compare categories at a glance. Bars may be ordered by size or by a natural category order. On a bar chart the bars do not touch, and the order of the categories carries no meaning unless the categories have a natural order.

To compare two or more groups on the same categorical variable, use relative frequencies, not counts. A side-by-side bar graph 并列条形图 puts each group's bars next to each other. A segmented bar graph 分段条形图 gives each group one bar of height $1$ ($100\%$), divided into segments for the categories. If the segments are about the same size in every bar, the distribution of the variable is similar across the groups.

The same data as a bar chart and as a pie chart
The same data as a bar chart and as a pie chart
Explorar

Mostrar una variable categórica como un gráfico circular

Un gráfico circular convierte la participación de cada categoría del total en una porción: una participación mayor es una porción mayor, y todas las porciones juntas hacen el 100%. Es una imagen de una tabla de frecuencia relativa.

Vocabulario Entrenar
English Español
Bar charts/bɑː tʃɑːts/ Gráficos de barras
side-by-side bar graph/saɪd baɪ saɪd bɑː ɡræf/ gráfico de barras laterales
segmented bar graph/seɡˈmentɪd bɑː ɡræf/ gráfico de barras segmentadas
1.5

Representación de variables cuantitativas mediante gráficos

Syllabus

Comprensión perdurable (UNC-1): Las representaciones gráficas y las estadísticas nos permiten identificar y representar características clave de los datos.

Objetivo de aprendizaje UNC-1.F: Clasificar tipos de variables cuantitativas. [Habilidad 2.A]

  • UNC-1.F.1 Una variable discreta puede asumir un número contable de valores. El número de valores puede ser finito o infinitamente contable, como ocurre con los números naturales.
  • UNC-1.F.2 Una variable continua puede asumir infinitos valores, pero estos no pueden contarse. Independientemente de lo pequeño que sea el intervalo entre dos valores de una variable continua, siempre es posible determinar otro valor intermedio.
    • Ejemplos ilustrativos para UNC-1.F:
      • Una variable discreta:
        • Número de estudiantes en una clase
      • Una variable continua:
        • Altura de un niño

Objetivo de aprendizaje UNC-1.G: Representar datos cuantitativos gráficamente. [Habilidad 2.B]

  • UNC-1.G.1 En un histograma, la altura de cada barra indica el número o proporción de observaciones que caen dentro del intervalo correspondiente a dicha barra. Modificar los anchos de los intervalos puede alterar la apariencia del histograma.
  • UNC-1.G.2 En un diagrama de tallo y hoja, cada valor de dato se divide en un "tallo" (el primer dígito o dígitos) y una "hoja" (usualmente el último dígito).
  • UNC-1.G.3 Un gráfico de puntos representa cada observación mediante un punto, donde la posición en el eje horizontal corresponde al valor de dato de esa observación, apilándose casi valores idénticos unos sobre otros.
  • UNC-1.G.4 Un gráfico acumulativo representa el número o proporción de un conjunto de datos menor o igual a un número dado.
  • UNC-1.G.5 Existen muchas formas adicionales de representar gráficamente distribuciones de datos cuantitativos.

Fuente: College Board AP Course and Exam Description

English

For numbers, use a dotplot 点图, stem-and-leaf plot 茎叶图, or histogram 直方图 (bars over value intervals called bins). These show the distribution 分布 – how the values spread out. A histogram's bin width changes the picture, so choose it to reveal the shape.

A discrete 离散 variable takes countable values, such as the number of siblings ($0,1,2,\dots$). A continuous 连续 variable can take any value in an interval, such as a time or a mass: between any two values there is always another. A dotplot places one dot per observation above a number line, stacking equal values. A stem-and-leaf plot splits each value into a stem (leading digits) and a leaf (last digit), so it keeps every data value: the stem $4$ with leaves $2\,5\,5\,8$ stands for $42, 45, 45, 48$. A cumulative graph plots the proportion of values at or below each value (see below).

On a histogram with unequal class widths the bar area is the frequency
On a histogram with unequal class widths the bar area is the frequency
Explorar

Explorar cómo el ancho de clase moldea un histograma

Un histograma agrupa datos en clases de ancho igual y dibuja una barra sobre cada una. Cambie las clases y note cómo los mismos datos pueden verse escalonados (demasiado estrechos) o suaves (demasiado anchos) — la forma es una elección.

Vocabulario Entrenar
English Español
dotplot/ˈdɒtplɒt/ gráfico de puntos
stem-and-leaf plot/stem ænd liːf plɒt/ diagrama de tallo y hoja
histogram/ˈhɪstəɡræm/ histograma
distribution/ˌdɪstrɪˈbjuːʃn/ distribución
discrete/dɪˈskriːt/ discreto
continuous/kənˈtɪnjuːəs/ continuo
1.6

Descripción de la distribución de una variable cuantitativa

Syllabus

Comprensión Duradera (UNC-1): Las representaciones gráficas y las estadísticas nos permiten identificar y representar características clave de los datos.

Objetivo de Aprendizaje UNC-1.H: Describir las características de las distribuciones de datos cuantitativos. [Habilidad 2.A]

  • UNC-1.H.1 Las descripciones de la distribución de datos cuantitativos incluyen la forma, el centro y la variabilidad (dispersión), así como cualquier característica inusual como valores atípicos, lagunas, agrupaciones o múltiples picos.
  • UNC-1.H.2 Los valores atípicos para datos de una sola variable son puntos de datos que son inusualmente pequeños o grandes en relación con el resto de los datos.
  • UNC-1.H.3 Una distribución está sesgada a la derecha (sesgo positivo) si la cola derecha es más larga que la izquierda. Una distribución está sesgada a la izquierda (sesgo negativo) si la cola izquierda es más larga que la derecha. Una distribución es simétrica si la mitad izquierda es la imagen especular de la mitad derecha.
  • UNC-1.H.4 Los gráficos univariados con un pico principal se denominan unimodales. Los gráficos con dos picos prominentes son bimodales. Un gráfico donde la altura de cada barra es aproximadamente la misma (sin picos prominentes) es aproximadamente uniforme.
  • UNC-1.H.5 Una laguna es una región de la distribución entre dos valores de datos donde no hay datos observados.
  • UNC-1.H.6 Las agrupaciones son concentraciones de datos generalmente separadas por lagunas.
  • UNC-1.H.7 La estadística descriptiva no atribuye propiedades de un conjunto de datos a una población más grande, pero puede proporcionar la base para conjeturas destinadas a pruebas posteriores.

Fuente: College Board AP Course and Exam Description

English

Describe four things (remember SOCS):

  • Shape 形状: symmetric, or skewed 偏斜 left/right (a long tail on that side), and how many peaks - one main peak is unimodal 单峰, two prominent peaks bimodal 双峰, and roughly equal bars uniform 均匀.
  • Outliers 离群值: unusual values far from the rest.
  • Center: a typical value (mean or median).
  • Spread: how much the values vary (range, IQR, standard deviation).

Always describe shape/center/spread in context, with units.

Common mistakes. Naming skew by the peak instead of the tail: a long tail to the left is skewed left, even though most values pile up on the right. Writing “the data are normal” from a histogram: say “roughly symmetric and unimodal”, because real data are only ever approximately normal. Leaving out context: “the median is $7$” earns less than “the median commute is $7$ minutes”.

Also look for gaps (stretches of the number line with no data) and clusters (groups of values separated by gaps). These often show that the data mix two kinds of individuals.

Worked example (describing a distribution). A dotplot shows the tips one waiter received on one day: the minimum is $\$2$, the median is $\$4$, most tips are between $\$2$ and $\$6$, and a long right tail ends at one tip of $\$18$. A full answer: "The distribution of tip amounts is skewed right, with a median of about $\$4$. Most tips lie between $\$2$ and $\$6$ (a range of about $\$16$ including the high tip). The $\$18$ tip appears to be an outlier." It names the shape, the centre, the spread and the unusual feature, all with units. A description like this is descriptive only: it is about this waiter's tips on this day, not every day.

The shape of a distribution: symmetric, skewed right (long right tail), or skewed left
The shape of a distribution: symmetric, skewed right (long right tail), or skewed left
Explorar

Lectura de la forma

Una cola larga hacia un lado indica que la distribución está sesgada en esa dirección: el sesgo se nombra según la cola.

Vocabulario Entrenar
English Español
Shape/ʃeɪp/ forma
skewed/skjuːd/ asimétrica
unimodal/ˌʌnɪˈmɒdl/ unimodal
bimodal/baɪˈmɒdl/ bimodal
uniform/ˈjuːnɪfɔːm/ uniforme
Outliers/ˈaʊtlaɪəz/ valores atípicos
1.7

Estadísticos descriptivos para una variable cuantitativa

Syllabus

Comprensión duradera (UNC-1): Las representaciones gráficas y las estadísticas nos permiten identificar y representar las características clave de los datos.

Objetivo de aprendizaje UNC-1.I: Calcular medidas de tendencia central y de posición para datos cuantitativos. [Habilidad 2.C]

  • UNC-1.I.1 Una estadística es un resumen numérico de los datos de la muestra.
  • UNC-1.I.2 La media es la suma de todos los valores de datos dividida por el número de valores. Para una muestra, la media se denota con la barra de $x$: $\bar{x} = \dfrac{1}{n}\sum_{i=1}^{n} x_i$, donde $x_i$ representa el $i^{\text{th}}$ punto de datos en la muestra y $n$ representa el número de valores de datos en la muestra.
  • UNC-1.I.3 La mediana de un conjunto de datos es el valor central cuando los datos están ordenados. Cuando el número de puntos de datos es par, la mediana puede tomar cualquier valor entre los dos valores centrales. En Estadística AP, el valor más comúnmente utilizado para la mediana de un conjunto de datos con un número par de valores es el promedio de los dos valores centrales.
  • UNC-1.I.4 El primer cuartil, Q1, es la mediana de la mitad del conjunto de datos ordenado desde el mínimo hasta la posición de la mediana. El tercer cuartil, Q3, es la mediana de la mitad del conjunto de datos ordenado desde la posición de la mediana hasta el máximo. Q1 y Q3 forman los límites para el 50% central de valores en un conjunto de datos ordenado.
  • UNC-1.I.5 El $p^{\text{th}}$ percentil se interpreta como el valor que tiene $p\%$ de los datos menores o iguales a él.

Objetivo de aprendizaje UNC-1.J: Calcular medidas de variabilidad para datos cuantitativos. [Habilidad 2.C]

  • UNC-1.J.1 Tres medidas comúnmente utilizadas de variabilidad (o dispersión) en una distribución son el rango, el rango intercuartílico y la desviación estándar.
  • UNC-1.J.2 El rango se define como la diferencia entre el valor máximo de datos y el valor mínimo de datos. El rango intercuartílico (IQR) se define como la diferencia entre el tercer y el primer cuartil: $Q3 - Q1$. Tanto el rango como el rango intercuartílico son formas posibles de medir la variabilidad de la distribución de una variable cuantitativa.
  • UNC-1.J.3 La desviación estándar es una forma de medir la variabilidad de la distribución de una variable cuantitativa. Para una muestra, la desviación estándar se denota con $s$: $s_x = \sqrt{\dfrac{1}{n-1}\sum(x_i - \bar{x})^2}$. El cuadrado de la desviación estándar de la muestra, $s^2$, se denomina varianza de la muestra.
  • UNC-1.J.4 Cambiar las unidades de medida afecta los valores de las estadísticas calculadas.

Objetivo de aprendizaje UNC-1.K: Explicar la selección de una medida particular de tendencia central y/o variabilidad para describir un conjunto de datos cuantitativos. [Habilidad 4.B]

  • UNC-1.K.1 Existen muchos métodos para determinar valores atípicos. Dos métodos utilizados frecuentemente en este curso son:
    • UNC-1.K.1.i Un valor atípico es un valor mayor que $1.5 \times \text{IQR}$ por encima del tercer cuartil o más de $1.5 \times \text{IQR}$ por debajo del primer cuartil.
    • UNC-1.K.1.ii Un valor atípico es un valor ubicado 2 o más desviaciones estándar por encima o por debajo de la media.
  • UNC-1.K.2 La media, la desviación estándar y el rango se consideran no resistentes (o no robustas) porque se ven influenciadas por los valores atípicos. La mediana y el IQR se consideran resistentes (o robustas), porque los valores atípicos no afectan significativamente (si acaso) su valor.

Fuente: College Board AP Course and Exam Description

English
Standard deviation: spread about the mean
  • Center: the mean 均值 $\bar{x}=\dfrac{\sum x_i}{n}$ (average) and the median 中位数 (middle value). The median resists outliers; the mean is pulled toward a skew.
  • Spread: the range, the interquartile range 四分位距 $\text{IQR}=Q_3-Q_1$ (middle 50%), and the standard deviation 标准差 $s_x=\sqrt{\dfrac{\sum(x_i-\bar{x})^2}{n-1}}$ (typical distance from the mean; its square is the variance 方差).
  • The five-number summary 五数概括: min, $Q_1$, median, $Q_3$, max.

Use resistant measures (median, IQR) for skewed data; mean and standard deviation for roughly symmetric data. With an even number of values, the median is the mean of the two middle values.

What changes when one value changes? Suppose the largest tip in a set was $\$8$ and is changed to $\$18$. The mean goes up by $\$10/n$, and the standard deviation increases as this largest value moves farther from the others. The median and IQR stay unchanged only if the changed value does not enter their calculations; being above the median alone does not guarantee an unchanged upper quartile. The mean, standard deviation and range are nonresistant: an extreme value can move them.

Changing units. Adding the same constant to every value (for example, $+5$ points to every test score) shifts the mean, median and quartiles by that constant, but leaves the range, IQR and standard deviation unchanged. Multiplying every value by a positive constant (for example, converting metres to centimetres, $\times100$) multiplies all of them: the centre and the spread.

Worked example (combining groups). At one school, $200$ teachers have a mean of $9.1$ years' experience, and $18$ more teachers have a mean of $2.5$ years. The mean for all $218$ is not the mean of $9.1$ and $2.5$; weight each group by its size:

$$\bar x=\frac{200(9.1)+18(2.5)}{218}=\frac{1820+45}{218}=8.56\ \text{years}.$$

The percentile 百分位数 of a value is the percent of the data at or below it – so the median is the 50th percentile and $Q_1$ the 25th. A cumulative relative frequency graph 累积相对频率图 makes percentiles easy to read: for each value it plots the proportion of the data at or below it, rising from 0 to 1. Go up from a value to the curve and across to its percentile, or reverse the steps to find the value at a given percentile (the same reading works from a cumulative-frequency table).

Worked example. For the data $4, 8, 6, 10, 7$: the mean is $\bar{x}=\dfrac{4+8+6+10+7}{5}=\dfrac{35}{5}=7$. Sorting to $4,6,7,8,10$, the median is the middle value, $7$. The mean and median agree here because the data are roughly symmetric.

Worked example: standard deviation. For the same data, $\bar x=7$. Work in a table: each deviation from the mean, then its square.

$x_i$ $4$ $6$ $7$ $8$ $10$
$x_i-\bar x$ $-3$ $-1$ $0$ $1$ $3$
$(x_i-\bar x)^2$ $9$ $1$ $0$ $1$ $9$

The squares add to $20$. Divide by $n-1=4$, not by $n$, then take the square root:

$$s_x=\sqrt{\frac{\sum(x_i-\bar x)^2}{n-1}}=\sqrt{\frac{20}{4}}=\sqrt5\approx 2.24.$$

Interpretation: a typical value is about $2.24$ away from the mean of $7$. The deviations always add to $0$ (here $-3-1+0+1+3=0$), which is why they are squared first.

Common mistakes. Dividing by $n=5$ instead of $n-1=4$ (that gives $\sqrt4=2$, not $2.24$); stopping at the variance, $5$, and reporting it as the standard deviation; and describing $s_x$ as a distance from the median, or as the largest distance from the mean, instead of a typical distance from the mean.

Explorar

Centralidad y dispersión de los datos

La media y la mediana marcan el centro; el rango, el IQR y la desviación estándar miden la dispersión.

Vocabulario Entrenar
English Español
mean/miːn/ media
median/ˈmiːdiːən/ mediana
interquartile range/ˌɪntəˈkwɔːtaɪl reɪndʒ/ rango intercuartílico
standard deviation/ˈstændəd ˌdiːvɪˈeɪʃn/ desviación estándar
variance/ˈveərɪəns/ varianza
five-number summary/faɪv ˈnʌmbə ˈsʌməri/ resumen de cinco números
percentile/pəˈsentaɪl/ percentil
cumulative relative frequency graph/ˈkjuːmjʊlətɪv ˈrelətɪv ˈfriːkwənsi ɡræf/ gráfico de frecuencia relativa acumulada
1.8

Representaciones gráficas de estadísticos descriptivos

Syllabus

Comprensión Duradera (UNC-1): Las representaciones gráficas y las estadísticas nos permiten identificar y representar las características clave de los datos.

Objetivo de Aprendizaje UNC-1.L: Representar estadísticas resumidas para datos cuantitativos de forma gráfica. [Habilidad 2.B]

  • UNC-1.L.1 Juntos, el valor mínimo de los datos, el primer cuartil (Q1), la mediana, el tercer cuartil (Q3) y el valor máximo de los datos conforman el resumen de cinco números.
  • UNC-1.L.2 Un diagrama de caja es una representación gráfica del resumen de cinco números (mínimo, primer cuartil, mediana, tercer cuartil, máximo). La caja representa el 50% central de los datos, con una línea en la mediana y los extremos de la caja correspondientes a los cuartiles. Las líneas ("bigotes") se extienden desde los cuartiles hasta el punto más extremo que no sea un valor atípico, y los valores atípicos se indican con su propio símbolo más allá de este.

Objetivo de Aprendizaje UNC-1.M: Describir estadísticas resumidas de datos cuantitados representadas gráficamente. [Habilidad 2.A]

  • UNC-1.M.1 Las estadísticas resumidas de datos cuantitativos, o de conjuntos de datos cuantitativos, pueden utilizarse para justificar afirmaciones sobre los datos en contexto.
  • UNC-1.M.2 Si una distribución es relativamente simétrica, entonces la media y la mediana están relativamente cerca una de la otra. Si una distribución está sesgada hacia la derecha, entonces la media suele estar a la derecha de la mediana. Si la distribución está sesgada hacia la izquierda, entonces la media suele estar a la izquierda de la mediana.

Fuente: College Board AP Course and Exam Description

English

A boxplot 箱线图 draws the five-number summary: a box from $Q_1$ to $Q_3$ with the median inside, and whiskers to the most extreme non-outlier values. A point is an outlier if it lies more than $1.5\times\text{IQR}$ beyond a quartile – a rule you may be asked to apply. Boxplots are ideal for comparing several groups side by side.

Worked example. A dataset has $Q_1=20$ and $Q_3=32$, so $\text{IQR}=12$. The outlier fences are $Q_1-1.5(12)=2$ and $Q_3+1.5(12)=50$. Any value below $2$ or above $50$ is flagged as an outlier.

A second rule, also used in this course, flags a value that is 2 or more standard deviations from the mean. The two rules can disagree. In a strongly skewed data set the standard deviation is inflated by the long tail, so the $1.5\times\text{IQR}$ rule usually flags more points. If a question asks which rule identifies a value as an outlier, compute both fences and check.

Mean, median and shape. In a roughly symmetric distribution the mean and median are close together. In a right-skewed distribution the mean is usually to the right of (greater than) the median; in a left-skewed distribution, to the left.

What a boxplot hides. A boxplot summarises quartiles and extremes, with outliers shown separately. It cannot show peaks, gaps or clusters, so two very different distributions can have the same boxplot.

A histogram of room sizes in a residence hall with two clear peaks, one near 150 and one near 250 square feet, separated by a gap. Below it, the boxplot of the same data: one wide box from about 148 to 250 with whiskers from 115 to 283, showing no sign of the two peaks
The histogram shows two clusters and a gap; the boxplot of the same data hides them

Common mistakes. Building the fences from the range instead of the IQR; adding $1.5\times\text{IQR}$ to the median instead of to the quartiles; and drawing a whisker out to the fence ($50$) instead of to the largest value that is not an outlier.

A box-and-whisker plot shows the quartiles and the range
A box-and-whisker plot shows the quartiles and the range
A boxplot draws the five-number summary; the box spans the IQR
A boxplot draws the five-number summary; the box spans the IQR
Explorar

Explorar el resumen de cinco números como un diagrama de caja

Arrastre $Q_1$, la mediana, y $Q_3$ para ver la caja (su longitud es la RIC) y cómo la posición de la mediana dentro de la caja revela la asimetría — una mediana cercana a $Q_1$ señala una distribución sesgada a la derecha.

Vocabulario Entrenar
English Español
boxplot/ˈbɒksplɒt/ diagrama de caja
1.9

Comparación de distribuciones de variables cuantitativas

Syllabus

Comprensión perdurable (UNC-1): Las representaciones gráficas y las estadísticas nos permiten identificar y representar las características clave de los datos.

Objetivo de aprendizaje UNC-1.N: Comparar representaciones gráficas para múltiples conjuntos de datos cuantitativos. [Habilidad 2.D]

  • UNC-1.N.1 Cualquier tipo de representación gráfica, p. ej., histogramas, diagramas de caja lado a lado, etc., puede utilizarse para comparar dos o más muestras independientes en cuanto a la medida de tendencia central, variabilidad, agrupamientos, vacíos, valores atípicos y otras características.

Objetivo de aprendizaje UNC-1.O: Comparar estadísticas descriptivas para múltiples conjuntos de datos cuantitativos. [Habilidad 2.D]

  • UNC-1.O.1 Cualquier resumen numérico (p. ej., media, desviación estándar, frecuencia relativa, etc.) puede utilizarse para comparar dos o más muestras independientes.

Fuente: College Board AP Course and Exam Description

English

To compare two or more groups, compare shape, center, and spread, and mention outliers – always with comparative words ("Group A has a higher median than Group B") and in context. Do not just describe each group separately; make the comparison explicit.

Worked example (comparing in context). Roughly symmetric boxplots show yearly salaries at Corporation A (median $\$40{,}000$, IQR $\$12{,}000$, no outliers) and Corporation B (median $\$34{,}000$, IQR $\$20{,}000$, two high outliers). A strong answer: "The median salary at A ($\$40{,}000$) is higher than at B ($\$34{,}000$). Salaries at B are more variable: the IQR at B is $\$20{,}000$, compared with $\$12{,}000$ at A. Both are roughly symmetric, but B has two unusually high salaries." For a job offered at $\$36{,}000$, A might appeal because more of its salaries are high (its median is above the offer). B might appeal because a few people earn far more, and $\$36{,}000$ is already above B's median.

Parallel box plots compare centre, spread and outliers of two groups
Parallel box plots compare centre, spread and outliers of two groups
Explorar

Comparar distribuciones con diagramas de caja

Un diagrama de caja dibuja el resumen de cinco números. Colocar dos diagramas de caja en la misma escala compara su centro (mediana), dispersión (RIC = ancho de la caja) y asimetría de un vistazo — la forma justa de comparar grupos.

1.10

Distribución normal

Syllabus

Comprensión duradera (VAR-2): La distribución normal puede utilizarse para representar algunas distribuciones poblacionales.

Objetivo de aprendizaje VAR-2.A: Comparar una distribución de datos con el modelo de distribución normal. [Habilidad 2.D]

  • VAR-2.A.1 Un parámetro es un resumen numérico de una población.
  • VAR-2.A.2 Algunos conjuntos de datos pueden describirse como aproximadamente normalmente distribuidos. Una curva normal tiene forma de montículo y es simétrica. Los parámetros de una distribución normal son la media poblacional, $\mu$, y la desviación estándar poblacional, $\sigma$.
  • VAR-2.A.3 Para una distribución normal, aproximadamente el 68 % de las observaciones se encuentran dentro de 1 desviación estándar de la media, aproximadamente el 95 % de las observaciones se encuentran dentro de 2 desviaciones estándar de la media y aproximadamente el 99,7 % de las observaciones se encuentran dentro de 3 desviaciones estándar de la media. Esto se conoce como la regla empírica.
  • VAR-2.A.4 Muchas variables pueden modelarse mediante una distribución normal.
    • Ejemplos ilustrativos para VAR-2.A:
      • Variables que pueden modelarse mediante una distribución normal:
        • Temperatura corporal
        • Peso de una hogaza de pan

Objetivo de aprendizaje VAR-2.B: Determinar proporciones y percentiles a partir de una distribución normal. [Habilidad 3.A]

  • VAR-2.B.1 Una puntuación estandarizada para un valor de dato determinado se calcula como (valor de dato − media)/(desviación estándar) y mide el número de desviaciones estándar que un valor de dato está por encima o por debajo de la media.
  • VAR-2.B.2 Un ejemplo de puntuación estandarizada es una puntuación $z$, que se calcula como $z\text{-score} = \left(\dfrac{x_i - \mu}{\sigma}\right)$. Una puntuación $z$ mide cuántas desviaciones estándar está un valor de dato de la media.
  • VAR-2.B.3 Se puede utilizar tecnología, como una calculadora, una tabla normal estándar o salidas generadas por computadora, para encontrar la proporción de valores de datos ubicados en un intervalo dado de una variable aleatoria normalmente distribuida.
  • VAR-2.B.4 Dada el área de una región bajo la gráfica de la curva de la distribución normal, es posible utilizar tecnología, como una calculadora, una tabla normal estándar o salidas generadas por computadora, para estimar parámetros de algunas poblaciones.

Objetivo de aprendizaje VAR-2.C: Comparar medidas de posición relativa en conjuntos de datos. [Habilidad 2.D]

  • VAR-2.C.1 Los percentiles y las puntuaciones $z$ pueden utilizarse para comparar las posiciones relativas de puntos dentro de un conjunto de datos o entre conjuntos de datos.

Fuente: College Board AP Course and Exam Description

English

A normal distribution 正态分布 is a symmetric, bell-shaped model described by its mean $\mu$ and standard deviation $\sigma$. The empirical rule 经验法则 (68–95–99.7): about 68% of values lie within $1\sigma$ of the mean, 95% within $2\sigma$, and 99.7% within $3\sigma$.

A Galton board with balls forming a bell shape
A Galton board: balls bouncing left or right at random pile up into a bell-shaped, approximately Normal distribution
The normal curve: a probability is the area under it, centred on the mean
The normal curve: a probability is the area under it, centred on the mean

A $z$-score 标准分数 measures how many standard deviations a value is from the mean:

$$z=\frac{x-\mu}{\sigma}.$$
Convert to a $z$-score, then use the normal table or technology to find the proportion (area) below, above, or between values – and reverse the process to find a value from a given percentile.

Worked example. Test scores are normal with $\mu=500$ and $\sigma=100$. A score of $700$ has $z=\dfrac{700-500}{100}=2$. By the empirical rule, $95\%$ of scores lie within $2\sigma$, so $2.5\%$ lie above $700$ – meaning a $700$ is at about the $97.5$th percentile.

Worked example: between two values, and backwards. With the same $\mu=500$, $\sigma=100$:

  • Proportion between $450$ and $650$: $z=\dfrac{450-500}{100}=-0.5$ and $z=\dfrac{650-500}{100}=1.5$. The area is $P(z<1.5)-P(z<-0.5)=0.9332-0.3085=0.6247$, so about $62.5\%$ of scores.
  • The score at the $90$th percentile: the table (or invNorm) gives $z=1.28$ for an area of $0.90$ below. Solve $z=\dfrac{x-\mu}{\sigma}$ for $x$: $x=\mu+z\sigma=500+1.28(100)\approx 628$.

Worked example (a percentile from the model). Battery life is normal with $\mu=30$ months and $\sigma=6$ months. After how many months have $25\%$ of batteries failed? That is the $25$th percentile: the table gives $z=-0.674$ for an area of $0.25$ below, so $x=30-0.674(6)=26.0$ months.

A $z$-score also compares values from different distributions. A score of $82$ on a test with mean $70$ and SD $8$ ($z=1.5$) is relatively better than $90$ on a test with mean $80$ and SD $10$ ($z=1.0$).

On the exam, show the distribution, the boundary and the area: “Normal, $\mu=500$, $\sigma=100$, $P(450<X<650)\approx 0.6247$”. A bare calculator command does not earn full credit.

Common mistakes. Using the empirical rule for a $z$-score that is not a whole number ($z=1.5$ needs the table or technology); giving the area below when the question asks for the proportion above (subtract from $1$); and using a normal model for a distribution the question describes as strongly skewed.

The normal curve and the 68-95-99.7 empirical rule
The normal curve and the 68-95-99.7 empirical rule
Explorar

From a raw value to a normal-model area

$z=(x-\mu)/\sigma$

Connect the lesson’s raw values to standardised bounds and the correct shaded region. Changing a model does not show that real data follow it.

Vocabulario Entrenar
English Español
normal distribution/ˈnɔːml ˌdɪstrɪˈbjuːʃn/ distribución normal
empirical rule/emˈpɪrɪkl ruːl/ Regla empírica
1.10

Práctica

English

Answer each before reading the answers below.

  1. For the data $3,\ 5,\ 7,\ 8,\ 9,\ 12,\ 15$, find the median and the IQR, and check for outliers with the $1.5\times IQR$ rule.

  2. Household incomes in a city are strongly right-skewed. Which is larger, the mean or the median? Which better describes a typical household?

  3. A test has mean 70 and standard deviation 8. Find the $z$-score of a student who scored 82.

  4. If the scores in question 3 are approximately normal, what proportion of students scored below 58?

  5. A student says: "The mean is always the best measure of center." Correct the student.

  6. The $30$ values in a data set have mean $20$ and standard deviation $4$. Every value is multiplied by $3$ and then $5$ is added. Find the new mean and standard deviation.

  7. A class of $12$ has a mean score of $78$, and another class of $18$ has a mean of $68$. Find the mean for all $30$ students.

  8. A data set has $\bar x=50$, $s=5$, $Q_1=46$ and $Q_3=53$. Is a value of $61$ an outlier by the $1.5\times\text{IQR}$ rule? By the 2-standard-deviation rule?

1.10

Respuestas

English
  1. Median $8$. $Q_1=5$ and $Q_3=12$ (medians of the lower and upper halves), so $IQR=7$. The fences are $5-10.5=-5.5$ and $12+10.5=22.5$; no value lies outside them, so there are no outliers.

  2. The mean is larger, pulled up by the few very high incomes. The median better describes a typical household, because it resists extreme values.

  3. $z=\dfrac{82-70}{8}=1.5$: one and a half standard deviations above the mean.

  4. $z=\dfrac{58-70}{8}=-1.5$, so the proportion is about $0.067$, or $6.7\%$.

  5. The mean is sensitive to outliers and skew. For skewed data or data with outliers, the median is the better summary of a typical value; report the IQR with it.

  6. Mean: $3(20)+5=65$. Standard deviation: $3(4)=12$; adding $5$ does not change the spread.

  7. $\dfrac{12(78)+18(68)}{30}=\dfrac{936+1224}{30}=72$.

  8. $\text{IQR}=7$, so the upper fence is $53+10.5=63.5$: $61$ is not an outlier by that rule. It is $\dfrac{61-50}{5}=2.2$ standard deviations above the mean, so it is an outlier by the 2-SD rule.

1.10

Consejos de examen

English
  • Describe a distribution by shape, center, spread, and outliers (SOCS) — always in context.
  • The mean is pulled by outliers; the median resists them, so prefer the median for skewed data.
  • For a normal distribution use the 68–95–99.7 rule and z-scores $z=\tfrac{x-\mu}{\sigma}$.
  • Compare distributions with side-by-side boxplots and comment on center, spread, and shape.
  • Standard deviation measures a typical distance from the mean; the IQR pairs with the median.
  • When one value changes, say which statistics change and why: the mean and SD move; the median and IQR stay unless the middle of the data changes.
  • Compare groups with proportions, not counts, when the groups differ in size.
Vocabulario Entrenar
English Español
z-score/zed skɔː/ puntuación z

Lecciones interactivas sobre este tema

Trátalo paso a paso, con ejercicios de verificación instantánea.

Exámenes Anteriores

Más temas en AP Estadística

Iniciar sesión o crear cuenta

IGCSE, A-Level & AP