R/plot.likelihood_function.R
plot_profile_vs_wald.RdCompare profile and Wald confidence intervals
plot_profile_vs_wald(x, parameter = NULL, ci_level = 0.95,
n_points = 200, ...)A likelihood_function object
Name of the parameter to plot. If NULL, uses the first parameter.
Confidence level (default: 0.95)
Number of parameter values for profile likelihood evaluation
Additional arguments passed to plot
Invisibly returns a list with elements profile and wald
containing the respective confidence interval bounds
Plots the profile likelihood with both profile-based and Wald (normal approximation) confidence interval bounds overlaid for comparison. Differences between the two methods indicate departures from normality or asymmetry in the likelihood.