[R] Deleting a component with a known probability

Adriane Leal loparic at student.fsa.ucl.ac.be
Thu Feb 3 00:21:02 CET 2000


Here I'm again!

Imagine you have a bivariate normal sample (n=500) , with mean
vector=(0,0)T and Covariance matrix (1,.9,.9,1). How could I construct an
incomplete sample by deleting the second component Yi1 with probability:

Pi= (e**2Yi1)/(1+e**2Yi1) ?

best regards,

Adriane

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list