glmerProb: Empirical and implied probabilities for binomial outcome...

Usage Arguments Details Value Author(s)

Usage

1
glmerProb(model, classes, drop = NA)

Arguments

model

A glmer object.

classes

A character vector containing names of vectors for classification.

drop

An integer vector indicating non-categorical terms so that they can be dropped.

Details

Returns a table containing columns:

  1. First 4 columns as per summary(mod)$coefficients: Estimate, Std. Error, z value, Pr(>|z|)

  2. 'count' number of 1s in response vector

  3. 'n' length of response vector

  4. 'prob.emp' empirical probabilities

  5. 'prob.est.fe' model implied probabilities due to fixed effects only

  6. 'prob.est.re' model implied probabilities for combined fixed and random effects

WARNING: this function is very fragile. It is easily broken.

Value

A table consisting of terms built from categorical variables and their linear combinations

Author(s)

David Braze davebraze@gmail.com


davebraze/FDB1 documentation built on May 14, 2019, 8:59 p.m.