BUG FIXES
Plasmode method fixed for rfrugal().
Corrected bug in check_pars(), which meant that names of supplied parameters
were not actually being checked.
NEW FEATURES
Sandwich standard error estimation is now performed much more quickly.
Added is_discrete() function for families.
fit_causl() now initializes correctly with respect to link functions.
dfgmCopula() now has log argument.
par2 now renamed df for t-distributions and copulas.
process_family() and link_setup() replaced by process_family_link().
BUG FIXES
fit_causl() uses inputted link functions.BUG FIXES
BUG FIXES
UPDATE
BUG FIXES
UPDATE
devel branch.BUG FIXES
Fixed bug for using plasmode data with rfrugal()
Fixed bugs in pair_copula_setup()
Fixed bug in glm_sim()
BUG FIX
BUG FIX
link_setup when no links providedNEW FEATURES
NEW FEATURES
We now allow for specification of only certain link functions.
Added link() to obtain link functions from causl_family and causl_cop
objects.
NEW FEATURES
Introduced causl_model() and rfrugal() functions, to create a causal
model---an object that can be used to simulate from or, in future, fit a
frugally parameterized model.
Added vignette showing how to add a custom family to simulation methods.
CHANGES
rfrugalParam calls new function rfrugal to simulate data.
Redundant argument seed removed from rfrugalParam. Argument careful
moved to control.
Other control arguments removed: trace, warn, max_wt.
control argument removed from sim_inversion() and sim_rejection().
"multi_copula" changed to "inversion_mv".
NEW FEATURES
method = "multi_copula".NEW FEATURES
causl_family.CHANGES
Began migration of univarDens() to glm_dens().
Changed name dGaussDiscCop2() to dGaussDiscCop().
Made changes to fitCausal, including renaming as fit_causl and removing
some arguments from function and splitting off identification of discrete
variables.
Modified par2 in simulations for t-distribution to df.
BUG FIXES
Fixed bug in discrete causal_family types.
Fixed bug in pair_copula_setup().
Added link to output from binomial_causl_fam.
NEW FEATURES
CHANGES
Suppressed messages in tests
Edited to remove quantiles from simulated data under inversion method
CHANGES
process_prespecifiedCHANGES
Minor fix to process_family
New test for plasmode simulation with one pregenerated variable.
CHANGES
CHANGES
CHANGES
process_inputs and its derivatives further edited for compatibility with
survivl package.CHANGES
process_inputs() function now substantially reorganized. Uses various
subsidiary functions to carry out its work.BUG FIXES
is_categorical()NEW FEATURES
rfrugalParam() now allows for 'plasmode' simulation. That is, one can add
a data.frame of variables dat that acts as a collection of pre-generated
covariates.
New vignette 'Plasmode' gives instructions on how to use this feature.
NEW FEATURES
Added a NEWS.md file!
Categorical and ordinal variables are now implemented for simulation with
rfrugalParam() (provided that the now default method="inversion" is used). The
parameterizations for categorical variables use the logit-contrasts of each
level with the baseline-level; for ordinal variables it uses the logit of
successive cumulative probabilities. In other words, it uses
$\log P(X \leq i)/P(X > i)$ for
each $i = 1,\ldots,l-1$ where there are $l$ levels.
Added a vectorized cumsum_mat function in Rcpp, that acts on the rows of
a matrix.
CHANGES
rfrugalParam() now has method="inversion" as the default. The much
slower method="rejection" is kept only for backwards compatibility.
Some functions (rescaleVar, rescaleCop, sim_CopVal) have had their old
names deprecated in favour of snake case versions (rescale_var, rescale_cop,
sim_copula). In addition the dataframe copulaVals has been replaced by
copula_vals.
link_hack has been renamed to link_apply.