Re: [R] GLM Coding Issue

2012-11-29 Thread Craig P O'Connell
ly appreciated. Kind Regards, Craig - Original Message - From: "Steve Lianoglou" To: "David Winsemius" Cc: "Craig P O'Connell" , r-help@r-project.org Sent: Tuesday, November 27, 2012 11:54:48 PM Subject: Re: [R] GLM Coding Issue Hi, On Tuesday, Novem

Re: [R] GLM Coding Issue

2012-11-27 Thread Steve Lianoglou
Hi Peter, On Tue, Nov 27, 2012 at 8:05 PM, Peter Ehlers wrote: > > On 2012-11-27 14:34, Steve Lianoglou wrote: [snip] > Steve: > re a matrix response: see MASS (the book, 4ed) page 191; also found > in the ch07.R file in the /library/MASS/scripts folder. I seem to > recall that this is mentioned

Re: [R] GLM Coding Issue

2012-11-27 Thread Steve Lianoglou
Hi, On Tuesday, November 27, 2012, David Winsemius wrote: [snip] > `cbind`-ing doesn't make much sense here. What is your target (y) >> variable here? are you trying to predict `avoid` or `noavoid` status? >> > > Sorry, Steve. It does make sense. See : > > ?glm # First paragraph of Details. In

Re: [R] GLM Coding Issue

2012-11-27 Thread David Winsemius
On Nov 27, 2012, at 3:34 PM, Steve Lianoglou wrote: Hi, Comments inline: On Tue, Nov 27, 2012 at 1:00 PM, Craig P O'Connell wrote: Dear all, I am having a recurring problem when I attempt to conduct a GLM. Here is what I am attempting (with fake data): First, I created a txt file, c

Re: [R] GLM Coding Issue

2012-11-27 Thread Peter Ehlers
On 2012-11-27 14:34, Steve Lianoglou wrote: Hi, Comments inline: On Tue, Nov 27, 2012 at 1:00 PM, Craig P O'Connell wrote: Dear all, I am having a recurring problem when I attempt to conduct a GLM. Here is what I am attempting (with fake data): First, I created a txt file, changed t

Re: [R] GLM Coding Issue

2012-11-27 Thread Steve Lianoglou
Hi, Comments inline: On Tue, Nov 27, 2012 at 1:00 PM, Craig P O'Connell wrote: > > > Dear all, > >I am having a recurring problem when I attempt to conduct a GLM. Here is > what I am attempting (with fake data): > First, I created a txt file, changed the directory in R (to the proper folde

[R] GLM Coding Issue

2012-11-27 Thread Craig P O'Connell
Dear all,    I am having a recurring problem when I attempt to conduct a GLM.  Here is what I am attempting (with fake data): First, I created a txt file, changed the directory in R (to the proper folder containing the file) and loaded the file: #avoid<-read.table("avoid.txt",header=TRU