binary.logreg.loglik: This function computes the log likelihood for the binary data...

Description Usage

View source: R/sampling_fcts_KMR.R

Description

This function computes the log likelihood for the binary data for the n schools, when the probability of obesity at school i is linked through a logistic regression to covariates X_i (the i-th row of the design matrix X refers to the p covariates - including the intercept - relative to school i), with h(z_i) being the kernel machine regression value at school i

Usage

1
binary.logreg.loglik(y, h.z, X, beta, n)

apeterson91/bekmr documentation built on Feb. 12, 2020, 9:29 p.m.