Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Going backwards

0 views
Skip to first unread message

Francogrex

unread,
Nov 14, 2007, 3:06:47 AM11/14/07
to
x=
E1 E2 E3
D1 0 0 1
D2 1 0 3
D3 0 2 0


y=
E1 E2 E3
D1 0 0 1.75
D2 1.75 0 1.3125
D3 0 3.5 0

Where x and y are linked by:
y =sum(x) * x / (rowSums(x)%o%colSums(x))


N=x[x[1:3,]>0]
R=y[y[1:3,]>0]

Now suppose I ONLY have N and R linked in this way below where each N
corresponds to an R

N R
1 1.7500
2 3.5000
1 1.7500
3 1.3125

Is there a way to generate matrix "x" and matrix "y" having only the N
and the R as above?

0 new messages