Displaying 2 results from an estimated 2 matches for "nt_2".
Did you mean:
nt_1
2003 Sep 30
2
truncated multivariate normal
Please,
I would like to know how to generate a truncated multivariate normal
distribution k - dimensional, X ~ NT(mu, Sigma), where the
elements of X to be non-negative (except the first), and the first
dimension is strictly larger than zero.
Example:
X ~ NT_2(mu, Sigma),
where mu=c(0.5, 0.5) and Sigma=c([120, 191], [191,154]), with X_1>0
and X_2>=0
Could anybody help me?
Thanks in advanced.
Juliana G. Cespedes
Mestranda em Estat?stica e Experimenta??o Agron?mica
Departamento de Ci?ncias Exatas - ESALQ/USP
S?o Paulo - Brasil
2009 Jan 18
4
data management
Dear Rxperts,
I have a varaibles data file that looks like this
p(1) 10
p(1) 3
p(1) 4
p(2) 20
p(2) 30
p(2) 40
p(3) 4
p(3) 1
p(1) 2
I cannot process these data with R because it does not like the parentheses.
How can I get these to look like:
p1 10
p1 3
p1 4
p2 20
p2 30
p2 40
p3 4
p3 1
p3 2
The data is in a tab delimited text file and I want to get it into a
data.frame().
Many thanks in