Package: xreg2 0.1.4

Kim Rand

xreg2: Flexible Maximum Likelihood Regression with Gradient-Based Optimisation

Fits flexible maximum likelihood regression models supporting censored, interval, and hybrid continuous/dichotomous data. Provides explicit analytic and numerical gradient computation, random intercept models via Gauss-Hermite quadrature, and multiple distribution families.

Authors:Kim Rand [aut, cre]

xreg2_0.1.4.tar.gz
xreg2_0.1.4.zip(r-4.7)xreg2_0.1.4.zip(r-4.6)xreg2_0.1.4.zip(r-4.5)
xreg2_0.1.4.tgz(r-4.6-any)xreg2_0.1.4.tgz(r-4.5-any)
xreg2_0.1.4.tar.gz(r-4.7-any)xreg2_0.1.4.tar.gz(r-4.6-any)
xreg2_0.1.4.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
xreg2/json (API)

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

Bug tracker:https://github.com/mathsinhealth/xreg2/issues

On CRAN:

Conda:

2.00 score 414 downloads 53 exports 2 dependencies

Last updated from:3496e82b03. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK108
source / vignettesOK145
linux-release-x86_64OK151
macos-release-arm64OK139
macos-oldrel-arm64OK207
windows-develOK75
windows-releaseOK67
windows-oldrelOK72
wasm-releaseOK91

Exports:AREARE_conformcombmeancombmeanscombmssdscombsdcombsdscomp_tableerMAXfisher_iccfixdistgetdgetfgetMeangetpgetqgetrgetSDgetVaris.wholenumberjust_CCCLCCCMAEMAPEMAREMBEordDordEordEppRMSEquant_funquant_fun_groupsquant_funsquant_funs_groupsquant_funstReMSEReMSE_conformRMSERMSRErRMSEt_test2tstatU95xreg2_contxreg2_cont_normalxreg2_cont_r_lnormxreg2_cont_r_normalxreg2_controlxreg2_dich_logisticxreg2_fitxreg2_fit_sxreg2_hyregxreg2_optim

Dependencies:numDerivucminf

Readme and manuals

Help Manual

Help pageTopics
AIC for an xreg2 ModelAIC.xreg2
Average Relative ErrorARE ARE.data.frame ARE.matrix ARE.numeric ARE_conform
BIC for an xreg2 ModelBIC.xreg2
Combine xreg2 Control Objectsc.xreg2Control c.xreg2ControlList
Combined mean of two groupscombmean
Combined mean of multiple groupscombmeans
Combined mean, SD and n for multiple groupscombmssds
Combined standard deviation of two groupscombsd
Combined SD of multiple groupscombsds
Comparison Tablecomp_table
Maximum Absolute Relative ErrorerMAX erMAX.data.frame erMAX.matrix erMAX.numeric
Fisher's ICCfisher_icc fisher_icc.data.frame fisher_icc.matrix fisher_icc.numeric
Standardise Distribution Namefixdist
Get Distribution Functiongetd getf getp getq getr
Mean of a distributiongetMean
Standard deviation of a distributiongetSD
Variance of a distributiongetVar
Test for Whole Numberis.wholenumber
Lin's CCC (simplified)just_CCC just_CCC.data.frame just_CCC.matrix just_CCC.numeric
Lin's Concordance Correlation CoefficientLCCC
Mean Absolute ErrorMAE MAE.data.frame MAE.matrix MAE.numeric
Mean Absolute Relative Error (MARE / MAPE)MAPE MARE MARE.data.frame MARE.matrix MARE.numeric
Mean Bias ErrorMBE MBE.data.frame MBE.matrix MBE.numeric
Order Statistic DensityordD
Order Statistic Expected ValueordE
Order Statistic Expected ProbabilitiesordEp
Predict from an xreg2 Modelpredict.xreg2
Print an xreg2 Modelprint.xreg2
Quantile Summaryquant_fun
Quantile Summaries by Groupquant_funs_groups quant_fun_groups
Quantile Summaries (Matrix)quant_funs
Transposed Quantile Summaries (Matrix)quant_funst
Relative Mean Squared ErrorReMSE ReMSE.data.frame ReMSE.matrix ReMSE.numeric ReMSE_conform
Root Mean Square ErrorpRMSE RMSE RMSE.data.frame RMSE.matrix RMSE.numeric rRMSE
Root Mean Square Relative ErrorRMSRE RMSRE.data.frame RMSRE.matrix RMSRE.numeric
Summarise an xreg2 Modelsummary.xreg2
Two-Sample t-Test from Summary Statisticst_test2
t-Statistictstat tstat.data.frame tstat.matrix tstat.numeric
Uncertainty at 95 PercentU95 U95.data.frame U95.matrix U95.numeric
General Continuous Negative Log-Likelihoodxreg2_cont
Continuous Normal Negative Log-Likelihoodxreg2_cont_normal
Continuous Log-Normal Negative Log-Likelihood with Random Interceptxreg2_cont_r_lnorm
Continuous Normal Negative Log-Likelihood with Random Interceptxreg2_cont_r_normal
Create xreg2 Control Objectxreg2_control
Dichotomous Logistic Negative Log-Likelihoodxreg2_dich_logistic
Fit xreg2 Modelxreg2_fit
Fit xreg2 Model from Pre-Structured Dataxreg2_fit_s
Hybrid Regression (xreg2 version)xreg2_hyreg
Optimise an xreg2 Modelxreg2_optim