create_penalty {FactorHet} | R Documentation |
Create penalty matrix (list of F)
Description
Create penalty matrix (list of F)
Usage
create_penalty(
factor_levels,
make_interactions,
weight_dlist,
ordered_factors,
treatment_probs = NULL
)
Arguments
factor_levels |
A list with the levels of each factor |
treatment_probs |
A list with the levels of each factor and the probability of treatment assignment |
Value
A list of penalty matrices (F) used for sparsification
[Package FactorHet version 1.0.0 Index]