print.densLPS {DALSM} | R Documentation |
densLPS.object
Print summary information on the density estimate obtained by densityLPS
from censored data with given mean and variance.
## S3 method for class 'densLPS'
print(x,...)
x |
|
... |
Optional additional print parameters. |
No returned value (just printed summary).
Philippe Lambert p.lambert@uliege.be
Lambert, P. (2021). Fast Bayesian inference using Laplace approximations in nonparametric double additive location-scale models with right- and interval-censored data. Computational Statistics and Data Analysis, 161: 107250. <doi:10.1016/j.csda.2021.107250>
densLPS.object
, plot.densLPS
, densityLPS
.
require(DALSM)
data(DALSM_IncomeData)
resp = DALSM_IncomeData[,1:2]
fit = DALSM(y=resp,
formula1 = ~twoincomes+s(age)+s(eduyrs),
formula2 = ~twoincomes+s(age)+s(eduyrs),
data = DALSM_IncomeData)
plot(fit$derr) ## Plot the estimated error density
print(fit$derr) ## ... and provide some descriptive elements on it