首页 > 最新文献

R Journal最新文献

英文 中文
PINstimation: An R Package for Estimating Probability of Informed Trading Models 估算:一个估算知情交易模型概率的R包
4区 计算机科学 Q3 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2023-11-01 DOI: 10.32614/rj-2023-044
Montasser Ghachem, Oguz Ersan
The purpose of this paper is to introduce the R package [PINstimation](https://CRAN.R-project.org/package=PINstimation). The package is designed for fast and accurate estimation of the probability of informed trading models through the implementation of well-established estimation methods. The models covered are the original PIN model [@easley1992time; @easley1996liquidity], the multilayer PIN model [@ersan2016multilayer], the adjusted PIN model [@duarte2009why], and the volume- synchronized PIN [@Easley2011microstructure; @Easley2012Flow]. These core functionalities of the package are supplemented with utilities for data simulation, aggregation and classification tools. In addition to a detailed overview of the package functions, we provide a brief theoretical review of the main methods implemented in the package. Further, we provide examples of use of the package on trade-level data for 58 Swedish stocks, and report straightforward, comparative and intriguing findings on informed trading. These examples aim to highlight the capabilities of the package in tackling relevant research questions and illustrate the wide usage possibilities of PINstimation for both academics and practitioners.
本文的目的是介绍R包[pinestimate](https://CRAN.R-project.org/package=PINstimation)。该软件包旨在通过实施完善的估计方法,快速准确地估计知情交易模型的概率。所涵盖的模型是原始PIN模型[@easley1992time;@easley1996liquidity],多层PIN模型[@ersan2016multilayer],调整后的PIN模型[@duarte2009why],以及量同步PIN [@ easley2011微结构;@Easley2012Flow]。包的这些核心功能还补充了用于数据模拟、聚合和分类工具的实用程序。除了对包功能的详细概述外,我们还对包中实现的主要方法进行了简要的理论回顾。此外,我们提供了58只瑞典股票的贸易级数据包的使用示例,并报告了关于知情交易的简单,比较和有趣的发现。这些例子旨在突出该软件包在解决相关研究问题方面的能力,并说明pinestimation在学术界和实践者中的广泛使用可能性。
{"title":"PINstimation: An R Package for Estimating Probability of Informed Trading Models","authors":"Montasser Ghachem, Oguz Ersan","doi":"10.32614/rj-2023-044","DOIUrl":"https://doi.org/10.32614/rj-2023-044","url":null,"abstract":"The purpose of this paper is to introduce the R package [PINstimation](https://CRAN.R-project.org/package=PINstimation). The package is designed for fast and accurate estimation of the probability of informed trading models through the implementation of well-established estimation methods. The models covered are the original PIN model [@easley1992time; @easley1996liquidity], the multilayer PIN model [@ersan2016multilayer], the adjusted PIN model [@duarte2009why], and the volume- synchronized PIN [@Easley2011microstructure; @Easley2012Flow]. These core functionalities of the package are supplemented with utilities for data simulation, aggregation and classification tools. In addition to a detailed overview of the package functions, we provide a brief theoretical review of the main methods implemented in the package. Further, we provide examples of use of the package on trade-level data for 58 Swedish stocks, and report straightforward, comparative and intriguing findings on informed trading. These examples aim to highlight the capabilities of the package in tackling relevant research questions and illustrate the wide usage possibilities of PINstimation for both academics and practitioners.","PeriodicalId":51285,"journal":{"name":"R Journal","volume":"108 1-2","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2023-11-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"135714471","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
genpathmox: An R Package to Tackle Numerous Categorical Variables and Heterogeneity in Partial Least Squares Structural Equation Modeling genpathmox:一个R包来处理偏最小二乘结构方程建模中的众多分类变量和异质性
4区 计算机科学 Q3 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2023-11-01 DOI: 10.32614/rj-2023-051
Giuseppe Lamberti,
Partial least squares structural equation modeling (PLS-SEM), combined with the analysis of the effects of categorical variables after estimating the model, is a well-established statistical approach to the study of complex relationships between variables. However, the statistical methods and software packages available are limited when we are interested in assessing the effects of several categorical variables and shaping different groups following different models. Following the framework established by @Lamberti16, we have developed the  [genpathmox](https://CRAN.R-project.org/package=genpathmox) *R* package for handling a large number of categorical variables when faced with heterogeneity in PLS-SEM. The package has functions for various aspects of the analysis of heterogeneity in PLS-SEM models, including estimation, visualization, and hypothesis testing. In this paper, we describe the implementation of genpathmox in detail and demonstrate its usefulness by analyzing employee satisfaction data.
偏最小二乘结构方程模型(PLS-SEM)是一种成熟的研究变量间复杂关系的统计方法,结合对模型估计后的分类变量效应分析。然而,当我们对评估几个分类变量的影响和根据不同模型塑造不同的群体感兴趣时,可用的统计方法和软件包是有限的。根据@Lamberti16建立的框架,我们开发了 [genpathmox](https://CRAN.R-project.org/package=genpathmox) *R* package forÂ处理PLS-SEM中面对异质性时的大量分类变量。该软件包具有分析异质性in PLS-SEM模型的各个方面的功能,Â包括估计,可视化和假设检验。在本文中,我们详细描述了of genpathmoxÂ的实现,并通过分析员工满意度数据来证明其实用性。
{"title":"genpathmox: An R Package to Tackle Numerous Categorical Variables and Heterogeneity in Partial Least Squares Structural Equation Modeling","authors":"Giuseppe Lamberti,","doi":"10.32614/rj-2023-051","DOIUrl":"https://doi.org/10.32614/rj-2023-051","url":null,"abstract":"Partial least squares structural equation modeling (PLS-SEM), combined with the analysis of the effects of categorical variables after estimating the model, is a well-established statistical approach to the study of complex relationships between variables. However, the statistical methods and software packages available are limited when we are interested in assessing the effects of several categorical variables and shaping different groups following different models. Following the framework established by @Lamberti16, we have developed the  [genpathmox](https://CRAN.R-project.org/package=genpathmox) *R* package for handling a large number of categorical variables when faced with heterogeneity in PLS-SEM. The package has functions for various aspects of the analysis of heterogeneity in PLS-SEM models, including estimation, visualization, and hypothesis testing. In this paper, we describe the implementation of genpathmox in detail and demonstrate its usefulness by analyzing employee satisfaction data.","PeriodicalId":51285,"journal":{"name":"R Journal","volume":"110 3-6","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2023-11-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"135714464","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Identifying Counterfactual Queries with the R Package cfid 用R包识别反事实查询
4区 计算机科学 Q3 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2023-11-01 DOI: 10.32614/rj-2023-053
Santtu Tikka
In the framework of structural causal models, counterfactual queries describe events that concern multiple alternative states of the system under study. Counterfactual queries often take the form of "what if" type questions such as "would an applicant have been hired if they had over 10 years of experience, when in reality they only had 5 years of experience?" Such questions and counterfactual inference in general are crucial, for example when addressing the problem of fairness in decision-making. Because counterfactual events contain contradictory states of the world, it is impossible to conduct a randomized experiment to address them without making several restrictive assumptions. However, it is sometimes possible to identify such queries from observational and experimental data by representing the system under study as a causal model, and the available data as symbolic probability distributions. @shpitser2007 constructed two algorithms, called ID* and IDC*, for identifying counterfactual queries and conditional counterfactual queries, respectively. These two algorithms are analogous to the ID and IDC algorithms by @shpitser2006id [@shpitser2006idc] for identification of interventional distributions, which were implemented in R by @tikka2017 in the causaleffect package. We present the R package [cfid](https://CRAN.R-project.org/package=cfid) that implements the ID* and IDC* algorithms. Identification of counterfactual queries and the features of cfid are demonstrated via examples.
在结构因果模型的框架中,反事实查询描述了涉及所研究系统的多个可选状态的事件。反事实问题通常以“如果”类型的问题的形式出现,比如“如果一个应聘者有超过10年的工作经验,而实际上他只有5年的工作经验,他还会被录用吗?”这些问题和反事实推理通常是至关重要的,例如在处理决策公平性问题时。因为反事实事件包含了世界的矛盾状态,如果不做一些限制性假设,就不可能进行随机实验来解决它们。然而,有时可以通过将所研究的系统表示为因果模型,并将可用数据表示为符号概率分布,从而从观测和实验数据中识别出此类查询。@shpitser2007构建了两个算法,分别称为ID*和IDC*,用于识别反事实查询和条件反事实查询。这两种算法类似于@shpitser2006id [@shpitser2006idc]用于识别介入分布的ID和IDC算法,在R中由@tikka2017在因果包中实现。我们给出了R包[cfid](https://CRAN.R-project.org/package=cfid),它实现了ID*和IDC*算法。通过实例说明了反事实查询的识别和cfd的特点。
{"title":"Identifying Counterfactual Queries with the R Package cfid","authors":"Santtu Tikka","doi":"10.32614/rj-2023-053","DOIUrl":"https://doi.org/10.32614/rj-2023-053","url":null,"abstract":"In the framework of structural causal models, counterfactual queries describe events that concern multiple alternative states of the system under study. Counterfactual queries often take the form of \"what if\" type questions such as \"would an applicant have been hired if they had over 10 years of experience, when in reality they only had 5 years of experience?\" Such questions and counterfactual inference in general are crucial, for example when addressing the problem of fairness in decision-making. Because counterfactual events contain contradictory states of the world, it is impossible to conduct a randomized experiment to address them without making several restrictive assumptions. However, it is sometimes possible to identify such queries from observational and experimental data by representing the system under study as a causal model, and the available data as symbolic probability distributions. @shpitser2007 constructed two algorithms, called ID* and IDC*, for identifying counterfactual queries and conditional counterfactual queries, respectively. These two algorithms are analogous to the ID and IDC algorithms by @shpitser2006id [@shpitser2006idc] for identification of interventional distributions, which were implemented in R by @tikka2017 in the causaleffect package. We present the R package [cfid](https://CRAN.R-project.org/package=cfid) that implements the ID* and IDC* algorithms. Identification of counterfactual queries and the features of cfid are demonstrated via examples.","PeriodicalId":51285,"journal":{"name":"R Journal","volume":"104 1-2","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2023-11-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"135714320","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 1
bqror: An R package for Bayesian Quantile Regression in Ordinal Models 序数模型中贝叶斯分位数回归的R包
4区 计算机科学 Q3 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2023-11-01 DOI: 10.32614/rj-2023-042
Prajual Maheshwari, Mohammad Arshad Rahman
This article describes an R package bqror that estimates Bayesian quantile regression for ordinal models introduced in citet{Rahman-2016}. The paper classifies ordinal models into two types and offers two computationally efficient, yet simple, MCMC algorithms for estimating ordinal quantile regression. The generic ordinal model with more than 3 outcomes (labeled $OR_{I}$ model) is estimated by a combination of Gibbs sampling and Metropolis-Hastings algorithm. Whereas an ordinal model with exactly 3 outcomes (labeled $OR_{II}$ model) is estimated using Gibbs sampling only. In line with the Bayesian literature, we suggest using marginal likelihood for comparing alternative quantile regression models and explain how to calculate the same. The models and their estimation procedures are illustrated via multiple simulation studies and implemented in the two applications presented in citet{Rahman-2016}. The article also describes several other functions contained within the bqror package, which are necessary for estimation, inference, and assessing model fit.
本文描述了一个R包浏览器,用于估计citet{Rahman-2016}中引入的有序模型的贝叶斯分位数回归。本文将有序模型分为两类,并提供了两种计算效率高且简单的MCMC算法来估计有序分位数回归。采用Gibbs抽样和Metropolis-Hastings算法相结合的方法估计出具有3个以上结果的一般有序模型(标记为$OR_{I}$模型)。而恰好有3个结果的有序模型(标记为$OR_{II}$模型)仅使用吉布斯抽样进行估计。根据贝叶斯文献,我们建议使用边际似然来比较不同的分位数回归模型,并解释如何计算相同的似然。这些模型和它们的估计过程通过多个仿真研究来说明,并在citet{Rahman-2016}中提出的两个应用中实现。本文还描述了brqror包中包含的其他几个函数,这些函数对于估计、推断和评估模型拟合是必需的。
{"title":"bqror: An R package for Bayesian Quantile Regression in Ordinal Models","authors":"Prajual Maheshwari, Mohammad Arshad Rahman","doi":"10.32614/rj-2023-042","DOIUrl":"https://doi.org/10.32614/rj-2023-042","url":null,"abstract":"This article describes an R package bqror that estimates Bayesian quantile regression for ordinal models introduced in citet{Rahman-2016}. The paper classifies ordinal models into two types and offers two computationally efficient, yet simple, MCMC algorithms for estimating ordinal quantile regression. The generic ordinal model with more than 3 outcomes (labeled $OR_{I}$ model) is estimated by a combination of Gibbs sampling and Metropolis-Hastings algorithm. Whereas an ordinal model with exactly 3 outcomes (labeled $OR_{II}$ model) is estimated using Gibbs sampling only. In line with the Bayesian literature, we suggest using marginal likelihood for comparing alternative quantile regression models and explain how to calculate the same. The models and their estimation procedures are illustrated via multiple simulation studies and implemented in the two applications presented in citet{Rahman-2016}. The article also describes several other functions contained within the bqror package, which are necessary for estimation, inference, and assessing model fit.","PeriodicalId":51285,"journal":{"name":"R Journal","volume":"32 4","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2023-11-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"136103240","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
vivid: An R package for Variable Importance and Variable Interactions Displays for Machine Learning Models vivid:一个R包,用于机器学习模型的可变重要性和可变交互显示
4区 计算机科学 Q3 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2023-11-01 DOI: 10.32614/rj-2023-054
Alan Inglis, Andrew Parnell, Catherine Hurley
We present vivid, an R package for visualizing variable importance and variable interactions in machine learning models. The package provides heatmap and graph-based displays for viewing variable importance and interaction jointly, and partial dependence plots in both a matrix layout and an alternative layout emphasizing important variable subsets. With the intention of increasing machine learning models' interpretability and making the work applicable to a wider readership, we discuss the design choices behind our implementation by focusing on the package structure and providing an in-depth look at the package functions and key features. We also provide a practical illustration of the software in use on a data set.
我们提出了一个生动的R包,用于可视化机器学习模型中的变量重要性和变量交互。该软件包提供了热图和基于图形的显示,用于共同查看变量的重要性和相互作用,以及在矩阵布局和强调重要变量子集的替代布局中的部分依赖图。为了提高机器学习模型的可解释性并使工作适用于更广泛的读者,我们通过关注包结构并深入研究包功能和关键特性来讨论实现背后的设计选择。我们还提供了在数据集上使用该软件的实际示例。
{"title":"vivid: An R package for Variable Importance and Variable Interactions Displays for Machine Learning Models","authors":"Alan Inglis, Andrew Parnell, Catherine Hurley","doi":"10.32614/rj-2023-054","DOIUrl":"https://doi.org/10.32614/rj-2023-054","url":null,"abstract":"We present vivid, an R package for visualizing variable importance and variable interactions in machine learning models. The package provides heatmap and graph-based displays for viewing variable importance and interaction jointly, and partial dependence plots in both a matrix layout and an alternative layout emphasizing important variable subsets. With the intention of increasing machine learning models' interpretability and making the work applicable to a wider readership, we discuss the design choices behind our implementation by focusing on the package structure and providing an in-depth look at the package functions and key features. We also provide a practical illustration of the software in use on a data set.","PeriodicalId":51285,"journal":{"name":"R Journal","volume":"92 3-4","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2023-11-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"135714163","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
langevitour: Smooth Interactive Touring of High Dimensions, Demonstrated with scRNA-Seq Data langevitour:用scRNA-Seq数据演示的高维平滑交互漫游
4区 计算机科学 Q3 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2023-11-01 DOI: 10.32614/rj-2023-046
Paul Harrison
langevitour displays interactive animated 2D projections of high-dimensional datasets. Langevin Dynamics is used to produce a smooth path of projections. Projections are initially explored at random. A "guide" can be activated to look for an informative projection, or variables can be manually positioned. After a projection of particular interest has been found, continuing small motions provide a channel of visual information not present in a static scatter plot. langevitour is implemented in Javascript, allowing for a high frame rate and responsive interaction, and can be used directly from the R environment or embedded in HTML documents produced using R. Single cell RNA-sequencing (scRNA-Seq) data is used to demonstrate the widget. langevitour's linear projections provide a less distorted view of this data than commonly used non-linear dimensionality reductions such as UMAP.
langevitour显示高维数据集的交互式动画2D投影。朗格万动力学用于生成平滑的投影路径。预测最初是随机探索的。可以激活“向导”来查找信息投影,或者可以手动定位变量。在找到一个特别感兴趣的投影后,连续的小运动提供了一个静态散点图所没有的视觉信息通道。langevitour是用Javascript实现的,允许高帧率和响应式交互,可以直接从R环境中使用,也可以嵌入到使用R生成的HTML文档中。单细胞rna测序(scRNA-Seq)数据用于演示小部件。langevitour的线性投影比常用的非线性降维(如UMAP)提供了更少失真的数据视图。
{"title":"langevitour: Smooth Interactive Touring of High Dimensions, Demonstrated with scRNA-Seq Data","authors":"Paul Harrison","doi":"10.32614/rj-2023-046","DOIUrl":"https://doi.org/10.32614/rj-2023-046","url":null,"abstract":"langevitour displays interactive animated 2D projections of high-dimensional datasets. Langevin Dynamics is used to produce a smooth path of projections. Projections are initially explored at random. A \"guide\" can be activated to look for an informative projection, or variables can be manually positioned. After a projection of particular interest has been found, continuing small motions provide a channel of visual information not present in a static scatter plot. langevitour is implemented in Javascript, allowing for a high frame rate and responsive interaction, and can be used directly from the R environment or embedded in HTML documents produced using R. Single cell RNA-sequencing (scRNA-Seq) data is used to demonstrate the widget. langevitour's linear projections provide a less distorted view of this data than commonly used non-linear dimensionality reductions such as UMAP.","PeriodicalId":51285,"journal":{"name":"R Journal","volume":"104 3-4","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2023-11-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"135714319","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
clustAnalytics: An R Package for Assessing Stability and Significance of Communities in Networks clusteranalytics:一个用于评估网络中社区稳定性和重要性的R包
4区 计算机科学 Q3 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2023-11-01 DOI: 10.32614/rj-2023-057
Martí Renedo-Mirambell, Argimiro Arratia
This paper introduces the R package [clustAnalytics](https://CRAN.R-project.org/package=clustAnalytics), which comprises a set of criteria for assessing the significance and stability of communities in networks found by any clustering algorithm. [clustAnalytics](https://CRAN.R-project.org/package=clustAnalytics) works with graphs of class [igraph](https://CRAN.R-project.org/package=igraph) from the R-package [igraph](https://CRAN.R-project.org/package=igraph), extended to handle weighted and/or directed graphs. [clustAnalytics](https://CRAN.R-project.org/package=clustAnalytics) provides a set of community scoring functions, and methods to systematically compare their values to those of a suitable null model, which are of use when testing for cluster significance. It also provides a non parametric bootstrap method combined with similarity metrics derived from information theory and combinatorics, useful when testing for cluster stability, as well as a method to synthetically generate a weighted network with a ground truth community structure based on the preferential attachment model construction, producing networks with communities and scale-free degree distribution.
本文介绍了R包[clusteranalytics](https://CRAN.R-project.org/package=clustAnalytics),它包含一组用于评估任何聚类算法发现的网络中社区的重要性和稳定性的标准。[clusteranalytics](https://CRAN.R-project.org/package=clustAnalytics)与r包[igraph](https://CRAN.R-project.org/package=igraph)中的类[igraph](https://CRAN.R-project.org/package=igraph)的图一起工作,扩展到处理加权和/或有向图。[clusteranalytics](https://CRAN.R-project.org/package=clustAnalytics)提供了一组社区评分功能,以及系统地将它们的值与合适的零模型的值进行比较的方法,这些方法在测试集群显著性时很有用。本文还提出了一种结合信息论和组合学的相似性度量的非参数自举方法,用于测试聚类的稳定性,以及一种基于优先依恋模型构建的综合生成具有真实群落结构的加权网络的方法,从而产生具有群落和无标度分布的网络。
{"title":"clustAnalytics: An R Package for Assessing Stability and Significance of Communities in Networks","authors":"Martí Renedo-Mirambell, Argimiro Arratia","doi":"10.32614/rj-2023-057","DOIUrl":"https://doi.org/10.32614/rj-2023-057","url":null,"abstract":"This paper introduces the R package [clustAnalytics](https://CRAN.R-project.org/package=clustAnalytics), which comprises a set of criteria for assessing the significance and stability of communities in networks found by any clustering algorithm. [clustAnalytics](https://CRAN.R-project.org/package=clustAnalytics) works with graphs of class [igraph](https://CRAN.R-project.org/package=igraph) from the R-package [igraph](https://CRAN.R-project.org/package=igraph), extended to handle weighted and/or directed graphs. [clustAnalytics](https://CRAN.R-project.org/package=clustAnalytics) provides a set of community scoring functions, and methods to systematically compare their values to those of a suitable null model, which are of use when testing for cluster significance. It also provides a non parametric bootstrap method combined with similarity metrics derived from information theory and combinatorics, useful when testing for cluster stability, as well as a method to synthetically generate a weighted network with a ground truth community structure based on the preferential attachment model construction, producing networks with communities and scale-free degree distribution.","PeriodicalId":51285,"journal":{"name":"R Journal","volume":"110 1-2","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2023-11-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"135714465","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
EviewsR: An R Package for Dynamic and Reproducible Research Using EViews, R, R Markdown and Quarto EviewsR:一个使用EViews, R, R Markdown和Quarto进行动态和可重复研究的R包
4区 计算机科学 Q3 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2023-11-01 DOI: 10.32614/rj-2023-045
Sagiru Mati, Irfan Civcir, S. I. Abba
EViews is a software designed for conducting econometric data analysis. There exists a one-way communication between EViews and R, as the former can run the code of the latter, but the reverse is not the case. We describe [EviewsR](https://CRAN.R-project.org/package=EviewsR), an R package which allows users of R, R Markdown and Quarto to execute EViews code. In essence, [EviewsR](https://CRAN.R-project.org/package=EviewsR) does not only provide functions for base R, but also adds EViews to the existing [knitr](https://CRAN.R-project.org/package=knitr)'s knit-engines. We also show how EViews equation, graph, series, and table objects can be imported and customised dynamically and reproducibly in R, R Markdown and Quarto document. Therefore, [EviewsR](https://CRAN.R-project.org/package=EviewsR) seeks to improve the accuracy, transparency and reproducibility of research conducted with EViews and R.
EViews是一款用于进行计量经济数据分析的软件。EViews和R之间存在单向通信,因为前者可以运行后者的代码,但反之则不然。我们描述了[EviewsR](https://CRAN.R-project.org/package=EviewsR),它是一个R包,允许R、R Markdown和Quarto的用户执行EViews代码。从本质上讲,[EviewsR](https://CRAN.R-project.org/package=EviewsR)不仅为base R提供了函数,而且还将EViews添加到现有的[knitr](https://CRAN.R-project.org/package=knitr)'s knits -engines)中。我们还展示了如何在R、R Markdown和Quarto文档中动态地导入和自定义EViews方程、图形、序列和表对象。因此,[EviewsR](https://CRAN.R-project.org/package=EviewsR)旨在提高使用EViews和R进行的研究的准确性、透明度和可重复性。
{"title":"EviewsR: An R Package for Dynamic and Reproducible Research Using EViews, R, R Markdown and Quarto","authors":"Sagiru Mati, Irfan Civcir, S. I. Abba","doi":"10.32614/rj-2023-045","DOIUrl":"https://doi.org/10.32614/rj-2023-045","url":null,"abstract":"EViews is a software designed for conducting econometric data analysis. There exists a one-way communication between EViews and R, as the former can run the code of the latter, but the reverse is not the case. We describe [EviewsR](https://CRAN.R-project.org/package=EviewsR), an R package which allows users of R, R Markdown and Quarto to execute EViews code. In essence, [EviewsR](https://CRAN.R-project.org/package=EviewsR) does not only provide functions for base R, but also adds EViews to the existing [knitr](https://CRAN.R-project.org/package=knitr)'s knit-engines. We also show how EViews equation, graph, series, and table objects can be imported and customised dynamically and reproducibly in R, R Markdown and Quarto document. Therefore, [EviewsR](https://CRAN.R-project.org/package=EviewsR) seeks to improve the accuracy, transparency and reproducibility of research conducted with EViews and R.","PeriodicalId":51285,"journal":{"name":"R Journal","volume":"103 5-6","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2023-11-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"135714321","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
mutualinf: An R Package for Computing and Decomposing the Mutual Information Index of Segregation 一个计算和分解分离互信息索引的R包
4区 计算机科学 Q3 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2023-11-01 DOI: 10.32614/rj-2023-047
Rafael Fuentealba-Chaura, Daniel Guinea-Martin, Ricardo Mora, Julio Rojas-Mora
In this article, we present the R package [mutualinf](https://CRAN.R-project.org/package=mutualinf) for computing and decomposing the mutual information index of segregation by means of recursion and parallelization techniques. The mutual information index is the only multigroup index of segregation that satisfies strong decomposability properties, both for organizational units and groups. The [mutualinf](https://CRAN.R-project.org/package=mutualinf) package contributes by (1) implementing the decomposition of the mutual information index into a "between" and a "within" term; (2) computing, in a single call, a chain of decompositions that involve one "between" term and several "within" terms; (3) providing the contributions of the variables that define the groups or the organizational units to the overall segregation; and (4) providing the demographic weights and local indexes employed in the computation of the "within" term. We illustrate the use of [mutualinf](https://CRAN.R-project.org/package=mutualinf) using Chilean school enrollment data. With these data, we study socioeconomic and ethnic segregation in schools.
在本文中,我们提出了R包[mutualinf](https://CRAN.R-project.org/package=mutualinf),用于通过递归和并行化技术计算和分解隔离的互信息索引。互信息指标是唯一满足组织单位和群体强可分解性的多组分离指标。[mutualinf](https://CRAN.R-project.org/package=mutualinf)包的贡献在于(1)将互信息索引分解为“between”和“within”项;(2)在单个调用中计算包含一个“between”项和多个“within”项的分解链;(3)提供定义组或组织单位的变量对整体隔离的贡献;(4)提供计算“内”项时使用的人口权重和地方指标。我们使用智利的学校入学数据来说明[mutualinf](https://CRAN.R-project.org/package=mutualinf)的使用。有了这些数据,我们研究了学校中的社会经济和种族隔离。
{"title":"mutualinf: An R Package for Computing and Decomposing the Mutual Information Index of Segregation","authors":"Rafael Fuentealba-Chaura, Daniel Guinea-Martin, Ricardo Mora, Julio Rojas-Mora","doi":"10.32614/rj-2023-047","DOIUrl":"https://doi.org/10.32614/rj-2023-047","url":null,"abstract":"In this article, we present the R package [mutualinf](https://CRAN.R-project.org/package=mutualinf) for computing and decomposing the mutual information index of segregation by means of recursion and parallelization techniques. The mutual information index is the only multigroup index of segregation that satisfies strong decomposability properties, both for organizational units and groups. The [mutualinf](https://CRAN.R-project.org/package=mutualinf) package contributes by (1) implementing the decomposition of the mutual information index into a \"between\" and a \"within\" term; (2) computing, in a single call, a chain of decompositions that involve one \"between\" term and several \"within\" terms; (3) providing the contributions of the variables that define the groups or the organizational units to the overall segregation; and (4) providing the demographic weights and local indexes employed in the computation of the \"within\" term. We illustrate the use of [mutualinf](https://CRAN.R-project.org/package=mutualinf) using Chilean school enrollment data. With these data, we study socioeconomic and ethnic segregation in schools.","PeriodicalId":51285,"journal":{"name":"R Journal","volume":"100 5-6","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2023-11-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"135714330","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
ggdensity: Improved Bivariate Density Visualization in R 在R中改进的二元密度可视化
4区 计算机科学 Q3 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2023-11-01 DOI: 10.32614/rj-2023-048
James Otto, David Kahle
The [ggdensity](https://CRAN.R-project.org/package=ggdensity) R package extends the functionality of [ggplot2](https://CRAN.R-project.org/package=ggplot2) by providing more interpretable visualizations of bivariate density estimates using highest density regions (HDRs). The visualizations are created via drop-in replacements for the standard [ggplot2](https://CRAN.R-project.org/package=ggplot2) functions used for this purpose: geom_hdr() for geom_density_2d_filled() and geom_hdr_lines() for geom_density_2d(). These new geoms improve on those of [ggplot2](https://CRAN.R-project.org/package=ggplot2) by communicating the probabilities associated with the displayed regions. Various statistically rigorous estimators are available, as well as convenience functions geom_hdr_fun() and geom_hdr_fun_lines() for plotting HDRs of user-specified probability density functions. Associated geoms for rug plots and pointdensity scatterplots are also presented.
[ggdensity](https://CRAN.R-project.org/package=ggdensity) R包扩展了[ggplot2](https://CRAN.R-project.org/package=ggplot2)的功能,通过使用最高密度区域(hdr)提供更多可解释的二元密度估计可视化。可视化是通过插入式替换用于此目的的标准[ggplot2](https://CRAN.R-project.org/package=ggplot2)函数创建的:geom_density_2d_fill()的geom_hdr()和geom_density_2d()的geom_hdr_lines()。这些新的几何图形通过传达与显示区域相关的概率来改进[ggplot2](https://CRAN.R-project.org/package=ggplot2)的几何图形。可以使用各种统计上严格的估计器,以及用于绘制用户指定概率密度函数的hdr的方便函数geom_hdr_fun()和geom_hdr_fun_lines()。还给出了地毯图和点密度散点图的相关几何图形。
{"title":"ggdensity: Improved Bivariate Density Visualization in R","authors":"James Otto, David Kahle","doi":"10.32614/rj-2023-048","DOIUrl":"https://doi.org/10.32614/rj-2023-048","url":null,"abstract":"The [ggdensity](https://CRAN.R-project.org/package=ggdensity) R package extends the functionality of [ggplot2](https://CRAN.R-project.org/package=ggplot2) by providing more interpretable visualizations of bivariate density estimates using highest density regions (HDRs). The visualizations are created via drop-in replacements for the standard [ggplot2](https://CRAN.R-project.org/package=ggplot2) functions used for this purpose: geom_hdr() for geom_density_2d_filled() and geom_hdr_lines() for geom_density_2d(). These new geoms improve on those of [ggplot2](https://CRAN.R-project.org/package=ggplot2) by communicating the probabilities associated with the displayed regions. Various statistically rigorous estimators are available, as well as convenience functions geom_hdr_fun() and geom_hdr_fun_lines() for plotting HDRs of user-specified probability density functions. Associated geoms for rug plots and pointdensity scatterplots are also presented.","PeriodicalId":51285,"journal":{"name":"R Journal","volume":"99 3-4","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2023-11-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"135714153","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
期刊
R Journal
全部 Acc. Chem. Res. ACS Applied Bio Materials ACS Appl. Electron. Mater. ACS Appl. Energy Mater. ACS Appl. Mater. Interfaces ACS Appl. Nano Mater. ACS Appl. Polym. Mater. ACS BIOMATER-SCI ENG ACS Catal. ACS Cent. Sci. ACS Chem. Biol. ACS Chemical Health & Safety ACS Chem. Neurosci. ACS Comb. Sci. ACS Earth Space Chem. ACS Energy Lett. ACS Infect. Dis. ACS Macro Lett. ACS Mater. Lett. ACS Med. Chem. Lett. ACS Nano ACS Omega ACS Photonics ACS Sens. ACS Sustainable Chem. Eng. ACS Synth. Biol. Anal. Chem. BIOCHEMISTRY-US Bioconjugate Chem. BIOMACROMOLECULES Chem. Res. Toxicol. Chem. Rev. Chem. Mater. CRYST GROWTH DES ENERG FUEL Environ. Sci. Technol. Environ. Sci. Technol. Lett. Eur. J. Inorg. Chem. IND ENG CHEM RES Inorg. Chem. J. Agric. Food. Chem. J. Chem. Eng. Data J. Chem. Educ. J. Chem. Inf. Model. J. Chem. Theory Comput. J. Med. Chem. J. Nat. Prod. J PROTEOME RES J. Am. Chem. Soc. LANGMUIR MACROMOLECULES Mol. Pharmaceutics Nano Lett. Org. Lett. ORG PROCESS RES DEV ORGANOMETALLICS J. Org. Chem. J. Phys. Chem. J. Phys. Chem. A J. Phys. Chem. B J. Phys. Chem. C J. Phys. Chem. Lett. Analyst Anal. Methods Biomater. Sci. Catal. Sci. Technol. Chem. Commun. Chem. Soc. Rev. CHEM EDUC RES PRACT CRYSTENGCOMM Dalton Trans. Energy Environ. Sci. ENVIRON SCI-NANO ENVIRON SCI-PROC IMP ENVIRON SCI-WAT RES Faraday Discuss. Food Funct. Green Chem. Inorg. Chem. Front. Integr. Biol. J. Anal. At. Spectrom. J. Mater. Chem. A J. Mater. Chem. B J. Mater. Chem. C Lab Chip Mater. Chem. Front. Mater. Horiz. MEDCHEMCOMM Metallomics Mol. Biosyst. Mol. Syst. Des. Eng. Nanoscale Nanoscale Horiz. Nat. Prod. Rep. New J. Chem. Org. Biomol. Chem. Org. Chem. Front. PHOTOCH PHOTOBIO SCI PCCP Polym. Chem.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1