| ci_gau | R Documentation |
Computes approximate Wald confidence intervals for selected parameters from a fitted Gaussian AD model.
ci_gau(fit, level = 0.95, parameters = "all")
fit |
A fitted model object returned by |
level |
Confidence level between 0 and 1. |
parameters |
Which parameters to include: |
This helper currently supports complete-data Gaussian AD fits.
Standard errors are based on large-sample approximations:
SE(\hat{\mu}_t) \approx \hat{\sigma}_t / \sqrt{n}
SE(\hat{\sigma}_t) \approx \hat{\sigma}_t / \sqrt{2n}
SE(\hat{\phi}) \approx \sqrt{(1-\hat{\phi}^2)/n} for free \phi entries
An object of class gau_ci, a list with elements
settings, level, mu, phi, and sigma.
Each non-NULL element is a data frame with columns param,
est, se, lower, upper, and level.
fit_gau, ci_cat, ci_inad
y <- simulate_gau(n_subjects = 80, n_time = 6, order = 1, phi = 0.4)
fit <- fit_gau(y, order = 1)
ci <- ci_gau(fit)
ci$mu
ci$phi
ci$sigma
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.