01.11.2014 Views

Prácticas de Estadística en R - Departamento de Estadística e ...

Prácticas de Estadística en R - Departamento de Estadística e ...

Prácticas de Estadística en R - Departamento de Estadística e ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

IV<br />

ÍNDICE GENERAL<br />

5. <strong>Estadística</strong> <strong>de</strong>scriptiva 37<br />

5.1. Introducción . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37<br />

5.2. Importando datos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37<br />

5.3. Tablas <strong>de</strong> frecu<strong>en</strong>cia y gráficos para variables cualitativas . . . . . . . . . 38<br />

5.4. Tablas <strong>de</strong> frecu<strong>en</strong>cia y gráficos para variables cuantitativas . . . . . . . . 40<br />

5.4.1. Variables discretas . . . . . . . . . . . . . . . . . . . . . . . . . . . 40<br />

5.4.2. Variables continuas . . . . . . . . . . . . . . . . . . . . . . . . . . . 42<br />

5.5. Medidas <strong>de</strong> c<strong>en</strong>tralización, dispersión y forma . . . . . . . . . . . . . . . . 43<br />

5.5.1. Gráficos basados <strong>en</strong> los cuartiles: el gráfico <strong>de</strong> caja . . . . . . . . . 45<br />

5.6. Gráficos para multiples variables . . . . . . . . . . . . . . . . . . . . . . . 46<br />

6. Variables aleatorias 49<br />

6.1. Introducción . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49<br />

6.2. Distribución <strong>de</strong> Bernoulli . . . . . . . . . . . . . . . . . . . . . . . . . . . 50<br />

6.3. Distribución binomial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52<br />

6.4. Distribución <strong>de</strong> Poisson . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54<br />

6.5. Distribución expon<strong>en</strong>cial . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56<br />

6.6. Distribución gamma . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58<br />

6.7. Distribución normal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59<br />

6.8. Variables aleatorias bidim<strong>en</strong>sionales . . . . . . . . . . . . . . . . . . . . . 60<br />

6.9. Teorema C<strong>en</strong>tral <strong>de</strong>l Límite . . . . . . . . . . . . . . . . . . . . . . . . . . 61<br />

7. Transformaciones <strong>de</strong> variables aleatorias 65<br />

7.1. Introducción . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65<br />

7.2. Tipificación . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65<br />

7.3. Transformaciones <strong>de</strong> Box-Cox . . . . . . . . . . . . . . . . . . . . . . . . . 66<br />

8. Gráficos dinámicos para el análisis <strong>de</strong> datos 69<br />

8.1. Introducción . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69<br />

8.2. Los datos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69<br />

8.3. Repres<strong>en</strong>tación gráfica <strong>de</strong> datos bidim<strong>en</strong>sionales . . . . . . . . . . . . . . . 70<br />

8.4. Localización e i<strong>de</strong>ntificación <strong>de</strong> datos . . . . . . . . . . . . . . . . . . . . . 70<br />

8.5. Reescalado y utilización <strong>de</strong> factores <strong>de</strong> visión (“zooms”) . . . . . . . . . . 71<br />

8.6. Repres<strong>en</strong>tación gráfica <strong>de</strong> datos multidim<strong>en</strong>sionales . . . . . . . . . . . . . 72<br />

8.6.1. Las funciones matplot y matpoints . . . . . . . . . . . . . . . . . . 73<br />

8.6.2. La función pairs . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73<br />

8.7. Brushing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74<br />

9. Infer<strong>en</strong>cia paramétrica 77<br />

9.1. Introducción . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77<br />

9.2. Planteami<strong>en</strong>to <strong>de</strong>l problema . . . . . . . . . . . . . . . . . . . . . . . . . . 77<br />

9.3. Un ejemplo: la paradoja <strong>de</strong> Mèré . . . . . . . . . . . . . . . . . . . . . . . 79<br />

9.3.1. Programa R . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79<br />

9.3.2. Distribución <strong>de</strong>l estadístico <strong>en</strong> el muestreo . . . . . . . . . . . . . . 80

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!