bloques {bayeslongitudinal}R Documentation

bloques ar 1

Description

Build a block diagonal matrix with structure AR(1)

Usage

bloques(s, r, t, n)

Arguments

s

Numerical value indicating global standard deviation of the matrix

r

Numerical value indicating correlation of individuals

t

Numerical value indicating number of times when observations are repeated

n

Numerical value indicating number of individuals

Value

A diagonal block matrix with structure AR(1)

References

Nuñez A. and Zimmerman D. 2001. Modelación de datos longitudinales con estructuras de covarianza no estacionarias: Modelo de coeficientes aleatorios frente a modelos alternativos. Questio. 2001. 25.

Examples

bloques(2,.5,10,2)

[Package bayeslongitudinal version 0.1.0 Index]