LIBNAME Mydata "C:\Users\tisha\Downloads\NSCH2019_SAS_CAHMI_DRC";
RUN;
proc contents data=Mydata.Nsch2019;
run;
Data Mydata;
Set Mydata.Nsch2019;
Run;
INSTY = InsType_19*1;
FORGON = nom25ForgoneHC_19*1;
SC_AGE_YEARS_L = SC_AGE_YEARS*1;
SC_SEX_L = SC_Sex*1;
SC_HISPANIC_R_L = SC_HISPANIC_R*1;
SC_RACE_R_L = SC_RACE_R*1;
FPL_I1_L = FPL_I1*1;
EDUCFO = AdultEduc_19*1;
INSURAN = npm15AdIns_19*1;
SYSTCAR = SystCare2_19*1;
NOGAP = InsGap_19*1;
run;
Proc logistic data = Nsch.Nsch2019;
class SC_AGE_YEARS (ref = '1')/ param = ref;
model nom25ForgoneHC_19 = SC_AGE_YEARS /link = logit;
run; Shown in the results there are observations and variables available but when I run my code the only thing that come available is the variables. Also, I am changing my variables within the dataset from categorical to numerical but it seem to not be able to find my formats
... View more