# use the ACS dataset included in the package
y = ciccr::ACS$topincome
t = ciccr::ACS$baplus
age = ciccr::ACS$age
x = splines::bs(age, df=6) # b-splines for age
results = AAA_DML(y, t, x, 'pro', k=2)
Run the code above in your browser using DataLab