Description Usage Arguments Value References Examples

Nonparametric estimates of indices measuring the global slope and curvature of the density function for binned data.

1 2 3 |

`n` |
Positive integer. Size of the complete sample. |

`y` |
Vector. Observed values. They define the extremes of the sequence of intervals in which data is binned. |

`w` |
Vector. Proportion of observations within each interval. |

`ni` |
Vector. Number of observations within each interval. |

`hseq` |
Vector. Grid of bandwidths for which MSE is approximated through bootstrap. If missing, a grid of size hn is considered. |

`hn` |
Positive integer. Size of the grid of bandwidths for which MSE will be approximated. Defaults to 200. |

`nmix` |
Positive integer. Maximum number of components for the normal mixture model. Defaults to 4. |

`B` |
Positive integer. Number of bootstrap resamples used to find the bandwidth that minimizes MSE. Defaults to 500. |

`method` |
Character. If method="np", resamples are taken from kernel density estimator with pilot bandwidth. If method="mix", a normal mixture pilot model is considered. If method="plugin", plug-in estimates are returned. Defaults to "np". |

`last.iter.np` |
Logical. If FALSE, normality is assumed at the last step when calculating the plug-in bandwidth. Otherwise, rule-of-thumb selector is used. Defaults to FALSE. |

`confint` |
Logical. If TRUE, bootstrap confidence intervals are constructed for the indices. Defaults to FALSE. |

`B.conf` |
Positive integer. Number of bootstrap resamples considered to construct the confidence intervals. |

`alpha` |
Real number between 0 and 1. Significance level considered for the confidence intervals. |

`print` |
Logical. If TRUE, status of the script and results are printed. Defaults to TRUE. |

`parallel` |
Logical. If TRUE, confidence bands are estimated using parallel computing with sockets. |

`pars` |
Environment. Needed for the well functioning of the script. DO NOT modify this argument. |

Nonparametric estimates of the indices and (optional) confidence intervals.

Indices2011binnednp

\insertRefTest2017binnednp

1 2 3 4 5 6 7 |

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.