fn.IC: Calculate IC weights

View source: R/other-functions.R

fn.ICR Documentation

Calculate IC weights

Description

Calculate IC weights

Usage

fn.IC(theta_z, gamma_s, data, parm)

Arguments

theta_z

Group probability vector (length K, sums to 1)

gamma_s

Study probability vector (length J, sums to 1)

data

Structured data list

parm

Parameter list containing tmp1.ar (negative log propensities)

Value

Updated parm with:

  • wt.v - Weight vector (normalize to mean 1)

  • ESS - Effective sample size

  • gamma_s - Study probability used

  • theta_z - Group probabilities used


WMAP documentation built on Oct. 6, 2026, 1:07 a.m.