[ncl-talk] could i try dim_kde function before ncl 6.5 released
Mary Haley
haley at ucar.edu
Thu Jul 27 16:18:48 MDT 2017
Qi,
For the record, we do have a dim_kde already implemented in our internal
development version, but we haven't had a chance to heavily test it.
We are going to revisit this tomorrow to see what state it's in. If you are
interested, we can provide you with a test NCL to try.
--Mary
On Wed, Jul 26, 2017 at 11:32 AM, LI Qi <liqi123sh at qq.com> wrote:
> Dear Dennis,
>
> Thank you for your reply!
> Yesterday I just googled "ncl kernel density estimation" and that page
> popped up. At that time Im so happy to find NCL also has this function
> (means I don't need to learn R).
> What's your said (hist_binwidth and invoking kde ) is exactly what I want.
> But if it's very bother to invoke the funciton or it's need much time and
> energy in the develepment, then just ignore me. I can learn R for the
> moment.
>
> Best,
> Qi
>
>
> ------------------ Original ------------------
> *From: * "Dennis Shea";<shea at ucar.edu>;
> *Date: * Thu, Jul 27, 2017 00:42 AM
> *To: * "LI Qi"<liqi123sh at qq.com>;
> *Cc: * "ncl-talk"<ncl-talk at ucar.edu>;
> *Subject: * Re: [ncl-talk] could i try dim_kde function before ncl 6.5
> released
>
> Placing the 6.5.0 KDE function documentation onto the publicly available
> NCL URL was a mistake on my part.
> https://www.ncl.ucar.edu/Document/Functions/Built-in/dim_
> kde.shtml
> It was meant for NCL's internal draft documentation URL. I used
>
> %> unw dim_kde.xml
>
> instead of
>
> %> unw -t dim_kde.xml
>
> ----
>
> If you look at:
> http://www.ncl.ucar.edu/future_release.shtml
> there is no mention of the 'dim_kde' function. Hence, 'dim_dke' is not yet
> in the development NCL 6.5.0. There is no time estimate of when it will be
> included.
>
> ---
> An NCL script that invokes the KDE fortran subroutine via a shared object
> is available. It returns the PDF (ie: "smooth curve"). I can make this
> available. Let ncl-talk know if you want this.
>
> There is also an as-yet undocumented NCL language 'hist_binwidth' that
> estimates optimal bin-widths using Silverman's rule-of-thumb for normal and
> quantile densities; and, uses the 'dim_kde' function. An NCL script that
> invokes the shared object is available for this also.
>
> Regards
>
> On Tue, Jul 25, 2017 at 2:23 PM, LI Qi <liqi123sh at qq.com> wrote:
>
>> Dear NCL,
>>
>> Is there any way I can try the gaussian kernel density estimation (KDE) (
>> https://www.ncl.ucar.edu/Document/Functions/Built-in/dim_kde.shtml)
>> before next version released?
>> I have sample histograms and would like a smooth curve overlaid.
>>
>> Thanks and best regards,
>> Qi
>>
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk at ucar.edu
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170727/d67e6619/attachment.html
More information about the ncl-talk
mailing list