[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #52685] redundant sentence in meansq docstring

From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #52685] redundant sentence in meansq docstring
Date: Tue, 19 Dec 2017 13:23:46 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #8, bug #52685 (project octave):

I'll write a note...

Sorry about quartile(); it's "quantile".

By "plaintext" you are referring to "help somefunc" doc?  Or are you referring
to some plain text version of the manual, i.e., some counterpart to

Anyway, the point you are raising is the exact conundrum I had.  In the case
of the octave.pdf manual, with LaTeX, it's as if we are trying to be more pure
math frame of mind whereas in the plaintext we are trying to be more
matrix-algebra/programming language oriented.  Yet, we are trying to use the
same or parallel code in the documentation for both LaTeX and plaintext to
achieve both of those.  I tried striking a balance of using a vector notation
in LaTeX whenever it would a vector in Octave script.

You are correct that from a pure math definition we have a random variable
(script) x and the particular outcomes or observations are (script) x_i.  But
again, we have the input to the mean() routine being a vector (or matrix), and
that input is expressed in the octave.pdf manual as well.  To be technically
correct, the math expression the formula represents is "average", not "mean". 
"mean" from a math perspective incorporates the underlying discrete or
continuous PDF.

Capital vs. lower case, I started out using upper case to represent matrices,
but this soon became confusing when trying to mixed together in LaTeX and/or
plaintext.  So, I started using "@var" in places I thought were either vector
or matrix (depending on the function input), content with a non-script
variable as meaning (typically) vector (or a matrix if one wants to think of
it that way).

I'll look the OLS/GLS up in the link you gave, then define T in the patch as


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]