[ncl-talk] Calculating multiple regression

Barry Lynn barry.h.lynn at gmail.com
Wed Mar 2 09:54:40 MST 2022


Hello:

Is there a way to print out more than three coefficients?

On Wed, Mar 2, 2022 at 3:18 PM Buzan, Jonathan <jbuzan at purdue.edu> wrote:

> Hi Barry,
>
> I think you want to use:
>
> https://www.ncl.ucar.edu/Document/Functions/Contributed/reg_multlin_stats.shtml
>
> If you look at example 1, it shows those stats.
> e.g.
>
>    model :       Yest = b(0) + b(1)*X1 + b(2)*X2 + ...+b(M)*XM
>
>
>
>  bstd : (  0, 0.5029772, 0.4922954 )   ; standardized partial regression coefficients
>                                                ; [ignore 1st element]
>
>
> Cheers,
> -Jonathan
>
>
>
> On Mar 2, 2022, at 14:10, Barry Lynn via ncl-talk <
> ncl-talk at mailman.ucar.edu> wrote:
>
> Hello:
>
> I have one dependent variable and two independent variables (temperature
> and water content).  I have the values in a table for these two independent
> variables, which correspond to a value of the dependent variable (which is
> charging).
>
> I have an equation that describes this relationship, but I believe there
> is an error.
>
> It is of the form: q = -A Ta  + B Ta Q^2 + C Ta + D Ta^2 Q^3...
>
> I thought to use:
> https://www.ncl.ucar.edu/Document/Functions/Built-in/reg_multlin.shtml
>
> but it doesn't seem to give me the coefficients and the equation for
> charging as a function of both Ta and Q.
>
> Am I mistaken?  Is there another program I should use?
>
> Thank you,
>
> Barry
>
>
>
> --
>
> Barry H. Lynn, Ph.D
> Senior Scientist, Lecturer,
> The Institute of Earth Sciences,
> The Hebrew University of Jerusalem,
> Givat Ram, Jerusalem 91904, Israel
> Tel: 972 547 231 170
> Fax: (972)-25662581
>
> Weather It Is, LTD
> Weather and Climate Focus
> https://weather-it-is.com <http://weather-it-is.com/>
> Jerusalem, Israel
> Local: 02 930 9525
> Cell: 054 7 231 170
> Int-IS: x972 2 930 9525
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at mailman.ucar.edu
> List instructions, subscriber options, unsubscribe:
> https://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
>

-- 

Barry H. Lynn, Ph.D
Senior Scientist, Lecturer,
The Institute of Earth Sciences,
The Hebrew University of Jerusalem,
Givat Ram, Jerusalem 91904, Israel
Tel: 972 547 231 170
Fax: (972)-25662581

Weather It Is, LTD
Weather and Climate Focus
https://weather-it-is.com <http://weather-it-is.com>
Jerusalem, Israel
Local: 02 930 9525
Cell: 054 7 231 170
Int-IS: x972 2 930 9525
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20220302/0c00f9e4/attachment.html>


More information about the ncl-talk mailing list