Use the dual formulation to solve the inner loop.
1 2 | emplik_concord(z, lam, eps = 1/nrow(z), M = Inf, thresh = 1e-16,
itermax = 150, verbose = FALSE)
|
z |
a matrix of the score equations with observations in rows and variables in columns. |
lam |
a vector of initial values for the dual parameter. |
eps |
lower cutoff for logarithm approximation. |
M |
upper cutoff for logarithm approximation. |
thresh |
convergence threshold. |
itermax |
maximum number of iterations. |
verbose |
print console output. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.