Asymptotic mean calculation

Description

This function gives values for the asymptotic mean of the new binomial Fisz random variable for a grid of bivariate proportion values.

Usage

1
asymean(xgrid = seq(0, 1, length = 21), ygrid = seq(0, 1, length = 21), binsize = 32)

Arguments

xgrid

vector of x co-ordinate probabilities.

ygrid

vector of y co-ordinate probabilities.

binsize

the binomial size of the binomial random variables.

Details

See afgen for an explanation of the computation.

Value

zetam1m2

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

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

asyvar, afgen

Examples

1
2
3
means<-asymean(xgrid=seq(0,1,length=21),ygrid=seq(0,1,length=21),binsize=32)

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