Skip to content
Prev 43212 / 398513 Next

Re-Post: Combining Factors in model.matrix

On Mon, 26 Jan 2004, Paul Boutros wrote:

            
The design matrix is X in the regression usually represented by

y = Xb + e

and is called a model matrix in S/R.
You can't have factors that are present/absent.  (You can have levels of
treatments which are present/absent.)  We understand the rows to represent
the individuals runs of a single experiment, but what do the columns
represent?
So why did you use ~ -1 + (t1+t2) ?  That explicitly removes the 
intercept.