Re: [R] Regression with many independent variables

2011-03-04 Thread Greg Snow
day, March 03, 2011 3:43 PM > To: Greg Snow > Cc: r-help@r-project.org > Subject: Re: [R] Regression with many independent variables > > Thanks for getting back to me so quickly greg. Im not quite sure how > to do what you just said, is there an example that you can show? > &

Re: [R] Regression with many independent variables

2011-03-03 Thread Matthew Douglas
t.dougla...@gmail.com] >> Sent: Thursday, March 03, 2011 2:09 PM >> To: Greg Snow >> Cc: r-help@r-project.org >> Subject: Re: [R] Regression with many independent variables >> >> Thanks greg, >> >>  that formula was exactly what I was looking for. Exc

Re: [R] Regression with many independent variables

2011-03-03 Thread Matthew Douglas
essage- >> From: Matthew Douglas [mailto:matt.dougla...@gmail.com] >> Sent: Tuesday, March 01, 2011 1:09 PM >> To: Greg Snow >> Cc: r-help@r-project.org >> Subject: Re: [R] Regression with many independent variables >> >> Hi Greg, >> >> Thank

Re: [R] Regression with many independent variables

2011-03-03 Thread Greg Snow
...@imail.org 801.408.8111 > -Original Message- > From: Matthew Douglas [mailto:matt.dougla...@gmail.com] > Sent: Thursday, March 03, 2011 2:09 PM > To: Greg Snow > Cc: r-help@r-project.org > Subject: Re: [R] Regression with many independent variables > > Thanks greg

Re: [R] Regression with many independent variables

2011-03-01 Thread Matthew Douglas
hcare > greg.s...@imail.org > 801.408.8111 > > >> -Original Message- >> From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- >> project.org] On Behalf Of Matthew Douglas >> Sent: Monday, February 28, 2011 1:32 PM >> To: r-help@r-project.org &g

Re: [R] Regression with many independent variables

2011-03-01 Thread Greg Snow
. > > Statistical Data Center > > Intermountain Healthcare > > greg.s...@imail.org > > 801.408.8111 > > > > > >> -Original Message- > >> From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > >> project.org] On Behalf Of Matthe

Re: [R] Regression with many independent variables

2011-02-28 Thread Greg Snow
08.8111 > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of Matthew Douglas > Sent: Monday, February 28, 2011 1:32 PM > To: r-help@r-project.org > Subject: [R] Regression with many independent variables >

[R] Regression with many independent variables

2011-02-28 Thread Matthew Douglas
Hi, I am trying use lm() on some data, the code works fine but I would like to use a more efficient way to do this. The data looks like this (the data is very sparse with a few 1s, -1s and the rest 0s): > head(adj0708) MARGIN Poss P235 P247 P703 P218 P430 P489 P83 P307 P337 1 64.2857