| Subtraction for value objects | -.value |
| Multiplication for value objects | *.value |
| Division for value objects | /.value |
| Power operation for value objects. | ^.value |
| Addition for value objects | +.value |
| Absolute value for value objects | abs.value |
| Analysis of variance for femtofit models | anova.femtofit |
| Generic function for the Backward pass for automatic differentiation (finds the gradient of every sub-node in the computational graph with respect to 'e'). In other words, it is responsible for computing the gradient with respect to 'e'. | backward |
| Default implementation does not propagate gradients. For instance, if we have a constant, then the partial of the constant is not meaningful. | backward.default |
| Backward pass for value objects | backward.value |
| BFGS quasi-Newton optimizer | bfgs |
| Bootstrap Inference | bootstrap |
| Bootstrap standard errors and confidence intervals | bootstrap_fit |
| Transform to bounded interval | bounded |
| Check convergence diagnostics | check_convergence |
| Check Hessian properties | check_hessian |
| Compare multiple fitted models | compare |
| Compute confidence intervals from MLE results | confint_mle |
| Profile confidence intervals | confint_profile |
| Confidence intervals from bootstrap | confint.bootstrap_result |
| Cosine function for value objects | cos.value |
| Model Diagnostics | diagnostics diagnostics.femtofit |
| Digamma (psi) function for value objects | digamma.value |
| Log-likelihood functions for exponential family distributions | distributions |
| Safe division (handles division by zero) | div_safe |
| Extract degrees of freedom from hypothesis test | dof dof.hypothesis_test |
| dual R6 class for forward-mode automatic differentiation | dual |
| Create a dual number | dual_num |
| Stable exp function (with overflow protection) | exp_safe |
| Exponential function for value objects | exp.value |
| Constructor for femtofit objects | coef.femtofit confint.femtofit femtofit logLik.femtofit nobs.femtofit print.femtofit print.summary.femtofit summary.femtofit vcov.femtofit |
| Find MLE with standard errors | find_mle |
| Compute observed Fisher information matrix | fisher_information |
| Fisher scoring optimizer | fisher_scoring |
| Fit a model via maximum likelihood | fit |
| Statistical model fitting with automatic differentiation | fitting |
| Retrieve the data stored by an object | get_data get_data.default get_data.value get_data<- get_data<-.default get_data<-.value |
| Gradient of 'x' with respect to 'e' in 'backward(e)', e.g., dx/de. (applies the chain rule) | grad |
| Default gradient is zero matrix | grad.default |
| Gradient of a 'value' object 'x' with respect to 'e' in 'backward(e)', e.g., dx/de. (applies the chain rule) | grad.value |
| Compute gradient as a numeric vector | gradient |
| Gradient ascent/descent optimizer | gradient_ascent |
| Gradient descent (minimize) | gradient_descent |
| Compute Hessian matrix via forward-over-reverse automatic differentiation | hessian |
| Hypothesis Testing for Fitted Models | hypothesis_tests |
| Inverse of bounded transform | inv_bounded |
| Inverse of positive transform | inv_positive |
| Inverse of probability transform | inv_probability |
| Inverse transforms for recovering original scale | inverse_transforms |
| Check if object is a dual number | is_dual |
| Check if test is significant at given level | is_significant_at is_significant_at.hypothesis_test |
| Check if an object is of class value | is_value |
| L-BFGS optimizer (limited memory BFGS) | lbfgs |
| Log-gamma function for value objects | lgamma.value |
| Backtracking line search (Armijo condition) | line_search |
| Safe logarithm (handles zeros) | log_safe |
| Log-sigmoid (numerically stable) | log_sigmoid |
| Natural logarithm for value objects | log.value |
| Log1p with underflow protection (deprecated alias for log1p) | log1p_safe |
| Log(1+x) for value objects | log1p.value |
| Logit function for value objects | logit |
| Bernoulli distribution log-likelihood | loglik_bernoulli |
| Beta distribution log-likelihood | loglik_beta |
| Binomial distribution log-likelihood | loglik_binomial |
| Exponential distribution log-likelihood | loglik_exponential |
| Gamma distribution log-likelihood | loglik_gamma |
| Logistic regression log-likelihood (binary) | loglik_logistic |
| Negative binomial log-likelihood | loglik_negbinom |
| Normal (Gaussian) log-likelihood | loglik_normal |
| Pareto distribution log-likelihood | loglik_pareto |
| Poisson distribution log-likelihood | loglik_poisson |
| Weibull distribution log-likelihood | loglik_weibull |
| Log-Sum-Exp (numerically stable) | logsumexp |
| Transform to lower-bounded interval | lower_bounded |
| Likelihood Ratio Test | lrt |
| Mean for value objects | mean.value |
| Newton-Raphson optimizer | newton_raphson |
| Observed Fisher information matrix | observed_info observed_info.femtofit |
| Optimization routines for maximum likelihood estimation | optimization |
| Plot profile likelihood | plot.profile_likelihood |
| Transform to positive values | positive |
| Predictions from a fitted model | predict.femtofit |
| Extract primal from dual or return value unchanged | primal |
| Print anova table for femtofit | print.anova.femtofit |
| Print method for bootstrap results | print.bootstrap_result |
| Print methods for diagnostic objects | print.convergence_check print.hessian_check print.model_diagnostics |
| Print method for likelihood ratio test | print.likelihood_ratio_test |
| Print model comparison | print.model_comparison |
| Print method for profile likelihood | print.profile_likelihood |
| Print value object and its computational graph | print.value |
| Print method for Wald test | print.wald_test |
| Transform to probability values | probability |
| Profile Likelihood | profile_likelihood |
| Compute profile likelihood for a parameter | profile_loglik |
| Extract p-value from hypothesis test | pval pval.hypothesis_test |
| ReLU activation function for value objects | relu |
| Standard errors from a fitted model | se se.femtofit |
| Check if standard errors are reliable | se_reliable |
| Sigmoid activation function for value objects | sigmoid |
| Stable sigmoid function | sigmoid_stable |
| Sine function for value objects | sin.value |
| Softmax function (numerically stable) | softmax |
| Softplus function for value objects | softplus |
| Square root for value objects | sqrt.value |
| Numerical stability utilities for automatic differentiation | stability |
| Compute standard errors from Hessian | std_errors |
| Sum for dual numbers | sum.dual |
| Summation for value objects | sum.value |
| Summary for bootstrap results | summary.bootstrap_result |
| Extract tangent from dual or return 0 | tangent |
| Hyperbolic tangent for value objects | tanh.value |
| Extract test statistic from hypothesis test | test_stat test_stat.hypothesis_test |
| Parameter Transformation Helpers | transforms |
| Trigamma function for value objects | trigamma.value |
| Transform to upper-bounded interval | upper_bounded |
| 'value' object constructor | val |
| value R6 class | value |
| Compute variance-covariance matrix from Hessian | vcov_matrix |
| Wald Test for Model Parameters | wald_test wald_test.default wald_test.femtofit |
| Reset gradients to zero | zero_grad zero_grad.default zero_grad.list zero_grad.value |