Posts by fsbmat • 1,291 points
54 posts
-
1
votes1
answer87
viewsQ: Error in output of Optim when creating a regression structure
By running the simulation below I get the error at the end of the code, someone can help me to solve it? #Valores iniciais dos parâmetros usados para gerar t #Ou seja, Valor verdadeiro dos…
-
2
votes2
answers255
viewsA: Error in r function Optim output
I would like to highlight another way that I learned today that can also help other people that is an interesting tip. Replace within the function log verisimilitude of the parameters alpha and beta…
-
3
votes2
answers255
viewsQ: Error in r function Optim output
I am simulating values of the Birnbaum-Saunders distribution with alpha and beta parameters and later try to estimate these values using the Optim function, although the simulation converges, I am…
-
1
votes1
answer437
viewsQ: Scoring, Hessian and Newton Raphson function of the exponential distribution in R
How to find the score vector and the Hessian matrix in R to apply the Newton Raphson in the code below: rm(list=ls()) cat("\014") #Função para simular variáveis aleatórias de uma modelo de regressão…