pub struct McStats {
pub pv: f64,
pub std_err: f64,
pub paths: usize,
pub steps: usize,
}Expand description
Price with sampling diagnostics.
std_err is the standard error of the mean over paths. For the
low-discrepancy sampler the points are not independent, so treat it as
an indicative scale rather than a rigorous confidence bound; for the
LSMC it reflects valuation-pass noise only (not regression uncertainty).
Fields§
§pv: f64§std_err: f64§paths: usize§steps: usizeTrait Implementations§
Auto Trait Implementations§
impl Freeze for McStats
impl RefUnwindSafe for McStats
impl Send for McStats
impl Sync for McStats
impl Unpin for McStats
impl UnsafeUnpin for McStats
impl UnwindSafe for McStats
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more