Covariance parameter estimates table in R -


i have created random intercept , slope model (lmer) , need inspect covariances of random effects see significant.

i've seen sas outputs provide 'covariance parameter estimates' table part of model summary - see section 'output 56.2.6 repeated measures analysis' of proc mixed

is there way of doing (and obtaining p values each covariance) in r?

yes, can find in output of summary of model:

x <- lm(formula) y <- summary(x) print(y$cov.unscaled) 

from documentation of ?summary:

cov.unscaled p x p matrix of (unscaled) covariances of coef[j], j=1, …, p.


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -