Solved – How to interpret the output of lme

mixed modelrregression

I am having problems to interpret the output of lme on my model. Here is the model;

model2 <- lme(Kfs~Density+Treat+Year, data=inf, random=~1|SiteNo/Plot, na.action=na.omit).

Kfs is Field- saturated hydraulic connectivity and Density is Bulk Density and these values measured $2$ times in $2$ years, so they are repeated measurements. These were measured on $5$ or $6$ different treatment types, so Treat means Treatments. I had $3$ different sites and many plots in each site. I used plot and sites as random part because we did not know where to make these measurements, so they were randomly selected.

Here is another question, Does R recognize the repeated measurements from the model or should I need to add more things?

I also added the output of the model to get help interpreting it.

enter image description here


Can you give me more details because they look all have different intercept and the slope? My purpose is to understand what is the statistical difference between Treat types especially between L, LSC, and MP.

I looked at some more details and I found how they make R recognize the repeated measurements. Here is the new code; see the new outputs
enter image description here


enter image description here

Output of lme from the last model.


enter image description here

This is output lsmeans. I want to interpret this but There is no p-value, I need help how to add P-value and I also gave an example that is what I want to get from output lsmeans.


enter image description here

That is what I want to get if it is possible to get from lsmeans.

Best Answer

Yes, it looks like R recognizes the plot and site level random effects. Based on this output, it looks like the intraclass correlation is very low, because the estimate of the residual variance ($\approx .005^2$) is multiple orders of magnitude larger than the estimates of both the site level ($\approx .0008^2$) and and plot level ($\approx .00000029^2$) random effect variances.