I'm trying to fit a zero-truncated negative binomial model using the vglm() function from the VGAM package in R. However, I'm encountering the following error:
> dat <- read.dta("https://stats.idre.ucla.edu/stat/data/ztp.dta")
> library(VGAM)
> m1 <- vglm(stay ~ age + hmo + died, family = posnegbinomial(), data = dat)
Error in dposnegbin2(y, kmat, munb = munb, log = TRUE) : could not find function "dposnegbin2"
I’ve confirmed that the VGAM package is loaded, but the error suggests an internal function dposnegbin2() is not available.
Has anyone else encountered this issue? Is there a known fix? I'm also open to alternative ways to fit a positive or zero-truncated negative binomial model in R.
Any help would be appreciated!
I'm trying to fit a zero-truncated negative binomial model using the vglm() function from the VGAM package in R. However, I'm encountering the following error:
> dat <- read.dta("https://stats.idre.ucla.edu/stat/data/ztp.dta")
> library(VGAM)
> m1 <- vglm(stay ~ age + hmo + died, family = posnegbinomial(), data = dat)
Error in dposnegbin2(y, kmat, munb = munb, log = TRUE) : could not find function "dposnegbin2"
I’ve confirmed that the VGAM package is loaded, but the error suggests an internal function dposnegbin2() is not available.
Has anyone else encountered this issue? Is there a known fix? I'm also open to alternative ways to fit a positive or zero-truncated negative binomial model in R.
Any help would be appreciated!
I'm trying to fit a zero-truncated negative binomial model using the vglm() function from the VGAM package in R. However, I'm encountering the following error:
> dat <- read.dta("https://stats.idre.ucla.edu/stat/data/ztp.dta")
> library(VGAM)
> m1 <- vglm(stay ~ age + hmo + died, family = posnegbinomial(), data = dat)
Error in dposnegbin2(y, kmat, munb = munb, log = TRUE) : could not find function "dposnegbin2"
I’ve confirmed that the VGAM package is loaded, but the error suggests an internal function dposnegbin2() is not available.
Has anyone else encountered this issue? Is there a known fix? I'm also open to alternative ways to fit a positive or zero-truncated negative binomial model in R.
- 527
- 1
- 4
- 23
I'm trying to fit a zero-truncated negative binomial model using the vglm()vglm() function from the VGAM package in R. However, I'm encountering the following error:
> dat <- read.dta("https://stats.idre.ucla.edu/stat/data/ztp.dta")
> library(VGAM)
> m1 <- vglm(stay ~ age + hmo + died, family = posnegbinomial(), data = dat)
Error in dposnegbin2(y, kmat, munb = munb, log = TRUE) :
could not find function "dposnegbin2"
Error in dposnegbin2(y, kmat, munb = munb, log = TRUE) : could not find function "dposnegbin2"
I’ve confirmed that the VGAM package is loaded, but the error suggests an internal function dposnegbin2()dposnegbin2() is not available.
Has anyone else encountered this issue? Is there a known fix? I'm also open to alternative ways to fit a positive or zero-truncated negative binomial model in R.
Any help would be appreciated!
I'm trying to fit a zero-truncated negative binomial model using the vglm() function from the VGAM package in R. However, I'm encountering the following error:
> dat <- read.dta("https://stats.idre.ucla.edu/stat/data/ztp.dta")
> library(VGAM)
> m1 <- vglm(stay ~ age + hmo + died, family = posnegbinomial(), data = dat)
Error in dposnegbin2(y, kmat, munb = munb, log = TRUE) :
could not find function "dposnegbin2"
I’ve confirmed that the VGAM package is loaded, but the error suggests an internal function dposnegbin2() is not available.
Has anyone else encountered this issue? Is there a known fix? I'm also open to alternative ways to fit a positive or zero-truncated negative binomial model in R.
Any help would be appreciated!
I'm trying to fit a zero-truncated negative binomial model using the vglm() function from the VGAM package in R. However, I'm encountering the following error:
> dat <- read.dta("https://stats.idre.ucla.edu/stat/data/ztp.dta")
> library(VGAM)
> m1 <- vglm(stay ~ age + hmo + died, family = posnegbinomial(), data = dat)
Error in dposnegbin2(y, kmat, munb = munb, log = TRUE) : could not find function "dposnegbin2"
I’ve confirmed that the VGAM package is loaded, but the error suggests an internal function dposnegbin2() is not available.
Has anyone else encountered this issue? Is there a known fix? I'm also open to alternative ways to fit a positive or zero-truncated negative binomial model in R.
Any help would be appreciated!
I'm trying to fit a zero-truncated negative binomial model using the vglm() function from the VGAM package in R. However, I'm encountering the following error:
> dat <- read.dta("https://stats.idre.ucla.edu/stat/data/ztp.dta")
> library(VGAM)
> m1 <- vglm(stay ~ age + hmo + died, family = posnegbinomial(), data = dat)
Error in dposnegbin2(y, kmat, munb = munb, log = TRUE) :
could not find function "dposnegbin2"
I’ve confirmed that the VGAM package is loaded, but the error suggests an internal function dposnegbin2() is not available.
Has anyone else encountered this issue? Is there a known fix? I'm also open to alternative ways to fit a positive or zero-truncated negative binomial model in R.
Any help would be appreciated!
I'm trying to fit a zero-truncated negative binomial model using the vglm() function from the VGAM package in R. However, I'm encountering the following error:
> library(VGAM)
> m1 <- vglm(stay ~ age + hmo + died, family = posnegbinomial(), data = dat)
Error in dposnegbin2(y, kmat, munb = munb, log = TRUE) :
could not find function "dposnegbin2"
I’ve confirmed that the VGAM package is loaded, but the error suggests an internal function dposnegbin2() is not available.
Has anyone else encountered this issue? Is there a known fix? I'm also open to alternative ways to fit a positive or zero-truncated negative binomial model in R.
Any help would be appreciated!
I'm trying to fit a zero-truncated negative binomial model using the vglm() function from the VGAM package in R. However, I'm encountering the following error:
> dat <- read.dta("https://stats.idre.ucla.edu/stat/data/ztp.dta")
> library(VGAM)
> m1 <- vglm(stay ~ age + hmo + died, family = posnegbinomial(), data = dat)
Error in dposnegbin2(y, kmat, munb = munb, log = TRUE) :
could not find function "dposnegbin2"
I’ve confirmed that the VGAM package is loaded, but the error suggests an internal function dposnegbin2() is not available.
Has anyone else encountered this issue? Is there a known fix? I'm also open to alternative ways to fit a positive or zero-truncated negative binomial model in R.
Any help would be appreciated!