Computes prediction intervals for the estimated dissimilarities based on residual variation between true and predicted values.
calculate_prediction_interval(
dissimilarity_matrix,
predicted_dissimilarity_matrix,
confidence_level = 0.95
)
A single numeric value representing the margin of error for the prediction interval.
Matrix of true dissimilarities.
Matrix of predicted dissimilarities.
The confidence level for the interval (default: 0.95).