How can I incorporate Different contrivance structure into linear mixed effect model which is fitrgp /fitlmematrix method I am trying to use?
3 ビュー (過去 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 件のコメント
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!