[R-sig-ME] visualizing effects of fixed factors and partial/whole model statistics
jfox at mcmaster.ca
Sun Oct 7 18:18:48 CEST 2012
You might take a look at the effects package, which handles objects produced
by lmer(), and generalizes the idea of (the horribly named) "least-squares
means." The functions to use directly are allEffects(), effect(), and
Effect() -- see ?effect.
I hope this helps,
Senator McMaster Professor of Social Statistics
Department of Sociology
Hamilton, Ontario, Canada
> -----Original Message-----
> From: r-sig-mixed-models-bounces at r-project.org [mailto:r-sig-mixed-
> models-bounces at r-project.org] On Behalf Of Timothy Farkas
> Sent: Sunday, October 07, 2012 10:13 AM
> To: r-sig-mixed-models at r-project.org
> Subject: [R-sig-ME] visualizing effects of fixed factors and
> partial/whole model statistics
> Hi All,
> I have two related practical questions concerning GLMMs. I hope my
> questions aren't too simplistic for this list, but other forums have
> not been responsive.
> My model is specified as follows:
> lmer(countData ~ 3LevelFactor + continuous + (1|5LevelFactor),
> and there is some redundancy between the fixed components and between
> continuous variable and random factor, but not loads.
> 1) How can I visualize the effect of the fixed factor while accounting
> the continuous variable and random factor?
> I'm looking to make a column graph with standard error bars that would
> the multiple-regression equivalent of a partial plot. I think some
> would refer to this as a "least-squared means" plot? Ideally, I could
> obtain a vector of adjusted values for the dependent variable and plot
> over levels of the factor. Because redundancy is low, I'm OK with
> raw data, but on principle I like my visualizations to accurately
> my analysis if possible.
> 2) Are there statistics like the R-sq of linear regression that will
> how much variation in my dependent variable is explained by my model?
> about statistics like partial-R-sq, that denote the amount of variation
> explained by individual fixed parameters?
> Timothy E. Farkas
> Dept. Animal and Plant Sciences
> Alfred Denny Building
> University of Sheffield
> Western Bank
> Sheffield S10 2TN
> United Kingdom
> [[alternative HTML version deleted]]
> R-sig-mixed-models at r-project.org mailing list
More information about the R-sig-mixed-models