find_param | R Documentation |
This function solves a system of equations, whose solution characterizes the asymptotic bias and variance of the M-estimator (in case of the MLE, it is the negative log-likelihood).
find_param(
rho_prime = rho_prime_logistic,
f_prime1 = f_prime1_logistic,
f_prime0 = f_prime0_logistic,
kappa,
gamma,
beta0 = 0,
intercept = TRUE,
verbose = FALSE,
x_init = NULL
)
rho_prime |
A function that computes the success probability |
f_prime1 |
A function. Derivative of the loss function when |
f_prime0 |
A function. Derivative of the loss function when |
kappa |
Numeric. The problem dimension |
gamma |
Numeric. Signal strength |
beta0 |
Numeric. Intercept. |
intercept |
If |
verbose |
If |
x_init |
Initial values for the parameters. |
A vector solution to the system. When gamma != 0
and b !=0
,
returns (\alpha_\star, \lambda_\star, \sqrt{\kappa}\sigma_\star, b_\star)
.
When signal strength is zero (gamma = 0
), returns the solution to the system with
three equations (\alpha_\star = 0, \lambda_\star, \sqrt{\kappa}\sigma_\star, b_\star)
. When gamma = 0
and
b = 0
, returns (\alpha_\star = 0, \lambda_\star, \sqrt{\kappa}\sigma_\star)
.
The Impact of Regularization on High-dimensional Logistic Regression, Fariborz Salehi, Ehsan Abbasi and Babak Hassibi, Proceedings of NeurIPS 2019.
# Compute parameters for a logistic model
param <- find_param(kappa = 0.1, gamma = sqrt(5))
# Asymptotic bias
param[1]
# Standard deviation
param[3] / sqrt(0.1)
# Another example
param <- find_param(kappa = 0.1, gamma = 0, intercept = FALSE)
# Asymptotic standard deviation
param[2] / sqrt(0.1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.