Re: [R] computation of hessian matrix

2013-11-03 Thread IZHAK shabsogh
On Sunday, November 3, 2013 3:17 PM, IZHAK shabsogh ishaqb...@yahoo.com wrote: Hi, another problem after getting the above hessian matrix i am suppose to use it and fine the sum of the product of the hessian and the residuals, for the hessian is generated from the above while the residual

[R] computation of hessian matrix

2013-11-01 Thread IZHAK shabsogh
below is a code to compute hessian matrix , which i need to generate 29 number of different matrices for example first element in x1 and x2 is use to generate let say matrix (M1) and second element in x1 and x2 give matrix (M2) upto  matrix (M29) corresponding to the total number of

Re: [R] computation of hessian matrix

2013-11-01 Thread Suzen, Mehmet
On 1 November 2013 11:06, IZHAK shabsogh ishaqb...@yahoo.com wrote: below is a code to compute hessian matrix , which i need to generate 29 number of different matrices for example first You may consider using Numerical Derivatives package for that instead, see: