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  

|
July 29, 2015 02:16PM
> I'm realizing that `y ~ someFactor+0` where someFactor has more than two levels can't mean
> what I thought it did; what does it mean?

Typically a model contains an intercept, and that's why a factor of n levels is usually represented by (n-1) dummy variables. There are many (actually infinite) ways to dummy code a factor, but there are a few popular ones (see discussion here: [www.ats.ucla.edu]). When an intercept is present in the model, the intercept is usually associated with a specific effect depending the coding strategy. For example, the intercept is the effect estimate for the reference level for dummy coding, and the average across all the levels for deviation coding.

When there is only one factor (and no other explanatory variables) in the model, we can adopt a special coding method: no intercept. In doing so, we can code each level of the factor as a separate regressor, resulting n instead of (n-1) regressors. That is, in a model with a factor of n levels as an explanatory variable (e.g., the n effect estimates from the multiple basis functions such as TENT), this special coding allows us to directly test the desired hypothesis

b_1 = b_2 = ... = b_n = 0

Unfortunately we cannot do this when there are other variables in the model because the special coding would not work.

Gang
Subject Author Posted

3dLME model troubles

Isaac Schwabacher July 24, 2015 03:48PM

Re: 3dLME model troubles

gang July 24, 2015 04:25PM

Re: 3dLME model troubles

Isaac Schwabacher July 24, 2015 04:35PM

Re: 3dLME model troubles

gang July 26, 2015 11:32AM

Re: 3dLME model troubles

Isaac Schwabacher July 28, 2015 11:40AM

Re: 3dLME model troubles

gang July 28, 2015 02:56PM

Re: 3dLME model troubles

Isaac Schwabacher July 28, 2015 06:14PM

Re: 3dLME model troubles

gang July 29, 2015 02:16PM

Re: 3dLME model troubles

Isaac Schwabacher July 29, 2015 04:57PM

Re: 3dLME model troubles

gang July 30, 2015 12:50PM