Search results for "R package"
showing 10 items of 26 documents
Novel pedagogical tool for simultaneous learning of plane geometry and R programming
2018
Programming a computer is an activity that can be very beneficial to undergraduate students in terms of improving their mental capabilities, collaborative attitudes and levels of engagement in learning. Despite the initial difficulties that typically arise when learning to program, there are several well-known strategies to overcome them, providing a very high benefit-cost ratio to most of the students. Moreover, the use of a programming language usually raises the interest of students to learn any specific concept, which has caused that many teachers around the world employ a programming language as a learning environment to treat almost every possible topic. Particularly, mathematics can …
L'assistenza umanitaria delle ONG sotto inchiesta
2022
Lo scorso giugno, l’Agenzia dell’Unione europea per i diritti fondamentali (FRA) ha pubblicato il consueto aggiornamento semestrale sulle operazioni di Search and Rescue (SAR) nel Mediterraneo. Il documento evidenza le difficoltà di condurre le operazioni di salvataggio da parte delle imbarcazioni delle ONG, molte delle quali sono state (e continuano ad essere) sottoposte a procedimenti giudiziari e fermi amministrativi nelle giurisdizioni degli Stati membri dell’UE. Nel quadro del contrasto al traffico di migranti, infatti, è ormai impellente una riforma del Facilitator Package quantomeno nel senso di vietare agli Stati membri di criminalizzare l’attività di assistenza umanitaria delle ONG…
isotracer: An R package for the analysis of tracer addition experiments
2021
AbstractTracer addition experiments, particularly using isotopic tracers, are becoming increasingly important in a variety of studies aiming at characterizing the flows of molecules or nutrients at different levels of biological organization, from the cellular and tissue levels, to the organismal and ecosystem levels.We present an approach based on Hidden Markov Models (HMM) to estimate nutrient flow parameters across a network, and its implementation in the R package isotracer.The isotracer package is capable of handling a variety of tracer study designs, including continuous tracer drips, pulse experiments, and pulse-chase experiments. It can also take into account tracer decay when radio…
Non-crossing parametric quantile functions: an application to extreme temperatures
2019
Quantile regression can be used to obtain a non-parametric estimate of a conditional quantile function. The presence of quantile crossing, however, leads to an invalid distribution of the response and makes it difficult to use the fitted model for prediction. In this work, we show that crossing can be alleviated by modelling the quantile function parametrically. We then describe an algorithm for constrained optimisation that can be used to estimate parametric quantile functions with the noncrossing property. We investigate climate change by modelling the long-term trends of extreme temperatures in the Arctic Circle.
Including Covariates in the ETAS Model Triggered Seismicity
2020
The paper proposes a stochastic process that improves the assessment of seismic events in space and time, considering a contagion model (branching process) within a regression-like framework to take covariates into account. The proposed approach develops the Forward Likelihood for prediction (FLP) method for estimating the ETAS model, including covariates in the model specification of the epidemic component. A simulation study is carried out for analysing the misspecification model effect under several scenarios. Also an application to the Italian catalogue is reported, together with the reference to the developed R package.
Robust estimation and regression with parametric quantile functions
2022
A new, broad family of quantile-based estimators is described, and theoretical and empirical evidence is provided for their robustness to outliers in the response. The proposed method can be used to estimate all types of parameters, including location, scale, rate and shape parameters, extremes, regression coefficients and hazard ratios, and can be extended to censored and truncated data. The described estimator can be utilized to construct robust versions of common parametric and semiparametric methods, such as linear (Normal) regression, generalized linear models, and proportional hazards models. A variety of significant results and applications is presented to show the flexibility of the…
Parametric estimation of non-crossing quantile functions
2021
Quantile regression (QR) has gained popularity during the last decades, and is now considered a standard method by applied statisticians and practitioners in various fields. In this work, we applied QR to investigate climate change by analysing historical temperatures in the Arctic Circle. This approach proved very flexible and allowed to investigate the tails of the distribution, that correspond to extreme events. The presence of quantile crossing, however, prevented using the fitted model for prediction and extrapolation. In search of a possible solution, we first considered a different version of QR, in which the QR coefficients were described by parametric functions. This alleviated th…
FLP estimation of semi-parametric models for space-time point processes and diagnostic tools
2015
Abstract The conditional intensity function of a space–time branching model is defined by the sum of two main components: the long-run term intensity and short-run term one. Their simultaneous estimation is a complex issue that usually requires the use of hard computational techniques. This paper deals with a new mixed estimation approach for a particular space–time branching model, the Epidemic Type Aftershock Sequence model. This approach uses a simultaneous estimation of the different model components, alternating a parametric step for estimating the induced component by Maximum Likelihood and a non-parametric estimation step, for the background intensity, by FLP (Forward Predictive Like…
MLML2R: an R package for maximum likelihood estimation of DNA methylation and hydroxymethylation proportions.
2019
Abstract Accurately measuring epigenetic marks such as 5-methylcytosine (5-mC) and 5-hydroxymethylcytosine (5-hmC) at the single-nucleotide level, requires combining data from DNA processing methods including traditional (BS), oxidative (oxBS) or Tet-Assisted (TAB) bisulfite conversion. We introduce the R package MLML2R, which provides maximum likelihood estimates (MLE) of 5-mC and 5-hmC proportions. While all other available R packages provide 5-mC and 5-hmC MLEs only for the oxBS+BS combination, MLML2R also provides MLE for TAB combinations. For combinations of any two of the methods, we derived the pool-adjacent-violators algorithm (PAVA) exact constrained MLE in analytical form. For the…
Analyzing Temperature Effects on Mortality Within theREnvironment: The Constrained Segmented Distributed Lag Parameterization
2010
Here we present and discuss the R package modTempEff including a set of functions aimed at modelling temperature effects on mortality with time series data. The functions fit a particular log linear model which allows to capture the two main features of mortality- temperature relationships: nonlinearity and distributed lag effect. Penalized splines and segmented regression constitute the core of the modelling framework. We briefly review the model and illustrate the functions throughout a simulated dataset.