R/exponential.error.R

Defines functions exponential.error

exponential.error <-
function(parameters, values, probabilities, weights){
	sum(weights * (pexp(values, parameters) -probabilities)^2)
}

Try the SHELF package in your browser

Any scripts or data that you put into this service are public.

SHELF documentation built on Sept. 11, 2024, 6:54 p.m.