pub struct InversePowerInterpResult {
pub pattern: InterpolatedPattern,
pub a: f64,
pub b: f64,
pub r_squared: f64,
}Expand description
Result of Sherman (1984) inverse-power sub-annual interpolation, including
the fitted curve parameters f(t) - 1 = a · t^{-b}.
Fields§
§pattern: InterpolatedPatternEvaluated sub-annual pattern (cdfs, pct_reported, ldfs).
a: f64Scale parameter a > 0 in f(t) - 1 = a · t^{-b}.
b: f64Decay exponent b > 0 in f(t) - 1 = a · t^{-b}.
r_squared: f64Coefficient of determination R² of the log-linear fit ln(f_k - 1) = ln(a) - b ln(t_k).
Trait Implementations§
Source§impl Clone for InversePowerInterpResult
impl Clone for InversePowerInterpResult
Source§impl Debug for InversePowerInterpResult
impl Debug for InversePowerInterpResult
Source§impl<'de> Deserialize<'de> for InversePowerInterpResult
impl<'de> Deserialize<'de> for InversePowerInterpResult
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for InversePowerInterpResult
impl PartialEq for InversePowerInterpResult
Source§impl Serialize for InversePowerInterpResult
impl Serialize for InversePowerInterpResult
impl StructuralPartialEq for InversePowerInterpResult
Auto Trait Implementations§
impl Forget for InversePowerInterpResult
impl Freeze for InversePowerInterpResult
impl Move for InversePowerInterpResult
impl RefUnwindSafe for InversePowerInterpResult
impl Send for InversePowerInterpResult
impl Sync for InversePowerInterpResult
impl Unpin for InversePowerInterpResult
impl UnsafeUnpin for InversePowerInterpResult
impl UnwindSafe for InversePowerInterpResult
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