

















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!


















Rocío Alcalá-Quintana Statistics Applied to Psychology I - Page 1
Part Ia: Univariate descriptive Statistics
1.1. Basic concepts
1.2. Variables
1.3. Scales of Measurement
1.4. Types of variable
Rocío Alcalá-Quintana Statistics Applied to Psychology I - Page 3
Population. The totality of potential observations or the entire set of elements that share a specified characteristic of interest. It is the group about which the researcher wishes to draw conclusions
Sample. Any subset of a population. The sample size, N is the number of elements that constitute the sample. Often it is simply called “data set”
Observation, score, case, datum. Any individual element of a sample
Eg. Students of Psychology in EU First-year students of Psychology at UCM People suffering from schizophrenia Schizophrenic patients under treatment with haloperidol
What constitutes a population or a sample of it depends entirely on the context in which the question arises
Statistics ( plural ): “Statistics is a mathematical science pertaining to the collection, analysis, interpretation or explanation, and presentation of data” (Wikipedia)
For us, as psychologists, Statistics will be a tool to judiciously :
(i) organize, summarize, and present data collected from a sample Descriptive Statistics
(ii) draw inferences about the “target” population being studied Inferential Statistics
Descriptive Statistics Probability (sample)
Inferential Statistics (population)
Rocío Alcalá-Quintana Statistics Applied to Psychology I - Page 7
Stevens ( 1946, Science , 103, 677–680 ) proposed four types of scales of measurement that still are in use:
a. Nominal.- Two objects are assigned the same number if they have the same value of the attribute Eg. Birthplace
b. Ordinal. - The property of magnitude holds: when an object has more of the attribute than another object it is given a bigger number Objects are assigned numbers such that the order of the numbers reflects an order relation defined on the attribute Eg. School grades
c. Interval. - The property of intervals also holds: the unit of measurement means the same thing throughout the scale of numbers Objects are assigned numbers such that distances between the numbers reflect differences of the attribute. Eg. Temperature in Celsius degrees (note, that the origin of the scale, i.e., the zero point , is arbitrary)
d. Ratio. - There is also an absolute zero Objects are assigned numbers such that ratios between the numbers reflect ratios of the attribute Eg. Height
Qualitative variables. The categories cannot even be ordered and numbers simply serve as a convenient tag to name the category uniquely
Quasi-quantitative variables. The categories can be rank-ordered but they are nor equally spaced
Quantitative variables. The categories of the variable always satisfy the properties of magnitude and intervals. Sometimes, there is also an absolute zero
Relation between types of variable and levels of measurement
Qualitative nominal Weakest Quasi-quantitative ordinal
Variables Scales of measurement Quantitative (discrete & continuous)
interval ratio (^) Strongest
Rocío Alcalá-Quintana Statistics Applied to Psychology I - Page 9
Statistical analyses provide conclusions about the numbers entered into them, but relating these conclusions to the substantive issues depends on the measurement operations
Thus, scales of measurement should be taken into account when selecting a statistical technique to analyze a given data set
However, some flexibility is unavoidable in Psychology Most of our measurements are really somewhere between ordinal and interval scales: although the difference between consecutive categories is not constant, it is often of the same order of magnitude
substantive question Is alcohol consumption related to depression?
statistical question Are the depression scores of heavy drinkers significantly higher on average than those for teetotalers?
statistical conclusion
substantive conclusion
2.1. Frequency distributions 2.1.1. Classes or intervals
2.2. Graphical representations 2.2.1. Bar charts 2.2.2. Histograms 2.2.3. Frequency polygons 2.2.4. Stem-and-leaf diagrams 2.2.5. Dot plots 2.2.6. Other graphical representations
Rocío Alcalá-Quintana Statistics Applied to Psychology I - Page 13
2.1.1. Classes or intervals
-Example X : Height (in cm) Raw data: {151, 160, 185, ..., 155}; N = 32
X apparent limits
X exact limits Interval width^ Class mark (midpoint)^ n^ i^ c. ni^ pi^ c. pi. 150-159 [149.5, 159.5) 10 154.5 4 4 0.13 0. 160-169 [159.5, 169.5) 10 164.5 7 11 0.22 0. 170-179 [169.5, 179.5) 10 174.5 10 21 0.31 0. 180-189 [179.5, 189.5) 10 184.5 8 29 0.25 0. 190-199 [189.5, 199.5) 10 194.5 3 32 0.1 1 32 ~
Steps for forming class intervals
Further guidelines
Rocío Alcalá-Quintana Statistics Applied to Psychology I - Page 15
(^01 )
1
Has a paid job
Relative frequency
(^01 2 3 4 )
20
40
60
80
100
Expected grade in Statistics I
Absolute frequency
(^01 2 3 4 )
20
40
60
80
100
120
140
160
180
200
Expected grade in Statistics I
Cumulative absolute frequency
2.2. Graphical representations
Always plot your data!
2.2.1. Bar charts (qualitative and quasi-quantitative variables)
1: No2: Yes
1 = “Suspenso”4 = “Sobresaliente” 2 = “Aprobado”5 = “Matrícula de honor” 3 = “Notable” Cumulative^ (quasi-quantitative variables only) 1 = “Suspenso”4 = “Sobresaliente” 2 = “Aprobado”5 = “Matrícula de honor” 3 = “Notable”
(^00 1 2 3 4 5 )
10
20
30
40
50
60
70
80
Time spent studying on a typical weekday (hours)
Absolute frequency
(^00 1 2 3 4 5 )
50
100
150
200
250
Cumulative absolute frequency
Time spent studying on a typical weekday (hours)
(^00 1 2 3 4 5 )
10
20
30
40
50
60
70
80
Time spent studying on a typical weekday (hours)
Absolute frequency
(^00 1 2 3 4 5 )
50
100
150
200
250
Cumulative absolute frequency
Time spent studying on a typical weekday (hours)
2.2.2. Histograms (grouped quantitative variables) Cumulative
-The intersection of the two axes should be the zero point. If it isn’t, introduce a break in the corresponding axis to indicate that a portion has been omitted
2.2.3. Frequency polygons (grouped quantitative variables) Cumulative
Rocío Alcalá-Quintana Statistics Applied to Psychology I - Page 19
3.1. Basic concepts
3.2. Measures of location
3.3. Classic measures of central tendency (“averages”) 3.3.1. The arithmetic mean 3.3.2. The median 3.3.3. The mode
3.4. Resistant measures of central tendency
3.5. Some guidelines for choosing a measure of central tendency
Summary measures (parameters & statistics)
Condense the information contained in the data set Compare different data sets
Parameter. A summary measure calculated from the entire population It is a numerical quantity measuring some aspect of the population Greek letters are used to designate parameters: μ, , , ...
Statistic. A summary measure calculated from a sample It is a numerical quantity that describes some aspect of a sample Latin letters are used to designate statistics: X , s (^) X , r, ...
The best summary measure for qualitative data is the proportion
Rocío Alcalá-Quintana Statistics Applied to Psychology I - Page 21
Percentiles ( Pk ; also “centiles” )
A percentile is a value of the variable below which a given percentage k of the cases in the distribution fall (i.e., score that has k % of the data below it) k is called the percentile rank (= percentage of cases in a distribution that Pk is greater than)
Several algorithms exist for finding percentiles (there is no standard definition of percentile, although all definitions yield very similar results when the sample size is large)
When the variable is continuous, or when the data is scarce, linear interpolation can be used (see next page) assuming intervals of width 1 unit (eg. 1 [0.5, 1.5), etc. )
P (^) k L (^) l k^ ^ N , 100
n (^) b A n (^) w
where L l is the lower limit of the target interval, A is the interval width of the target interval N is the sample size, nb is the cumulative frequency b elow the target interval, and nw is the frequency w ithin the target interval
Deciles ( Dk ) Nine values which divide a set of data into 10 equal parts, each of which contains about the 10% of the data (eg, D 1 is the value of the variable below which 10% of the data falls)
Quartiles ( Qk ) Three values of the variable which divide the distribution into 4 parts, each of which contains about 25% of the data
Equivalencies D 1 = P 10 , D 2 = P 20 , ..., D 9 = P 90 Q 1 = P 25 , Q 2 = P 50 = D 5 , Q 3 = P 75
Rocío Alcalá-Quintana Statistics Applied to Psychology I - Page 25
Properties
a. Requires that the variable be quantitative When comparing different groups on a given variable, group means are usually depicted using bar charts or line plots b. The arithmetic mean is responsive to the exact position of each observation in the distribution Its value is heavily affected by the presence of outliers and strong skewness (see Unit 5) c. It always exists and it is unique But in grouped data, the value of X may vary depending on the width of the chosen class intervals and it cannot be computed in open-ended distributions or when there are undetermined values The mean does not necessarily correspond to any of the values used to compute it
d. (^)
N i 1
( X (^) i X ) 0
e. (^) ,
N i 1
( X (^) i X ) 2 < (^)
N i 1
( X (^) i q ) 2 q X
f. Let Y be a linear transformation of X ( Y a bX , with a and b constant), then, Y a bX
g. The weighted mean. It is an arithmetic mean where some observations contribute more than others
X w ,
J j 1 X (^) j w (^) j
J j 1 w (^) j
where J : total number of observations Xj : j -th observation wj : weight of the j -th observation
h. The grand mean. It is the overall mean for r samples combined. Formally, given r data sets having the means X 1 , X 2 , ..., X (^) r , and consisting of n 1 , n 2 ,..., n (^) r observations each; the grand mean is given by
X grand
r j 1 X (^) j n (^) j
r j 1^ n^ j
r j 1 X (^) j n (^) j N
i. The overall proportion. It is the overall relative frequency of a given category in r sets of data combined
p ,
r j 1 p (^) j n (^) j
r j 1^ n^ j
r j 1 p (^) j n (^) j N
where r : number of data sets p (^) j : relative frequency of a given category in the j -th data set nj : size of the j -th data set
Notice that the arithmetic mean for binned data, the grand mean, and the overall proportion, are merely instances of weighted means
Rocío Alcalá-Quintana Statistics Applied to Psychology I - Page 27
3.3.2. THE MEDIAN ( Mdn )
Definition and calculation
Properties a. It is applicable to quantitative and quasi-quantitative variables b. It is relatively unaffected by extreme observations The median is resistant to outliers c. In grouped data, the value of Mdn may vary depending on the width of the class intervals When comparing different groups on a given variable, group medians are usually depicted using bar charts or line plots
3.3.3. THE MODE ( Mo )
Definition and calculation
The mode is the most common category (or value) that occurs in a data set
- Ungrouped data Category with the highest absolute frequency - Grouped data Modal class: Class interval with the highest absolute frequency Mode: Class mark (midpoint) of the modal class
Properties
a. It is the only measure of central tendency applicable to qualitative variables b. It is also applicable to quasi-quantitative and quantitative variables c. It may not be unique in a particular data set: There are bimodal and multimodal distributions d. In grouped data, the modal class may vary depending on the width of the chosen class intervals
Rocío Alcalá-Quintana Statistics Applied to Psychology I - Page 31
4.1. Introduction
4.2. Distance measures of variability 4.2.1. The range 4.2.2. The interquartile range 4.2.3. The quartile coefficient of variation 4.2.4. Properties
4.3. Measures of variability based on the mean 4.3.1. The mean absolute deviation 4.3.2. The variance 4.3.3. The standard deviation 4.3.4. The coefficient of variation 4.3.5. Properties
4.4. Some guidelines for choosing a measure of variability
6^0 4 2 0 2 4 6
50
100
150
200
250
300
350
6^0 4 2 0 2 4 6
50
100
150
200
250
300
350
6^0 4 2 0 2 4 6
50
100
150
200
250
300
350
X 0.021 ; s (^) X^2 4.172 X 0.021 ; s (^) X^2 0.984 X 0.029 ; s (^) X^2 0.
Rocío Alcalá-Quintana Statistics Applied to Psychology I - Page 33
RG X max X min
4.2.2. THE INTERQUARTILE RANGE ( IQR )
IQR Q 3 Q 1 , where Q 1 and Q 3 are respectively the first and third quartiles
a. The three measures are applicable to quasi-quantitative and quantitative variables b. IQR and QCV are resistant measures of variability c. RG and IQR are expressed in the same units of measurement as the variable being measured d. QCV is dimensionless (i.e., it has no units)
N i 1
| X (^) i X |
N
4.3.2. THE VARIANCE ( s^2 )
Definition and computation
s (^) X^2
N i 1 ( X (^) i X ) 2 N
N i 1 ( X (^) i X ) 2 N ^
N i 1 X (^) i^2 N ^ X^
2
s (^) X^2 , with J , Xj , nj and N as in the formula for
J j 1 n (^) j ( X (^) j X ) 2
J j 1 n (^) j
J j 1 n (^) j ( X (^) j X ) 2 N ^
J j 1 n (^) j X (^) j^2 N ^ X^
(^2) X
Rocío Alcalá-Quintana Statistics Applied to Psychology I - Page 37
Measures of variability based on the arithmetic mean
(i) Variance and standard deviation: First choice except when - the frequency distribution is strongly skewed, or
(ii) Coefficient of variation:
Distance measures of variability (i) Interquartile range:
(ii) Quartile coefficient of variation:
5.1. Introduction
5.2. Skewness
5.3. Kurtosis
5.4. Boxplots
5.5. Data transformations that modify the shape of the distribution
Rocío Alcalá-Quintana Statistics Applied to Psychology I - Page 39
(^00) 0.2 0.4 0.6 0.8 1
100
200
300
400
500
600
(^00) 0.2 0.4 0.6 0.8 1
100
200
300
400
500
600
(^00) 0.2 0.4 0.6 0.8 1
100
200
300
400
500
600
(^0) 4 2 0 2 4 6
20
40
60
80
100
120
140
160
180
(^0) 4 2 0 2 4 6
20
40
60
80
100
120
140
160
180
(^0) 4 2 0 2 4 6
20
40
60
80
100
120
140
160
180
Negatively skewed distribution Symmetrical distribution Positively skewed distribution
Platykurtic distribution Mesokurtic distribution Leptokurtic distribution
Moments
m (^) k . Notice that the arithmetic mean is the 1st^ moment about the origin
N i 1
X (^) ik
N
cm (^) k . Notice that cm 2 is the variance
N i 1
( X (^) i X ) k
N