기계 구입 후 시간에 따라 발생하는 고장 확률에 대한 분포를 표현한다.
alpha < 1 이면 초기 고장형, alpha = 1 이면 지수분포이며, 우발 고장형, alpha > 1 이면 마모 고장형이라 한다.
public void CorrelationCoefficient() { const int N = 10000; var x = new double[N]; var y = new double[N]; var logistics = new LogisticsRandomizer(); var weibull = new WeibullRandomizer(0.5); logistics.Fill(x, 5, 2); weibull.Fill(y, 5, 2); if(IsDebugEnabled) log.Debug("CorrelationCoefficient = " + x.CorrelationCoefficient(y)); }
public void CorrelationCoefficient() { const int N = 10000; var x = new double[N]; var y = new double[N]; var logistics = new LogisticsRandomizer(); var weibull = new WeibullRandomizer(0.5); logistics.Fill(x, 5, 2); weibull.Fill(y, 5, 2); if (IsDebugEnabled) { log.Debug("CorrelationCoefficient = " + x.CorrelationCoefficient(y)); } }