scale_f {mpower}R Documentation

Rescale the mean function of an OutcomeModel to meet a given SNR

Description

Rescale the mean function of an OutcomeModel to meet a given SNR

Usage

scale_f(snr, ymod, xmod, m = 5000)

Arguments

snr

A SNR

ymod

A OutcomeModel object to modify

xmod

A MixtureModel object

m

Number of MC samples to estimate the SNR of a proposed noise variance

Value

A new OutcomeModel object


[Package mpower version 0.1.0 Index]