Figure 5 - uploaded by Martin Mächler
Content may be subject to copyright.
Data and predictions from the generating and fitted model.  

Data and predictions from the generating and fitted model.  

Source publication
Article
Full-text available
Maximum likelihood or restricted maximum likelihood (REML) estimates of the parameters in linear mixed-effects models can be determined using the lmer function in the lme4 package for R. As for most model-fitting functions in R, the model is described in an lmer call by a formula, in this case including both fixed- and random-effects terms. The for...

Citations

... We ran all analyses in the R language environment (R Core Team, 2021) with libraries "MuMIn" v.1.43.17 (Bartoń, 2020), "lme4" v. 1.1.27.1 (Bates et al., 2015). ...
Article
Urbanization reduces insectivorous bird specific richness and functional diversity. • Tree diversity within city increases bird insectivory. • Modeling intra-urban heterogeneity is essential to understand trophic interactions. A B S T R A C T Urbanization is one of the main drivers of biotic homogenization in bird communities worldwide. Yet, only a few studies have addressed its functional consequences on the top-down control birds exert on insect herbivores. We hypothesized that their inconsistent results reflect the overlooked heterogeneity of the urban habitat for birds, and in particular the distribution and diversity of urban trees. We monitored tree diversity, bird diversity, avian predation attempts on artificial prey, and the effect of bird exclusion on insect herbivory in 97 trees distributed among 24 urban experimental plots in the city of Montreal, Canada. We characterized urbanization levels through a combination of variables related to tree density, impervious surfaces, anthropic noise, and human population density. Bird diversity decreased with increasing urbanization, whereas the frequency of generalist synurbic species increased. We found no significant relationship between predation and urbanization or between predation and bird diversity. However, tree diversity was positively correlated with predation attempts on artificial prey, irrespective of bird diversity. We revealed a mismatch between the effects of urbanization on bird diversity and on the regulation service and unraveled the functional importance of tree diversity in shaping the avian predation function in urban ecosystems. Our study advocates for the consideration of intra-urban heterogeneity in the investigation of trophic cascades within cities.
... The effect of PD, N timing strategy, and their interaction on corn yield and cumulative growing season N 2 O emissions were tested with linear mixed models, using year as a random factor. The statistical tests were performed with the lme4 package in R (Bates et al., 2015). The assumption of normality and homogeneity of variance of model residuals was evaluated using residual plots. ...
Article
Full-text available
Context: The impact of nitrogen fertilizer (N) application timing on nitrous oxide (N2O) emissions is inconsistent in the literature. This inconsistency is attributed to year-to-year weather variations, which affect soil conditions around N application time. Planting dates (PD) also vary year-to-year based on weather, and PD can influence N timing decisions. Objective: The study aims to evaluate: i) the long-term effects of different N application timings on N2O emissions and, ii) how variations in PD influence the relative performance of different N timing strategies. Methods: We used the DeNitirifcation-DeComposition (DNDC) model, calibrated with field measurements from Elora, Ontario, Canada, to simulate 39 growing seasons using historical weather data. Three N timing strategies were tested: spring application one day before planting, in-season application at the V6 growth stage, and a split-N strategy with N applied at both times. PDs were either dynamically adjusted each year based on rainfall or fixed to one of three typical corn (Zea mays L.) planting dates in Ontario: April 25, May 5, and May 15. Results: For the first objective, the long-term simulation found that average N2O emissions were greatest when N was applied at V6 (3.2 kg N ha−1) compared to when N was applied pre-plant (2.3 kg N ha−1) or split-applied (2.0 kg N ha−1). This was caused by slightly greater rainfall around V6 than planting. For the second objective, the relative performance of different N-timing strategies was affected by PD. Earlier PDs resulted in lower N₂O emissions compared to later PDs, primarily due to lower soil temperatures around the time of N fertilizer application. Earlier PDs also led to the largest differences in N2O emissions among the N timing strategies, with PD delays leading to smaller differences among N timing strategies. Conclusions: Large single N applications, particularly those applied in-season, resulted in greater N2O emissions than split and at-planting N applications in a long-term simulation. Early PDs consistently reduced N2O emissions by creating less favourable conditions for N2O production. Moreover, the relative performance of N timing strategies was mediated by PD. Implications: This study highlights the interconnected nature of cropping systems, where one management practice, PD, can influence a seemingly unrelated outcome, N2O emissions. Long-term climatic, social, economic, and technological changes that influence PD will also influence N2O emissions from spring and summer-applied N fertilizer.
... The data from the wet and dry seasons were analysed independently. Linear mixedeffect models were used to analyse the effect of functional group on the response variables using the lme4 package (Bates et al., 2015), together with lmerTest to show significance (Kuznetsova et al., 2017). Temp., VPD, PAR, leaf gs, leaf Tr, soil water content and cocoa yield (mature pods per tree) were considered as the response variable with the functional groups as fixed effect while the shade trees (tree nested to farm) were considered as random effect. ...
Article
Agroforestry has the potential to enhance climate change adaptation. While benefits from agroforestry systems consisting of cash crops and shade trees are usually attributed to the (shade) trees, the trees can also have negative impacts due to resource competition with crops. Our hypothesis is that leaf phenology and height of shade trees determine their seasonal effect on crops. We test this hypothesis by categorizing shade tree species into functional groups based on leaf phenology, shade tree canopy height and shade tree light (wet and dry season) interception as well as the effects. To this end, leaf phenology and the effects on microclimate (tem-perature, air humidity, intercepted photoactive radiation (PAR)), soil water, stomatal conductance and cocoa yield were monitored monthly during wet and dry seasons over a two-year period on smallholder cocoa plantations in the northern cocoa belt of Ghana. Seven leaf phenological groups were identified. In the wet season, highest buffering effect of microclimate was recorded under the trees brevi-deciduous before dry season. During dry season, high PAR and lowest reduction in soil moisture were observed under the trees in the group of completely deciduous during dry season. The evergreen groups also showed less reduction in soil water than the brevi-deciduous groups. In the wet season, shade tree effects on cocoa tree yields in their sub canopy compared to the respective control of outer canopy with full sun ranged from positive (+10 %) to negative (-15 %) for the deciduous groups, while yield reductions for the evergreen groups ranged from − 20 % to − 33 %. While there were negative yield impacts for all phenological groups in the dry season, the trees in completely deciduous during dry season group recorded least penalties (-12 %) and the trees with evergreen upper canopy the highest (-35 %). The function of shade trees in enhancing climate resilience is therefore strongly dependent on their leaf phenological characteristics. Our study demonstrates how the key trait leaf phenology can be applied to successful design of climate-resilient agroforestry systems.
... Linear mixed-effects models were fitted with R package "lme4" (Bates et al., 2015) to test for significant differences in the resilience indices between species. Full models include all species and variables for direct comparison of the resilience indices between species. ...
... As inspection of the raw data (see Supplemental Figure 4) did not suggest better alignment with nonlinear models, we opted to apply linear analysis to make our results directly comparable to previous publications (for systematic review see Beutler et al., 2022).To examine the influence of dissociative symptoms on HR, we calculated a linear mixed-effects model (LMM) using restricted maximum likelihood (REML) and listwise data exclusion with the lmer function of the lme4 package (Bates et al., 2015) and the results report package (Makowski et al., 2023), implemented in R (v.4.2.2; R Core Team, 2022). Within this model, we included the covariates age, body mass index (BMI), and smoking as informed by Bodin et al. (2017), Molfino et al. (2009), andShaffer andGinsberg (2017). ...
... We used the lme4 package (Bates et al., 2015) in R, version 4.2.1 (R Core Team, 2022) to build multilevel linear models predicting each IER strategy by empathy components and relationship closeness. We used multilevel models due to the hierarchical structure in our data (measurement occasions (t: 1-21 EMA surveys) nested within persons (j: 1-135 participants) with level 1 as the situation-level and level 2 as the person-level. ...
Article
Full-text available
Background: Empathic behavior is crucial in promoting positive social outcomes and strengthening interpersonal bonds. Research on how empathy modulates responses to others’ emotions remains scarce yet is fundamental for elucidating mechanisms of impaired social functioning in psychopathology and its treatment. Methods: Two ecological momentary assessment studies (Ns = 125 and 204) investigated participants’ empathy ratings and usage of interpersonal emotion regulation strategies in 5,537 social interactions. We measured empathy, a multi-faceted construct, as dissected into its components of mentalizing and experience sharing in Study 1, while Study 2 additionally investigated empathic concern and personal distress. Results: Findings revealed that empathizers engage in significantly increased other-focused regulation, especially when feeling empathic concern. We also found differences in the strengths of the links between empathy and responses to others’ emotions: When we mentalize, share others’ emotions, or feel concerned, we choose more relationship- oriented strategies, including validation and soothing and less cognitive reappraisal and avoidance to regulate others’ emotions. In contrast, when personally distressed by others’ emotions, we select more cognitive reappraisal and avoidance and less relationship-oriented strategies. Limitations: Both studies relied on regulator reports. Conclusions: Empathy facets distinctly shape our responses to others’ emotions and can drive us to be increasingly emotionally responsive and relationship-oriented. Understanding these dynamics can enhance empathic interpersonal emotion regulation, a potentially valuable tool in treating affective disorders.
... The analyses on problem-size effect difference depending on the solving strategy (finger or mental) were conducted using mixed-effect models with the lmer function of the ''lme4" package (Bates et al., 2015) (see Appendix B in the supplementary material for details on the analyses conducted). ...
Article
Full-text available
Determining how children solve arithmetic problems when they stop using their fingers is a real challenge. To take it up, the evolution of problem-size effects for tie and non-tie problems was observed when 6-year-olds (N = 65) shift from finger counting to mental strategies. These observations revealed that the problem-size effect remained the same for non-tie problems, whereas it drastically decreased for tie problems. Moreover, the solving strategy for tie problems switched directly from the representation of both operands on fingers to retrieval without transition through the representation of only one operand on fingers. This direct switch could be made possible by the relative ease to commit symmetrical representations to memory (in the case of tie problems) rather than non-symmetrical ones (in the case of non-tie problems). This would explain why, early during development, small tie problems are solved quickly and present null or negligible size effects. All in all, our results and interpretations provide an answer to the long-standing question as to why tie problems have a special cognitive status. Our results also nuance the classical description of the developmental pattern reported in all textbook chapters devoted to numerical cognition according to which a finger strategy where only one operand is represented on fingers constitutes a developmental stage between the representation of two operands on fingers and retrieval. We demonstrate here that it is true only for non-tie problems.
... Due to the singularity fitting and non-convergence problems caused by the complex random effect structure, we further removed the correlations between the random intercept and the random slope first, and then removed the random slope with the smallest variance until there were no singularity fitting or non-convergence warnings. The LME regression was conducted in R (R Core Team, 2021) using the lme4 package (Bates et al., 2015), with p-values estimated by the Satterthwaite approximation method implemented in the lmerTest package (Kuznetsova et al., 2017). To obtain the main effects and the interaction effect, we first used deviation coding for tonal relatedness (0.5: related; − 0.5: unrelated) and syllabic relatedness (0.5: related; − 0.5: unrelated). ...
Article
Full-text available
Lexical tone is an important phonological property in tonal languages, but its encoding process in speech production remains unclear. We conducted two electroencephalographic (EEG) experiments to investigate the time course of tonal encoding relative to that of syllabic encoding in Mandarin Chinese disyllabic and monosyllabic word production respectively. We employed a phonologically primed picture naming task and orthogonally manipulated the tonal and syllabic overlap between the prime and the target word. In both experiments, the ERP data revealed that the main effect of tonal relatedness began to emerge alone in an early time window before that of syllabic relatedness, indicating an early independent retrieval process for lexical tone. Moreover, we observed a significant interaction between tonal and syllabic relatedness in later ERP time window(s) and onset latencies, indicating a later tone-to-syllable integration process. These results support the two-stage model of tonal encoding in Mandarin word production and offer implications for current speech production models.
... The frequency of resistant plants was graphed on ggplot 20 using an arcsine square root axis transformation. That transformation was also used for variance-stabilization 21 before running a linear mixed model using the R function lmer, 22,23 with explanatory variables Herbicide, Species, turf_forage (describes the cultivar enduse as a forage or turf), CompanyCode and Region and VarCode as a random effect (Supporting Information Data S1). No resistance to glyphosate was detected so all those data were excluded from the model. ...
Article
Full-text available
Background Ryegrass (Lolium spp.) is a key forage providing a $14 billion contribution to New Zealand's gross domestic product (GDP). However, ryegrass can also act as a weed and evolve resistance to herbicides used for its control. Farmers suspected that imported seed might contribute to resistance issues. Herbicide resistance frequencies were investigated in commercial ryegrass seed lines intended for multiplication in New Zealand. Samples from 56 basic seed lots and 52 unique cultivars sourced from regions including New Zealand, United States, Europe and Japan were planted in field trials. Seedlings were then sprayed with three common herbicides: glyphosate, iodosulfuron, and haloxyfop. Surviving plants were retested to confirm resistance. Results Resistance to haloxyfop and or iodosulfuron was detected in 79% of seed lines. However, frequencies were not significantly higher in imported lines (from United States and Europe) compared with New Zealand lines. Resistance was detected at frequencies between 0.00112% and 10% for haloxyfop and between 0.00212% and 14.28% for iodosulfuron Resistance to glyphosate was not found. There was no significant difference between the resistance detected in seed samples sourced from different seed companies. Conclusions It was found that 63% of resistant lines had resistance frequencies rarer than 0.1%, but this is potentially problematic considering typical sowing rates. Imported versus domestic seed sources were not significantly different; they pose similar levels of resistance risk to farmers. Lolium multiflorum had a higher resistance frequency compared to Lolium perenne (although only six L. multiflorum lots were evaluated). Breeders should screen progeny of early crosses for herbicide resistance. © 2025 The Author(s). Pest Management Science published by John Wiley & Sons Ltd on behalf of Society of Chemical Industry.
... To quantify the latitudinal and insular patterns of trait matching, we fitted linear mixed-effects models (LMM) using the lme4 package (Bates et al. 2015). We set random effects and covariates to account for the effects of different sample processes. ...
Article
Full-text available
Biotic interactions play an important role in species diversification and maintenance and, thus, are regarded as the architecture of biodiversity. Since Darwin and Wallace, biologists have debated whether biotic interactions are stronger towards the tropics and on continents, when compared to temperate regions and islands. Here, based on 354 avian frugivory networks accounting for 22,199 interactions between 1247 bird species and 2126 plant species, we quantified trait matching strength, which reflects interaction strength and specificity, across gradients of latitude and insularity globally. We found that matching between beak size and fruit size was significantly stronger towards the poles and on continents, when compared with the tropics and on islands. As underlining ecological factors, trait matching was stronger with a larger proportion of frugivory (measured as the mean proportion of fruits in bird diets) and network‐level mean beak size, and with a smaller proportion of fleshy‐fruited species (measured as the proportion of fleshy‐fruited plant species in the botanical country where the network was located). These findings suggest that the latitudinal and insular patterns in trait matching are driven by biotic factors that may relate to trait co‐evolution between interacting species and optimal foraging for bird species.