Shape-Constrained Kernel Density Estimation

AddBinObjects | A small function to add the objects needed for the binning QP... |

BinningStep | Carry out the binning step. |

BuildConCheckGrid | A function to add the constraint-checking grid |

BuildConstraints | Build objects Apos, Aunit, Aeq, Ashape, bshape |

CleanWeights | Clean out near-zeros from a probability weights vector and... |

ConvolutionMatrix | Computes a matrix of Gaussian kernel convolution values given... |

displayFailure | Display estimation results to console in an unsuccessful... |

displaySuccess | Display estimation results to console in a successful case. |

EstimationStep | Carry out the shape-constrained estimation |

getQuantile | Estimate a specific quantile of a pdf given abscissa and... |

getQuantileFunction | Build a quantile function for a given constrained density... |

improve | Move points closer to a target while maintaining a... |

InitializeP | Initialize the list of problem-related objects. |

isBoundedL | Check for zeros at the left side of a vector of function... |

isBoundedR | Check for zeros at the right side of a vector of function... |

isMonotoneL | Check for monotonicity of function values in the left tail. |

isMonotoneR | Check for monotonicity of function values in the right tail. |

isUnimodal | Check for unimodality of function values. |

MakeCenters | Create a vector of kernel centers covering [LB, UB]. |

makeOF | A function factory for making the search objective function. |

NormalGridFcn | Compute the values of n normal PDFs (or their derivatives at... |

plot.scdensity | Plot method for class 'scdensity'. |

print.scdensity | Print method for class 'scdensity'. |

print.summary.scdensity | Prints the information in a 'summary.scdensity' object to the... |

QPsolve | A wrapper to call solve.QP. |

scdensity | Shape-constrained kernel density estimation. |

scdensity-package | scdensity: Shape-constrained kernel density estimation. |

SequentialLineMin | Minimize a function of r variables by sequential univariate... |

SpectralShift | Performs the spectral shift on a matrix to make it... |

summary.scdensity | Summary method for class 'scdensity'. |

WeightedKDE | Function to carry out the weighted or adjusted KDE... |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.