随机的
Class:线性混合模型
Generate random responses from fitted linear mixed-effects model
句法
Description
returns a vector of simulated responsesys一世m
=随机(lme
)ys一世m
来自拟合的线性混合效应模型lme
at the original fixed- and random-effects design points, used to fitlme
。
随机的
s一世mulates new random-effects vector and new observation errors. So, the simulated response is
在哪里 一世sthe estimated fixed-effects coefficients, 一世sthe new random effects, andε是新的观察错误。
随机的
also accounts for the effect of observation weights, if you use any when fitting the model.