Learn R Programming

⚠️There's a newer version (0.1.3) of this package.Take me there.

LPsmooth (version 0.1.0)

LP Smoothed Inference and Graphics

Description

Classical tests of goodness-of-fit aim to validate the conformity of a postulated model to the data under study. In their standard formulation, however, they do not allow exploring how the hypothesized model deviates from the truth nor do they provide any insight into how the rejected model could be improved to better fit the data. To overcome these shortcomings, we establish a comprehensive framework for goodness-of-fit which naturally integrates modeling, estimation, inference and graphics. In this package, the deviance tests and comparison density plots are performed to conduct the LP smoothed inference, where the letter L denotes nonparametric methods based on quantiles and P stands for polynomials. Simulations methods are used to perform variance estimation, inference and post-selection adjustments. Algeri S. and Zhang X. (2020) .

Copy Link

Version

Install

install.packages('LPsmooth')

Monthly Downloads

149

Version

0.1.0

License

GPL-3

Maintainer

Xiangyu Zhang

Last Published

June 29th, 2020

Functions in LPsmooth (0.1.0)

dmixtruncnorm

Probability density function of a mixture of truncated normals
find_h_disc

Finding optimal instrumental mass function.
d_hat

Comparison density estimate
rmixtruncnorm

Random numbers generator for truncated normal mixtures
CDplot

CD-plot and Deviance test
dmixnegbinom

Probability mass function of a mixture of negative binomials
rmixnegbinom

Random numbers generator for negative binomial mixtures
find_h_cont

Finding optimal instrumental density.