Statistics.LogisticFit Method

void LogisticFit(TVec X, ref Double m, ref Double b)

Calculate parameters for Logistic distributed values.

#NameDescription
1XStores data which is assumed to follow logistic distribution.
2mReturn Logistic distribution parameter estimator M.
3bReturn Logistic distribution parameter estimator b.

Result: stored in self (calling object)

Examples
using Dew.Math;
using Dew.Stats;
using Dew.Stats.Units;
namespace Dew.Examples;
{
    private void Example()
    {
        Vector Data = new Vector(100);
        StatRandom.RandomLogistic(3,0.2,Data, -1);
        double m, b;
        Statistics.LogisticFit(Data, out m, out b);
        // m approx 3.0
        // b approx 0.2
    }
}
See Also: StatRandom.RandomLogistic