haplo.prior(res.freq=NULL,haplos.name=NULL,coeff=NULL,sd.coeff=NULL,
OR=NULL,CI.OR=NULL,sign.OR=NULL)
freq
returned by bayhapFreq
haplos.name
. An analysis without prior information or with only some haplotypes with prior information is allowed.haplos.name
. An analysis without prior information or with only some haplotypes with prior information is allowed.haplos.name
OR
and CI.OR
informed, this must be a vector containning each significance used in the computation of each CI.OR.bayhapReg
.
bayhapFreq
. This object is also needed in haplo.prior. It is not necessary to put prior values for all haplotypes in the sample, only choose the ones for which you have prior information. For them, the model coefficient and the standard deviaton for the coefficient must be given.
If the family model is the binomial, there are two possible options. You can put prior information for model coefficients (mean and standard deviation) or you can put prior information for the OR, for the confidence interval and significance of each interval, instead of inform about the coefficients.For a complet example see the help of bayhapReg
.