Open Access. Powered by Scholars. Published by Universities.®

Numerical Analysis and Scientific Computing

Institution
Keyword
Publication Year
Publication
Publication Type
File Type

Articles 61 - 90 of 774

Full-Text Articles in Programming Languages and Compilers

An R Package For Non-Normal Multivariate Distributions: Simulation And Probability Calculations From Multivariate Lomax (Pareto Type Ii) And Other Related Distributions, Zhixin Lun, Ravindra Khattree Dec 2021

An R Package For Non-Normal Multivariate Distributions: Simulation And Probability Calculations From Multivariate Lomax (Pareto Type Ii) And Other Related Distributions, Zhixin Lun, Ravindra Khattree

The R Journal

Convenient and easy-to-use programs are readily available in R to simulate data from and probability calculations for several common multivariate distributions such as normal and t. However, functions for doing so from other less common multivariate distributions, especially those which are asymmetric, are not as readily available, either in R or otherwise. We introduce the R package NonNorMvtDist to generate random numbers from multivariate Lomax distribution, which constitutes a very flexible family of skewed multivariate distributions. Further, by applying certain useful properties of multivariate Lomax distribution, multivariate cases of generalized Lomax, Mardia’s Pareto of Type I, Logistic, Burr, Cook-Johnson’s uniform, …


News From The Bioconductor Project, Bioconductor Core Team Dec 2021

News From The Bioconductor Project, Bioconductor Core Team

The R Journal

Bioconductor provides tools for the analysis and comprehension of high-throughput genomic data. Bioconductor 3.14 was released on 27 October, 2021. It is compatible with R 4.1.0 and consists of 2083 software packages, 408 experiment data packages, 904 up-to-date annotation packages, and 29 workflows.


Rpese: Risk And Performance Estimators Standard Errors With Serially Dependent Data, Anthony-Alexander Christidis, R Douglas Martin Dec 2021

Rpese: Risk And Performance Estimators Standard Errors With Serially Dependent Data, Anthony-Alexander Christidis, R Douglas Martin

The R Journal

The R package RPESE (Risk and Performance Estimators Standard Errors) implements a new method for computing accurate standard errors of risk and performance estimators when returns are serially dependent. The new method makes use of the representation of a risk or performance estimator as a summation of a time series of influence-function (IF) transformed returns, and computes estimator standard errors using a sophisticated method of estimating the spectral density at frequency zero of the time series of IF-transformed returns. Two additional packages used by RPESE are introduced, namely RPEIF which computes and provides graphical displays of the IF of risk …


Visual Diagnostics For Constrained Optimisation With Application To Guided Tours, H Sherry Zhang, Dianne Cook, Ursula Laa, Nicolas Langrené, Patricia Menéndez Dec 2021

Visual Diagnostics For Constrained Optimisation With Application To Guided Tours, H Sherry Zhang, Dianne Cook, Ursula Laa, Nicolas Langrené, Patricia Menéndez

The R Journal

A guided tour helps to visualise high-dimensional data by showing low-dimensional projections along a projection pursuit optimisation path. Projection pursuit is a generalisation of principal component analysis in the sense that different indexes are used to define the interestingness of the projected data. While much work has been done in developing new indexes in the literature, less has been done on understanding the optimisation. Index functions can be noisy, might have multiple local maxima as well as an optimal maximum, and are constrained to generate orthonormal projection frames, which complicates the optimization. In addition, projection pursuit is primarily used for …


Bssm: Bayesian Inference Of Non-Linear And Non-Gaussian State Space Models In R, Jouni Helske, Matti Vihola Dec 2021

Bssm: Bayesian Inference Of Non-Linear And Non-Gaussian State Space Models In R, Jouni Helske, Matti Vihola

The R Journal

We present an R package bssm for Bayesian non-linear/non-Gaussian state space modeling. Unlike the existing packages, bssm allows for easy-to-use approximate inference based on Gaussian approximations such as the Laplace approximation and the extended Kalman filter. The package also accommodates discretely observed latent diffusion processes. The inference is based on fully automatic, adaptive Markov chain Monte Carlo (MCMC) on the hyperparameters, with optional importance sampling post-correction to eliminate any approximation bias. The package also implements a direct pseudo-marginal MCMC and a delayed acceptance pseudo-marginal MCMC using intermediate approximations. The package offers an easy-to-use interface to define models with linear-Gaussian state …


Passed: Calculate Power And Sample Size For Two Sample Tests, Jinpu Li, Ryan .. Knigge, Kaiyi Chen, Emily V. Leary Dec 2021

Passed: Calculate Power And Sample Size For Two Sample Tests, Jinpu Li, Ryan .. Knigge, Kaiyi Chen, Emily V. Leary

The R Journal

Power and sample size estimation are critical aspects of study design to demonstrate minimized risk for subjects and justify the allocation of time, money, and other resources. Researchers often work with response variables that take the form of various distributions. Here, we present an R package, PASSED, that allows flexibility with seven common distributions and multiple options to accommodate sample size or power analysis. The relevant statistical theory, calculations, and examples for each distribution using PASSED are discussed in this paper.


Automatic Time Series Forecasting With Ata Method In R: Ataforecasting Package, Ali Sabri Taylan, Güçkan Yapar, Hanife Taylan Selamlar Dec 2021

Automatic Time Series Forecasting With Ata Method In R: Ataforecasting Package, Ali Sabri Taylan, Güçkan Yapar, Hanife Taylan Selamlar

The R Journal

Ata method is a new univariate time series forecasting method that provides innovative solutions to issues faced during the initialization and optimization stages of existing methods. The Ata method’s forecasting performance is superior to existing methods in terms of easy implementation and accurate forecasting. It can be applied to non-seasonal or deseasonalized time series, where the deseasonalization can be performed via any preferred decomposition method. The R package ATAforecasting was developed as a comprehensive toolkit for automatic time series forecasting. It focuses on modeling all types of time series components with any preferred Ata methods and handling seasonality patterns by …


Robustbf: An R Package For Robust Solution To The Behrens-Fisher Problem, Gamze Güven, ŞÜkrü Acıtaş, Hatice ŞAmkar, Birdal ŞEnoğLu Dec 2021

Robustbf: An R Package For Robust Solution To The Behrens-Fisher Problem, Gamze Güven, ŞÜkrü Acıtaş, Hatice ŞAmkar, Birdal ŞEnoğLu

The R Journal

Welch’s two-sample t-test based on least squares (LS) estimators is generally used to test the equality of two normal means when the variances are not equal. However, this test loses its power when the underlying distribution is not normal. In this paper, two different tests are proposed to test the equality of two long-tailed symmetric (LTS) means under heterogeneous variances. Adaptive modified maximum likelihood (AMML) estimators are used in developing the proposed tests since they are highly efficient under LTS distribution. An R package called RobustBF is given to show the implementation of these tests. Simulated Type I error rates …


Volesti: Volume Approximation And Sampling For Convex Polytopes In R, Apostolos Chalkis, Vissarion Fisikopoulos Dec 2021

Volesti: Volume Approximation And Sampling For Convex Polytopes In R, Apostolos Chalkis, Vissarion Fisikopoulos

The R Journal

Sampling from high-dimensional distributions and volume approximation of convex bodies are fundamental operations that appear in optimization, finance, engineering, artificial intelligence, and machine learning. In this paper, we present volesti, an R package that provides efficient, scalable algorithms for volume estimation, uniform, and Gaussian sampling from convex polytopes. volesti scales to hundreds of dimensions, handles efficiently three different types of polyhedra and provides non existing sampling routines to R. We demonstrate the power of volesti by solving several challenging problems using the R language.


Drhotnet: An R Package For Detecting Differential Risk Hotspots On A Linear Network, Álvaro Briz-Redón, Francisco Martínez-Ruiz, Francisco Montes Dec 2021

Drhotnet: An R Package For Detecting Differential Risk Hotspots On A Linear Network, Álvaro Briz-Redón, Francisco Martínez-Ruiz, Francisco Montes

The R Journal

One of the most common applications of spatial data analysis is detecting zones, at a certain scale, where a point-referenced event under study is especially concentrated. The detection of such zones, which are usually referred to as hotspots, is essential in certain fields such as criminology, epidemiology, or traffic safety. Traditionally, hotspot detection procedures have been developed over areal units of analysis. Although working at this spatial scale can be suitable enough for many research or practical purposes, detecting hotspots at a more accurate level (for instance, at the road segment level) may be more convenient sometimes. Furthermore, it is …


Maint.Data: Modelling And Analysing Interval Data In R, A Pedro Duarte Silva, Paula Brito, Peter Filzmoser, José G. Dias Dec 2021

Maint.Data: Modelling And Analysing Interval Data In R, A Pedro Duarte Silva, Paula Brito, Peter Filzmoser, José G. Dias

The R Journal

We present the CRAN R package MAINT.Data for the modelling and analysis of multivariate interval data, i.e., where units are described by variables whose values are intervals of R, representing intrinsic variability. Parametric inference methodologies based on probabilistic models for interval variables have been developed, where each interval is represented by its midpoint and log-range, for which multivariate Normal and Skew-Normal distributions are assumed. The intrinsic nature of the interval variables leads to special structures of the variance-covariance matrix, which are represented by four different possible configurations. MAINT.Data implements the proposed methodologies in the S4 object system, introducing a …


Matchthem: Matching And Weighting After Multiple Imputation, Farhad Pishgar, Noah Greifer, Clémence Leyrat, Elizabeth Stuart Dec 2021

Matchthem: Matching And Weighting After Multiple Imputation, Farhad Pishgar, Noah Greifer, Clémence Leyrat, Elizabeth Stuart

The R Journal

Balancing the distributions of the confounders across the exposure levels in an observational study through matching or weighting is an accepted method to control for confounding due to these variables when estimating the association between an exposure and outcome and reducing the degree of dependence on certain modeling assumptions. Despite the increasing popularity in practice, these procedures cannot be immediately applied to datasets with missing values. Multiple imputation of the missing data is a popular approach to account for missing values while preserving the number of units in the dataset and accounting for the uncertainty in the missing values. However, …


Diproperm: An R Package For The Diproperm Test, Andrew G. Allmon, J.S. Marron, Michael G. Hudgens Dec 2021

Diproperm: An R Package For The Diproperm Test, Andrew G. Allmon, J.S. Marron, Michael G. Hudgens

The R Journal

High-dimensional low sample size (HDLSS) data sets frequently emerge in many biomedical applications. The direction-projection-permutation (DiProPerm) test is a two-sample hypothesis test for comparing two high-dimensional distributions. The DiProPerm test is exact, i.e., the type I error is guaranteed to be controlled at the nominal level for any sample size, and thus is applicable in the HDLSS setting. This paper discusses the key components of the DiProPerm test, introduces the diproperm R package, and demonstrates the package on a real-world data set


Bayessenmc: An R Package For Bayesian Sensitivity Analysis Of Misclassification, Jinhui Yang, Lifeng Lin, Haitao Chu Dec 2021

Bayessenmc: An R Package For Bayesian Sensitivity Analysis Of Misclassification, Jinhui Yang, Lifeng Lin, Haitao Chu

The R Journal

In case–control studies, the odds ratio is commonly used to summarize the association between a binary exposure and a dichotomous outcome. However, exposure misclassification frequently appears in case–control studies due to inaccurate data reporting, which can produce bias in measures of association. In this article, we implement a Bayesian sensitivity analysis of misclassification to provide a full posterior inference on the corrected odds ratio under both non-differential and differential misclassification. We present an R (R Core Team, 2018) package BayesSenMC, which provides user-friendly functions for its implementation. The usage is illustrated by a real data analysis on the association between …


Passo: An R Package For Assessing Partial Association Between Ordinal Variables, Shaobo Li, Xiaorui Zhu, Yuejie Chen, Dungang Liu Dec 2021

Passo: An R Package For Assessing Partial Association Between Ordinal Variables, Shaobo Li, Xiaorui Zhu, Yuejie Chen, Dungang Liu

The R Journal

Partial association, the dependency between variables after adjusting for a set of covariates, is an important statistical notion for scientific research. However, if the variables of interest are ordered categorical data, the development of statistical methods and software for assessing their partial association is limited. Following the framework established by Liu et al. (2021), we develop an R package PAsso for assessing Partial Associations between ordinal variables. The package provides various functions that allow users to perform a wide spectrum of assessments, including quantification, visualization, and hypothesis testing. In this paper, we discuss the implementation of PAsso in …


Ngsseml: Non-Gaussian State Space With Exact Marginal Likelihood, Thiago R. Santos, Glaura C. Franco, Dani Gamerman Dec 2021

Ngsseml: Non-Gaussian State Space With Exact Marginal Likelihood, Thiago R. Santos, Glaura C. Franco, Dani Gamerman

The R Journal

The number of packages/software for Gaussian State Space models has increased over recent decades. However, there are very few codes available for non-Gaussian State Space (NGSS) models due to analytical intractability that prevents exact calculations. One of the few tractable exceptions is the family of NGSS with exact marginal likelihood, named NGSSEML. In this work, we present the wide range of data formats and distributions handled by NGSSEML and a package in the R language to perform classical and Bayesian inference for them. Special functions for filtering, forecasting, and smoothing procedures and the exact calculation of the marginal likelihood function …


Dad: An R Package For Visualisation, Classification And Discrimination Of Multivariate Groups Modelled By Their Densities, Rachid Boumaza, Pierre Santagostini, Smail Yousfi, Sabine Demotes-Mainard Dec 2021

Dad: An R Package For Visualisation, Classification And Discrimination Of Multivariate Groups Modelled By Their Densities, Rachid Boumaza, Pierre Santagostini, Smail Yousfi, Sabine Demotes-Mainard

The R Journal

Multidimensional scaling (MDS), hierarchical cluster analysis (HCA), and discriminant analysis (DA) are classical techniques which deal with data made of n individuals and p variables. When the individuals are divided into T groups, the R package dad associates with each group a multivariate probability density function and then carries out these techniques on the densities, which are estimated by the data under consideration. These techniques are based on distance measures between densities: chi-square, Hellinger, Jeffreys, Jensen-Shannon, and Lp for discrete densities, Hellinger , Jeffreys, L2 , and 2-Wasserstein for Gaussian densities, and L2 for numeric non-Gaussian densities …


Estimating Social Influence Effects In Networks Using A Latent Space Adjusted Approach In R, Ran Xu Dec 2021

Estimating Social Influence Effects In Networks Using A Latent Space Adjusted Approach In R, Ran Xu

The R Journal

Social influence effects have been extensively studied in various empirical network research. However, many challenges remain in estimating social influence effects in networks, as influence effects are often entangled with other factors, such as homophily in the selection process and the common social-environmental factors that individuals are embedded in. Methods currently available either do not solve these problems or require stringent assumptions. Recent works by Xu (2018) and others have shown that a latent space adjusted approach based on the latent space model has the potential to disentangle the influence effects from other processes, and the simulation evidence has shown …


G2f As A Novel Tool To Find And Fill Gaps In Metabolic Networks, Daniel Osorio, Kelly Botero, Andrés Pinzón Velasco, Nicolás Mendoza-Mejía, Felipe Rojas-Rodríguez, George Barreto, Janneth González Dec 2021

G2f As A Novel Tool To Find And Fill Gaps In Metabolic Networks, Daniel Osorio, Kelly Botero, Andrés Pinzón Velasco, Nicolás Mendoza-Mejía, Felipe Rojas-Rodríguez, George Barreto, Janneth González

The R Journal

During the building of a genome-scale metabolic model, there are several dead-end metabolites and substrates which cannot be imported, produced, nor used by any reaction incorporated in the network. The presence of these dead-end metabolites can block out the net flux of the objective function when it is evaluated through Flux Balance Analysis (FBA), and when it is not blocked, bias in the biological conclusions increase. In this aspect, the refinement to restore the connectivity of the network can be carried out manually or using computational algorithms. The g2f package was designed as a tool to find the gaps from …


Rejoinder: Software Engineering And R Programming, Melina Vidoni Dec 2021

Rejoinder: Software Engineering And R Programming, Melina Vidoni

The R Journal

It is a pleasure to take part in such fruitful discussion about the relationship between Software Engineering and R programming, and what could be gain by allowing each to look more closely at the other. Several discussants make valuable arguments that ought to be further discussed


The R Quest: From Users To Developers, Simon Urbanek Dec 2021

The R Quest: From Users To Developers, Simon Urbanek

The R Journal

R is not a programming language, and this produces the inherent dichotomy between analytics and software engineering. With the emergence of data science, the opportunity exists to bridge this gap, especially through teaching practices.


The R Developer Community Does Have A Strong Software Engineering Culture, Maëlle Salmon, Karthik Ram Dec 2021

The R Developer Community Does Have A Strong Software Engineering Culture, Maëlle Salmon, Karthik Ram

The R Journal

There is a strong software engineering culture in the R developer community. We recommend creating, updating and vetting packages as well as keeping up with community standards. We invite contributions to the rOpenSci project, where participants can gain experience that will shape their work and that of their peers.


The R Journal (December 2021) 13(2): Complete Issue, The R Foundation Nov 2021

The R Journal (December 2021) 13(2): Complete Issue, The R Foundation

The R Journal

On behalf of the R Foundation and the Editorial board, I am pleased to present Volume 13 Issue 2 of the R Journal. This is the biggest issue ever!

First, some news from the Editorial board. A big thank you to Mike Kane, who has finished his term. As Editor-in-Chief in 2020, Mike expanded operations to include Associate Editors in the reviewing process. The R Journal now has a team of 20 Associate Editors. This has helped to manage the increasing number of submissions. We welcome new Associate Editors, Przemek Biecek, Chris Brunsdon, Mine Çetinkaya-Rundel, Kieran Healy, Adam Loy, Priyanga …


The R Journal (June 2021) 13(1): Complete Issue, The R Foundation Jun 2021

The R Journal (June 2021) 13(1): Complete Issue, The R Foundation

The R Journal

Editorial, Dianne Cook

Contributed Research Articles

SEEDCCA: An Integrated R-Package for Canonical Correlation Analysis and Partial Least Squares, Bo-Young Kim, Yunju Im, and Jae Keun Yoo

npcure: An R Package for Nonparametric Inference in Mixture Cure Models, Ana López-Cheda, M. Amalia Jácome, and Ignacio López-de-Ullibarri

A Method for Deriving Information from Running R Code, Mark P. J. van der Loo

JMcmprsk: An R Package for Joint Modelling of Longitudinal and Survival Data with Competing Risks, Hong Wang, Ning Li, Shanpeng Li, and Gang Li

Wide-to-tall Data Reshaping Using Regular Expressions and the nc Package, Toby Dylan Hocking

Linear Regression with …


Analyzing Dependence Between Point Processes In Time Using Indtestpp, Ana C. Cebrián, Jesús Asín Jun 2021

Analyzing Dependence Between Point Processes In Time Using Indtestpp, Ana C. Cebrián, Jesús Asín

The R Journal

The need to analyze the dependence between two or more point processes in time appears in many modeling problems related to the occurrence of events, such as the occurrence of climate events at different spatial locations or synchrony detection in spike train analysis. The package IndTestPP provides a general framework for all the steps in this type of analysis, and one of its main features is the implementation of three families of tests to study independence given the intensities of the processes, which are not only useful to assess independence but also to identify factors causing dependence. The package also …


Krippendorffsalpha: An R Package For Measuring Agreement Using Krippendorff's Alpha Coefficient, John Hughes Jun 2021

Krippendorffsalpha: An R Package For Measuring Agreement Using Krippendorff's Alpha Coefficient, John Hughes

The R Journal

R package krippendorffsalpha provides tools for measuring agreement using Krippendorff’s α coefficient, a well-known nonparametric measure of agreement (also called inter-rater reliability and various other names). This article first develops Krippendorff’s α in a natural way and situates α among statistical procedures. Then, the usage of package krippendorffsalpha is illustrated via analyses of two datasets, the latter of which was collected during an imaging study of hip cartilage. The package permits users to apply the α methodology using built-in distance functions for the nominal, ordinal, interval, or ratio levels of measurement. User-defined distance functions are also supported. The fitting function …


Robustness In Network (Robin): An R Package For Comparison And Validation Of Communities, Valeria Policastro, Dario Righelli, Annamaria Carissimo, Luisa Cutillo, Italia De Feis Jun 2021

Robustness In Network (Robin): An R Package For Comparison And Validation Of Communities, Valeria Policastro, Dario Righelli, Annamaria Carissimo, Luisa Cutillo, Italia De Feis

The R Journal

In network analysis, many community detection algorithms have been developed. However, their implementation leaves unaddressed the question of the statistical validation of the results. Here, we present robin (ROBustness In Network), an R package to assess the robustness of the community structure of a network found by one or more methods to give indications about their reliability. The procedure initially detects if the community structure found by a set of algorithms is statistically significant and then compares two selected detection algorithms on the same graph to choose the one that better fits the network of interest. We demonstrate the use …


Indexnumber: An R Package For Measuring The Evolution Of Magnitudes, Alejandro Saavedra-Nieves, Paula Saavedra-Nieves Jun 2021

Indexnumber: An R Package For Measuring The Evolution Of Magnitudes, Alejandro Saavedra-Nieves, Paula Saavedra-Nieves

The R Journal

Index numbers are descriptive statistical measures useful in economic settings for comparing simple and complex magnitudes registered, usually in two time periods. Although this theory has a large history, it still plays an important role in modern today’s societies where big amounts of economic data are available and need to be analyzed. After a detailed revision on classical index numbers in literature, this paper is focused on the description of the R package IndexNumber with strong capabilities for calculating them. Two of the four real data sets contained in this library are used for illustrating the determination of the index …


Pdynmc: A Package For Estimating Linear Dynamic Panel Data Models Based On Nonlinear Moment Conditions, Markus Fritsch, Andrew Adrian Yu Pua, Joachim Schnurbus Jun 2021

Pdynmc: A Package For Estimating Linear Dynamic Panel Data Models Based On Nonlinear Moment Conditions, Markus Fritsch, Andrew Adrian Yu Pua, Joachim Schnurbus

The R Journal

This paper introduces pdynmc, an R package that provides users sufficient flexibility and precise control over the estimation and inference in linear dynamic panel data models. The package primarily allows for the inclusion of nonlinear moment conditions and the use of iterated GMM; additionally, visualizations for data structure and estimation results are provided. The current implementation reflects recent developments in literature, uses sensible argument defaults, and aligns commercial and noncommercial estimation commands. Since the understanding of the model assumptions is vital for setting up plausible estimation routines, we provide a broad introduction of linear dynamic panel data models directed towards …


The Bdpar Package: Big Data Pipelining Architecture For R, Miguel Ferreiro-Díaz, Tomás R. Cotos-Yáñez, José R. Méndez, David Ruano-Ordás Jun 2021

The Bdpar Package: Big Data Pipelining Architecture For R, Miguel Ferreiro-Díaz, Tomás R. Cotos-Yáñez, José R. Méndez, David Ruano-Ordás

The R Journal

In the last years, big data has become a useful paradigm for taking advantage of multiple sources to find relevant knowledge in real domains (such as the design of personalized marketing campaigns or helping to palliate the effects of several fatal diseases). Big data programming tools and methods have evolved over time from a MapReduce to a pipeline-based archetype. Concretely the use of pipelining schemes has become the most reliable way of processing and analyzing large amounts of data. To this end, this work introduces bdpar, a new highly customizable pipeline-based framework (using the OOP paradigm provided by R6 …