powered by
This function find the maximum likelihood estimate of the precision matrix with given adjacency matrix for multivariate normal distribution.
mle(data, priori)
An n by p dataframe representing the observations
n
p
A p by p matrix representing the given adjacency matrix
Returns a p by p matrix estimate of the precision matrix
The methods are based on the relationship between precision matrix of the multivariate normal distribution and regression coefficients.
# NOT RUN { set.seed(1) d=simulate(n=100,p=200, m1=100, m2=30) data=d$data priori=d$realnetwork precision=mle(data=data,priori=priori) # }
Run the code above in your browser using DataLab