Get summary statistics for fitted PIM.

summary_pim(pim_obj)

Arguments

pim_obj

Value

a data frame with columns

termcovariates
estimatepoint estimate
std.errorstandard error
statisticZ-statistic (asymptotic)
p.valuep-value
linklink function used
prob.indexprobabilistic index
prob.index.sestandard 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)
#>   term     estimate   std.error statistic      p.value  link prob.index
#> 1  cyl -1.326305545 0.297740109 -4.454575 8.405968e-06 logit  0.2097711
#> 2 disp -0.008545072 0.006206241 -1.376851 1.685582e-01 logit  0.4978637
#>   prob.index.se
#> 1   0.049355545
#> 2   0.001551532
pim_obj <- pim_fit(mtcars$mpg, mtcars[c("cyl", "disp")], link = "probit", nleqslv.global = "dbldog")
summary_pim(pim_obj)
#>   term    estimate   std.error statistic      p.value   link prob.index
#> 1  cyl -0.68885685 0.151762482 -4.539046 5.650938e-06 probit  0.2454567
#> 2 disp -0.00436577 0.003558692 -1.226790 2.199014e-01 probit  0.4982583
#>   prob.index.se
#> 1   0.047756552
#> 2   0.001419699