In a software I am using, I can use a random generator to estimate the mean value and standard error of the variable; I know the variable has more likely a triangular distribution but only I can specify uniform and normal distribution for random number generator. To estimate a truncated triangular distribution at zero for my variable (regarding it can't get negative sign), would it be correct if I use uniform draw as follows?
TRIANGULAR = (RND1_Uniform[0,1],RND2_Uniform[0,1])/2