Skip to content
Back to formatted view

Raw Message

Message-ID: <OF9EB4A26C.5F5678BE-ON8625705F.006E9570-8625705F.006FD5FB@mmm.com>
Date: 2005-08-16T20:21:32Z
From: apjaworski@mmm.com
Subject: small typo in "An Introduction to R"

Hi,

I am not sure if this is the right place to report a small typo in one of
the manuals.  It is not really a bug, is it?.

In any case, at the end of section 11.6.2 (the glm() function) in the
Quasi-likelihhod models subsection there is an example of using the glm
procedure to fit a particular nonlinear model, which involves model
reparametrization.  The typo is in the definition of the second variable.
It should be x_2 = -1/z_1 and not x_2 = -1/x_1.  This appears in two places
in the R-intro.texi file in both the R-patched and the R-devel.
Fortunately the file diffs are the same for both versions:

5034c5034
< x_1 = z_2/z_1, x_2 = -1/z_1, beta_1 = 1/theta_1, and beta_2 =
---
> x_1 = z_2/z_1, x_2 = -1/x_1, beta_1 = 1/theta_1, and beta_2 =
5038c5038
< $x_1 = z_2/z_1$, $x_2=-1/z_1$, $\beta_1=1/\theta_1$ and
---
> $x_1 = z_2/z_1$, $x_2=-1/x_1$, $\beta_1=1/\theta_1$ and

Hope this helps,

Andy

__________________________________
Andy Jaworski
518-1-01
Process Laboratory
3M Corporate Research Laboratory
-----
E-mail: apjaworski at mmm.com
Tel:  (651) 733-6092
Fax:  (651) 736-3122