if you have the trace with a variable x, you can retrieve the sample, by trace['x']
For example,
import pymc3 as pm
with pm.Model() as model:
x = pm.Normal('x')
trace = pm.sample()
2*trace['x']
if you have the trace with a variable x, you can retrieve the sample, by trace['x']
For example,
import pymc3 as pm
with pm.Model() as model:
x = pm.Normal('x')
trace = pm.sample()
2*trace['x']