sugsvarAlloc1D: A function to partition the variable into relevant and...

Description Usage Arguments Value

Description

A function to partition the variable into relevant and irrelevant in one dimension

Usage

1
sugsvarAlloc1D(varMarg, lognullMarg, w)

Arguments

varMarg

The log marginal probability of a cluster being relevant

lognullMarg

The log marginal probability of a variable belonging to the null model

w

A numerical vector of length 2 giving the prior probability of a variable being irrelevant or relevant. The first slot is irrelevant the second relevant.

Value

A binary vector indicating whether a variable is relevant (1) or irrelevant (0)


ococrook/sugsvarsel documentation built on May 27, 2019, 12:12 p.m.