Skip to content
Prev 3934 / 21312 Next

[Bioc-devel] Making hypothesis testing easier with design matrices?

Dear Ryan,

Thanks for your suggestion.  I think though that the attribute that you 
are thinking of implementing is not actually something that exists in 
general.
On Mon, 10 Dec 2012, Ryan C. Thompson wrote:

            
I hope you understand why this has to be so.
This is so only for one-way designs, i.e., for single factor experiments.
I think you mean model.matrix(~cond)
Actually the name of the first coefficient would be "(Intercept)".
No.  I'm not sure what you have in mind by "A" but, if you mean the 
average log-expression when the condition is at level A, then it would be 
just "(Intercept)".

The contrast you give doesn't represent anything of interest.
No, there isn't any such thing as a contrast corresponding to one level of 
one of the factors.  For example, consider the additive model ~a+b where 
"a" and "b" are factors with levels 1,2,...  Then it just doesn't make 
sense to talk about the effect for b1 as an isolated concept.

The model has fitted values, which require the levels of both factors to 
be specified simultaneously, and it is possible to make tests for 
combinations of coefficients.  There isn't anything else that is 
meaningful.

Suppose that "b" has three levels.  You might not be appreciating the fact 
that the two coefficients b2 and b3 do contain all the information about 
comparisons between levels of b.  The intercept term is not involved. 
You can test for b2, for b3, or for b2-b3.  In terms of pairwise 
comparisons, there's nothing else.
Another thing to consider is interactions. For models including 
interactions, then making comparisons between levels of one factor in 
isolation is not scientifically sensible.

In the edgeR and limma User's Guide, I recommend that most users may find 
it simplest to think of interaction models in terms of one-way layouts.

For additive models however, I think there is no shortcut to a user trying 
to understand what the fitted coefficients represent.

Best wishes
Gordon
______________________________________________________________________
The information in this email is confidential and intend...{{dropped:4}}