Hi,

The varFunc object lme is requesting is something like varPower, varIdent
etc...theres various ones to choose from depending on the problem. They
specify the weights for the variance components. Zuur et al 2009 mixed
effects models and extensions in ecology with R or Pineiro and Bates
2000(?) mixed effects models in S and SPlus cover them to various degrees.

There are various options to get pvalues from R. pamer.fnc in the
LMERConvenienceFunctions package springs to mind, but there is another in a
language package, and one in MASS or car. There is a discussion on pvalues
on the MM Faq. Im not 100% sure if it covers how to get them though -
http://glmm.wikidot.com/faq

HTH

Alan


--------------------------------------------------
Email: aghaynes@gmail.com
Mobile: +41794385586
Skype: aghaynes


On 27 June 2012 21:32, Francois Maurice <maurice.francois@ymail.com> wrote:

> Hi,
>
> I have a variable that gives weights to each case. Is there a way with
> lme() to specify weights ? I tried the "weights" argument but I think it is
> not the write place. The argument ask me for a varFunc object, which I
> don't know what it is!!
>
> I know that the "weights" argument works well with lmer() but lmer()
> doesn't give the p-values for fixed effects, or at least I don't know how
> to get it from lmer().
>
> Thanks,
>
> François Maurice
>         [[alternative HTML version deleted]]
>
>
> _______________________________________________
> R-sig-mixed-models@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
>
>

	[[alternative HTML version deleted]]

