Re: Searching for reasoning on design decisions

Miroslav Lichvar <[email protected]>
Newsgroups gmane.comp.time.chrony.user
Message-ID <ZJvdqHtpmfwatqU1@localhost>
On Tue, Jun 27, 2023 at 09:28:39PM +0200, Julian Steinmann wrote:
> However, I haven't found much reasoning why e.g. weighted linear regression
> is used in chrony for NTP samples, whilst a robust linear regression (Least
> Absolute Deviations) is used for RTC samples and manual input (I hope I'm
> not mistaken in my reading of the code).

NTP samples have a delay, which works well as a weight. RTC and manual
samples don't have a delay or anything that could be used as a weight.
There were some unsuccessful attempts to combine weighting with the
robust regression. This needs more research.

> Is there some place where these design decisions are justified?

No, there is just the source code.

-- 
Miroslav Lichvar


-- 
To unsubscribe email chrony-users-request-kWFZVVI9zxvPqho9SqqRMmD2FQJk+8+b@public.gmane.org 
with "unsubscribe" in the subject.
For help email chrony-users-request-kWFZVVI9zxvPqho9SqqRMmD2FQJk+8+b@public.gmane.org 
with "help" in the subject.
Trouble?  Email [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.