var.psData {fitPS} | R Documentation |
An S3 method for computing the variance of clothing survey for the number of groups or size of groups
Description
An S3 method for computing the variance of clothing survey for the number of groups or size of groups
Usage
## S3 method for class 'psData'
var(x, ...)
Arguments
x |
an object of class |
... |
other arguments which are passed to |
Value
the mean of the data. If there are observations of
the value
then the variance is computed by
, where
is computed using
, and
is computed by
. We realise that the
computational formula,
, is usually not
regarded as computationally stable, but the magnitude of the numbers
involved is such that, that this is not likely to cause an issue.
Examples
data(Psurveys)
var(Psurveys$roux)
[Package fitPS version 1.0.1 Index]