Dear Profs and colleagues,
I have two variables, 'nacio' and 'S_lp_iv_normalized,' where the latter can be either 0 or non-zero. I'm going to compute what percentage of 'nacio' is not PT when 'S_lp_iv_normalized' is non-zero.
Any ideas are appreciated.
Cheers,
Paris
I have two variables, 'nacio' and 'S_lp_iv_normalized,' where the latter can be either 0 or non-zero. I'm going to compute what percentage of 'nacio' is not PT when 'S_lp_iv_normalized' is non-zero.
Code:
* Example generated by -dataex-. For more info, type help dataex clear input str6 nacio float S_lp_iv_normalized "PT" 0 "PT" 0 "PT" 0 "CN" .0197452 "NP" .0205642 "CN" .0197452 "CN" .0197452 "NP" .0205642 "NP" .0205642 "CN" .0197452 "NP" .0205642 "NP" .0205642 "CN" .0197452 "PT" 0 "PT" 0 "PT" 0 "PT" 0 "PT" 0 "MZ" .0495451 "PT" 0 "PT" 0 "PT" 0 "PT" 0 "PT" 0 "PT" 0 "UA" .12228884 "UA" .12228884 "PT" 0 "PT" 0 "PT" 0 "PT" 0 "UA" .12228884 end
Cheers,
Paris
Comment