Re: [R] GLM HELP NEEDED!

2017-02-01 Thread David Winsemius
> On Feb 1, 2017, at 5:28 AM, CHIRIBOGA Xavier > wrote: > > Dear colleagues, > > > I am trying to perform a GLM. I tried again without using attach()...but > still is not working. > > Do you have any idea to help me? > > > Thank you again, > > > Xavier > >

Re: [R] GLM HELP NEEDED!

2017-02-01 Thread Duncan Murdoch
On 01/02/2017 8:28 AM, CHIRIBOGA Xavier wrote: Dear colleagues, I am trying to perform a GLM. I tried again without using attach()...but still is not working. Do you have any idea to help me? Thank you again, Xavier a <- read.table(file.choose(), h<-T) The "h<-T" argument doesn't

[R] GLM HELP NEEDED!

2017-02-01 Thread CHIRIBOGA Xavier
Dear colleagues, I am trying to perform a GLM. I tried again without using attach()...but still is not working. Do you have any idea to help me? Thank you again, Xavier a <- read.table(file.choose(), h<-T) > head(a) time treatment transinduc 11 CHA0+Db 1,0768 21

Re: [R] glm help

2015-08-21 Thread Joaquín Aldabe
Thankyou all by the comments and sorry for not sending in the adequate format. I don't have the chance to make txt archives as open office doesn't do it. I'm attaching the data in excel. Please let me know if this is ok. The graph that is wierd to me is the BBSA vs AMGP. It is supposed that AMGP

Re: [R] glm help

2015-08-21 Thread Bert Gunter
Inline. -- Bert Bert Gunter Data is not information. Information is not knowledge. And knowledge is certainly not wisdom. -- Clifford Stoll On Thu, Aug 20, 2015 at 10:47 PM, Peter Langfelder peter.langfel...@gmail.com wrote: On Thu, Aug 20, 2015 at 10:04 PM, Bert Gunter

Re: [R] glm help

2015-08-21 Thread Peter Langfelder
Thanks for the correction, I learned something new. Peter On Fri, Aug 21, 2015 at 7:32 AM, Bert Gunter bgunter.4...@gmail.com wrote: Inline. -- Bert Bert Gunter Data is not information. Information is not knowledge. And knowledge is certainly not wisdom. -- Clifford Stoll On Thu,

Re: [R] glm help

2015-08-21 Thread David Winsemius
.csv format is still not accepted by the server. When I say it needs to be a .txt file I mean it it needs to be a .txt file. You need to change its extension to .txt to prevent your mail client from labeling it as csv which is a different type even though I, too, would have thought they

Re: [R] glm help

2015-08-21 Thread Joaquín Aldabe
Thanks. Here is in csv format. Cheers, Joaquín. 2015-08-21 12:49 GMT-03:00 Don McKenzie d...@uw.edu: You can save to .csv from OpenOffice. Sent from my iPad On Aug 21, 2015, at 4:45 AM, Joaquín Aldabe joaquin.ald...@gmail.com wrote: Thankyou all by the comments and sorry for not

Re: [R] glm help

2015-08-20 Thread David Winsemius
On Aug 19, 2015, at 8:54 AM, Joaquín Aldabe joaquin.ald...@gmail.com wrote: Dear All, I´m running a glm with poisson errors and have a doubt when ploting the predicted values. One of my variables has a positive slope in the summary output, but when I plot the predicted values on the

Re: [R] glm help

2015-08-20 Thread Bert Gunter
Inline. Cheers, Bert Bert Gunter Data is not information. Information is not knowledge. And knowledge is certainly not wisdom. -- Clifford Stoll On Thu, Aug 20, 2015 at 9:06 PM, David Winsemius dwinsem...@comcast.net wrote: On Aug 19, 2015, at 8:54 AM, Joaquín Aldabe

Re: [R] glm help

2015-08-20 Thread Peter Langfelder
On Thu, Aug 20, 2015 at 10:04 PM, Bert Gunter bgunter.4...@gmail.com wrote: I noticed you made two data-frames, ‘my4s' and ‘my4S'. The `my4S` was built with `cbind` which would create a matrix (probably a character matrix) rather than a data frame. False. There is a data.frame method for

[R] glm help

2015-08-19 Thread Joaquín Aldabe
Dear All, I´m running a glm with poisson errors and have a doubt when ploting the predicted values. One of my variables has a positive slope in the summary output, but when I plot the predicted values on the original plot it draws a line with negative slope. I appreciate your comments on this and

Re: [R] glm help - final predictor variable NA

2015-07-22 Thread Ben Bolker
matthewjones43 matthew.jones at kellogg.ox.ac.uk writes: Hi, I am not a statistician and so I am sure whatever it is I am doing wrong must be an obvious error for those who are...Basically I can not understand why I get NA for variable 'CDSTotal' when running a glm? Does anyone have an

[R] glm help - final predictor variable NA

2015-07-21 Thread matthewjones43
Hi, I am not a statistician and so I am sure whatever it is I am doing wrong must be an obvious error for those who are...Basically I can not understand why I get NA for variable 'CDSTotal' when running a glm? Does anyone have an idea of why this might be happening? Call: glm(formula =

Re: [R] glm help - final predictor variable NA

2015-07-21 Thread Don McKenzie
On Jul 21, 2015, at 7:30 PM, Rolf Turner r.tur...@auckland.ac.nz wrote: Psigh! Why do people think that it is perfectly OK to undertake statistical analyses without knowing or understanding any statistics? (I guess it's slightly less dangerous than undertaking to do your own wiring

Re: [R] glm help - final predictor variable NA

2015-07-21 Thread Rolf Turner
Psigh! Why do people think that it is perfectly OK to undertake statistical analyses without knowing or understanding any statistics? (I guess it's slightly less dangerous than undertaking to do your own wiring without knowing anything about being an electrician, but still ) However, to

Re: [R] GLM Help

2014-09-04 Thread peter dalgaard
I think you are looking for ~ Region + Region:Helpers - 1 a.k.a. ~ Region/Helpers - 1 Notice that these are actually the same model as your glm3 (and also as ~Region*Helpers), only the parametrization differs. The latter includes an overall Helpers term so that the interaction coefficients

[R] GLM Help

2014-09-03 Thread Kathy Haapala
Hi all, I have a large set of data that looks something like this, although this data frame is much smaller and includes made up numbers to make my question easier. x.df - data.frame(Region = c(A, A, A, A, A, B, B, B, B, B, B, C, C, C, C), Group_ID = c(1:15), No_Offspring = c(3, 0, 4, 2, 1,

[R] GLM Help

2011-10-28 Thread CES
Hey all, I am attempting to replicate my results achieved in another program within R (so I can expand my options for methods). I am trying to run a GLM (Family = Poisson) for count data in R. Some of my variables are factors and I am under the impression that the function glm() cannot run a

Re: [R] GLM Help

2011-10-28 Thread Weidong Gu
Are you sure your variables are categorical or numeric? Of course, glm differentiates these two kinds of variables. For example, I ran the same variable with different modes, the results are very different. dat-data.frame(y=rpois(100,5),xf=as.factor(sample(1:4,100,replace=T)))