From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id oKZ3I+FE0WPFeQEAbAwnHQ (envelope-from ) for ; Wed, 25 Jan 2023 16:04:01 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id oGoEI+FE0WMRRAAAauVa8A (envelope-from ) for ; Wed, 25 Jan 2023 16:04:01 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 519C139AAF for ; Wed, 25 Jan 2023 16:04:01 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pKhIc-0004uj-1I; Wed, 25 Jan 2023 10:02:54 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKhIa-0004mY-0E for emacs-orgmode@gnu.org; Wed, 25 Jan 2023 10:02:52 -0500 Received: from smtp3-g21.free.fr ([212.27.42.3]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKhIU-0006Ir-7t for emacs-orgmode@gnu.org; Wed, 25 Jan 2023 10:02:48 -0500 Received: from [IPV6:2a01:e35:39f3:4610:1e87:9f03:9de2:627e] (unknown [IPv6:2a01:e35:39f3:4610:1e87:9f03:9de2:627e]) (Authenticated sender: tbanelwebmin@free.fr) by smtp3-g21.free.fr (Postfix) with ESMTPSA id 5D1F913F84C for ; Wed, 25 Jan 2023 16:02:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1674658961; bh=Wb+tJ6Z4qfmCzrlmed2fwQzO1BVFgazozJub7e+BEE4=; h=Date:Subject:To:References:From:In-Reply-To:From; b=h5+HUc7HKHVV42F3ogKHqX3cAaBEmVkwHTqy9aXZsbC/xEnJ9aWDj5RILSximqe4B 8k39PkehV3eJg8d8o3rlEOY4Axnj9e1IWJt52CL959BxhE+6HbnqesrBurqn/UdKVU isU/IHU9bpxk5V2ubaQEvqARyFFo9gPDVD51ix5A7jGetXA1q58OiZ5h1/0hKSzg3u UlCZexbDQEU6ZMrGf0yRPaoRSBZ9joumob8FaYr4fW60SWAKXgbCcRXfmfGj+mBiCX 8CpLiSWNXZoEwHuROtf28r2LGCDwcx7+0VhjEaMseRUNNlYjLqC13RDJtMieIZYYYA /fvzaH46S1zIg== Message-ID: <073b5e6e-8c81-66c6-6a5e-19c5e10f0176@free.fr> Date: Wed, 25 Jan 2023 16:02:41 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [ANN] orgtbl-fit To: emacs-orgmode@gnu.org References: <116c3126-32cc-44d0-9e95-e802161e1e84@app.fastmail.com> <87zgb90win.fsf@localhost> <87tu0qdc4k.fsf@localhost> <304d062e-c760-53ad-e442-ca646f2c892d@free.fr> <87a627ogg3.fsf@localhost> Content-Language: fr, en-US From: tbanelwebmin In-Reply-To: <87a627ogg3.fsf@localhost> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=212.27.42.3; envelope-from=tbanelwebmin@free.fr; helo=smtp3-g21.free.fr X-Spam_score_int: -31 X-Spam_score: -3.2 X-Spam_bar: --- X-Spam_report: (-3.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-1.148, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1674659041; a=rsa-sha256; cv=none; b=e5oZI66FA86xRNCFzTMpwf37hfaUVDDZIY9eJUnPE5Vc7YLLVm0CSgDLr9H7mEvbLCkJMX yfO/6gOWDJiiRnzstgP7Hvr1ysLIOqiUKnFcDW/S105Zwe/ZY6NE8S0Yrb4mKAtDOlxaXG UXkZQKqxTvNRXQJd22HgHMkytibA8FPSFhazR6xeGzF/QeuCYO2kdU/ZNLknitVPhujcSG 4ezvilx01eowWP1uSjixeiev3/pIPOL1ORJo7lOmg+Ojt8jR6ZFKO5mih/KZQIPuJEosZj j9hz1S2L1X0HiYWvhMdDB1RwQS8OgZtmGz9KFLeoZgCVqlp7M5mD63yX7UXRyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674659041; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=geZ2HFziyihgDc+LXifYq2BgmtsnS9fxPtA/IwzBBhA=; b=VMcpLQJFp0sW5WnrZmrSXh2/Z5pjpjPevuee4qmCwk5WltS34zTq3IuYeM+MFA1UsQ1eH/ FgILGsvyNhe5TLT/JFgvJ+YdLKu8y3tHRj/ddJYn5S/Ptfo5iewoTecyOyC4zDeQ30YfJv vOce7gzncP08CaGLPNsHlUn5Oey8CwKNVAGG88qWc+E4oqqe5NXrZIE+U1MbcSxvlwyiVT DFb3gbJxCflmBEOw9vnc8aU4D0T8vsYasSDvNOWPV1WuUr56CCr7i1Nj6NA52hgq908WCl 9YMCPlTF/tI2al84Mrh4oUF96CdiH23qP6VuPn4WgcldT0ceJnuXYZsWvdzv4A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=free.fr header.s=smtp-20201208 header.b=h5+HUc7H; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=free.fr X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -12.08 X-Spam-Score: -12.08 X-Migadu-Queue-Id: 519C139AAF Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=free.fr header.s=smtp-20201208 header.b=h5+HUc7H; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=free.fr X-TUID: WOJ4ujGmxY/7 Hi Ihor & the List GnuPlot is a great software. If you feel confortable with it, continue using it! If others are used to R or Python, that is fine too. Orgtbl-fit may be useful if: * - You want a pure Emacs process, without external dependencies. * - You know that Emacs-Calc can fit your data, but you are not familiar with it. * - Your data is already available as an Org Mode table. * - You don't want to write a script (just point at the target column and type M-x orgtbl-fit, that's all). Actually, orgtbl-fit is a bridge between Org Mode tables and Calc. By the way, Org Mode table spreadsheet capabilities are also a bridge with Calc. Examples & documentation can be read here: https://github.com/tbanel/orgtblfit/blob/main/README.org Have fun! On 1/24/23 20:55, Ihor Radchenko wrote: > tbanelwebmin writes: > >> The new orgtbl-fit package has just been released on Melpa. It >> does regression fitting on Org Mode tables. >> >> Example. We suspect that `obs' depends on `x' and `y'. >> ... >> >> Let us put the cursor on the `obs' column, and type >> M-x orgtbl-fit >> >> Two columns are added >> - predicted obs column >> - difference between obs and predicted >> >> |  x | y |  obs | Best Fit | Fit Diff | >> |----+---+------+----------+----------| >> | 32 | 7 | 38.3 |     38.2 |     -0.1 | >> | 18 | 3 | 11.4 |     11.6 |      0.2 | >> | 43 | 9 | 47.3 |     47.2 |     -0.1 | >> | 11 | 2 |  8.9 |      8.7 |     -0.2 | >> | 35 | 8 | 45.1 |     45.3 |      0.2 | >> #+TBLFM: $4=-0.289267886829 - 1.06613976706*$1 + 10.3668885192*$2; >> %.1f::$5=$4-$3; %.1f > Are there situations when this package is actually useful for data > analysis? (I am usually using gnuplot for fitting) >