Docsity

Estadística Descriptiva: Frecuencia, Medidas de Tendencia Central y Variabilidad, Apuntes de Administración de Empresas

Vista previa parcial del texto

¡Descarga Estadística Descriptiva: Frecuencia, Medidas de Tendencia Central y Variabilidad y más Apuntes en PDF de Administración de Empresas solo en Docsity!

Statistics I

Xavier Vilà Universitat Autònoma de Barcelona

Reconocimiento-No comercial-Compartir bajo la misma licencia 3.0 España

Usted es libre de:

  • copiar, distribuir y comunicar públicamente la obra
  • hacer obras derivadas

Bajo las condiciones siguientes:

  • Reconocimiento: Debe reconocer los créditos de la obra de la manera especicada por el autor o el licenciador (pero no de una manera que sugiera que tiene su apoyo o apoyan el uso que hace de su obra).
  • No comercial: No puede utilizar esta obra para nes comerciales.
  • Compartir bajo la misma licencia: Si altera o transforma esta obra, o genera una obra derivada, sólo puede distribuir la obra generada bajo una licencia idéntica a ésta.

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?

  • Phenomena such as the fall of an apple are called deterministic because, under the same conditions, their behavior is determined, ie, is always the same.
  • Sometimes, however, the phenomena to study do not have this feature of deter- minism, they are phenomena that NOT always display the same behavior.

 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

Topic 1 - 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

  • unemployment in Catalonia in 2011 using the Encuesta de Población Activa (EPA)
  • or opinion poll of the electorate before any call for elections from surveys published in the media

Statistics I Descriptive Statistics

Therefore,

  • In the rst example above, the population is the population of Catalonia in 2011, and the data is obtained from the sample called Encuesta de Población Activa (EPA). The variable studied is, clearly, unemployment.
  • In the second example, the population is composed of all the citizens with the right to vote, the sample is the people interviewed in the published survey, the data is all the answers collected, and the variable of interest is the electorate opinion.

Statistics I Descriptive Statistics

Figure 1: Encuesta de Población Activa (Source: INE - 27/01/2012)

Statistics I Univariate distributions

1.1 Univariate frequency distribution tables

Types of variables

  • As in other branches of mathematics, variables are usually denoted using the last letters of the alphabet (in uppercase), X, Y, Z. If we need to consider many variables at the same time the use subscripts becomes necessary, X 1 , X 2 ,... , Xn.
  • The dierent data points (or observations) for each variable that we obtain from a sample are often denoted using subscripts of the corresponding variable (in lowercase). For instance, if we have 3 data points corresponding to the variable labeled X 3 we will represent them as x 31 , x 32 , x 33.

Statistics I Univariate distributions

According to their nature there are two types of variables:

  1. Qualitative variables (or categorical) are variables that can not be measured numerically. Each observation is usually associated to a number (or letter).
  2. Quantitative variables (or measurable) are variables than can be measured numerically. Can be of two types

(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:

  • X 1 → Quantitative discrete: X 1 ∈ { 1 , 2 , 3 , 4 , 5 , 6 ,.. .}
  • X 2 → Qualitative: X 2 ∈ { 1 , 2 , 3 , 4 , 5 , 6 }, were

1 Entrepreneur 2 White collar worker 3 Blue collar worker 4 freelance 5 Public servant 6 Unemployed

  • X 3 → Quantitative continuous

X 3 [0, ∞]

Statistics I Univariate distributions

Frequency Distribution

  • The raw data of one variable provides very little useful information, specially if the data set is large.
  • It is necessary to classify them so that they become informative.
  • This is done dierently depending on whether it is a Quantitative Continuous variable, or a Discrete Quantitative Continuous or Qualitative variable
  • The question, ultimately, is to know how many times each data value appears in the sample (how many people are unemployed, how many people will vote for the PP, etc.), or maybe some other type of summary.

Statistics I Univariate distributions

Frequency distribution of qualitative or quantitative discrete

variables

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 }