get.ab: Hyperparameter estimation for 'a' and 'b'.

Description Usage Arguments Details Value Author(s) Examples

View source: R/get.ab.R

Description

This function estimates the hyperparameters a and b for the Ising prior. This function is for internal use called by the icmm function.

Usage

1
get.ab(beta, structure, edgeind)

Arguments

beta

a (p*1) matrix of regression coefficients.

structure

a data frame stores the information of structure among predictors.

edgeind

a vector stores primary keys of structure.

Details

Estimate hyperparameters, a and b, using maximum pseudolikelihood estimators.

Value

Return a two-dimensional vector where the fist element is a and the second element is b.

Author(s)

Vitara Pungpapong, Min Zhang, Dabao Zhang

Examples

1
2
3
4
5
6
7
8
9

Example output



icmm documentation built on May 26, 2021, 9:06 a.m.