Damokun wrote:
>
> Dear all,
>
> I am trying to optimize a logistic function using optim, inside the
> following functions:
> #Estimating a and b from thetas and outcomes by ML
>
> IRT.estimate.abFromThetaX <- function(t, X, inits, lw=c(-Inf,-Inf),
> up=rep(Inf,2)){
> optRes <- optim(inits
kun
To:
r-help@r-project.org
Date:
11/03/2010 10:19 AM
Subject:
[R] optim works on command-line but not inside a function
Sent by:
r-help-boun...@r-project.org
Dear all,
I am trying to optimize a logistic function using optim, inside the
following functions:
#Estimating a and b from thetas
Dear all,
I am trying to optimize a logistic function using optim, inside the
following functions:
#Estimating a and b from thetas and outcomes by ML
IRT.estimate.abFromThetaX <- function(t, X, inits, lw=c(-Inf,-Inf),
up=rep(Inf,2)){
optRes <- optim(inits, method="L-BFGS-B", fn=IRT.llZetaLa
3 matches
Mail list logo