Learn R Programming

pda (version 1.3.0)

estimatePool: Pooled estimation for COLA-GLM and COLA-GLM-H

Description

Performs pooled estimation for Generalized Linear Models (GLMs) using either the standard COLA-GLM approach or the heterogeneous intercept extension (COLA-GLM-H). This function supports binary and Poisson outcomes.

Usage

estimatePool(KSiteIPD, formula, family = "binomial", 
outcome_name, heter_intercept = FALSE)

Value

A data frame with point estimates and standard errors for each coefficient

Arguments

KSiteIPD

glm data

formula

glm formula

family

glm family

outcome_name

outcome name

heter_intercept

Logical; if TRUE, includes site-specific intercepts to model heterogeneity across sites.