Hi,
Is there somebody who can explain how %mkt merge (choice modelling) handles missing data? It seems that missing data are replaced by zero, indicating that the option is "not choosen", however there is an important difference between "not chosen" and "missing". I would prefer to omit observations where the "choice" is missing, is this possible whithin %mkt merge?
Thank you in advance!
I have no idea what this macro is or where it comes from, are you sure you posted in the right forum? If you want to be sure that missing data is not used in this macro, why not just drop it from the dataset *before* calling that macro e.g.:
data work.inter; set have (where=(your_variable ne .)); run; %mktmerge (dataset=inter...);
Have you checked the documentation?
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
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.
Ready to level-up your skills? Choose your own adventure.