PTMLocScale.new_from_graph()#
- PTMLocScale.new_from_graph(graph, knot_prob_levels=(0.01, 0.99))[source]#
Given a Liesel model graph, this creates a new
PTMLocScale
with updated knots.- Parameters:
- Return type:
- Returns:
A new model instance with updated knots. All prior and hyperprior specifications
for the transformation and the location and scale terms are copied from
the original model.