Displaying 1 result from an estimated 1 matches for "varb0".
Did you mean:
var0
2013 Mar 18
0
Problem with generated parameter estimates
...f behavior from mixed effect models? The problem is this
code running fine for data(#data) provided by the author. I am not good
with programming, can anyone comments on the code or
possible explanation for this behavior?
Any help would be greatly appreciated.
sim.lmer <- function(n,p,error,B0,varb0,B1,varb1,cor)
{
#start function
###########################################
########### INPUTS ####################
###########################################
#n is number of subjects
#p is number of time points
#error is Residuals of measurement
#B0 is fixed intercept effect (average group inter...