Hi
Does anyone know of a website or platform that can automatically generate STATA codes from SAS codes? For e.g. , below is a SAS code but I want to generate it in STATA.
thank you
marital status of the reference person: 1=married/living with partner, 2=neither married nor living with partner; IF (X8023 IN (1 2)) THEN MARRIED=1; ELSE MARRIED=2;