[R-sig-ME] How to generate P value for each level in lmer package

Vinicius Maia v|n|c|u@@@@m@|@77 @end|ng |rom gm@||@com
Fri Feb 4 12:10:58 CET 2022


Hi,

If I understand correctly, you can get the p-values using lmerTest. Load
the package before running the model and the p-values will appear in the
model summary.

Best regards,
Vinícius Maia

Em qua., 2 de fev. de 2022 às 20:51, Ben Bolker <bbolker using gmail.com>
escreveu:

>    This doesn't really give enough details for me (us) to understand
> what you want.
>
>    car::Anova() will give you a p-value for each term.
>
>    emmeans will give you expected marginal means and p-values for
> various combinations of levels
>
>    multcomp::glht can be helpful too.
>
>    If these don't answer your question, please reply with a bit more
> detail/a simple example.
>
>    cheers
>     Ben Bolker
>
>
>
> On 2/2/22 11:17 AM, Parvez Qureshi wrote:
> > Hi All,
> >
> > This is regarding a query regarding lmer package where I am trying to
> generate price elasticities for different level in mixed data. Although I
> am getting coefficients using coef () function for each level specified in
> equation but wanted to generate P Value for each level along with
> coefficient.
> >
> > Coud anyone please suggest how can we generate P value for each level.
> >
> > Regards,
> > Parvez
> >
> >
> >       [[alternative HTML version deleted]]
> >
> > _______________________________________________
> > R-sig-mixed-models using r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
>
> --
> Dr. Benjamin Bolker
> Professor, Mathematics & Statistics and Biology, McMaster University
> Director, School of Computational Science and Engineering
> (Acting) Graduate chair, Mathematics & Statistics
>
> _______________________________________________
> R-sig-mixed-models using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
>

	[[alternative HTML version deleted]]



More information about the R-sig-mixed-models mailing list