You are here

Revision of mxCI-help from Fri, 08/20/2010 - 17:34

Revisions allow you to track differences between multiple versions of your content, and revert back to older versions.

Wiki home page

Confidence Intervals

To request confidence intervals from a model, simply include a call to mxCi in the model, and add "intervals=T" to the call to mxRun()
i.e.

themodel =mxModel(
  ...
  mxCI(c('model.A'))
)
mxRun(themodel, intervals=T)

The interval and type defaults give the 95% upper and lower CIs that most users will want.

the reference list is quite intelligent, and can take: matrix or algebra names, matrices with column and row indices. So the following are all fine, as long as they are legal objects found in the model or its submodels.

  mxCI(c('model.A', 'top.A[,1]', 'myAlg'))