6 views

Uploaded by Octavian Albu

s2222222222222222 545 25

save

- Earnings and Education in Latin America- George Psacharopoulus
- Stats
- 11-statistics1-P62-summer-2002-2014
- Math CW4
- Intro to Stats
- M6 - Basic Statistics
- cc2 parent guide
- June 2014 QP - S3 Edexcel
- Theoretical Distributions
- normal distribution
- Statistics
- download.pdf
- In Situ Measurements in Heap Leach Piles Cerro Verde
- The Normal Distribution
- Darwin College
- ARTICULOSimplified Statistics for Small Numbers of Observations.pdf
- Uniformidadcontenido Troubleshooting Pharm Tech
- Tutorial Part 1( May 2014)
- Stat Recap
- 14 Appendix 3 N-Way Anova Formula
- Estimating Yields
- Sampling Design Lecture Notes UNIT III
- Degrees of Freedom
- 11.Hypothesis Testing II
- 9709_s11_qp_63
- 1-11
- Chapter Five Notes (1).doc
- Rcb
- ch13
- the data exploration mini project
- 219775462 Contoh Format Pengkajian
- Ind. Leak. reactance.pdf
- Análisis de Una Flor
- UBICACION-UBICACION -A3
- Informe Final
- Prediksi Bola Bayer Leverkusen vs VfB Stuttgart 24 November 2018
- Consulta N 27(Tipos de Bombas en La Industria)
- COFEPRIS.pptx
- Catedral de Notre Dame de Paris
- Eine Kleine - Viola.pdf
- Importancia de Las Angiospermas Para El Hombre
- folleto-tecnicas-relajacion.docx
- Propuestas de Solución
- 30, 05 Suelos.docx
- Antonio
- Roberto Schwarz - As Id‚ias Fora do Lugar.pdf
- porter (1).doc
- 200812GuiaVentilacionMinas
- CURVA DE CALIBRACION DEL ANEMOMETRO.xlsx
- 99
- Art
- Formation Adobe Indesign CS4
- 2018B_MEC6B5_Deber1.pdf
- Sado
- 2b62fc512c531e10613d
- Paradigma de la conjugación verbal en español
- f.pdf
- The 2018 SPSA Conference Programme_1
- Trans as Bodily Becoming (1)-2.pdf
- MAKALAH PEMBERDAYAAN MASYARAKAT.docx
- wawdddddd
- U Olcott Kent Pettee and Kendall
- Nssew Text Document
- 2484 Quirinal AVE - Sebastian a. Corn
- ssesarsagas
- 2061 a Treia Odisee Spatiala - Arthur C. Clarke
- ses22sfffsg
- asfasfaesaeaundasfasfasftiei - Isaacfsaeeimov
- 3001 Odiseea Finala - Arthur C. Clarke
- 2001 O Odisee Spatiala - Arthur C. Clarke
- ra131313
- v35i2a06p
- Abaddon, Exterminatorul - Ernesto Sabato
- asasawwwww
- Introduction to Politics Essay 1
- Introduction to Politics Essay 1
- s
- q123edrft g dgdgd
- 12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)
- 1555555555555555 ggggggggg
- Festivals
- Festivals
- Introduction to Politics Essay 3
- Test1 Ec111 1314 Template
- 3 g33g3
- 12 Crackedh
- a1rr1ra1r
- Introduction to Politics Essay 2

You are on page 1of 3

Department of Government, University of Essex

Probabilities and the Normal Distribution

**Importance of the normal distribution
**

Many variables in the real world are normally distributed: height, shoe-size, length of tree leafs,

IQ, but also marks in class tests . . .

In the case of a normal distribution, mean = median = mode.

Most importantly, we know the properties of the normal distribution: 68% of the area under the

curve lie between one standard deviation to the left and one to the right of the mean, around 95%

between two standard deviations,1 and 99.7% between three standard deviations.

A normal distribution with a mean of 0 and a standard deviation of 1 is called a standard normal

distribution.

Every normal distribution can be transformed into a standard normal distribution using the ztransformation.

The z-transformation2

When we have a sample, we can use the mean ( ) and the standard deviation (s) of a normally

distributed variable (X) to calculate the z-score for a particular observation’s value. The z-score

indicates by how many standard deviations the value deviates from the mean. Z-scores enable us to

calculate the percentile of a specific observation because all z-scores and corresponding percentiles

are already tabulated.

Starting from the z-score for an observation, plus the mean and standard deviation of our variable, we

can rearrange the equation to figure out the value of our observation:

1

**The precise number is actually about 1.96, but we usually use 2 for sake of simplicity.
**

Not to be confused with the z-transformation that comes up on Wikipedia. What we mean here is the

transformation of an observation’s value so that we get a z-score.

2

1

GV207 – Political Analysis, Week 04

Department of Government, University of Essex

**How to compute z-scores in Stata
**

We can generate our z-scores in Stata with the use of two commands, one of which we’ve already

seen: summarize and generate.

First we need to find out the mean and the standard deviation of the variable we want to compute zscores for. To do so we simply use:

summarize varname

Using the mean and the standard deviation, we can generate our new variable (z_varname) by using

the equation for the z-score as given above. Assume that the mean of our variable is 70 and the

standard deviation is 20.

generate z_varname = (varname - 70)/20

This generates a new variable z_varname where the values are the z-scores which correspond to the

values of varname.

**Calculating the area under the curve above or below an observation
**

In the lecture you were told how to find out what proportion of observations lie above or below a

particular value of a variable. 3 In this case, you consulted a table (from a statistics textbook) that told

you the proportion of observations that corresponds to the z-score. While this is a perfectly valid way

of doing so, it becomes time consuming if we want to calculate this for the values of every

observation on our variable. Thankfully Stata allows us to do this much quicker.

The function normal() gives us the value of the cumulative standard normal distribution, 4 i.e. what

proportion of observations lie below a particular value. Thus we just combine this function with

generate to create a new variable called below_varname that tells us what proportion of observations

are below the value of each observation on our variable:

generate below_varname = normal(z_varname)

**If instead we want to know the proportion of observations above the value of a particular observation
**

then we don’t have to change too much. If we know the proportion below (Pbelow) then simply:

Pabove = 1 – Pbelow

Or if we want to create a new variable called above_varname that provides us with the proportion of

observations above a particular observation’s value, we simply do:

generate above_varname = 1 - normal(z_varname)

3

**Proportions here are equivalent to percentages. If the proportion of observations below a particular value is
**

0.2, this is equivalent to saying 20% of the observations are below this particular value.

4

As noted above, the standard normal distribution is a normal distribution with mean 0 and standard deviation

1. This is why the z-transformation is sometimes called “standardisation”.

2

GV207 – Political Analysis, Week 04

Department of Government, University of Essex

Stata exercise

As always, we will use the data set Democracy small.dta.

1. Find a continuous variable in the data set.

2. Check to see if is normally distributed using the commands shown last week ( histogram and

kdensity). Does it look normally distributed?

3. If it isn’t find another continuous variable and do the same checks. If you still don’t have a

normally distributed variable just continue onto the next part with this variable.

4. Calculate the mean and standard deviation of this variable using the summarize command.

5. Using the list command and the appropriate if conditions list the values of this variable as well as

the names of the countries in the data set.

6. Find the value of this variable for your home country and calculate (on paper or in your head) the

corresponding z-score. How many standard deviations is it above or below the mean?

7. Using the commands outlined above, create a new variable that is the z-score associated with the

variable you chose. Make sure to give the variable a meaningful name. You can also label the

variable for more detail.

8. Using your new variable, generate a new variable that is the proportion of observations below the

associated z-score.

9. Use the list command again with the appropriate if conditions to find out what proportion of

observations lie below your home country’s value for this variable.

10. Knowing this, what proportion of countries have a value higher than that of your home country?

3

- Earnings and Education in Latin America- George PsacharopoulusUploaded byNicoleLeines
- StatsUploaded byAaron Wallace
- 11-statistics1-P62-summer-2002-2014Uploaded byHalim Guru Fisika
- Math CW4Uploaded byAndrei Cristian
- Intro to StatsUploaded bymalyn1218
- M6 - Basic StatisticsUploaded byAzer Asociados Sac
- cc2 parent guideUploaded byapi-292263771
- June 2014 QP - S3 EdexcelUploaded byFake Person
- Theoretical DistributionsUploaded bykritishah5
- normal distributionUploaded byRishab Mehta
- StatisticsUploaded byपंकज शर्मा
- download.pdfUploaded byNataliAmiranashvili
- In Situ Measurements in Heap Leach Piles Cerro VerdeUploaded byjose amezquita
- The Normal DistributionUploaded byjorsen93
- Darwin CollegeUploaded byMrWaratahs
- ARTICULOSimplified Statistics for Small Numbers of Observations.pdfUploaded by2704honey
- Uniformidadcontenido Troubleshooting Pharm TechUploaded byjcoccio2
- Tutorial Part 1( May 2014)Uploaded byEvan Chin
- Stat RecapUploaded byRajesh Dwivedi
- 14 Appendix 3 N-Way Anova FormulaUploaded byRenelito Dichos Tangkay
- Estimating YieldsUploaded byroger_roo
- Sampling Design Lecture Notes UNIT IIIUploaded byAmit Kumar
- Degrees of FreedomUploaded byMahmood Khan
- 11.Hypothesis Testing IIUploaded bySuryati Purba
- 9709_s11_qp_63Uploaded byAbrar Jahin
- 1-11Uploaded byAnonymous D1iXkgR
- Chapter Five Notes (1).docUploaded byAnonymous 1cA1GVyRP
- RcbUploaded byAhmad Razzak
- ch13Uploaded byDwiNovriadi
- the data exploration mini projectUploaded byapi-268991410

- wawddddddUploaded byOctavian Albu
- U Olcott Kent Pettee and KendallUploaded byOctavian Albu
- Nssew Text DocumentUploaded byOctavian Albu
- 2484 Quirinal AVE - Sebastian a. CornUploaded byOctavian Albu
- ssesarsagasUploaded byOctavian Albu
- 2061 a Treia Odisee Spatiala - Arthur C. ClarkeUploaded byOctavian Albu
- ses22sfffsgUploaded byOctavian Albu
- asfasfaesaeaundasfasfasftiei - IsaacfsaeeimovUploaded byOctavian Albu
- 3001 Odiseea Finala - Arthur C. ClarkeUploaded byOctavian Albu
- 2001 O Odisee Spatiala - Arthur C. ClarkeUploaded byOctavian Albu
- ra131313Uploaded byOctavian Albu
- v35i2a06pUploaded byOctavian Albu
- Abaddon, Exterminatorul - Ernesto SabatoUploaded byOctavian Albu
- asasawwwwwUploaded byOctavian Albu
- Introduction to Politics Essay 1Uploaded byOctavian Albu
- Introduction to Politics Essay 1Uploaded byOctavian Albu
- sUploaded byOctavian Albu
- q123edrft g dgdgdUploaded byOctavian Albu
- 12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)12cracked(1)Uploaded byOctavian Albu
- 1555555555555555 gggggggggUploaded byOctavian Albu
- FestivalsUploaded byOctavian Albu
- FestivalsUploaded byOctavian Albu
- Introduction to Politics Essay 3Uploaded byOctavian Albu
- Test1 Ec111 1314 TemplateUploaded byOctavian Albu
- 3 g33g3Uploaded byOctavian Albu
- 12 CrackedhUploaded byOctavian Albu
- a1rr1ra1rUploaded byOctavian Albu
- Introduction to Politics Essay 2Uploaded byOctavian Albu