[R] help to programm

Rui Barradas ruipbarradas at sapo.pt
Sun Aug 5 15:14:57 CEST 2012


Hello,

Sorry, but I don't understand your formula. Maybe it's better if you

1. use * for multiply.
2. break the expression into smaller components. For instance,

(Is it an add and a multiply or two multiplies?)

EXP <-  exp{ (B0 B1 row matrix) (z[l] column matrix) }

Then use EXP.

3. instead of 'row matrix' write 'row_matrix', the same for column matrix.
4. Your final sum is the sum of what ???


Em 05-08-2012 13:31, hafida-06 at hotmail.fr escreveu:
> Hi
> can you please help me to programme this formula:
> a[j]= E[j]-sum from l=i  to i-1 (exp{(B0 B1row matrix) (z[l]column matrix) } x[l])  /  sum from l=i to n
>
> i=1...n          j=1...k     l=1...m       ; n,m,k are given.
>
> it s complicate for me ; hope you can help me
> thank you a lot



More information about the R-help mailing list