Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- install.packages("tweedie")
- library(tweedie)
- dtweedie(0,1.5,10,0.9, power = 1.5)
- # results in 0.0008873388
- dtweedie(1,1.5,10,0.9, power = 1.5)
- # results in 0.01428449
- ptweedie(0,1.5,10,0.9, power = 1.5)
- # results in 0.0008873388 <- this is the same as the 1st, awesome
- ptweedie(1,1.5,10,0.9, power = 1.5)
- # results in 0.009880705 <- this is even less than the pmf for 1, how???
Add Comment
Please, Sign In to add comment