function p=angina(x)

% x= angina severity (0= no angina, 1= mild angina, etc)

if x==0
   p=0.99;
elseif x==1
   p=0.004;
elseif x==2
   p=0.003;
elseif x==3
   p=0.002;
elseif x==4
   p=0.001;
end
