double function ( IntervalList arg0 ) { double loc0 = 0.0 ; for ( int loc1 = 0 ; loc1 < arg0 . getIntervalCount ( ) ; loc1 ++ ) { loc0 += ( arg0 . getInterval ( loc1 ) * arg0 . getLineageCount ( loc1 ) ) ; } loc0 /= 2 ; return loc0 ; }
returns a factor lambda such that the likelihood can be expressed as 1/theta ^ n-1 exp - lambda/theta . this allows theta to be integrated out analytically . : - concode_field_sep DemographicFunction demographicFunction concode_elem_sep IntervalList intervals concode_field_sep IntervalList getIntervals concode_elem_sep DemographicFunction getDemographicFunction concode_elem_sep int getNumArguments concode_elem_sep Type getUnits concode_elem_sep double calculateLogLikelihood concode_elem_sep double calculateLogLikelihood concode_elem_sep double calculateLogLikelihood concode_elem_sep double getLowerBound concode_elem_sep double getUpperBound concode_elem_sep double calculateAnalyticalLogLikelihood concode_elem_sep double evaluate concode_elem_sep void setUnits