R/df2.theta.R

Defines functions df2.theta

Documented in df2.theta

#' Compute the Value for the Second Derivative of Theta
#' 
#' 
#' @param beta An estimate of beta.
#' @param x The data
#' 
#' @author Tyler Hunt \email{tyler@@psychoanalytix.com}
#' @export

df2.theta <- function(beta, x){
	n<-length(x)
	theta=(sum(x^beta/n)^(1/beta))
	(n*beta)/theta^2 - sum((x/theta)^beta*(beta/theta^2)*(beta+1))
}
JackStat/WeibFit documentation built on May 7, 2019, 10:17 a.m.