Skip to contents

Model constructors

frengression()
Create a Frengression Model
frengression_seq()
Create a FrengressionSeq Model for Longitudinal Data
frengression_surv()
Create a FrengressionSurv Model for Survival Data

Training and causal specification

train_y()
Train the Outcome Model (Y)
train_xz()
Train the Marginal Model (XZ)
train_e()
Train the Confounder Model (E)
specify_causal()
Specify a Custom Causal Margin
reset_y_models()
Reset Outcome Models

Prediction and sampling

predict_causal()
Predict Causal Effects (generic)
sample_joint()
Sample from the Joint Distribution
sample_xz()
Sample from the Marginal Distribution of (X, Z)
sample_causal_margin()
Sample from the Causal Margin P(Y | do(X))

Methods

predict(<frengression_seq>) predict(<frengression_surv>) predict(<frengression>)
Predict Causal Effects
print(<frengression>)
Print a Frengression Model
print(<frengression_seq>)
Print a FrengressionSeq Model
print(<frengression_surv>)
Print a FrengressionSurv Model