Rank: 99662 based on 0 downloads (last 30 days) and 0 file submitted
photo

J. Melon

E-mail

Personal Profile:

 

Watch this Author's files

 

Comments and Ratings by J. Melon
Updated File Comments Rating
19 Dec 2008 Kernel Smoothing Regression A non-parametrical regression (smoothing) tool using Gaussian kernel. Author: Yi Cao

Hi Yi, wouldn't this function produce all NaN if the median of either X or Y is zero? (since h would be zero)

Is there anyway to fix it? for example, if sigma is zero, then let sigma = max(X) - min(X)

Contact us