Hi Liam,
Thanks for the help!
Does this type of linear model work if X1 and X2 are categorical variables?
-Will
On Wed, Feb 4, 2015 at 2:48 PM, Liam J. Revell liam.rev...@umb.edu wrote:
Hi William.
You should be able to fit this kind of model using gls in the nlme
package. In your case,
Quick correction: index variables are transformed into n x (k - 1) matrices
of INDICATOR variables.
On Wed, Feb 4, 2015 at 5:25 PM, Peter Smits psm...@uchicago.edu wrote:
Hi Will,
Quick answer to that question: yes.
The key is that categorical variables cannot be modeled directly in a GLM
Excellent, thanks Peter!
On Wed, Feb 4, 2015 at 3:42 PM, Peter Smits psm...@uchicago.edu wrote:
Quick correction: index variables are transformed into n x (k - 1)
matrices of INDICATOR variables.
On Wed, Feb 4, 2015 at 5:25 PM, Peter Smits psm...@uchicago.edu wrote:
Hi Will,
Quick answer