margProj {MCARtest}R Documentation

Internal function multiplying a mass function by the sparse matrix A.

Description

Internal function multiplying a mass function by the sparse matrix A.

Usage

margProj(p, bS, M)

Arguments

p

A subprobability mass function on the full joint space.

bS

A binary matrix specifying the set of observation patterns. Each row encodes a single pattern.

M

A vector of positive integers giving the alphabet sizes of the discrete variables.

Value

A collection of marginal mass functions.


[Package MCARtest version 1.2.1 Index]