Good day SAS friends:
I need to know how to name this variable in the example, im working in categorical variables, so when the sample has no decimal characters, this means succes ("1") and when the characters have decimal characters means no succes ("0").
here is the data set and my programming (help me to fix it please):
z = .;
if sample = (number with no decimals)
z = 1;
result = "Succes!";
else if x = (number with decimals) then do;
z = 0;
result = "No Succes";
proc print data=want;
var sample z result;
Thank you very much
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.