pub struct BreadthView {
pub instruments: Vec<String>,
pub correlations: Vec<CorrelationRow>,
pub mean_correlation: Option<f64>,
pub effective: Option<f64>,
pub overstatement: Option<f64>,
}Expand description
How much of a panel’s apparent breadth is real.
The pooled statistics read as evidence in proportion to the instrument count — three that agree feel like three times the confidence of one. They are not, if the three moved together.
Fields§
§instruments: Vec<String>§correlations: Vec<CorrelationRow>Square and symmetric. None where a pair had too little overlap to
say — which is different from a correlation of zero.
mean_correlation: Option<f64>§effective: Option<f64>How many independent instruments the panel behaves like.
overstatement: Option<f64>How much the pooled average’s certainty is overstated by counting instruments instead of independent ones.
Implementations§
Source§impl BreadthView
impl BreadthView
Sourcepub fn mean_correlation(&self) -> f64
pub fn mean_correlation(&self) -> f64
Returns the value of mean_correlation, or the default value if mean_correlation is unset.
Sourcepub fn effective(&self) -> f64
pub fn effective(&self) -> f64
Returns the value of effective, or the default value if effective is unset.
Sourcepub fn overstatement(&self) -> f64
pub fn overstatement(&self) -> f64
Returns the value of overstatement, or the default value if overstatement is unset.
Trait Implementations§
Source§impl Clone for BreadthView
impl Clone for BreadthView
Source§impl Debug for BreadthView
impl Debug for BreadthView
Source§impl Default for BreadthView
impl Default for BreadthView
Source§impl<'de> Deserialize<'de> for BreadthView
impl<'de> Deserialize<'de> for BreadthView
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Message for BreadthView
impl Message for BreadthView
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.