Re: [R] Large number of dummy variables

2008-07-22 Thread Martin Maechler
'Matrix' Doug Bates mentioned (and wrote!). Martin Maechler HaroldD> -Original Message- HaroldD> From: Bert Gunter [mailto:[EMAIL PROTECTED] HaroldD> Sent: Mon 7/21/2008 6:45 PM HaroldD> To: Doran, Harold; [EMAIL PROTECTED]; r-help@r-project.org H

[R] Large number of dummy variables

2008-07-22 Thread Alan Spearot
Hello, I'm trying to run a regression predicting trade flows between importers and exporters. I wish to include both year-importer dummies and year-exporter dummies. The former includes 1378 levels, and the latter includes 1390 levels. I have roughly 100,000 total observations. When I'm using

Re: [R] Large number of dummy variables

2008-07-21 Thread Doran, Harold
PM To: Doran, Harold; [EMAIL PROTECTED]; r-help@r-project.org Subject: RE: [R] Large number of dummy variables Unless I'm way off base, dummy variable are never needed (nor are desirable) in R; they should be modelled as factors instead. AN INTRO TO R might, and certainly V&R's M

Re: [R] Large number of dummy variables

2008-07-21 Thread Douglas Bates
onday, July 21, 2008 3:16 PM > To: [EMAIL PROTECTED]; r-help@r-project.org > Cc: Douglas Bates > Subject: Re: [R] Large number of dummy variables > > Well, at the risk of entering a debate I really don't have time for (I'm > doing it anyway) why not consider a random coeffici

Re: [R] Large number of dummy variables

2008-07-21 Thread Bert Gunter
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Doran, Harold Sent: Monday, July 21, 2008 3:16 PM To: [EMAIL PROTECTED]; r-help@r-project.org Cc: Douglas Bates Subject: Re: [R] Large number of dummy variables Well, at the risk of entering a debate I really don't have time for (I

Re: [R] Large number of dummy variables

2008-07-21 Thread Doran, Harold
ROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Alan Spearot > Sent: Monday, July 21, 2008 5:59 PM > To: r-help@r-project.org > Subject: [R] Large number of dummy variables > > Hello, > > I'm trying to run a regression predicting trade flows between > importers

[R] Large number of dummy variables

2008-07-21 Thread Alan Spearot
Hello, I'm trying to run a regression predicting trade flows between importers and exporters. I wish to include both year-importer dummies and year-exporter dummies. The former includes 1378 levels, and the latter includes 1390 levels. I have roughly 100,000 total observations. When I'm using