I am going through an old research paper and I am stuck in one area of the coding. I'll spare you with most of the details but the function I want to simulate from is a complicated multivariate beta function that looks like:
mvBeta[rating_,x_,R_]:=densityProduct[rating,x]*mvnCopula[copulaInput[rating,x],R]
So clearly, I've already defined other functions. I know that I need to input rating and R. However, I would like perform a monte carlo simulation to obtain vectors of x.
Any help would be greatly appreciated.
mvBeta[rating_,x_,R_]:=densityProduct[rating,x]*mvnCopula[copulaInput[rating,x],R], noting this: http://mathematica.stackexchange.com/a/18487/8 ? And what sort of input isx? Random real numbers? Some other distirbution? – Verbeia Dec 02 '14 at 05:25Map(/@) is probably what you want:mvBeta[rating,#,r]&/@ xvector. – Verbeia Dec 02 '14 at 05:31xvector = RandomReal[{0,1},100]? – Verbeia Dec 02 '14 at 06:10