Package: asm 0.2.1

asm: Optimal Convex M-Estimation for Linear Regression via Antitonic Score Matching

Performs linear regression with respect to a data-driven convex loss function that is chosen to minimize the asymptotic covariance of the resulting M-estimator. The convex loss function is estimated in 5 steps: (1) form an initial OLS (ordinary least squares) or LAD (least absolute deviation) estimate of the regression coefficients; (2) use the resulting residuals to obtain a kernel estimator of the error density; (3) estimate the score function of the errors by differentiating the logarithm of the kernel density estimate; (4) compute the L2 projection of the estimated score function onto the set of decreasing functions; (5) take a negative antiderivative of the projected score function estimate. Newton's method (with Hessian modification) is then used to minimize the convex empirical risk function. Further details of the method are given in Feng et al. (2024) <doi:10.48550/arXiv.2403.16688>.

Authors:Yu-Chun Kao [aut], Oliver Y. Feng [aut], Lucy Xia [aut], Yang Feng [aut], Min Xu [aut, cre], Richard J. Samworth [aut]

asm_0.2.1.tar.gz
asm_0.2.1.zip(r-4.5)asm_0.2.1.zip(r-4.4)asm_0.2.1.zip(r-4.3)
asm_0.2.1.tgz(r-4.5-any)asm_0.2.1.tgz(r-4.4-any)asm_0.2.1.tgz(r-4.3-any)
asm_0.2.1.tar.gz(r-4.5-noble)asm_0.2.1.tar.gz(r-4.4-noble)
asm_0.2.1.tgz(r-4.4-emscripten)asm_0.2.1.tgz(r-4.3-emscripten)
asm.pdf |asm.html
asm/json (API)

# Install 'asm' in R:
install.packages('asm', repos = c('https://nineisprime.r-universe.dev', 'https://cloud.r-project.org'))

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

1.68 score 16 scripts 583 downloads 2 exports 10 dependencies

Last updated 22 days agofrom:85ee0933b1. Checks:8 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKJan 29 2025
R-4.5-winOKJan 29 2025
R-4.5-macOKJan 29 2025
R-4.5-linuxOKJan 29 2025
R-4.4-winOKJan 29 2025
R-4.4-macOKJan 29 2025
R-4.3-winOKJan 29 2025
R-4.3-macOKJan 29 2025

Exports:asmasm.fit

Dependencies:fdrtoolIsolatticeMASSMatrixMatrixModelspracmaquantregSparseMsurvival