sediff | R Documentation |
the differences in the computed standard error using the upper bound vs. lower bound of 95 confidence interval
computations are based on t-distribution, not z
returns and prints a value/vector of difference(s)
sediff(est, cil, ciu, n, k, type = c("reg", "exp b", "geo", "percent"))
est |
the point estimate (e.g., a regression coefficient, a mean) |
cil |
the lower bound of the 95 confidence interval |
ciu |
the upper bound of the 95 confidence interval |
n |
the sample size |
k |
the total number of predictors. for converting the ci associated with a raw mean, enter k = 0. |
type |
select one of:
|
# e.g., exponentiated logistic regression coefficient (estimated odd ratios) and cis
se.diff(4.05, 1.56, 10.51, 141, 8, "exp b")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.