lndest: Point and varioance estimates for expected and log(expected...

Description Usage Arguments Value References

View source: R/lndest.R

Description

Compute the ML estimates of the expected values and the log of the expected values given several samples of lognormal data, separated by a factor variable. For internal use in lndci and lnrci.

Usage

1
2
lndest(x, f)
lnrest(x, f)

Arguments

x

a numeric vector

f

a factor variable (with at least two levels)

Value

A list with elements

estimate

a numeric vector, the point estimates for each factor level

varest

a numeric vector, the variance estimates (evaluated at the point estimates) for each factor level

n

a numeric vector, the sample size of each factor level

References

Chen, Y-H, Zhou, X-H (2006). Interval estimates for the ratio and the difference of two log-normal means. Statistics in Medicine 25, 4099-4113.


MCPAN documentation built on May 1, 2019, 8:04 p.m.