covFIML: Full Information Maximum Likelihood (FIML) correlation or...

View source: R/covFIML.R

covFIMLR Documentation

Full Information Maximum Likelihood (FIML) correlation or covariance matrix

Description

Full Information Maximum Likelihood (FIML) correlation or covariance matrix

Usage

covFIML(data, tol = 1e-6, maxiter = 1000, pvalue = FALSE)

corFIML(data, tol = 1e-6, maxiter = 1000, pvalue = FALSE)

Arguments

data

a data frame of rdata matrix.

tol

tolerance.

maxiter

maximum number of iterations.

pvalue

an argument to indicate if p-values are required.

Value

A list containing the means, th correlation or covariance matrix, and optionnaly the degree of freedom and the p-values.

Note

A not so efficient function. See ?cor_nest instead.

Examples

covFIML(airquality)

Rnest documentation built on April 3, 2025, 5:31 p.m.