compute.r: Sample sizes of mixture proportion groups.

Description Usage Arguments

View source: R/main.R

Description

Computes the number of individuals in each mixture proportion group.

Usage

1
compute.r(n, m, p, qvs, q.use)

Arguments

n

sample size, must be at least 1.

m

number of different mixture proportions, must be at least 2.

p

number of populations, must be at least 2.

qvs

a numeric matrix of size p by m containing all possible mixture proportions (i.e., the probability of belonging to each population k, k=1,...,p.).

q.use

a numeric matrix of size p by n containing the mixture proportions for each person in the sample.


tpgarcia/stride documentation built on March 18, 2021, 3:42 p.m.