assess.variance {bayescount}R Documentation

ASSESS CERTIAINTY IN VARIANCE ESTIMATE FOR LP/GP/WP MODEL

Description

Function used by bayescount.single() and bayescount() to determine if the variance estimate output by a model is sufficiently vague to warrant a warning. Uncertain estimates are often heavily prior-driven, so re-running the model using a different prior and comparing the results is recommended

Usage

assess.variance(model, alt.prior, l.95, u.95)

Arguments

model Which model was used to generate the estimate? (string: 'ZI WP/GP/LP')
alt.prior Was the model run with the alternative prior? (logical)
l.95 the lower 95 percent confidence interval for variance (numeric)
u.95 the upper 95 percent confidence interval for variance (numeric)

Value

A logical result; 'TRUE' if the variance estimate is considered vague or 'FALSE' otherwise.

Author(s)

Matthew Denwood m.denwood@vet.gla.ac.uk funded as part of the DEFRA VTRI project 0101.

See Also

bayescount bayescount.single


[Package bayescount version 0.8.2 Index]