Mqls.test2: Extension MQLS test

Description Usage Arguments Details Value References See Also Examples

Description

This function computes the Extension MQLS test proposed by M. Nguile-Makao et al., (under review).

Usage

1
Mqls.test2(data, lstk, fam.id, fl, k1, k)

Arguments

data

Data frame.

lstk

List contains the family kinship matrix.

fam.id

The family identifying

fl

Formula

k1

The nuisance parameter which represents the allelic frequency of the SNP associated to the endophenotype. For more detail see the N. Nguile-Makao et al., (under review).

k

The nuisance parameter which represents the prevalence of the interaction between phenotype, endophenotype and SNP or the interaction between phenotype and SNP or endophenotype and SNP. By default the function computes the test statistic using the Davies's method. Remark: This is the SNP associated to the endophenotype.

Details

The function computes the extension of the MQlS proposed by M. Nguile-Makao et al (under review)

Value

Return a list containing

Rstt

The result matrix containing the statistic of the test, the number of freedom degree, the p-value computed with the parameter k and the corrected p-value computed by the Davies's method.

Rstd

The result matrix containing the data description, the number of stratums, the number of freedom degree, the empiric allelic frequency, the estimated of the allelic frequency computed by BLUE method and the allelic frequency variance.

sg

The number of kinship matrix that are singulars.

fMqls

The function of the test statistic which depends of the nuisance parameter k.

References

Moliere Nguile-Makao, Alexandre Bureau. Extension of the MQLS test: Application at Joint modelling of the complex diseases and endophenotypes to characterize genes and their interactions under review.

Robert B. Davies. Hypothesis testing when a nuisance parameter is present only under the alternative Biometrika (1987), 74, 1, pp.33-43.

See Also

To See Also as Mqls.test2

Examples

1
2
3
4
5
data(DataGPh)
   lst_mkinshp2=kinshAprior("fam.id","subject.id","father.id","mother.id","sex",DataGPh)
   fl=formula(X2~Y2:X1)
   lR<-Mqls.test2(DataGPh,lst_mkinshp2,"fam.id",fl,0.3,0.38)
   lR

CroteauCRIUSMQ/EMQLS.test documentation built on May 6, 2019, 12:52 p.m.