Download Q28ST.

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Pattern recognition wikipedia , lookup

Corecursion wikipedia , lookup

Data analysis wikipedia , lookup

Data assimilation wikipedia , lookup

Transcript
DATA ANALYSIS
Load Latino American Barometer
• Go to library, resources for your subject,
library, then economics, then:
• Statistics & Data
Then:
•
• Latinobarometro: Latin American public
opinion survey - to change the language, click
on the English/Espagnol tab. Statistical
information is available via Data Bank,
Documents & Publications tabs - you can also
use the Latinobarometro to conduct simple
online analyses of statistics. The site also
features annual reports.
Then click on english at the top
• Inicio Corporación Banco de datos Análisis en
Línea Documentos Publicaciones Contacto
English
Then ‘data bank’
• Home Corporation Data Bank Online analysis
Documents Publications Contact Español
Choose 2009 and stata/se file -dta
• Download Data Files
• Data files are available for different years and in
various formats and in both Spanish - the official
language - and English.
• Latinobarómetro 2010 NEW
• Select a format: [SPSS file - SAV] [Stata/SE file - DTA]
[SAS V11 file]
• Latinobarómetro 2009 REVISED (Labelled Region, City,
Policital Parties + Spain's data)
• Select a format: [SPSS file - SAV] [Stata/SE file - DTA]
[SAS V11 file]
Then download file
• Download file: LATINOBARÓMETRO 2009 - DATA FILE - STATA/SE V11
•
Please, take note of the following:
The file cannot be redistributed
• The file is compressed using Winzip. You need to decompress it before
using it.
• The file contains data at the respondent level. If you want to see
ellaborated tables, you should better use the online analysis option.
• In order to open this file, you will need the corresponding statistical
program (SPSS, Stata, SAS, and so on)
• Click the following link to begin download:
Download file
You are given option, open or save,
choose save
• In the browser choose a suitable place to save,
could be a flash drive
• Now open laptop/pc search and find the file
you have just downloaded. There are 4 files
• 2 in spanish and 2 in english. Two each of data
files and the questionnaire.
• Copy/move the english files to another
directory
Now open stata
• Click file (top left menu bar) then open from
menu
• Locate the data file you have just downloaded
and click on it:
It has not worked, not enough
memory. Block copy the use
instriuction and….
___ ____ ____ ____ ____ tm
/__
/
____/
/
____/
___/
/
/___/
/
/___/
10.0
Statistics/Data Analysis
Copyright 1984-2007
StataCorp
4905 Lakeway Drive
College Station, Texas 77845 USA
800-STATA-PC
http://www.stata.com
979-696-4600
[email protected]
979-696-4601 (fax)
10-user Stata for Windows (network) perpetual license:
Serial number: 1910514790
Licensed to: john robert hudson
University of Bath
Notes:
1.
2.
(/m# option or -set memory-) 1.00 MB allocated to data
New update available; type -update all-
. use "C:\Users\John\Desktop\courses\masters\LAT_Latinobarometro2008_dta\Latinobarometro_20
> 08_eng.dta", clear
no room to add more observations
An attempt was made to increase the number of observations beyond what is currently
possible. You have the following alternatives:
Remember its case sensitive be careful
with upper and lower case letters.
set mem 200000
use
"C:\Users\John\Desktop\courses\masters\LAT_Latinobarometro2008_dta\Latinob
arometro_2008_eng.dta", clear
OK now you have opened the data.
Type summ t*
. summ t*
Variable
Obs
Mean
tamciud
totrevi
totcuot
totrech
totperd
22675
22675
22675
22675
22675
5.585667
1.341742
16.89204
1.097861
.467828
Std. Dev.
2.076982
2.792861
35.78099
2.249576
1.421481
Min
Max
1
0
0
0
0
8
83
99
44
24
And this describes all data beginning
with t
. describe t*
storage
variable name
type
display
format
value
label
variable label
tamciud
totrevi
totcuot
totrech
totperd
%8.0g
%8.0g
%8.0g
%8.0g
%8.0g
TAMCIUD
TOTREVI
TOTCUOT
TOTRECH
TOTPERD
Size of town
Control of re-interview
Control of quota
Total rejections
Total lost
byte
byte
byte
byte
byte
Now open questionnaire and we see:
•
•
•
•
•
•
•
•
•
•
•
Q5ST. Do you consider the country’s present economic
situation to be much better, a little better, about
the same, a little worse or much worse than 12 months
ago? (WAIT FOR ANSWER AND TICK ONLY ONE)
Much better.............1
A little better.........2
About the same..........3
A little worse..........4
Much worse..............5
DNK.....................8 DON’T READ
DNA.....................0
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
Q28ST. (SHOW CARD 6) Please look at this card and tell
me, how much trust you have in each of the following
groups, institutions or persons: a lot (1), some (2),
a little (3) or no trust (4)? (READ EACH ALTERNATIVE
AND TICK ONE FOR EACH)
L S L N DNK DNA
Q28ST.A. National Congress/
Parliament................ 1 2 3 4 8 0
Q28ST.B. Judiciary.........1 2 3 4 8 0
Q28ST.C. Political parties.1 2 3 4 8 0
Q28ST.D. Armed forces......1 2 3 4 8 0
Q28ST.E. Public
Administration.............1 2 3 4 8 0
Q28ST.F. Local government..1 2 3 4 8 0
Q28ST.G The church.........1 2 3 4 8 0
Lets do a tabulation of two of the
variables
•
•
•
•
Tab2 Q5ST Q28ST.B.
It did not work.
Look at the data base using data editor
The variables seemes to be called p not Q.
Try it:
• describe p5st p28*
Good, so then…..
. describe p5st p28*
storage
variable name
type
display
format
value
label
p5st
byte
%8.0g
P5ST
p28st_a
byte
%8.0g
P28ST.A
p28st_b
p28st_c
p28st_d
p28st_e
byte
byte
byte
byte
%8.0g
%8.0g
%8.0g
%8.0g
P28ST.B
P28ST.C
P28ST.D
P28ST.E
p28st_f
p28st_g
byte
byte
%8.0g
%8.0g
P28ST.F
P28ST.G
variable label
Past economic situation of the
country
Confidence in National Congress
/ Parliament
Confidence in the judiciary
Confidence in political parties
Confidence in the armed forces
Confidence in public
administration
Confidence in local government
Confidence in church
This is part of the output
tab2 p5st p28st_a
Past economic
situation of
the country
Confidence in National Congress / Parliament
No answer A lot of
Some conf Little co No confid
Total
No answer
Much better
A little better
About the same
A little worse
Much worse
Don´t know
5
4
34
71
38
16
5
0
169
444
325
244
119
8
7
292
1,735
1,983
1,467
533
42
11
214
1,921
2,928
2,350
972
55
8
145
1,017
1,691
1,748
1,148
57
33
849
5,318
7,285
6,048
2,931
211
Total
173
1,309
6,059
8,451
5,814
22,675
Now a histogram
1
.5
0
Density
1.5
2
histogram p5st
0
2
4
6
Past economic situation of the country
8
Exclude don’t knows and no answers
2
1
0
Density
3
4
histogram p5st if p5st>0 & p5st<6
1
2
3
4
Past economic situation of the country
5
& with a kernel density
2
1
0
Density
3
4
histogram p5st if p5st>0 & p5st<6,kdensity,
which is not very interesting
1
2
3
4
Past economic situation of the country
5
A kernel density os like a continuous
histogram. Try it on a continuous
variable: age.
.02
0
.01
Density
.03
.04
histogram edad if edad>0 & edad<90,kdensity
Interesting
20
40
60
age
80
100