Closed mblesac closed 7 months ago
I don't believe this package will support more than one smooth term in its current implementation. I will keep this issue open for now as an idea for further development.
However, I would ask why you need more than one smooth term for age in your model... the inclusion of a smooth term will flexibly fit a non-linear age trend. I don't immediately see a need for more than one smooth term in this example.
Hi,
The reason for this is that I was working with neonatal data. With this data we usually take into account two ages, the age at scan and the age at birth, both are important and affect the diffusion metrics. So I was trying to harmonize different datasets fitting two non-linear age relations.
Best regards,
Manuel
Hi,
I can run the code with one variable in smooth_terms, however when I do:
my_model, nifti_array_adj = nh.harmonizationLearn(nifti_array, covars, smooth_terms=['AGE_B', 'AGE_S'])
It gives me the following error:
Do you know what is causing this issue? Thanks in advance.
Bst regards,
Manuel