Learn R Programming

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

The R package 'fBasics' provides a collection of functions to explore and to investigate basic properties of financial returns and related quantities. The covered fields include techniques of explorative data analysis and the investigation of distributional properties, including parameter estimation and hypothesis testing. Even more there are several utility functions for data handling and management.

Package fBasics is part of the Rmetrics suite of R packages and is developed on R-forge at fBasics. The root of Rmetrics is at R-forge.

Installing fBasics

Install the latest stable version of fBasics from CRAN:

install.packages("fBasics")

You can install the development version of fBasics from R-forge:

install.packages("fBasics", repos = "http://R-Forge.R-project.org")

To report bugs visit Rmetrics.

Documentation

You can view the documentation of fBasics at fBasicsDoc or download the reference manual of the latest release from CRAN.

Copy Link

Version

Install

install.packages('fBasics')

Monthly Downloads

38,913

Version

4032.96

License

GPL (>= 2)

Last Published

November 3rd, 2023

Functions in fBasics (4032.96)

gldMode

Generalized Lambda Distribution Mode
gldRobMoments

Robust Moments for the GLD
ghtFit

GHT distribution fit
ghtMoments

Generalized Hyperbolic Student-t Moments
ghtRobMoments

Robust Moments for the GHT
ght

Generalized Hyperbolic Student-t distribution
ghSlider

Generalized Hyperbolic Distribution Slider
hypSlider

Hyperbolic distribution slider
hypRobMoments

Robust moments for the HYP
hyp

Hyperbolic distribution
hypFit

Fit a Hyperbolic distribution
sgh

Standardized Generalized Hyperbolic Distribution
ghtMode

Generalized Hyperbolic Student-t Mode
hypMode

Hyperbolic mode
hypMoments

Hyperbolic distribution moments
sghFit

Standardized GH distribution fit
gldFit

GH Distribution Fit
gld

Generalized Lambda Distribution
nigShapeTriangle

NIG Shape Triangle
nigRobMoments

Robust Moments for the NIG
colVec

Column and row vectors
ssd

Spline Smoothed Distribution
inv

The inverse of a matrix
snigFit

Fit of a Standardized NIG Distribution
kron

Kronecker product
fHTEST-class

Class "fHTEST"
fBasics-deprecated

Deprecated functions in package fBasics
ssdFit

Fit density using smoothing splines
pdl

Polynomial distributed lags
vec

Stacking vectors and matrices
nigMode

Normal Inverse Gaussian Mode
nigSlider

nigerbolic Distribution Slider
positiveDefinite

Positive definite matrices
normRobMoments

Robust moments for the Normal distribution
fBasics_reexports

Objects exported from other packages
nigMoments

Moments for the Normal Inverse Gaussian
acfPlot

Autocorrelation function plots
fDISTFIT-class

Class "fDISTFIT"
StableSlider

Slider GUI for Stable Distribution
BoxPlot

Time series box plots
tr

Trace of a matrix
rk

The rank of a matrix
QuantileQuantilePlots

Quantile-Quantile plots
triang

Upper and lower triangular matrices
akimaInterp

Bivariate Spline Interpolation
krigeInterp

Bivariate Krige Interpolation
linearInterp

Bivariate Linear Interpolation
ReturnSeriesGUI

Return series plots
HistogramPlot

Histogram and density plots
rowStats

Row statistics
sampleRobMoments

Robust moments for the GLD
varianceTest

Two sample variance tests
Heaviside

Heaviside and related functions
BasicStatistics

Basic time series statistics
sampleLMoments

Sample L-moments
correlationTest

Correlation tests
lcg

Generator for Portable random innovations
symbolTable

Table of symbols
print

Print control
volatility

Compute volatility
colorLocator

Named colors in R
TimeSeriesPlots

Financial time series plots
ks2Test

Two sample Kolmogorov-Smirnov test
locationTest

Two sample location tests
ScalingLawPlot

Scaling law behaviour
characterTable

Table of characters
colorPalette

Color palettes
Ids

Set and retrieve column/row names
tslag

Lagged or leading vector/matrix
maxdd

Drawdown statistics
nig

Normal Inverse Gaussian Distribution
colorTable

Table of colors
gridVector

Grid vector coordinates
snig

Standardized Normal Inverse Gaussian Distribution
sght

Standardized generalized hyperbolic Student-t Distribution
nigFit

Fit of a Normal Inverse Gaussian Distribution
pascal

Pascal matrix
hilbert

Hilbert matrix
NormalityTests

Tests for normality
norm

Matrix norm
decor

Functions for decorating plots
tsHessian

Two sided approximated Hessian
listFunctions

List exported functions in a package
scaleTest

Two sample scale tests
interactivePlot

Interactive Plot Utility
getS4

General S4 Class Extractor Functions
fBasicsData

fBasics data sets
ghMoments

Generalized Hyperbolic Distribution Moments
ghMode

Generalized Hyperbolic Mode
ghFit

GH Distribution Fit
fBasics-package

Portfolio modelling, optimization and backtesting
distCheck

Distribution check
gh

Generalized Hyperbolic Distribution
DistributionFits

Parametric fit of a distribution
ghRobMoments

Robust Moments for the GH
baseMethods

Generic functions extensions