lossfunctionp: Loss function evaluation from architecture and data

Description Usage Arguments Value See Also

View source: R/ArchitectureModel.R

Description

A convenience function to calculate summary statistics and evaluate their loss. Not recommended for regular use, for which direct inference via lossfunctionss and lossfunction is recommended.

Usage

1
lossfunctionp(s, ref)

Arguments

s

Genomic Architecture parameter for estimation

ref

A list containing: ref$dat: A data frame of (f,beta) pairs; ref$bins: the histogram bins to use; and ref$thresholds: the tail areas to compare (in s.d units).

Value

The loss as returned by lossfunction, run of the summary statistics returned by lossfunctionss.

See Also

fullsearch for inference.


danjlawson/robustarchitecture documentation built on Dec. 19, 2021, 8:09 p.m.