mmLogLik: Function to calculate maximum likelihood

Description Usage Arguments References

View source: R/mmLogLik.R

Description

mmLogLik function is to calculate the maximum likelihood values under the estimated parameters. The appropriate usage is to calculate the ML under the REML parameters estiamted by the timixCov or timix function.

Usage

1
mmLogLik(rho, omega, dat, y, f, r, grp, w, b, Ve, Vu, method)

Arguments

rho

parameter for serial correlation

omega

parameter for synchronization

dat

data for the analysis

y

column number of the dependent variable

f

column number of the fixed effects

r

column number of the random effects

grp

column number of the group

w

weight vector for the random effects variance

Ve

Variance of the residuals

Vu

Variance of the random effects

method

"ML" or "REML"

References

Hamazaki, K., & Iwata, H. (2020). RAINBOW: Haplotype-based genome-wide association study using a novel SNP-set method. PLoS computational biology, 16(2), e1007663.


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