Scenario In quantitative trading and quantitative research, candidates are frequently evaluated on statistics modeling, specifically regarding Numerical Optimization / Generalized Linear Models.
Your Task
In binary logistic regression, with .
(1) Derive the gradient vector and Hessian matrix of the log-likelihood.
(2) Formulate the Newton-Raphson update step and prove that it can be rewritten as Iteratively Reweighted Least Squares (IRLS):
where is a diagonal weight matrix and is an adjusted response vector.
Constraints