octave-patch-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-patch-tracker] [patch #8936] econometrics: kernel_density: accep


From: anonymous
Subject: [Octave-patch-tracker] [patch #8936] econometrics: kernel_density: accept function handle kernel
Date: Tue, 08 Mar 2016 17:03:43 +0000
User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.75 Safari/537.36

URL:
  <http://savannah.gnu.org/patch/?8936>

                 Summary: econometrics: kernel_density: accept function handle
kernel
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Tue 08 Mar 2016 05:03:42 PM UTC
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

This patch adds support for an @fn kernel argument for kernel_density.

Sometimes, it is useful to have a cdf instead of a pdf:
kernel_density(pts, x, bw, @kernel_cdf);

function z = kernel_cdf(z)
        z = normcdf(-z);
        z = prod(z,2);
end




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 08 Mar 2016 05:03:42 PM UTC  Name: kernel_density_fn.patch  Size:
1kB   By: None

<http://savannah.gnu.org/patch/download.php?file_id=36572>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?8936>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]