Learn R Programming

smatr (version 3.4-8)

com.ci: Calculates a confidence inteval for a common slope (called by slope.com)

Description

Calculates a confidence inteval for a common slope (called by slope.com)

Usage

com.ci(b, varb, crit, z, n, l1, l2, method, lambda, res.df, r.factor)

Arguments

b

Common slope estimate.

varb

Estimated variance of the common slope.

crit

Critical value to be used in confidence interval calculation.

z

Variances and covariances of each group.

n

Sample sizes of each group.

l1

Variance of fitted axis scores, for each group.

l2

Variance of fitted residuals, for each group.

method

See slope.com for details.

lambda

Error variance ration (implied by choice of method.

res.df

Residual degrees of freedom, for each group.

r.factor

A vector of "robust factors" for each group, default value 1. Variance estimates are rescaled by this factor when using robust inference.

See Also

slope.com