var_error_cpa {configural}R Documentation

Estimate the sampling error variance for criterion profile analysis parameters

Description

Estimate the sampling error variance for criterion profile analysis parameters

Usage

var_error_cpa(
  Rxx,
  rxy,
  n = NULL,
  se_var_mat = NULL,
  adjust = c("fisher", "pop", "cv")
)

Arguments

Rxx

An intercorrelation matrix among the predictor variables

rxy

A vector of predictor–criterion correlations

n

The sample size. If NULL and se_var_mat is provided, n will be estimated as the effective sample size based on se_var_mat. See n_effective_R2().

se_var_mat

A matrix of sampling covariance values for the elements of Rxx and rxy. If NULL, generated using the Normal theory covariance matrix based on n.

adjust

Method to adjust R-squared for overfitting. See adjust_Rsq for details.

Value

A list containing sampling covariance matrices or sampling error variance estimates for CPA parameters

Examples

var_error_cpa(mindfulness$rho[1:5, 1:5], mindfulness$rho[1:5, 6], n = 17060)

[Package configural version 0.1.4 Index]