# for a 1:1:1:1 experiment
x=.25;y=.25;z=.25
# compute Z
Z=f(x,y,z)
Z
## The function is currently defined as
function (x,y,z) {
Z=(1-x-z)*(x+y)/(2*(((1-x-z)*(1-x-y)*(1-y-z))-(1-x-y-z)^2))
Z
}Run the code above in your browser using DataLab