Re: [R] glm cannot find valid starting values
Em Sábado 14 Outubro 2006 11:15, Gabor Grothendieck escreveu: Try using OLS starting values: glm(Y~X,family=gaussian(link=log), start = coef(lm(Y~X))) Ok, using a starting value the model work. But, sometimes ago it work without any starting values. Why now I need a starting values? Thanks Ronaldo -- Nunca faça previsões, especialmente sobre o futuro. -- Samuel Goldwyn -- Prof. Ronaldo Reis Júnior | .''`. UNIMONTES/Depto. Biologia Geral/Lab. Ecologia Evolutiva | : :' : Campus Universitário Prof. Darcy Ribeiro, Vila Mauricéia | `. `'` CP: 126, CEP: 39401-089, Montes Claros - MG - Brasil | `- Fone: (38) 3229-8190 | [EMAIL PROTECTED] | ICQ#: 5692561 | LinuxUser#: 205366 __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
[R] MASS need R = 2.4.0!!!
Hi, I have R 2.3.1 installed by debian páckage. I install only the base and recommended R packages from Debian source, all others packages I install from the R source at CRAN. But, I try to use library MASS, but I received this message: library(MASS) Error: This is R 2.3.1, package 'MASS' needs = 2.4.0 What is the problem? Inte Ronaldo -- It ain't over until it's over. -- Casey Stengel -- Prof. Ronaldo Reis Júnior | .''`. UNIMONTES/Depto. Biologia Geral/Lab. Ecologia Evolutiva | : :' : Campus Universitário Prof. Darcy Ribeiro, Vila Mauricéia | `. `'` CP: 126, CEP: 39401-089, Montes Claros - MG - Brasil | `- Fone: (38) 3229-8190 | [EMAIL PROTECTED] | ICQ#: 5692561 | LinuxUser#: 205366 __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] glm cannot find valid starting values
Hi, I have some similar problems. Some times ago this problem dont there existed. Look this simple example: Y - c(0,0,0,1,4,8,16) X - c(1,2,3,4,5,6,7) m - glm(Y~X,family=gaussian(link=log)) Error in eval(expr, envir, enclos) : cannot find valid starting values: please specify some m - glm(Y~X,family=gaussian(link=log)) Error in eval(expr, envir, enclos) : cannot find valid starting values: please specify some What is the problem? I think that the problem is with the log link algorithm and zeros. Look Y - c(0,0.1,0.5,1,4,8,16) m - glm(Y~X,family=gaussian(link=log)) Error in eval(expr, envir, enclos) : cannot find valid starting values: please specify some Y - c(0.01,0.1,0.5,1,4,8,16) m - glm(Y~X,family=gaussian(link=log)) Without Zeros it work. It is a real bug? Thanks Ronaldo -- Preserve wildlife -- pickle a squirrel today! -- Prof. Ronaldo Reis Júnior | .''`. UNIMONTES/Depto. Biologia Geral/Lab. Ecologia Evolutiva | : :' : Campus Universitário Prof. Darcy Ribeiro, Vila Mauricéia | `. `'` CP: 126, CEP: 39401-089, Montes Claros - MG - Brasil | `- Fone: (38) 3229-8190 | [EMAIL PROTECTED] | ICQ#: 5692561 | LinuxUser#: 205366 __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.