genDepnd: Function to generate dependent variable

Description Usage Arguments

View source: R/gendepend.R

Description

genDepnd function is one of the simulation functions of the package timsync. genDepnd generates the value of dependent variable from the independent x and its/their coefficient beta.

Usage

1
genDepnd(x, beta, n_grp, rho, omega)

Arguments

x

Independent variable. Vector or matrix.

beta

Coefficients of x.

rho

Parameter of serial correlation.

omega

Parameter of synchronization.


ShojiTaniguchi/timsync documentation built on Oct. 10, 2020, 3:33 p.m.