Learn R Programming

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

26,949

Version

4041.97

License

GPL (>= 2)

Last Published

August 19th, 2024

Functions in fBasics (4041.97)

baseMethods

Generic functions extensions
gldMode

Generalized Lambda Distribution Mode
ghtFit

GHT distribution fit
gld

Generalized Lambda Distribution
gldRobMoments

Robust Moments for the GLD
ghtMoments

Generalized Hyperbolic Student-t Moments
ghtMode

Generalized Hyperbolic Student-t Mode
ghSlider

Generalized Hyperbolic Distribution Slider
gldFit

GH Distribution Fit
ghtRobMoments

Robust Moments for the GHT
ght

Generalized Hyperbolic Student-t distribution
nigMode

Normal Inverse Gaussian Mode
nig

Normal Inverse Gaussian Distribution
hypRobMoments

Robust moments for the HYP
hypFit

Fit a hyperbolic distribution
nigFit

Fit of a Normal Inverse Gaussian Distribution
hyp

Hyperbolic distribution
hypMode

Hyperbolic mode
hypSlider

Hyperbolic distribution slider
hypMoments

Hyperbolic distribution moments
nigMoments

Moments for the Normal Inverse Gaussian
nigRobMoments

Robust Moments for the NIG
nigSlider

nigerbolic Distribution Slider
snigFit

Fit of a Standardized NIG Distribution
sghFit

Standardized GH distribution fit
ssd

Spline Smoothed Distribution
sgh

Standardized Generalized Hyperbolic Distribution
normRobMoments

Robust moments for the Normal distribution
snig

Standardized Normal Inverse Gaussian Distribution
sght

Standardized generalized hyperbolic Student-t Distribution
nigShapeTriangle

NIG Shape Triangle
kron

Kronecker product
fBasics_reexports

Objects exported from other packages
colVec

Column and row vectors
fDISTFIT-class

Class "fDISTFIT"
inv

The inverse of a matrix
fBasics-deprecated

Deprecated functions in package fBasics
gridVector

Grid vector coordinates
hilbert

Hilbert matrix
ssdFit

Fit density using smoothing splines
fHTEST-class

Class "fHTEST"
pdl

Polynomial distributed lags
norm

Matrix norm
triang

Upper and lower triangular matrices
acfPlot

Autocorrelation function plots
vec

Stacking vectors and matrices
positiveDefinite

Positive definite matrices
rk

The rank of a matrix
pascal

Pascal matrix
tr

Trace of a matrix
tslag

Lagged or leading vector/matrix
krigeInterp

Bivariate Krige Interpolation
QuantileQuantilePlots

Quantile-Quantile plots
akimaInterp

Bivariate Spline Interpolation
BoxPlot

Time series box plots
ReturnSeriesGUI

Return series plots
StableSlider

Slider GUI for Stable Distribution
HistogramPlot

Histogram and density plots
ScalingLawPlot

Scaling law behaviour
TimeSeriesPlots

Financial time series plots
BasicStatistics

Basic time series statistics
NormalityTests

Tests for normality
linearInterp

Bivariate Linear Interpolation
scaleTest

Two sample scale tests
locationTest

Two sample location tests
sampleRobMoments

Robust moments for the GLD
colorTable

Table of colors
maxdd

Drawdown statistics
tsHessian

Two sided approximated Hessian
sampleLMoments

Sample L-moments
varianceTest

Two sample variance tests
rowStats

Row statistics
Ids

Set and retrieve column/row names
ks2Test

Two sample Kolmogorov-Smirnov test
colorPalette

Color palettes
getS4

General S4 Class Extractor Functions
symbolTable

Table of symbols
decor

Functions for decorating plots
colorLocator

Named colors in R
Heaviside

Heaviside and related functions
characterTable

Table of characters
lcg

Generator for Portable random innovations
print

Print control
correlationTest

Correlation tests
volatility

Compute volatility
interactivePlot

Interactive Plot Utility
listFunctions

List exported functions in a package
gh

Generalized Hyperbolic Distribution
ghRobMoments

Robust Moments for the GH
ghFit

GH Distribution Fit
fBasics-package

Portfolio modelling, optimization and backtesting
ghMode

Generalized Hyperbolic Mode
distCheck

Distribution check
fBasicsData

fBasics data sets
ghMoments

Generalized Hyperbolic Distribution Moments
DistributionFits

Fit normal, Student-t and stable distributions