











































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
Introduction to Labels, Working with Data Labels, Variable Labels, Value Labels, Developing skills to ADD, Use of Labels in Stata, Types of labels, Adding Label to a Data Set are key and learning points in this lecture of Econometric.
Typology: Slides
1 / 51
This page cannot be seen from the preview
Don't miss anything!
1
2
-^
-^
4
-^
-^
Docsity.com
5
7
8
10
A dialogue box appears.
Select
“Attach
a^
label
to
a^
variable”
and
in
the
variable dropdown menu Sele
ct the variable to which
you want to add a label say “id” and add a new labelas “identifier” and Click submit.
11
You can label all variables in the same manner.I labeled ‘id’ by “identifier”, ‘age’ by “age of a person”, ‘sex’
by “sex of a person” and ‘edu’ by “education of a person”. Now look at the variable window.
13
Two
steps
are
required
to
assign^
the
labels
to
values
of
variables. Step 1:
Define a value label.
Step 2:
Assign the Defined value label to a particular variable.
Type ‘describe’ to describethe data. Note that
no
value
labels
are attached.
Docsity.com
14
Open data file named ‘personalinfo.dta’. Click Browse data to
see the data.
16
17
Click
“Define”
and
give
a^
label
name ‘mf’ for male and female. Click Ok.Now a new dialogue box appears.In the value write ‘1’ and in the text
option write ‘male’. Click Ok.
19
When all the labels are assigned,
Click Close.
20
Step 2: Assign value labels to variable Go to Data Menu
Select value labels
Select assign value
labels to variables.