EpiForsk0.1.1 package

Code Sharing at the Department of Epidemiological Research at Statens Serum Institut

asympBF

Asymptotic Bayes factors

braid_rows

Bind lists of list of multiple data frames by row

CATESurface

Calculate CATE on a surface in the covariate space

CausalForestDynamicSubgroups

Calculate CATE in dynamically determined subgroups

ceiling_dec

Round numbers up to a given number of decimal places

CForBenefit

c-for-benefit

charlson_score

Charlson Score Constructor

ci_fct

solve optimization problem for CI bounds

ci_fct_error_handler

Handle errors returned by ci_fct

CovariateBalance

Plots for checking covariate balance in causal forest

decimalplaces

Determine number of decimal places

DiscreteCovariateNames

Extract discrete covariate names

DiscreteCovariatesToOneHot

One-hot encode factors

dot-datatable.aware

make package data table aware

EpiForsk-package

EpiForsk

fct_confint

Confidence set for functions of model parameters

flatten_date_intervals

Flatten Date Intervals

floor_dec

Round numbers down to a given number of decimal places

freq_function

Frequency Tables with Percentage and Odds Ratios

freq_function_repeated

Wrapper for freq_function() to get frequencies for many variables in...

lms

Wrapper around lm for sibling design

many_merge

Merging Many Data Frames with Name Handling

multi_join

Join many data frames with name handling

odds_ratio_function

Easier to perform logistic and log-linear regressions giving a standar...

odds_ratio_function_repeated

Wrapper for the odds_ratio_function()to perform several similar anal...

RATEOmnibusTest

RATE based omnibus test of heterogeneity

RATETest

wrapper for rank_average_treatment_effect

summary.svy_vglm

Summary function for svy_vglm objects

try_catch_warnings

Try Catch with Warning Handling

vcovHC

Heteroscedasticity-Consistent Covariance Matrix

This is a collection of assorted functions and examples collected from various projects. Currently we have functionalities for simplifying overlapping time intervals, Charlson comorbidity score constructors for Danish data, getting frequency for multiple variables, getting standardized output from logistic and log-linear regressions, sibling design linear regression functionalities a method for calculating the confidence intervals for functions of parameters from a GLM, Bayes equivalent for hypothesis testing with asymptotic Bayes factor, and several help functions for generalized random forest analysis using 'grf'.

  • Maintainer: Kim Daniel Jakobsen
  • License: MIT + file LICENSE
  • Last published: 2024-02-26