Package: RcmdrPlugin.RiskDemo 3.2

RcmdrPlugin.RiskDemo: R Commander Plug-in for Risk Demonstration

R Commander plug-in to demonstrate various actuarial and financial risks. It includes valuation of bonds and stocks, portfolio optimization, classical ruin theory, demography and epidemic.

Authors:Arto Luoma

RcmdrPlugin.RiskDemo_3.2.tar.gz
RcmdrPlugin.RiskDemo_3.2.zip(r-4.5)RcmdrPlugin.RiskDemo_3.2.zip(r-4.4)RcmdrPlugin.RiskDemo_3.2.zip(r-4.3)
RcmdrPlugin.RiskDemo_3.2.tgz(r-4.4-any)RcmdrPlugin.RiskDemo_3.2.tgz(r-4.3-any)
RcmdrPlugin.RiskDemo_3.2.tar.gz(r-4.5-noble)RcmdrPlugin.RiskDemo_3.2.tar.gz(r-4.4-noble)
RcmdrPlugin.RiskDemo_3.2.tgz(r-4.4-emscripten)RcmdrPlugin.RiskDemo_3.2.tgz(r-4.3-emscripten)
RcmdrPlugin.RiskDemo.pdf |RcmdrPlugin.RiskDemo.html
RcmdrPlugin.RiskDemo/json (API)

# Install 'RcmdrPlugin.RiskDemo' in R:
install.packages('RcmdrPlugin.RiskDemo', repos = c('https://arolluom.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Datasets:

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

1.60 score 20 scripts 728 downloads 48 exports 198 dependencies

Last updated 10 months agofrom:91f17d8e17. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 03 2024
R-4.5-winOKNov 03 2024
R-4.5-linuxOKNov 03 2024
R-4.4-winOKNov 03 2024
R-4.4-macOKNov 03 2024
R-4.3-winOKNov 03 2024
R-4.3-macOKNov 03 2024

Exports:bondCalcbondCurvebondDialogbondFigurebondPricecasesDialogcasesDialogFincomputeLifetablecomputeRuincomputeRuinFinitecovidSmoothdrawBarsdrawBarsFindrawFiguredrawIncidencedrawIncidenceFindrawPositiveRatedrawRuindrawTestsestimateDemogmodelforecastDemogdataforecastDialogFinforecastPopulationincidenceDialogincidenceDialogFininvertSpecialloglikCovidplot.lcaplotDemogdataplotForecastplotRpop.predpOptpOptGenportfolioOptportfOptimportOptrepelreturnsreturns.simruinDialogsolveLundsolveYieldstock.pricestockPricetestsDialogupdateCovidDataviewDemogdata

Dependencies:abindashaskpassbackportsbase64encbitbit64bitopsbootbroombslibcachemcarcarDatacellrangercheckmateclassclicliprclustercobscolorspacecowplotcpp11crayoncurlcvardata.tableDBIdemographyDerivdeSolvedigestdoBydplyre1071ecpeffectsestimabilityevaluateevgamfansifarverfastICAfastmapfBasicsfdafdapacefdsfGarchFNNfontawesomeforcatsforecastforeignFormulafracdifffsftsagbutilsgenericsgeometryggplot2glueGPArotationgridExtragssgtablehavenhdrcdehighrHMDHFDplusHmischmshtmlTablehtmltoolshtmlwidgetshttrinsightisobandjanitorjquerylibjsonlitekernlabKernSmoothknitrkslabelingLaplacesDemonlatticelifecyclelinproglme4LmomentslmtestlocfitlpSolvelubridatemagicmagrittrMASSMatrixMatrixModelsmclustmemoisemgcvmicrobenchmarkmimeminqamitoolsmnormtmodelrmulticoolmunsellmvtnormnlmenloptrnnetnortestnumDerivopensslpbkrtestpcaPPpdfClusterpillarpkgconfigpracmaprettyunitsprogressproxypsychpurrrquadprogquantmodquantregR6rainbowrappdirsrbibutilsRcmdrRcmdrMiscRColorBrewerRcppRcppArmadilloRcppEigenRcppProgressRCurlRdpackreadrreadstata13readxlrelimprematchrlangrmarkdownROOPSDrpartrstudioapirvestsandwichsassscalessdeselectrsnakecaseSparseMspatialstablediststringistringrstrucchangesurveysurvivalsystcltk2tibbletidyrtidyselecttimechangetimeDatetimeSeriestinytextseriesTTRtzdburcautf8varsvctrsviridisviridisLitevroomwithrxfunxml2xtsyamlzoo

Readme and manuals

Help Manual

Help pageTopics
R Commander Plug-in for Risk DemonstrationRcmdrPlugin.RiskDemo-package RcmdrPlugin.RiskDemo
Drawing forward and yield curvesbondCurve
Bond price as a function of interest rate.bondFigure
Computing bond pricesbondPrice
Ruin probability computation with infinite time horizoncomputeRuin
Ruin probability computation with finite time horizoncomputeRuinFinite
Mortality datacountries.mort
Kalman smoothing of the covid modelcovidSmooth
COVID-19 statisticsdataCovid
Confirmed COVID-19 cases in FinlanddataCovidFin
Plotting epidemic statisticsdrawBars
Plotting epidemic statistics with Finnish datadrawBarsFin
Efficient frontier and return distribution figuresdrawFigure
Plotting incidence curves of an epidemicdrawIncidence
Plotting incidence curves of an epidemic with Finnish datadrawIncidenceFin
Plotting the positive rate of COVID-19 tests or the tests per casedrawPositiveRate
Plotting simulations of a surplus processdrawRuin
Plotting time series related to COVID-19 testingdrawTests
Mortality data for Finlandfin
Finnish mortality forecastfin.fcast
Lee-Carter model fit for Finnish datafin.lca
Computing the log-likelihood of the covid modelloglikCovid
Yield curve parameter dataparams
Forecasting new covid casesplotForecast
Plotting the effective reproduction number (R)plotR
Population forecastingpop.pred
Population data on Finnish hospital districtspopRegionsFin
Portfolio optimization for an index modelportfOptim
Computing expected returns and their covariance matrixreturns
Solving Lund's exponentsolveLund
Computing bond yieldssolveYield
Computing stock pricesstock.price
Stock datastockData