Learn R Programming

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

CorReg (version 0.15.8)

Linear regression based on linear structure between covariates

Description

Linear regression based on a recursive structural equation model (explicit correlations) found by a MCMC algorithm. It permits to face highly correlated covariates. Variable selection is included (by lasso, elasticnet, etc.). It also provides some graphical tools for basic statistics.

Copy Link

Version

Install

install.packages('CorReg')

Monthly Downloads

58

Version

0.15.8

License

CeCILL

Maintainer

Clement THERY

Last Published

November 4th, 2014

Functions in CorReg (0.15.8)

R2Z

Estimates R2 of each subregression
ProbaZ

Probability of Z without knowing the dataset. It also gives the exact number of binary nilpotent matrices of size p.
BicZcurve

Curve of the BIC for each possible p2 with a fixed Z and truncature of Z
hatB

Estimates B matrix
Estep

Imputation of missing values knowing alpha (E step of the EM)
readZ

read the structure and explain it
Terminator

Destructing values to have missing ones
compare_sign

compare signs of the coefficients in two vectors
density_estimation

BIC of estimated marginal gaussian mixture densities
CVMSE

Cross validation
correg

Estimates the response variable using a structure
cleancolZ

clean Z columns (if BIC improved)
mixture_generator

Gaussiam mixture dataset generator with regression between the covariates
compare_struct

To compare structures (Z)
WhoIs

Give the partition implied by a structure
cleanZ

clean Z (if BIC improved)
showdata

show the missing values of a dataset
cleanZR2

To clean Z based on R2
confint_coef

plot and give confidence intervals on the coefficients estimated in a model or for proportions
BicZ

Compute the BIC of a given structure
OLS

Ordinary Least Square efficiently computed with SEM for missing values
fillmiss

Fill the missing values in the dataset
searchZ_sparse

Sparse structure research
compare_zero

compare 0 values in two vectors
MSEZ

Computes the MSE on the joint distribution of the dataset
structureFinder

MCMC algo to find a structure between the covariates
CorReg-package

Algorithms for regression with correlated covariates
rforge

Upgrades a package to the lastest version on R-forge
compare_beta

compare signs of the coefficients in two vectors
MSE_loc

simple MSE function
Winitial

initialization based on a wheight matrix (correlation or other)
readY

a summary-like function
matplot_zone

draws matplot with conditionnal background for easier comparison of curves.
recursive_tree

decision tree in a recursive way
cleanYtest

Selection method based on p-values (coefficients)
Y_generator

Response variable generator with a linear model