summary_pim: Get summary statistics for fitted PIM.

View source: R/summary_pim.R

summary_pimR Documentation

Get summary statistics for fitted PIM.

Description

Get summary statistics for fitted PIM.

Usage

summary_pim(pim_obj)

Arguments

pim_obj
  • fitted object from pim_fit()

Value

a data frame with columns

term covariates
estimate point estimate
std.error standard error
statistic Z-statistic (asymptotic)
p.value p-value
link link function used
prob.index probabilistic index
prob.index.se standard error of the probabilistic index

Examples

pim_obj <- pim_fit(mtcars$mpg, mtcars[c("cyl", "disp")], link = "logit", nleqslv.global = "dbldog")
summary_pim(pim_obj)
pim_obj <- pim_fit(mtcars$mpg, mtcars[c("cyl", "disp")], link = "probit", nleqslv.global = "dbldog")
summary_pim(pim_obj)

ge-li/upim documentation built on Oct. 30, 2022, 3:36 a.m.