s-news
[Top] [All Lists]

cholesky-like algorithm

To: s-news@lists.biostat.wustl.edu
Subject: cholesky-like algorithm
From: "John Pitchard" <johnpitchard@googlemail.com>
Date: Mon, 16 Apr 2007 13:59:13 +0100
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=khYaatze8V9MAtBKrOs13u+LB2BvHu7vcaF1nskj7GztjPNW8y5n9l3aTWADj0u8ehiqJTviFub1ZcU+ITgwoD+zOHAQPDqEoI/5+4ccmf7UCVMbVnLBRW4Z4FhI/XVys8Mra+vVSlKbvpvcE5OFM1wxfaXxf0wXk1wnaK5JEzI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=UQ/TI2ypAKgRvJ7r1FARttoRbUqEmHEozaY8m5VP1OprWuGhKjfINrL0qdHvMTE5QVnuYglAaWXA2Pbqshsa8+bWYBpaFwiz9B/h5RMmo8n/AjlDsEAocfTtlUZ788V5BUHgqdLHvIgshGW1uSzUzOjCHredJoM8uZdtNjbUqgQ=
 

Dear all,

 

I would like to solve the following set of equations:

 

x(1) =b(11)* f(1)

x(2)=b(21)*f(1)+b(22)*f(2)

x(3)=b(31)*f(1)+b(32)*f(2) +b(33)*f(3)

x(4)=b(41)*f(1)+b(42)*f(2) +b(43)*f(3)+b(44)*f(4)

x(5)=b(51)*f(1)+b(52)*f(2) +b(53)*f(3)+b(54)*f(5)+b(55)*f(5)

x(6)=b(61)*f(1)+b(62)*f(2) +b(63)*f(3)+b(64)*f(5)+b(65)*f(6))+b(66)*f(6)

....

....

etc

where the number in brackets is the subscript.

 

The vectors x(1), x(2) and x(3) are known beforehand.

 

I have 2 correlation matrices: the first with the actual correlations

between the 3 variables x(1), x(2) and x(3). The second matrix has the

target correlations between x(1), x(2),... etc

 

The actual matrix is put in the target because these

are the true correlations between the variables, i.e.

target.correlation.matrix[1:3,1:3] <- true.correlation.matrix

However, the resulting matrix is not positive-definite.

 

Is it still possible to solve the system of equations where f(4), f(5),... are random vectors sampled from a standard normal distribution?

I essentially want to calculate the b's first followed by the x's. Is there an agorithm to do this?

 

I would be grateful for some help.

Many thanks,

John

<Prev in Thread] Current Thread [Next in Thread>
  • cholesky-like algorithm, John Pitchard <=