BSplineTerm and continuous terms #276
-
Hello fstim = @formula(0 ~ 1) bfsacc = firbasis((-0.2, 0.5), sfreq) bfDict = [ "stimonset" => (fstim, bfstim), but when I try to model I get the error And I can't identify the problem. Do you have any suggestions, please? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Thanks for reporting, this helps us improve the usability of unfold. Can you check
In any case, i will improve the error message to provide a more helpful error message in the future. |
Beta Was this translation helpful? Give feedback.
Thanks for reporting, this helps us improve the usability of unfold.
Can you check
typeof(evts.sac_amplitude)
? I suspect you get anAny
which Unfold/Statsmodels can only interpret as categorical.evts.sac_amplitude = Float64.(evts.sac_amplitude)
would convert it to numeric proper and fix that error, or using the second, more complex converter in the load-eeglab example (untested).In any case, i will improve the error message to provide a more helpful error message in the future.