logistic.model: Implementing binomial GLM (logistic regression) from scratch.

Description Usage Arguments Value

Description

This function accepts a covariate X and response Y and uses optimization to estimate the maximum likelihood parameters of the binomial GLM fit. General-purpose optimization to estimate parameters is based on Nelder–Mead algorithm The Akaike and Bayesian Information Criterion is also output to enable downstream model selection

Usage

1

Arguments

X

A Covariate vector of values.

Y

A Response vector of values.

Value

A vector containing the optimized MLE parameters of the fit as well as the AIC and BIC to enable downstream model selection


ssarda/genomeutils documentation built on May 30, 2019, 8:42 a.m.