Questions tagged [optim]

32 questions
-1
votes
1 answer

Problem specifying arguments when using "optim" for MLE

I am trying to implement Maximum likelihood estimation for the following 2-parameter Beta-Poisson model Working through other solutions in StackOverflow I came to the conclusion - possibly incorrectly - that the "optim" function might be the best…
user2085797
  • 69
  • 1
  • 6
-1
votes
1 answer

Why do numerical optimizers minimize rather than maximize?

I'm thinking about optim() in R or optimize() in Python's scipy. Both can minimize a function, and both can maximize a function by minimizing the inverted function. My question is: why are both coded to minimize rather than maximize? Is it just down…
invictus
  • 1,821
  • 3
  • 25
  • 30
1 2
3