asyvar {binhf}R Documentation

Asymptotic variance function

Description

This function gives values for the asymptotic mean of the new binomial Fisz random variable.

Usage

asyvar(xgrid = seq(0, 1, length = 21), ygrid = seq(0, 1, length = 21))

Arguments

xgrid

vector of x co-ordinate probabilities.

ygrid

vector of y co-ordinate probabilities.

Details

Due to the form of the asymptotic variance for equal binomial sizes, this does not need a specification of the binomial size binsize (see asymean).

Value

asyvar

A matrix of dimension length(xgrid)xlength(ygrid) of values of the variance.

Author(s)

Matt Nunes (m.nunes@ucl.ac.uk)

References

Fisz, M. (1955), The Limiting Distribution of a Function of Two Independent Random Variables and its Statistical Application, Colloquium Mathematicum, 3, 138–146.

See Also

asymean, statgen

Examples


variance<-asyvar(xgrid=seq(0,1,length=21),ygrid=seq(0,1,length=21))

## this produces a 21x21 matrix for an equally-spaced grid of binomial proportions. 

[Package binhf version 1.0-3 Index]