dsbweibull {sbd}R Documentation

Size biased Weibull probability density

Description

Calculates size biased Weibull probability density - the underlying Weibull probability density when the likelihood of recording an observation is proportional to its value.

Usage

dsbweibull(x, lmean, lshape, log = FALSE, xlog = FALSE)

Arguments

x

A vector of positive numbers.

lmean

The mean of the distribution on the log scale.

lshape

The log shape parameter of the underlying Weibull distribution.

log

A logical indicating whether to return log densities.

xlog

A logical indicating whether to return densities for log transformed data.

Value

A vector of probability densities.

Examples

  data(BCI_speed_data)
  agoutiData <- subset(BCI_speed_data, species=="agouti")
  dsbweibull(agoutiData$speed, 0, 0.1)

[Package sbd version 0.1.0 Index]