[bug #68474] (stat) The third output of glmfit triggers a number of errors.

Liang Tang <[email protected]> Wed, 24 Jun 2026 12:40:35 -0400 (EDT)
Newsgroups gmane.comp.gnu.octave.bugs
Message-ID <[email protected]>
--===============1545674893482432185==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

UGxlYXNlIHVzZSB0aGUgYnVnIHRyYWNrZXIgdG8gcG9zdCB1cGRhdGVzIHRvIGEgYnVnIHJlcG9y
dC4gIFRoZSBtYWlsaW5nIGxpc3QgaXMgaW50ZW5kZWQgYXMgYSByZWFkLW9ubHkgbm90aWZpY2F0
aW9uIHN0cmVhbS4gIEluZm8gcG9zdGVkIHRvIHRoaXMgbWFpbGluZyBsaXN0IGFkZHJlc3Mgd29u
J3QgYXBwZWFyIGluIHRoZSB0cmFja2VyIGRhdGFiYXNlIHdoZXJlIGl0IGlzIG1vc3QgdXNlZnVs
LgoK

--===============1545674893482432185==
Content-Type: MULTIPART/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; BOUNDARY="8323329-1714636915-1782319235=:1893133"
Content-Disposition: inline

--8323329-1714636915-1782319235=:1893133
Content-Type: TEXT/plain; CHARSET=utf-8
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-Disposition: inline

URL:=0A  <https://savannah.gnu.org/bugs/?68474>=0A=0A                 Summa=
ry: (stat) The third output of glmfit triggers a number=0Aof errors.=0A    =
               Group: GNU Octave=0A               Submitter: lt1234=0A     =
          Submitted: Wed 24 Jun 2026 04:40:31 PM UTC=0A                Cate=
gory: Octave Package=0A                Severity: 3 - Normal=0A             =
   Priority: 5 - Normal=0A              Item Group: Unexpected Error or War=
ning=0A                  Status: None=0A             Assigned to: None=0A  =
       Originator Name: lt1234=0A        Originator Email:=0A             O=
pen/Closed: Open=0A         Discussion Lock: Unlocked=0A                 Re=
lease: other=0A        Operating System: Microsoft Windows=0A           Fix=
ed Release: None=0A         Planned Release: None=0A=0A=0A    _____________=
__________________________________________=0A=0AFollow-up Comments:=0A=0A=
=0A-------------------------------------------------------=0ADate: Wed 24 J=
un 2026 04:40:31 PM UTC By: Liang Tang <lt1234>=0APlease see the example be=
low. Thanks.  =0A=0AI don't know if there are more errors other than the th=
ree shown below. =0A=0Astatistics *|   1.8.3 |=0AC:\Users\Owner\AppData\Roa=
ming\octave\api-v61\packages\statistics-1.8.3=0A=0A% example:=0A =0A% Step =
1: =0AX =3D [1.2, 3.4; 2.1, 1.0; 5.5, 4.3; 3.0, 2.5; 4.1, 3.8];=0AY =3D [1;=
 2; 3; 1; 2];=0A[B, dev] =3D glmfit(X, Y, 'normal');=0A[B, dev, stat] =3D g=
lmfit(X, Y, 'normal');=0A% see glmfit line 419   stats.beta =3D bb;=0Aerror=
: 'bb' undefined near line 419, column 18=0Aerror: called from=0A    glmfit=
 at line 419 column 5=0A    =0A% Step 2: Modify bb to b and re-run.        =
=0A% see glmfit line 480  stats.p =3D 2 * tcdf (-abs (stats.t), dfe);=0Aerr=
or: 'dfe' undefined near line 480, column 45=0AThe 'dfe' function belongs t=
o the 'communications' package indexed in=0AOctave Packages at <https://pac=
kages.octave.org> but has not yet been=0Aimplemented.=0A=0A% Step 3: Modify=
 dfe to stats.dfe and re-run.  =0Aerror: 'divn' undefined near line 498, co=
lumn 64=0Aerror: called from=0A    glmfit at line 498 column 5=0A=0A=0A=0A=
=0A=0A=0A=0A=0A=0A    _____________________________________________________=
__=0A=0AReply to this item at:=0A=0A  <https://savannah.gnu.org/bugs/?68474=
>=0A=0A_______________________________________________=0AMessage sent via S=
avannah=0Ahttps://savannah.gnu.org/=0A
--8323329-1714636915-1782319235=:1893133
Content-Type: APPLICATION/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCajwIgwAKCRCqLAuaBUf3
TuJuAP9GBh49pI2B54DpfVYowBcumP26iduJk/r0CSy3W6qNxwEAoS6Z6rG+K0qK
/5/FzKDQzT1/O/6J9EBx0/TPKLOjdgc=
=011O
-----END PGP SIGNATURE-----

--8323329-1714636915-1782319235=:1893133--



--===============1545674893482432185==--