block.SRM.variances: Estimating SRM absolute variances in block designs

Description Usage Arguments Details Value Author(s) References See Also

Description

A function for obtaining SRM absolute variances in block designs.

Usage

1
   block.SRM.variances(X, subgroup1, subgroup2, numb.times, numb.groups, names1=NULL, names2=NULL, subgroups=NULL, times=NULL, groups=NULL)

Arguments

X

Original block sociomatrix.

subgroup1

Number of individuals of the first subgroup of the block data.

subgroup2

Number of individuals of the second subgroup of the block data.

numb.times

Number of occasions in which the dyads are analyzed.

numb.groups

Number of groups in the block data.

names1

(optional) Character array with the names of individuals in the first subgroup.

names2

(optional) Character array with the names of individuals in the second subgroup.

subgroups

(optional) Character array with the names of the subgroups.

times

(optional) Character array with the names of the occasions of data collection.

groups

(optional) Character array with the names of groups in the block data.

Details

block.SRM.variances estimates actor,partner and relationship variances, as well as actor-partner and relationship covariances, for SRM block designs.

Value

block.SRM.variances returns a list containing the following components:

actor.variance

Estimation of the actor variance for the SRM block data.

partner.variance

Estimation of the partner variance for the SRM block data.

relationship.variance

Estimation of the relationship variance for the SRM block data.

actorpartner.covariance

Estimation of the actor-partner covariance for the SRM block data.

dyadic.covariance

Estimation of the relationship covariance for the SRM block data.

Author(s)

David Leiva <dleivaur@ub.edu>, Antonio Solanas <antonio.solanas@ub.edu>, & David A. Kenny <david.kenny@uconn.edu>.

References

Kenny, D. A., Kashy, D. A., & Cook, W. L. (2006). Dyadic data analysis. New York: Guilford Press.

See Also

block.SRM.effects,block.SRM.relative.variances


DLEIVA/DyaDA documentation built on May 6, 2019, 1:17 p.m.