Package: GJRM 0.2-6.5

GJRM: Generalised Joint Regression Modelling

Routines for fitting various joint (and univariate) regression models, with several types of covariate effects, in the presence of equations' errors association, endogeneity, non-random sample selection or partial observability.

Authors:Giampiero Marra <[email protected]> and Rosalba Radice <[email protected]>

GJRM_0.2-6.5.tar.gz
GJRM_0.2-6.5.zip(r-4.5)GJRM_0.2-6.5.zip(r-4.4)GJRM_0.2-6.5.zip(r-4.3)
GJRM_0.2-6.5.tgz(r-4.4-any)GJRM_0.2-6.5.tgz(r-4.3-any)
GJRM_0.2-6.5.tar.gz(r-4.5-noble)GJRM_0.2-6.5.tar.gz(r-4.4-noble)
GJRM_0.2-6.5.tgz(r-4.4-emscripten)GJRM_0.2-6.5.tgz(r-4.3-emscripten)
GJRM.pdf |GJRM.html
GJRM/json (API)

# Install 'GJRM' in R:
install.packages('GJRM', repos = c('https://giampmarra.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.

165 exports 4 stars 2.05 score 58 dependencies 5 dependents 2 mentions 69 scripts 954 downloads

Last updated 8 months agofrom:e6fe1de223. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 23 2024
R-4.5-winOKAug 23 2024
R-4.5-linuxOKAug 23 2024
R-4.4-winOKAug 23 2024
R-4.4-macOKAug 23 2024
R-4.3-winOKAug 23 2024
R-4.3-macOKAug 23 2024

Exports:adjCovadjCovSDapprox.CLMass.dpass.msATBCDFbcontSurvG_extendedbcontSurvGuniv_ExcessHazardbcontSurvGunivI_ExcessHazardbcontSurvGunivInformbcontSurvGunivL_ExcessHazardbcontSurvGunivMIXED_ExcessHazardbcontSurvGunivMIXED_ExcessHazard_LeftTruncationbcontSurvGunivMIXED_LeftTruncationbCopulaCLMgHsContbCopulaCLMgHsOrdbcorrecbcorrecDiscrBiCDFbprobgHsbprobgHsBinROYbprobgHsCont2ROYbprobgHsCont3ROYbprobgHsContUnivbprobgHsDiscr1ROYbprobgHsDiscr2ROYbprobgHsPObprobgHsSSbprobgHstwoParCconv.checkcopgHscopgHs2copgHs3copgHsATcopgHsContcopula.probCopulaCLMcopulaReg.fit.postcopulaSampleSelcopulaSampleSel.fit.postcv.informdistrHsdistrHsATdistrHsAT1distrHsATDiscrdistrHsATDiscr2distrHsDiscrdof.trDpensDpens2edf.loopenu.tresp.treta.trform.checkform.eq12g.trig.triESSg.triSSgamlssgamlss.fit.postggm.Derivggm.DerivOPT1ggm.DerivOPT2ggmtrustggmtrust.pathgjrmgt.bpmH.trihazsurvimputeCounterimputeSSinform.setupint.postcheckintBllpsiLM.bpmlmclogLik.ggmtrustlogLik.lmclogLik.SemiParBIVmbmice.impute.copulaSSmmmmfnumchnumghORoverall.svoverall.svGPDefPEpenplot.SemiParBIVpolys.mappolys.setupPosDefCorpost.checkpostVbpppream.wmpred.gppred.mvtpred.varpredict.CopulaCLMpredict.SemiParBIVprevprint.ATprint.copulaSampleSelprint.gamlssprint.gjrmprint.mbprint.ORprint.PEprint.prevprint.RRprint.SemiParBIVprint.SemiParROYprint.SemiParTRIVprint.summary.copulaSampleSelprint.summary.gamlssprint.summary.gjrmprint.summary.SemiParBIVprint.summary.SemiParROYprint.summary.SemiParTRIVprobmprobmSpscrpscr0pTweedr.respresp.checkresp.CLMrICrMVNrob.constrob.intRRS.mSemiParBIVSemiParBIV.fitSemiParBIV.fit.postSemiParROYSemiParROY.fit.postSemiParTRIVSemiParTRIV.fit.postsim.respSSstartsnsummary.copulaSampleSelsummary.gamlsssummary.gjrmsummary.SemiParBIVsummary.SemiParROYsummary.SemiParTRIVsurvExcIndsusususutsnteta.trtriprobgHsvis.gjrmVuongClarkeworking.compXdpred

Dependencies:abindADGofTestclicolorspacecopulaDBIevdfansifarvergamlss.distggplot2gluegmpGPArotationgslgtableismevisobandlabelinglatticelifecyclemagicmagrittrMASSMatrixmatrixStatsmgcvminqamitoolsmnormtmunsellmvtnormnlmenumDerivpcaPPpillarpkgconfigpsplinepsychR6RColorBrewerRcppRcppArmadillorlangRmpfrscalesscamstabledistsurveysurvivaltibbletrustutf8vctrsVGAMVineCopulaviridisLitewithr

Readme and manuals

Help Manual

Help pageTopics
Generalised Joint Regression ModellingGJRM-package
Adjustment for the covariance matrix from a fitted gjrm modelaCov adjCov
Adjustment for the covariance matrix from a gjrm model fitted to complex survey data.adjCovSD
AREDSareds
Average treatment effect of a binary/continuous/discrete endogenous variableAT
Internal FunctionBCDF BiCDF
Internal Functionbcont bcont23 bcont3 bcont32 bcontROB ggm.Deriv
Internal Functionbdiscrcont bdiscrcont12 bdiscrcont13 bdiscrcont23
Internal Functionbdiscrdiscr11 bdiscrdiscr12
Internal FunctionbprobgHs bprobgHsBinROY bprobgHstwoParC
Internal FunctionbCopulaCLMgHsCont bCopulaCLMgHsOrd bprobgHsCont bprobgHsCont2ROY bprobgHsCont3 bprobgHsCont3binTW bprobgHsCont3ROY
Internal FunctionbprobgHsCont3binTWSS bprobgHsCont3SS bprobgHsContSS
Internal FunctionbcontSurvGunivI bcontSurvGunivInform bcontSurvGunivI_ExcessHazard bcontSurvGunivL bcontSurvGunivL_ExcessHazard bcontSurvGunivMIXED bcontSurvGunivMIXED_ExcessHazard bcontSurvGunivMIXED_ExcessHazard_LeftTruncation bcontSurvGunivMIXED_LeftTruncation bcontSurvGuniv_ExcessHazard bcontSurvG_extended bprobgHsContUniv bprobgHsContUniv3 bprobgHsContUnivBIN
Internal FunctionbprobgHsDiscr1 bprobgHsDiscr1ROY bprobgHsDiscr2 bprobgHsDiscr2ROY
Internal FunctionbprobgHsDiscr1SS bprobgHsDiscr2SS
Internal FunctionbprobgHsPO bprobgHsPO0
Internal FunctionbprobgHsSS
Some convergence diagnosticsconv.check
Internal FunctioncopgHs copgHs2 copgHs3 copgHsAT copgHsCond copgHsCont
Copula probabilities (joint and conditional) from a fitted simultaneous modelcopula.prob jc.probs1 jc.probs2 jc.probs3 jc.probs4 jc.probs5 jc.probs6 jc.probs7 jc.probs8
Internal fitting functionCopulaCLM
Internal fitting functioncopulaSampleSel
Cross validation for informative censoring univariate survival modelscv.inform
Internal FunctiondistrExIntegrate distrHs distrHsAT distrHsAT1 distrHsATDiscr distrHsATDiscr2 distrHsDiscr
Differentiable penaltiesDpens
Internal Functionapprox.CLM ass.dp bcorrec bcorrecDiscr bcorrecFuncs Cop1Cop2 cov.c dof.tr Dpens2 enu.tr esp.tr eta.tr form.eq12 gamls.upsv ggm.DerivOPT1 ggm.DerivOPT2 ggmtrust.path inform.setup intB mice.impute.copulaSS mmf overall.sv overall.svG PDef PosDefCor pp pream.wm probmS pscr pscr0 pTweed r.resp Reg2Copost resp.CLM rIC sim.resp SS startsn survExcInd susu susutsn teta.tr vis.gam2 Xdpred
Internal Functiong.tri g.triESS g.triSS
Generalised Additive Models for Location, Scale and Shapegamlss
Fitted gamlssObject objectgamlssObject
ggmtrust for penalised networkggmtrust
Generalised Joint Regression Models with Binary/Continuous/Discrete/Survival Marginsgjrm
Fitted gjrm objectgjrmObject
Gradient testgt.bpm
Internal FunctionH.tri H.triESS H.triSS
Post-estimation calculation of hazard, cumulative hazard and survival functionshazsurv
HIV Zambian datahiv hiv.polys
Imputation of CounterfactualimputeCounter
Missing values' imputationimputeSS
Internal Functionllpsi
Lagrange Multiplier Test (Score Test)LM.bpm
Linear Model Fitting with Constraintslmc
Extract the log likelihood for a fitted copula modellogLik.ggmtrust logLik.lmc logLik.SemiParBIV
Nonparametric (worst-case and IV) Manski's boundsmb
MEPS datameps
Internal Functionmm numch numgh
Causal odds ratio of a binary/continuous/discrete endogenous variableOR
Partial effect from a binary bivariate modelPE
Internal Functionpen penCor
Plotting functionplot.SemiParBIV
Geographic map with regions defined as polygonspolys.map
Set up geographic polygonspolys.setup
Diagnostic plots for discrete/continuous response marginint.postcheck post.check
Function to predict quantiles from GP and DGP distributionspred.gp
Function to predict mean and variance of marginal distributions, as well as Kendall's taupred.mvt
Prediction functionpredict.CopulaCLM
Prediction functionpredict.SemiParBIV
Estimated overall prevalence from sample selection modelprev
Print an AT objectprint.AT
Print a copulaSampleSel objectprint.copulaSampleSel
Print a gamlss objectprint.gamlss
Print a gjrm objectprint.gjrm
Print an mb objectprint.mb
Print an OR objectprint.OR
Print an PE objectprint.PE
Print an prev objectprint.prev
Print an RR objectprint.RR
Print a SemiParBIV objectprint.SemiParBIV
Print a SemiParROY objectprint.SemiParROY
Print a SemiParTRIV objectprint.SemiParTRIV
Internal Functionprobm
Internal FunctionregH
Plots for response variableresp.check
Multivariate Normal VariatesrMVN
Bootstrap procedure to help select the robust constant in a GAMLSSrob.const
Tool for tuning bounds of integral in robust modelsrob.int
Causal risk ratio of a binary/continuous/discrete endogenous variableRR
Internal FunctionS.m
Internal fitting functionSemiParBIV
Internal FunctionSemiParBIV.fit
Internal Functionass.ms copulaReg.fit.post copulaSampleSel.fit.post edf.loop form.check gamlss.fit.post postVb pred.var SemiParBIV.fit.post SemiParROY.fit.post SemiParTRIV.fit.post
Internal fitting functionSemiParROY
Internal fitting functionSemiParTRIV
copulaSampleSel summaryprint.summary.copulaSampleSel summary.copulaSampleSel
gamlss summaryprint.summary.gamlss summary.gamlss
gjrm summaryprint.summary.gjrm summary.gjrm
SemiParBIV summaryprint.summary.SemiParBIV summary.SemiParBIV
SemiParROY summaryprint.summary.SemiParROY summary.SemiParROY
SemiParTRIV summaryprint.summary.SemiParTRIV summary.SemiParTRIV
Internal FunctionTRIapprox
Internal FunctiontriprobgHs triprobgHsESS triprobgHsSS
Visualization functionvis.gjrm
Vuong and Clarke testsVuongClarke
Civil war datawar
Internal Functionworking.comp