Package: asm 0.2.2

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.2.tar.gz
asm_0.2.2.zip(r-4.5)asm_0.2.2.zip(r-4.4)asm_0.2.2.zip(r-4.3)
asm_0.2.2.tgz(r-4.5-any)asm_0.2.2.tgz(r-4.4-any)asm_0.2.2.tgz(r-4.3-any)
asm_0.2.2.tar.gz(r-4.5-noble)asm_0.2.2.tar.gz(r-4.4-noble)
asm_0.2.2.tgz(r-4.4-emscripten)asm_0.2.2.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:

Conda:

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

1.81 score 16 scripts 606 downloads 2 exports 10 dependencies

Last updated 2 days agofrom:95494c6071. Checks:9 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 23 2025
R-4.5-winOKMar 23 2025
R-4.5-macOKMar 23 2025
R-4.5-linuxOKMar 23 2025
R-4.4-winOKMar 23 2025
R-4.4-macOKMar 23 2025
R-4.4-linuxOKMar 23 2025
R-4.3-winOKMar 23 2025
R-4.3-macOKMar 23 2025

Exports:asmasm.fit

Dependencies:fdrtoolIsolatticeMASSMatrixMatrixModelspracmaquantregSparseMsurvival