How can I incorporate Different contrivance structure into linear mixed effect model which is fitrgp /fitlmematrix method I am trying to use?

1 次查看(过去 30 天)
lme = fitlmematrix(X,y,Z,G,'CovariancePattern','K','FitMethod','REML')
Here the covariance K is for random effect as much as I know. It's a squared covariance kernel. if I take
K=(sigmaF^2)*exp(-0.5*pdist2(x,x','squaredeuclidean')/(sigmaL^2))
it exceeds the dimension of covariance pattern in fitlmematrix. Here my error variance would be ~N(0,sigma^2I). So how can I incorporate Gaussian correlation function here?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Gaussian Process Regression 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by