R 3.0.1 Windows 7 Rstudio 0.97.551 Colleagues, The last time I thought about using lmer to run an unbalanced repeated measures ANOVA, I found that the package did not return p values or SEs. I believe this was because Professor Bates had important questions about the theory behind the required computations and was in the process of developing a new, improved algorithm. Has this situation changed? Has Prof. Bates, or anyone else, implemented a repeated measures ANOVA package for R that can be perform unbalanced repeated measures ANOVA and which produces valid p values and SEs? If so, what is the name of the package? Thank you, John John David Sorkin M.D., Ph.D. Professor of Medicine Chief, Biostatistics and Informatics University of Maryland School of Medicine Division of Gerontology and Geriatric Medicine Baltimore VA Medical Center 10 North Greene Street GRECC (BT/18/GR) Baltimore, MD 21201-1524 (Phone) 410-605-7119 (Fax) 410-605-7913 (Please call phone number above prior to faxing) Confidentiality Statement: This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
Dear John, The Anova() function in the car package will perform a traditional unbalanced repeated-measures ANOVA (or MANOVA). See the R Journal article at <http://journal.r-project.org/archive/2013-1/fox-friendly-weisberg.pdf>. I hope this helps, John> -----Original Message----- > From: r-help-bounces at r-project.org [mailto:r-help-bounces at r- > project.org] On Behalf Of John Sorkin > Sent: Thursday, November 21, 2013 5:08 PM > To: r-help at r-project.org > Subject: [R] Repeated measures ANOVA for unbalanc > > R 3.0.1 > Windows 7 > Rstudio 0.97.551 > > Colleagues, > The last time I thought about using lmer to run an unbalanced repeated > measures ANOVA, I found that the package did not return p values or > SEs. I believe this was because Professor Bates had important questions > about the theory behind the required computations and was in the > process of developing a new, improved algorithm. Has this situation > changed? Has Prof. Bates, or anyone else, implemented a repeated > measures ANOVA package for R that can be perform unbalanced repeated > measures ANOVA and which produces valid p values and SEs? If so, what > is the name of the package? > Thank you, > John > John David Sorkin M.D., Ph.D. > Professor of Medicine > Chief, Biostatistics and Informatics > University of Maryland School of Medicine Division of Gerontology and > Geriatric Medicine > Baltimore VA Medical Center > 10 North Greene Street > GRECC (BT/18/GR) > Baltimore, MD 21201-1524 > (Phone) 410-605-7119 > (Fax) 410-605-7913 (Please call phone number above prior to faxing) > > Confidentiality Statement: > This email message, including any attachments, is for ...{{dropped:6}}
Hi, The new lme4 package has a bootMer function, so it is fairly easy to compute bootstrap statistics. The following packages could be what you are looking for: 1) lmerTest (see ?lmerTest:::lmer) 2) car (see Anova) 3) afex (see mixed) 4) LMERConvenienceFunctions (see pamer.fnc) HTH, Denes> R 3.0.1 > Windows 7 > Rstudio 0.97.551 > > Colleagues, > The last time I thought about using lmer to run an unbalanced repeated > measures ANOVA, I found that the package did not return p values or SEs. I > believe this was because Professor Bates had important questions about the > theory behind the required computations and was in the process of > developing a new, improved algorithm. Has this situation changed? Has > Prof. Bates, or anyone else, implemented a repeated measures ANOVA package > for R that can be perform unbalanced repeated measures ANOVA and which > produces valid p values and SEs? If so, what is the name of the package? > Thank you, > John > John David Sorkin M.D., Ph.D. > Professor of Medicine > Chief, Biostatistics and Informatics > University of Maryland School of Medicine Division of Gerontology and > Geriatric Medicine > Baltimore VA Medical Center > 10 North Greene Street > GRECC (BT/18/GR) > Baltimore, MD 21201-1524 > (Phone) 410-605-7119 > (Fax) 410-605-7913 (Please call phone number above prior to faxing) > > Confidentiality Statement: > This email message, including any attachments, is for ...{{dropped:13}}
Well ... 1. Try the latest version of lmer/lme4 and see for yourself. I think the answer is still no. 2. If 1 is true, then I think you need to ask whether you **want** to use a package that returns p values and se's, whether it exists or not. Cheers, Bert On Thu, Nov 21, 2013 at 2:07 PM, John Sorkin <JSorkin at grecc.umaryland.edu> wrote:> R 3.0.1 > Windows 7 > Rstudio 0.97.551 > > Colleagues, > The last time I thought about using lmer to run an unbalanced repeated measures ANOVA, I found that the package did not return p values or SEs. I believe this was because Professor Bates had important questions about the theory behind the required computations and was in the process of developing a new, improved algorithm. Has this situation changed? Has Prof. Bates, or anyone else, implemented a repeated measures ANOVA package for R that can be perform unbalanced repeated measures ANOVA and which produces valid p values and SEs? If so, what is the name of the package? > Thank you, > John > John David Sorkin M.D., Ph.D. > Professor of Medicine > Chief, Biostatistics and Informatics > University of Maryland School of Medicine Division of Gerontology and Geriatric Medicine > Baltimore VA Medical Center > 10 North Greene Street > GRECC (BT/18/GR) > Baltimore, MD 21201-1524 > (Phone) 410-605-7119 > (Fax) 410-605-7913 (Please call phone number above prior to faxing) > > Confidentiality Statement: > This email message, including any attachments, is for ...{{dropped:23}}