BayesianTools icon indicating copy to clipboard operation
BayesianTools copied to clipboard

Matrix seems negative semi-definite

Open wwbgroup opened this issue 1 year ago • 0 comments

Hi,

I'm trying to use the runMCMC function but seems that there's an error: BT runMCMC: trying to find optimal start and covariance valuesError in Matrix::nearPD(MASS::ginv(-hessian)) : Matrix seems negative semi-definite runMCMC terminated after 0.540000000037253seconds If the sample is wrong, MCMC should reject it and resample to get a new one. But it seems that there's no resample and I'm not sure what the Matrix::nearPD(MASS::ginv(-hessian)) is. Appreciate for your help.

Thanks, Weibing

wwbgroup avatar Oct 17 '22 08:10 wwbgroup