# NOT RUN {
X <- hmm.discnp::SydColDisc
X$y <- as.numeric(X$y)
X <- split(X,f=with(X,interaction(locn,depth)))
x <- X[[19]]$y
fit <- mleDb(x, ntop=5)
H <- aHess(fit)
print(solve(H)) # Equal to ...
print(vcov(fit))
X <- hrsRcePred
top1e <- X[X$sbjType=="Expert","top1"]
fit <- mleBb(top1e,size=10)
H <- aHess(fit,x=top1e)
print(solve(H)) # Equal to ...
print(vcov(fit))
# }
Run the code above in your browser using DataLab