Derivation
variable: bodyf (table[s]: phdk_hsbc, phdl_hsbc)
variable: fat_mass_percent_bs (table[s]: NUTdata_KAR, NUTdata_LLW)
variable: fat_mass_percent_bs_2 (table[s]: NUTdata_KAR, NUTdata_LLW)
variable: dropped_M (table[s]: this dataset)
<NUT data:>
egen fatmasspc_M=rowmean(fat_mass_percent_bs fat_mass_percent_bs_2)
<combined data:>
replace fatmasspc_M=100*(fatmass_M/weight) if weight~=. & fatmass_M~=. & fatmasspc_M==.
<remove inconsistent data from combined data:>
foreach var in fatmass_M fatmasspc_M ffmass_M ffmasspc_M {
replace `var'=. if dropped_M==1
}