[R] Minimization problem

Fred jianyun.fred.wu at gmail.com
Thu May 20 10:35:25 CEST 2010


Dear R users,

I am trying to minimize two function simultaneously in R,

function(x)

minimize x[1],x[2],x[3]

mean(distribution(x1,x2,x3) ) - observed mean

std(distribution(x1,x2,x3)) - observed std

What I want to achieve is that simulated mean and standard deviation
of distribution related to x1 x2 x3  would be close to observed mean
and observed standard deviation.


is there any function in R can reach this?

Thank you for the help first .

F.



More information about the R-help mailing list