Hello: would you please help me with the following glm question? for the R function glm, what I understand is: once you specify the "family", then the link function is fixed. My question is: is it possible I use, for example, "log" link function, but the estimation approach for the guassian family? Thanks, Shuangge Ma, Ph.D. ******************************************** * CHSCC, Department of Biostatistics * * University of Washington * * Building 29, Suite 310, 6200 NE 74th ST. * * Seattle, WA 98115 * * Tel: 206-685-7123 Fax: 206-616-4075 *
In Venables & Ripley: Modern Applied Statistics with S (MASS), (4th edition), on page 184 there is a table "Families and link functions" that gives you the available links with different families. The default and the only link with the gaussian family is identity. ciao, Hannu Kahra -----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch]On Behalf Of Shuangge Ma Sent: Thursday, September 23, 2004 6:26 PM To: r-help at stat.math.ethz.ch Subject: [R] R glm Hello: would you please help me with the following glm question? for the R function glm, what I understand is: once you specify the "family", then the link function is fixed. My question is: is it possible I use, for example, "log" link function, but the estimation approach for the guassian family? Thanks, Shuangge Ma, Ph.D. ******************************************** * CHSCC, Department of Biostatistics * * University of Washington * * Building 29, Suite 310, 6200 NE 74th ST. * * Seattle, WA 98115 * * Tel: 206-685-7123 Fax: 206-616-4075 * ______________________________________________ R-help at 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
Dear Shuangge - There exists a default link function for each family, but you can specify the link, as well. see ?family (e.g., in html help click on the "family" link from the glm help page). Hank On Sep 23, 2004, at 12:25 PM, Shuangge Ma wrote:> Hello: > would you please help me with the following glm question? > > for the R function glm, what I understand is: once you specify the > "family", then the link function is fixed. > > My question is: is it possible I use, for example, "log" link function, > but the estimation approach for the guassian family? > > Thanks, > > Shuangge Ma, Ph.D. > ******************************************** > * CHSCC, Department of Biostatistics * > * University of Washington * > * Building 29, Suite 310, 6200 NE 74th ST. * > * Seattle, WA 98115 * > * Tel: 206-685-7123 Fax: 206-616-4075 * > > ______________________________________________ > R-help at 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 > >Dr. Martin Henry H. Stevens, Assistant Professor 338 Pearson Hall Botany Department Miami University Oxford, OH 45056 Office: (513) 529-4206 Lab: (513) 529-4262 FAX: (513) 529-4243 http://www.cas.muohio.edu/botany/bot/henry.html http://www.muohio.edu/ecology/ http://www.muohio.edu/botany/ "E Pluribus Unum"
As ?glm says, see ?family. Andy> From: Kahra Hannu > > In Venables & Ripley: Modern Applied Statistics with S > (MASS), (4th edition), on page 184 there is a table "Families > and link functions" that gives you the available links with > different families. The default and the only link with the > gaussian family is identity. > > ciao, > Hannu Kahra > > From: Shuangge Ma > > Hello: > would you please help me with the following glm question? > > for the R function glm, what I understand is: once you specify the > "family", then the link function is fixed. > > My question is: is it possible I use, for example, "log" link > function, > but the estimation approach for the guassian family? > > Thanks, > > Shuangge Ma, Ph.D. > ******************************************** > * CHSCC, Department of Biostatistics * > * University of Washington * > * Building 29, Suite 310, 6200 NE 74th ST. * > * Seattle, WA 98115 * > * Tel: 206-685-7123 Fax: 206-616-4075 * > > ______________________________________________ > R-help at 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 > > > ______________________________________________ > R-help at 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 > >