Learn R Programming

⚠️There's a newer version (1.1) of this package.Take me there.

genpathmox (version 0.3)

Generalized Pathmox Approach Segmentation Tree Analysis

Description

Provides a very interesting solution for handling segmentation variables in complex statistical methodology. It contains en extended version of the "Pathmox" algorithm (Lamberti, Sanchez and Aluja,(2016)) in the context of Partial Least Squares Path Modeling including the F-block test (to detect the responsible latent endogenous equations of the difference), the F-coefficient (to detect the path coefficients responsible of the difference) and the "invariance" test (to realize a comparison between the sub-models' latent variables). Furthermore, the package contains a generalized version of the "Pathmox" algorithm to approach different methodologies: linear regression and least absolute regression models.

Copy Link

Version

Install

install.packages('genpathmox')

Monthly Downloads

241

Version

0.3

License

GPL-3

Maintainer

Giuseppe Lamberti

Last Published

May 31st, 2017

Functions in genpathmox (0.3)

F.data.pls

Defining the matrices needed for the comparison test
F.data.reg

Defining the matrices needed for the comparison test (regression model)
all.part.reg

Defining the candidates to the optimum partition for each of segmentation variables (regression model)
bin.levels

Defining labels of the binary partions.
info.reg_class

info.reg class
invariance

Calculating the invariance test
partopt.reg

Defining the optimum partition given a set of segmentation variables (regression model)
percent.node

Calculating size (numeber of individual of a node) stopo criterion
Fc.test.reg

Coefficient test for the regression model
Fg.test.pls

F-Global test.
fcoef.tree.reg

Listing the the f-coefficients test results for regression model for each obtained partition
fglobal.tree

Listing the the f-global test results for regression model for each obtained partition
invariance_test

Invariance Test
fblock.tree.pls

Listing the the f-block test results for each obtained partition
fcoef.tree.pls

Listing the the f-coefficients test results for each obtained partition
info.mox.reg

Giving general information about the pathmox-lm algorithm
test.particion.reg

Calculating the comparison tests for the regression model
test.partition.pls

Calculating the comparison tests
info.pls_class

info.pls class
node.reg_class

node.reg class
nodes.tree

Calculating the element of all nodes
printTree

printing the tree structure
mox.tree

Resuming the tree attributes (regression model) : it gives general information about the tree
blockdiag

Building the Bart matrix
build.block

Defining the linear relations between the latent variables.
fglobal.tree.pls

Listing the the f-global test results for each obtained partition
fibtele

Fibtele
reg.treemodel

Regression results of terminal nodes from the Pathmox Segmentation Trees
root.tree

Calculating the element of the root node
splitopt.reg

Defining optimum partition for a specific variable (regression model)
summary.xtree.pls

Summary function for the Pathmox Segmentation Trees: PLS-PM
xtree.reg

create method xtree.reg
Fb.test.pls

Block test
Fc.test.pls

Coefficient test
candidates.tree

Listing the candidates partions for each intermedied nodes
comb

Enumerating the possible combinations of a specified size from the elements of a vector
reg.pathmox

PATHMOX-REG: Segmentation Trees in linaer and LAD regression model
summary.xtree.reg

Summary function for the Pathmox Segmentation Trees: linaer regression and LAD
terminal.tree

Calculating the element of the terminal nodes
fibtelereg

Fibtelereg
info.mox.pls

Giving general information about the pathmox algorithm
plot.treemodel

Comparative plot between nodes from the Pathmox Segmentation Trees: PLS-PM
plot.treemodelreg

Comparative plot between nodes from or the Pathmox Segmentation Trees: linear and LAD regression
partition

Defining binary partitions given a segmentation variable (factor).
partopt.pls

Defining the optimum partition given a set of segmentation variables
print.xtree.pls

Print function for the Pathmox Segmentation Trees: PLS-PM
print.xtree.reg

Print function for the Pathmox Segmentation Trees: linear regression and LAD
Fg.test.reg

Global test for the regression model
all.part.pls

Defining the candidates to the optimum partition for each of segmentation variables
element

Defining labels of a path coefficient.
f.min

Defining vector minimum position
plot.xtree.pls

Plot function for the Pathmox Segmentation Trees: PLS-PM
plot.xtree.reg

Plot function for the Pathmox Segmentation Trees: linaer regression and LAD
tree-class

tree class
treemodel

create method treemodel
mox.tree.pls

Resuming the tree attributes: it gives general information about the tree
node-class

node class
pls.pathmox

PATHMOX-PLS: Extended Segmentation Trees in Partial Least Squares Path Modeling
pls.treemodel

PLS-PM results of terminal nodes from the Pathmox Segmentation Trees
showDeepth

Calculating Deepth stop criterion
splitopt.pls

Defining optimum partition for a specific variable.
treemodelreg

create method treemodelreg
xtree.pls

create method xtree.pls