Learn R Programming

binhf (version 1.0-3)

asymean: 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

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.

Value

zetam1m2

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

Details

See afgen for an explanation of the computation.

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

Run this code
# NOT RUN {
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. 
# }

Run the code above in your browser using DataLab