From the course: Introduction to Stata
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Manipulating data: Challenge - Stata Tutorial
From the course: Introduction to Stata
Manipulating data: Challenge
(upbeat music) - [Instructor] Let's look at some data manipulation challenges. This will help reinforce the knowledge you've already gained from the previous videos. The first challenge is, using the NLSW88 data, create a new variable that identifies all married, non-white women aged 40 or above. The second challenge is, once you've identified these observations, drop all other observations from the data. And the final challenge is, generate a new variable that groups all remaining women into four equal wage quartiles. The challenge should take you around five minutes to complete.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
Recoding an existing variable4m 3s
-
(Locked)
Generating a new variable5m 15s
-
(Locked)
Naming and labeling variables5m 20s
-
(Locked)
Extended generate3m 26s
-
(Locked)
Indicator variables4m 7s
-
(Locked)
Keeping and dropping variables3m 9s
-
(Locked)
Saving data3m 6s
-
(Locked)
Merging and appending6m 54s
-
(Locked)
String variables5m 53s
-
(Locked)
Local macros and looping7m 12s
-
(Locked)
Manipulating data: Challenge45s
-
(Locked)
Manipulating data: Solution4m 7s
-
(Locked)
-
-
-
-
-
-
-