cloglog_estimates: Sample cloglog estimates

View source: R/cloglog_estimates.R

cloglog_estimatesR Documentation

Sample cloglog estimates

Description

Probit analog to 'sostools::odds_ratios'. Given a 2d contingency table, calculate the cloglog estimates between a reference level (row) and the other rows. Does not currently support confidence intervals.

Usage

cloglog_estimates(table, reference = 1)

Arguments

table

Contingency table from 'xtabs'

reference

Which row should be used as the reference level, defaults to 1

Value

Data frame with cloglog thresholds and effect estimates.


tsostarics/sostools documentation built on Nov. 22, 2022, 7:26 p.m.