cv21_poisson_mixed {CleaningValidation}R Documentation

Poisson Mixed Effect Model Summary

Description

Fits a mixed-effects Poisson model to the data and returns a data frame containing the fixed effect part estimates, standard errors, z-values, and p-values.

Usage

cv21_poisson_mixed(data, residue_col, cleaning_event_col)

Arguments

data

A data frame containing the data set for analysis.

residue_col

A string specifying the column in 'data' that contains residue data.

cleaning_event_col

A string specifying the column in 'data' for random effects grouping.

Value

A data frame with the fixed effect summary of the mixed-effects Poisson regression model.

Author(s)

Chan, Mohamed, Lou, Wendy, Yang, Xiande [xiande.yang at gmail.com]

Examples

# Assuming 'Eq_Mic' is a data frame, 'Mic' is the residue column of interest,
# and 'CleaningEvent' is the column for random effects grouping.
mixed_effect_summary <- cv21_poisson_mixed(data = Eq_Mic, residue_col = "Mic", 
cleaning_event_col = "CleaningEvent")
print(mixed_effect_summary)

[Package CleaningValidation version 1.0 Index]