AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
June 28, 2022 11:59AM
Hi Megan,

Long story short: I think you should be using -regress_stim_types AM2 (rather than AM1).


Long story long: Amplitude modulation and duration modulation are somewhat different beasts.

AM1 means to _assume_ any modulation effects (amplitude or duration), and make only 1 regressor, which contains both the mean and modulation effects. Making that assumption is uncommon (for the case of an actual amplitude modulator), one generally wants to see main effects and modulation effects separately.

Duration modulation never adds an extra regressor. It convolves the current ones to be for events of the given durations. So when doing DM, is it very common to use AM1 (if there are no actual amplitude modulators).


Use of AM2 is explicitly for the case where there is at least one modulation term attached to events (not including duration modulation). When using AM2, modulators will be modeled separately from the average response.

Since you have a modulation term, you should use AM2. Having a DM term does not really affect this.

To summarize:
If you only have DM, use AM1.
If you ever have a modulation term, use AM2 (probably).

Does this seem reasonable?

- rick
Subject Author Posted

AM script not producing AM output

MeganQ June 28, 2022 11:10AM

Re: AM script not producing AM output

rick reynolds June 28, 2022 11:59AM

Re: AM script not producing AM output

MeganQ June 28, 2022 12:30PM