We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tidy_burr()
library(TidyDensity) data <- tidy_burr(.shape1 = 1, .shape2 = 2, .rate = 3)$y blik <- function(theta,x){ c <- exp(theta[1]) k <- exp(theta[2]) mu <- 0 sigma <- exp(theta[3]) bll <- actuar::dburr(x, c, k, mu, sigma) return(-sum(log(bll))) } brmod <- optim(c(.shape1 = 0, .shape2 = 0, .scale = 0), fn = blik, x = data) > exp(brmod$par) .shape1 .shape2 .scale 1.0130505 2.0605886 0.2967962
The text was updated successfully, but these errors were encountered:
55e157c
Merge pull request #340 from spsanderson/development
cbf0bfe
Fixes #333
spsanderson
No branches or pull requests
The text was updated successfully, but these errors were encountered: