I am working in R and have a matrix (200X3) named X where I have simulated data from a multivariate normal distribution given its parameters (variance-covariance matrix & and mu). My task is to calculate conditional probabilities P(X1>1/X2=1, X3=-2) and P(X1>1/X2+X3=-1)where X1,X2 and X3 the 1st,2nd and 3rd columns of X. I would really appreciate some tips.
Thanks a lot in advance.