



























Prepara tus exámenes y mejora tus resultados gracias a la gran cantidad de recursos disponibles en Docsity
Gana puntos ayudando a otros estudiantes o consíguelos activando un Plan Premium
Esta página no es visible en la vista previa
¡No te pierdas las partes importantes!




























Xavier Vilà Universitat Autònoma de Barcelona
Reconocimiento-No comercial-Compartir bajo la misma licencia 3.0 España
Usted es libre de:
Bajo las condiciones siguientes:
Al reutilizar o distribuir la obra, tiene que dejar bien claro los términos de la licencia de esta obra. Alguna de estas condiciones puede no aplicarse si se obtiene el permiso del titular de los derechos de autor Nada en esta licencia menoscaba o restringe los derechos morales del autor.
Copyright ©c 1998-2011 Xavier Vilà.
Los derechos derivados de usos legítimos u otras limitaciones reconocidas por ley no se ven afectados por lo anterior.
Esto es un resumen legible por humanos del texto legal (la licencia completa) disponible en http://creativecommons.org
Statistics I Introduction: What is Statistics?
When we roll a dice we do not always get the same number When we change the interest rate in an economy we do not always observe a similar impact on GDP.
Such phenomena are called stochastic or random, and have the characteristic that their behavior is mainly governed by chance.
Statistics I Introduction: What is Statistics?
In most of these cases the traditional mathematical tools (algebra, calculus, etc.) that are useful to construct theories about deterministic phenomena are not suf- cient and we then need other tools: the probabilistic tools.
Although there is evidence that humanity was involved in gambling thousands of years ago, the formal study of randomness did not begin until the sixteenth (Pacioni, Cardano, Tartaglia) and seventeenth (Pascal, Fermat) centuries, being developed in a unied and rigorous way around the eighteenth century (Bernoulli, Bayes) and nineteenth (Laplace, Lagrange, De Morgan, Boole).
The twentieth century, thanks mainly to the work of Kolmogorov, represents the establishment of the modern Theory of Probability, the one we follow in this course
Statistics I Introduction: What is Statistics?
Topic 1 Looks at how to organize the data collected from the reality in order to facilitate their study and their understanding
Topic 2 Will introduce the concept of probability, that has utmost importance in the treatment of random phenomena
Topics 3 and 4 Will introduce the concept of random variables (Discrete in Topic 4 and Continuous in Topic 5), which allow to systematize the use of the probabilistic analysis in dierent elds
Statistics I Descriptive Statistics
Statistics: Population and Sample, Variables and Data
Briey, statistics can be dened as follows
Statistics is a set of techniques whose goal is to understand and draw conclusions about a phenomenon (or phenomena), in a particular place and time, using a set of data
For example, we may study
Statistics I Descriptive Statistics
Therefore,
Statistics I Descriptive Statistics
Figure 1: Encuesta de Población Activa (Source: INE - 27/01/2012)
Statistics I Univariate distributions
Types of variables
Statistics I Univariate distributions
According to their nature there are two types of variables:
(a) Continuous: can take any value within a range (b) Discrete: can take any value from a list nite (or countable) values
Example 7 Consider the table 1, which summarizes a survey of 10 families living in Cerdanyola
Statistics I Univariate distributions
Here we have 5 variables
X 1 : Number of members of the family
X 2 : Occupation of the householder
X 3 : Monthly income X 4 : Monthly phone spending (besides the connection fee)
X 5 : ADSL (Yes=1, No=0)
We have 10 data points (observations) for each of these 5 variables
{x 11 , x 12 , x 13 , x 14 , x 15 , x 16 , x 17 , x 18 , x 19 , x 110 } = { 2 , 3 , 4 , 5 , 8 , 2 , 4 , 5 , 7 , 2 }
{x 21 , x 22 , x 23 , x 24 , x 25 , x 26 , x 27 , x 28 , x 29 , x 210 } = { 3 , 3 , 6 , 3 , 1 , 5 , 3 , 1 , 4 , 1 }
and so forth and so on ...
Statistics I Univariate distributions
Regarding their types we have:
1 Entrepreneur 2 White collar worker 3 Blue collar worker 4 freelance 5 Public servant 6 Unemployed
Statistics I Univariate distributions
Statistics I Univariate distributions
In the case of quantitative discrete or qualitative variables (they are treated alike), what we do is rst look at how many dierent values the variable has taken, and then count how many times each of theses values appears in the sample.
In the previous example, X 1 , X 2 , i X 5 can be treated in the same way.
Let us take, for example, X 1. We have the following data
{x 11 , x 12 , x 13 , x 14 , x 15 , x 16 , x 17 , x 18 , x 19 , x 110 } = { 2 , 3 , 4 , 5 , 8 , 2 , 4 , 5 , 7 , 2 }
We see that we have 10 observations of the variable X 1 but it only takes 6 dierent values, which we represent with Y 1. Thus, the list of dierent values X 1 takes in our sample is {y 11 , y 12 , y 13 , y 14 , y 15 , y 16 } = { 2 , 3 , 4 , 5 , 7 , 8 }