[R-sig-eco] Appropriate model parameterization in lme4 for spatio-temporal structured data
George Glen
g|eng @end|ng |rom tcd@|e
Tue Jan 19 17:11:19 CET 2021
Hi Manuel,
> If I want to compare the metric among the 3 zones, is it the following an
> appropriate model parameterization in lme4?:
It depends on your data and the most sensible grouping structure for your data. You could explore different random effect structures and compare them using an information criterion approach; however, I think it is more reasonable, before allowing the program to make decisions for you, to determine if a temporal grouping structure exists in your data and then determine at what scale that is present. Plotting the data is always helpful to see this.
Hope this helps.
Best,
> On Jan 19, 2021, at 10:54, Manuel Spínola <mspinola10 using gmail.com> wrote:
>
> Dear list members,
>
> I have an ecological data set, and I want to account for the
> spatio-temporal structure of my data:
>
> metric = response variable (continuous)
> zone = 3 zones (A, B and C)
> location = 12 sampling locations per zone
> min = minute
> hour = hour
> day = day
>
> metric zone location minute hour day
> 2.4 A 1A 1 1 1
> 2.7. A. 1A 2 1 1
>
> 1.7. C 1C. 45 3 5
>
>
> If I want to compare the metric among the 3 zones, is it the following an
> appropriate model parameterization in lme4?:
>
> mod_01 <- lmer(metric ~ zone + (1 | location) + (1 | day/hour/min), data =
> my_data)
>
> Thank you very much in advance.
>
> Manuel
>
> --
> *Manuel Spínola, Ph.D.*
> Instituto Internacional en Conservación y Manejo de Vida Silvestre
> Universidad Nacional
> Apartado 1350-3000
> Heredia
> COSTA RICA
> mspinola using una.cr <mspinola using una.ac.cr>
> mspinola10 using gmail.com
> Teléfono: (506) 8706 - 4662
> Personal website: Lobito de río <https://sites.google.com/site/lobitoderio/>
> Institutional website: ICOMVIS <http://www.icomvis.una.ac.cr/>
>
> [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-ecology mailing list
> R-sig-ecology using r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-ecology
“What is best in mathematics deserves not merely to be learnt as a task, but to be assimilated as a part of daily thought, and brought again and again before the mind with ever-renewed encouragement.” Bertrand Russell
—————————————————————
CGG
Graduate Assistant (PhD)
Archie Carr Center for Sea Turtle Research
Department of Biology
University of Florida
Tel: (+1) 352-284-5650 Website: http://accstr.ufl.edu/
Skype: geoglen12 Email: george.glen using ufl.edu
More information about the R-sig-ecology
mailing list