Project

General

Profile

Support #1974 » Arthritis Cancer Example.do

Laurence Rowley-Abel, 09/17/2023 03:28 PM

 
/*

##############################
# #
# ARTHRITIS CANCER EXAMPLE #
# #
##############################

Laurence Rowley-Abel, University of Edinburgh


*/

// Set path to data
global path_to_data "../Data/Understanding Society Data/Raw Data/UKDA-6614-stata/stata/stata13_se/ukhls"

// Read in Wave 10
use "$path_to_data/j_indresp.dta", clear

// Browse the j_hcondno* variables for those who reported having been diagnosed with "Other arthritis"
br j_hcondncode25 j_hcondno* if j_hcondncode25==1

// Browse the j_hcondno* variables for those who reported having been diagnosed with "Other cancer"
br j_hcondncode32 j_hcondno* if j_hcondncode32==1
(1-1/2)