ctPostPredPlots {ctsem} | R Documentation |
This function generates a set of diagnostic plots to assess the goodness-of-fit for a fitted ctsem model.
ctPostPredPlots(fit)
fit |
A fitted ctsem model. |
The function calculates various statistics and creates visualizations to evaluate how well the generated data matches the original data used to fit the model. The plots included are as follows: - A scatter plot comparing observed values and the median of generated data. - A plot showing the proportion of observed data outside the 95 - A density plot of the proportion of observed data greater than the generated data. - A time series plot of the proportion of observed data greater than generated data.
Other ctsem functions for model fitting and analysis.
ctPostPredPlots(ctstantestfit)