[ncl-talk] regCoef_n without y-axis intercept

Giorgio Graffino g.graffino at tim.it
Fri Oct 21 05:14:24 MDT 2022


Hi Dennis, Dave

Thanks for sending the relevant function and for explaining how to 
access the source code. Now I'm thinking how to make the function to 
force the regression to pass from origin. Any idea on how to do that?

Cheers,
Giorgio

    ------ Messaggio Originale ------
    Da: shea at ucar.edu
    A: g.graffino at tim.it
Cc: dave.allured at noaa.gov; ncl-talk at ucar.edu
    Inviato: giovedì 20 ottobre 2022 19:17
    Oggetto: Re: [ncl-talk] regCoef_n without y-axis intercept


The f77 code is attached.





On Thu, Oct 20, 2022 at 9:53 AM Giorgio Graffino via ncl-talk 
<ncl-talk at mailman.ucar.edu <mailto:ncl-talk at mailman.ucar.edu> > wrote:

Hi Dave,


Thanks for the advice. I looked at the examples in 
https://www.ncl.ucar.edu/Applications/regress.shtml 
<https://www.ncl.ucar.edu/Applications/regress.shtml> , especially 
examples 2 and 4, but I couldn't find any supplementary information 
about regCoef. I also can't find anything under 
$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl and 
$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl.

Is NCL source code located anywhere in $NCARG_ROOT? Can anyone please 
point me where it is?

Cheers,
Giorgio



    ------ Messaggio Originale ------
    Da: dave.allured at noaa.gov <mailto:dave.allured at noaa.gov>
    A: g.graffino at tim.it <mailto:g.graffino at tim.it>
Cc: ncl-talk at ucar.edu <mailto:ncl-talk at ucar.edu>
    Inviato: giovedì 13 ottobre 2022 18:47
    Oggetto: Re: [ncl-talk] regCoef_n without y-axis intercept


Giorgio, for your second question, please see this very brief 
description that I recently wrote, for how to search for functions in 
the NCL source code.
https://mailman.ucar.edu/pipermail/ncl-talk/2022-August/018954.html 
<https://mailman.ucar.edu/pipermail/ncl-talk/2022-August/018954.html>



On Thu, Oct 13, 2022 at 10:38 AM Giorgio Graffino via ncl-talk 
<ncl-talk at mailman.ucar.edu <mailto:ncl-talk at mailman.ucar.edu> > wrote:

Hi NCL community,
I want regCoef_n to find the regression coefficient between two arrays 
without y-axis intercept. Do you know how I can change the function to 
do that?
Can you also please tell me where I can find the function? I did a grep 
recursive search in my $NCARG_ROOT directory but I couldn't find it.
Cheers,
Giorgio



_______________________________________________
  ncl-talk mailing list
  ncl-talk at mailman.ucar.edu <mailto:ncl-talk at mailman.ucar.edu>
  List instructions, subscriber options, unsubscribe:
  https://mailman.ucar.edu/mailman/listinfo/ncl-talk 
<https://mailman.ucar.edu/mailman/listinfo/ncl-talk>





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20221021/3d5058a8/attachment.htm>


More information about the ncl-talk mailing list