NEWS
frailtypack 3.6.5 (2024-12-14)
- Change in the name of some arguments in the functions jointSurroPenal, plot.jointSurroMed and summary.jointSurroMed to be more consistent with the literature.
frailtypack 3.6.4 (2024-11-15)
- Bug fixes in the function plot.longiPenal
frailtypack 3.6.3 (2024-10-19)
- Correction of an issue in likelihood for joint model with longitidunal outcome where penalization term was not applied
frailtypack 3.6.2 (2024-07-07)
- Correction of warnings during compilation stage of the package.
frailtypack 3.6.1 (2024-06-27)
- Corrections for the compilation of the package, regarding OMP specification in joint_longi.f90 and pointer variable declaration in fortran_random.c and frailtypack.h
- Corrections of compilation warnings
- Some examples with a long runtime have been placed within the \dontrun function.
frailtypack 3.6.0 (2024-03-15)
- New function (jointRecCompet) to fit a frailty model with one recurrent event and two terminal events.
- New mediation analysis approach (using proportion of treatment effect) implemented in the longiPenal function.
- Modifications for the functions print.longiPenal, plot.longiPenal and summary.longiPenal to accommodate this new approach.
frailtypack 3.5.1 (2023-11-25)
- Minor syntax updates in man files.
- Minor bugs in demo scripts fixed: problems with capital letters.
- Replacement of fortran random numbers and random seeds by random number and random seed functions generators in C.
- Update of the CITATIONS file, replacing citentry by bibentry.
- Modifications in Integrale_mult_scl.f90, Integrant_scl.f90, joint_longi.f90 to avoid OMP reduction issue with flang-new when submitting on CRAN.
- Replacement of kind(4) or kind(8) by kind(1.0) for integers and kind(1.0d0) for double precision.
- Add \value in num.id.Rd and SurvIC.Rd to explain function results.
- Update of DESCRIPTION file, replacing Author by Authors@R. Also add copyrights authors with 'cph' role.
- Add a commentary on frailtypenal.rd for demo file.
- Change of every 'dontrun' of folder in 'donttest'.
frailtypack 3.5.0 (2021-12-20)
- New model based on a mediation analysis approach added in the jointSurroPenal() function.
Added two functions (plot.jointSurroMed and summary.jointSurroMed) associated with this model.
frailtypack 3.4.0 (2021-06-16)
- New generalized shared and joint frailty models for recurrent and terminal events.
(Proportional and additive hazard, proportional odds and probit models)
- In the jointSurroPenal() function, removing the example based on the adjuvant chemotherapy and resectable gastric cancer meta-analysesovarian, due to the high computing time it needs.
frailtypack 3.3.2 (2020-10-14)
- Fixed an important error in the new marginal two-part joint model.
- Fixed an issue with the Cholesky matrix for the Monte-Carlo integration.
- Fixed a rank mismatch for the random variable 'Xea'.
- Default value for the seed of the Monte-Carlo integration is now 1.
- Bugg fixed in the function loocv.summary(). This corrects the wrong results displays in the loocv.summary output of the jointSurroPenalloocv object from the function loocv()
frailtypack 3.3.0 (2020-06-15)
- New model added: marginal two-part joint model (part of longiPenal function) for a longitudinal semicontinuous marker and a terminal event.
- Lognormal distribution is now available for the continuous part of the conditional two-part joint model (semicontinuous biomarker) and the standard one-part joint model (continuous biomarker).
- Add the possibility to fix the intercept in the binary part of the two-part joint models.
- Bug fixed in the computation of ste. Actually, by solving the equation representing the upper limit of the prediction interval of the treatment effects on T based on the observed treatment effects on S equals to 0 [u(beta_So = 0)], it is possible to find 2 solutions and then two potential values for STE. Depending on the shape of the function, different interpretations of possible values can be considered. We update the R functions ste(), plotTreatPredJointSurro() and the S3method summary.jointSurroPenal() in order to take into account this remark.
- We have limited the display of the S3method summary.jointSurroPenal() to the estimate of the treatment effects and the surrogacy evaluation crieria. We defined the S3method print.jointSurroPenal() to allow a complete display of the model outputs. The outputs included smoothing parameters and the number of spline nodes used to reach convergence.
- Update of the R function loocv() in order to return the list of the G models obtained after deleting for the i-th trial during the loocv process. In addition we return the dataframe of the estimates of the G models. Each raw include the results without the subjets of the given trial.
- Update of the arguments of the S3methods plot.jointSurroPenalloocv() and predict.jointSurroPenal().
- Bug fixed in the S3method summary.jointSurroPenal(). It is no more possible to change the integration method during the call of the function.
- Bug fixed in the value of kappa return in the object of class "jointSurroPenal". The current value is that used for the convergence of the model if applicable.
frailtypack 3.2.0 (2020-04-12)
- Update of the S3method predict.jointSurroPena(). We have included a plot of the predicted treatment effects on the true endpoint (with the prediction intervals) given the observed treatment effects on the surrogate endpoint and an object from the joint surrogate model. We have included the function plot.predict.jointSurroPenal()
- Update of the S3method predict.jointSurroPenal(). Allows the possibility of prediction based on the observed treatment effect on the surrogate endpoint. This means, no need for individual patient data in the new trial. In addition, bug fixed on the outputs of this function when the new dataset is provided.
- We rewrote the column name patienID in the argument data for jointSurroPenal() function as patientID
- By default, in the data generation, the progression times are consored by the death time. This update allow to consider as surrogate endpoint the progression free survival (PFS) or Desease free survivall (DFS), or time-to- progression (TTP). This update is motivated by the surrogacy framework.
- Update of the threshold for the classification of R2_trial. the previous classification was for the coefficient of correlation (R)
- Added the possibility when summarizing the results of the simulation studies, to display the bias and the MSE for kendall Tau and R2
- Inclusion of the nb.reject.dataset argument in the jointSurroPenalSimul() R function to allow simulations to be performed by considering multiple data packets.
- Add of the argument printResult in the S3 method summary.jointSurroPenal.simul() to manage the display of the results after the summary. This function currently returns a dataframe of the simulations results
- Bug fixed in the jointSurroPenalSimul() R function for the parameters of the jointSurrSimul() function, when one generate data to estimate kappas by cross validation. Some parameters were taken let fixed by default. Argument "cor" is set to "sqrt(R2)"
- New model added: Joint frailty-copula models for the validation of surrogate endpoints in multiple randomized clinical trials with failure-time endpoints (vignettes file updated)
- Rename of the argument "rsqrt" in the jointSurrSimul() function by "cor".
frailtypack 3.1.0 (2020-01-16)
- New model added: two-part joint model (part of longiPenal function) for a longitudinal semicontinuous marker and a terminal event.
- Add Monte-Carlo integration method for joint models longitudinal/terminal event (longiPenal function)
- Bug fixed in the S3method plot() associated with the object of class additivePenal. In the previous version it was not possible to call the S3method plot() on this object.
frailtypack 3.0.3.3
- Add of the shiny application for frailtypack : the runShiny() function will run the application in a local mode.
- Add of parameter 'nb.gh' in frailtyPenal, in order to chose the number of nodes for the Gaussian-Hermite quadrature
- Correction of a small error in trivPenalNL documentation
- Correction of several warnings appearing during check
frailtypack 3.0.3.2 (2019-05-16)
- Correction of warnings during installation of package
- Bug fixed for printing results of longiPenal, trivPenal and trivPenalNL
- Add of the median survival
- Bug fixed when characters are used in data for prediction
- Rename gammaJ as logGammaJ
- Error message for a bad use of jointGeneral
frailtypack 3.0.3.1 (2019-03-04)
- Bug fixed in subroutines Fortran for the computation of integrals using the Pseudo-adaptive Gaussian Hermite quadrature. Due to incorrect assignment of memory (variable V_i and V in the subroutines funcpajsplines_surrogate, funcpafrailtyPred_Essai and MC_Gauss_MultInd_Essai), the program encountered in the previous version a fatal error with Windows OS. However, this problem did not impact model estimates based on other OS.
- Add of the R function loocv() for the leave-one-out crossvalidation to evaluate the joint surrogate model
- Add of the function to use to predict the treatment effect on the true endpoint basing on the treatment effect observed on te surrogate endpoint
- Add of the function to use to compute the surrogate threshold effect (STE)
- Upadate of the values of the function jointSurroPenal() and jointSurroPenalSimul(). Several other values are returned to these function.
- Update of the subroutine Fortran jointsurrogate(). Computation of the variance-covariance matrix for the estimates of the variance-covariance parameters of the random effect treatment-by-trial interaction using the delta-method. we also return in this function the dataframes for the estimates and their variance-covariance matrices.
- Update of the output of the R function summary.jointSurroPenal(). Categorization of the Correlation strength at trial level. We also compute and display the STE in this function.
- Parameters "indice.zeta and "indice.alpha" in the R functions jointSurroPenal and jointSurrPenalSimul are renamed by "indicator.zeta" and "indicator.alpha"
frailtypack 3.0.2 (2018-12-10)
- Bug fixed in the file aaOptim_New_scl.o, aaOptim_New_scl2.o and aaOptim_SCL_0.o: module type definition remove, already defined in the file aaOptim.o
- Bug fixed in function jointSurroPenal: an error occurs in case of convergence issue. it is corrected now
- Argument color remove in the function plot.jointSurroPenal
frailtypack 3.0.1 (2018-11-26)
- New model added: Joint frailty models for the validation of surrogate endpoints in multiple randomized clinical trials with failure-time endpoints (vignettes file updated)
- Parsing all the Rd files under the man directory and updating the corresponding R source code by inserting roxygen documentation into the R scripts
- Bug fixed in summary function for jointNestedPenal when alpha or ksi is not included in the model and JointPenal when alpha is not included in the model
- Bug fixed for predictions from joint nested frailty models with data with different values of covariates for a given individuals
- Bug fixed for confidence intervals of predictions from joint nested frailty models without one or two power parameters (alpha, ksi) included in the model
- Bug fixed for displaying for baseline hazard function (lam) for Piecewise hazard functions in frailtyPenal
- Bug fixed for trivPenalNL: missing parenthesis was leading to an error when adjusting on covariates in KG part
- Modification in longiPenal: Switch optimizer from nlminb to optim (BFGS) to get the initial values for pseudo-adaptive quadrature (better convergence rates)
- Modification of the writing of the p-value
- Bug fixed in the Fortran subroutines percentile, percentile2 and percentile3: change in the subroutine to account for vector overflows + update of the percentile formula
frailtypack 2.13.2 (2018-09-25)
- Bug fixed for predictions for prediction data with only one observation per individual
frailtypack 2.13.1 (2018-09-17)
- NEW: Weighted penalized maximum likelihood approach for joint frailty models for data from nested case-control studies
- Bug corrected in predictions with joint nested frailty models that do not include power parameters
frailtypack 2.12.7 (2018-07-30)
- Now the p-values of the estimates can be directly extracted from the models
- Small bugs corrected in epoce, trivPenal, trivPenalNL, prediction and print.JointNestedPenal
- Shared frailty model (Weibull baseline hazard function, calendar time-scale and log-normal frailty) now works
frailtypack 2.12.6 (2017-10-06)
- For joint nested and nested models martingale residuals are calculated at the lower level of clustering (individual level)
frailtypack 2.12.3 (2017-08-01)
- Bug fixed in predictions for trivariate joint models.
frailtypack 2.12.2 (2017-07-09)
- Bug fixed in predictions for joint nested frailty models.
frailtypack 2.12.0
- New model added: trivariate joint model for a longitudinal biomarker, recurrent events and a terminal event using a mechanistic approach for the biomarker (with analytical solution)
- Extension for functions longiPenal and trivPenal: up to three random effects for the biomarker can be applied
- Bug fixed : Estimation error in joint, joint general, joint nested, trivPenal and longiPenal models when data are unordered.
- Bug fixed for predictions using joint nested models - application of Gamma function
frailtypack 2.11.1 (2017-03-21)
- Warnings about native subroutine registry fixed
frailtypack 2.11.0 (2017-03-10)
- NEW : Marginal prediction method in the Joint Nested Frailty model, only for terminal event.
frailtypack 2.10.6 (2017-03-07)
- Bug fixed in the conditional prediction for shared frailty model.
- New warning for the prediction in joint general model.
frailtypack 2.10.5 (2017-02-03)
- Bug fixed : use of a subcluster/cluster covariate named with upper case in joint and joint nested models
- Bug fixed : Joint nested model estimation
- Bug fixed : Conditional prediction for recurrent events from a shared model.
- Bug fixed : examples of the documentation (plot of epoce, additive model, trivariate and joint nested model)
frailtypack 2.10.4 (2017-01-04)
- Changes in the joint nested frailty model : add calculation of the bayesian frailties estimates (for families and for individuals)
- Problem fixed : survival() function in frailtypack can now be computed with a gamma shared frailty model with a piecewise baseline hazard function
- Changes in the prediction() function : 'group' argument removed and 'conditional' boolean argument added
- Changes in the conditional prediction method for shared modelling : possibility to compute prediction for more than one group
- Display of prediction's results : for each indivual you can see the true ID
- Problem fixed : prediction() function is now able to compute with disorderly individuals
- Changes in the prediction method : you can now use the prediction methods with time-dependant covariates
- NEW: Marginal prediction method in the shared modelling, for a recurrent event.
- Correction applied on the mathematical expression of prediction method from shared model
frailtypack 2.10.3 (2016-10-19)
- "na.pass" global function defined in the NAMESPACE file
- Update of the vignettes 'Package_summary.Rmd' in the 'inst/doc' directory
frailtypack 2.10.2
- Vignettes modified (legend in the title)
- 'event' legend deleted in the plot of a shared model
- Compiling warnings fixed
- Plot bug fixed in the plot of a shared model
frailtypack 2.10.1
- New prediction option for a new recurrent event.
- Bug fixed for the gfortran compilation
frailtypack 2.9.4 (2016-07-25)
- Bug fixed for the vignettes builder
frailtypack 2.9.3 (2016-07-07)
- New model added : Joint Nested frailty model for recurrent (with two clustering levels) and terminal events, accounts for two frailty terms.
- For all the plot methods of frailtypack : addition of 'Xlab' and 'Ylab' (labels for the X-axis and Y-axis)
- Warning added if left truncation with joint frailty model
- Warning added for the use of interval-censored data in joint frailty model, the option is not available for the model
- New option "initialize = TRUE" for fitting a joint frailty model to provide new initial values, before fitting the joint nested model.
- Bug fixed in models prediction with formulas defined separately
- Bug fixed for trivPenal and longiPenal for definition of individuals identificators
- Bug fixed for global Wald test for qualitative covariates in the nested and the joint frailty model
frailtypack 2.8.3 (2016-01-13)
- Bug fixed for predictions for frailty models
- Bug fixed for calculation of residuals for longitudinal biomarker in bivariate and trivariate models
frailtypack 2.8.2 (2015-12-09)
- Description of the different models and options in Frailtypack using a vignette ("Package_summary")
frailtypack 2.8
- New models added: joint model for longitudinal data and a terminal event (longiPenal function) and trivariate joint model for longitudinal data, recurrent events and a terminal event (trivPenal function)
- For these models summary, print and plot methods are available as well as functions epoce, Diffepoce and predictions were adapted
- Functions form altered: all the character options start with a capital letter, eg. was: plot(x, type.plot = "hazard") is now plot(x, type.plot = "Hazard")
- Joint frailty models for clustered data now are modelled in a framework of semi-competing risks (the parameter alpha is not recommended in these semi-competing models)
- Interactions are now available for all the models (using "*" or ":")
frailtypack 2.7.6
- New model added: Joint General frailty model for recurrent and terminal events with 2 covariates
frailtypack 2.7.5 (2015-03-06)
- Bug fixed for Martingale residuals (in shared and joint models with log normal frailties)
frailtypack 2.7.3
- Prediction and Monte Carlo confidence bands added for shared and joint gaussian frailty models.
- Bug fixed for the prediction function with shared or Cox models (reading of survival times)
- Bug fixed for plotting the baseline hazard and survival functions in Weibull shared and joint models
- New functions to compute estimators of Expected Prognostic Observed Cross-Entropy (EPOCE) evaluating prediction accuracy in joint gaussian frailty models.
frailtypack 2.7.1 (2014-10-08)
- Bug fixed for the multivariate Wald test for covariates with more than 3 categories.
- Bug fixed for EPOCE, definition of kappa.
frailtypack 2.7 (2014-08-30)
- In 'frailPenal' and 'additivePenal' functions, no more 'kappa1', 'kappa2', 'nb.int1' and 'nb.int2'. Replaced by two vectors 'kappa' and 'nb.int'.
- More levels of stratification (up to 6) for shared frailty model.
- Now possible stratification in a joint frailty model for the recurrent event part (up to 6 levels).
- New construction of the dataframe when using 'prediction' function on a joint frailty model. Need now the event indicator variable.
frailtypack 2.6.1 (2014-07-23)
- Different way to do Monte-Carlo method to compute confidence intervals in 'prediction' function giving less variability.
- Back to knots placed using equidistant by default for estimating baseline hazard function with splines. You can now use the option 'hazard="Splines-per"' in frailtyPenal in order to have knots placed using percentiles.
- Back to value 10-3 by default for the three convergence criteria.
- No longer need to use as.factor() in command to print Wald tests on covariates.
- Print p-value of one-sided Wald test for frailty parameter and two-sided Wald test for alpha parameter in joint model.
- New functions to compute estimators of Expected Prognostic Observed Cross-Entropy (EPOCE) evaluating prediction accuracy in joint model.
frailtypack 2.6 (2014-03-24)
- NEW: Fit now a multivariate gaussian frailty model (two types of recurrent events and a terminal event).
- Major evolution of frailtyPenal function. 'Frailty' and 'joint' arguments removed.
- Now estimation of baseline hazard functions with splines, knots are placed using percentile (previously using equidistant intervals).
- Significant change of prediction function. You can compute predictions in two different ways: with a variable prediction time or a variable window of prediction.
- 'type' argument of prediction function removed. As long as there is a 'group' argument, for a shared model, computation of conditional predictions will be done.
- 'B' argument added in 2.4.1 to initialize regression coefficients was renamed 'init.B'
- Possibility to initialize the variance of the frailties with argument 'init.Theta' in shared and joint frailty models.
- Possibility to initialize the coefficient with argument 'init.Alpha' in joint frailty model.
- Moreover, with 'Alpha="none"', frailtyPenal can fit a joint model with a fixed alpha (=1).
- New argument: 'print.times', added in every model to print iteration process.
frailtypack 2.5.1 (2014-02-13)
- Bug fixed about joint frailty model without any covariate.
frailtypack 2.5 (2013-11-20)
- New dynamic tool of prediction added for Cox proportionnal hazard, shared and joint frailty model.
- Add IPCW estimation of concordance measures as Uno (Stat Med 2011). Significant changes in the printing of 'Cmeasures' function.
- Bug fixed about parametrical survival functions plotting with left truncated data.
- Bug fixed which allowed cross validation with interval-censored data.
- Possibility to print and change the three convergence criterions in frailtyPenal and additivePenal.
frailtypack 2.4.1 (2013-04-26)
- Bug fixed about estimation of frailties in shared models using recurrentAG=TRUE.
- Printing bug about standard deviation of the random effet variance in a model without covariate.
- Possibility to initialize regression coefficients in shared and joint frailty models.
frailtypack 2.4 (2013-04-05)
- Fit now a model with time-varying effects for covariates (only for Cox, shared gamma and a joint gamma frailty model).
frailtypack 2.3 (2013-02-09)
- Fit now a Shared and a Joint Frailty model with a log-normal distribution for the random effects.
- "Breast cosmesis" dataset added for interval-censoring illustration ("Diabetes" dataset removed).
- Weibull hazard parameters bug fixed : shape and scale were reversed.
- Linear predictors : output reorganized.
- Plot options improved (now color is allowed).
- Use of 'SurvIC' function modified. Now for the left-truncated and interval-censored data we use : SurvIC(left-trunc-time,lower-time,upper-time,event).
- No need of the intcens argument to fit a model for interval-censored data anymore, 'SurvIC' function is enough.
frailtypack 2.2-27 (2012-11-27)
- Fit now a Joint Frailty model for clustered data.
frailtypack 2.2-26 (2012-10-19)
- Minor bug fixed about loglikelihood in Nested Frailty model.
- The package accepts samples unsorted on clusters.
frailtypack 2.2-25 (2012-09-06)
- "Diabetes" dataset added for interval-censoring illustration.
frailtypack 2.2-24 (2012-07-25)
- Fit a Shared Gamma Frailty or a Cox proportional hazard model for interval-censored data.
- No longer need to use cluster function for fitting a Cox proportional hazard model.
- Minor bug fixed in Nested Frailty model.
- Printing bug fixed in multivariate Wald test.
frailtypack 2.2-22 (2012-03-13)
- Fit a Shared Gamma Frailty model using a parametric estimation.
- Fit Joint Frailty model for recurrent and terminal events using a parametric estimation.
- Fit a Nested Frailty model using a parametric estimation.
- Fit an Additive Frailty model using a parametric estimation.
- Concordance measures in shared frailty and Cox models (Cmeasures).
frailtypack 2.2-10
- NEW VERSION OF FRAILTYPACK including Additive, Nested and Joint Frailty models
- Paper submitted to Journal of Stat Software