Displaying 20 results from an estimated 700 matches similar to: "R-devel Digest, Vol 137, Issue 25"
2010 Jun 02
1
Problems using gamlss to model zero-inflated and overdispersed count data: "the global deviance is increasing"
Dear all,
I am using gamlss (Package gamlss version 4.0-0, R version 2.10.1, Windows XP Service Pack 3 on a HP EliteBook) to relate bird counts to habit variables. However, most models fail because “the global deviance is increasing” and I am not sure what causes this behaviour. The dataset consists of counts of birds (duck) and 5 habit variables measured in the field (n= 182). The dependent
2004 Oct 31
1
Problem in building a package in R 2.0.0
Dear all
I am trying to build a package in Windows.
I use the following command (which it used to work with previous
versions ) and I am getting the following error
#--------------------------------------------------------------------------------------------------------------
C:\PROGRA~1\R\rw2000\bin>Rcmd build --binary --use-zip
C:\PROGRA~1\R\rw2000\src\library\gamlss
* checking for
2012 Feb 22
3
gamlss results for EXP and LNO seem to have reversed AIC scores
Hi,
I'm a bit puzzled by the gamlss fitting of exponential and lognormal data.
Gamlss seems to think that exponentially distributed data fits better with a
lognormal distribution, and vice versa.
For example,
X <- rexp(1000)
Gexp <- gamlss(X~1,family=EXP) # X~1 is X tilde 1
GAMLSS-RS iteration 1: Global Deviance = 2037.825
GAMLSS-RS iteration 2: Global Deviance = 2037.825
Glno
2013 May 17
0
Heterogeneous negative binomial
I have seen several queries about parameterizing the negative binomial scale
parameter. This is called
the heterogeneous negative binomial. I have written a function called
"nbinomial" which is in the
msme package on CRAN. Type ?nbinomial to see the help file. The default
model is a negative binomial
for which the dispersion parameter is directly related to mu, which is how
Stata,
2011 Nov 01
1
low sigma in lognormal fit of gamlss
Hi,
I'm playing around with gamlss and don't entirely understand the sigma
result from an attempted lognormal fit.
In the example below, I've created lognormal data with mu=10 and sigma=2.
When I try a gamlss fit, I get an estimated mu=9.947 and sigma=0.69
The mu estimate seems in the ballpark, but sigma is very low. I get similar
results on repeated trials and with Normal and
2004 Apr 20
2
Creating a package in R 1.9.0
Dear all
I am trying to create a package in R 1.9.0 and I a getting an
error message which I do not understand. (I am using R in Windows
XP and 2000)
For example the following works well in 1.8.1
C:\Program Files\R\rw1081\src\gnuwin32>make pkg-gamlss
---------- Making package gamlss ------------
adding build stamp to DESCRIPTION
installing inst files
installing indices
not zipping
2009 Nov 24
0
can't use function vcov with a GAMLSS object??
Hi everyone,
I''m trying to use function vcov to extract the covariance matrix from a
GAMLSS object. But I''m getting some strange errors and I was hoping someone
could help me out? Vcov works with the same model for lm and glm objects,
but not gamlss objects. I''ve searched various help sites to no avail.
Its very possible the reason is that vcov failed though,
2012 Apr 05
0
Warning message: Gamlss - Need help
Hi,
I am running a negative binomial model using Gamlss and when I try to include random effect, I get the following message:
Warning messages:
1: In vcov.gamlss(object, "all") :
addive terms exists in the mu formula standard errors for the linear terms maybe are not appropriate
2: In vcov.gamlss(object, "all") :
addive terms exists in the sigma formula standard
2014 Apr 15
0
Problem: Importing two packages which export a function with the same name
Hi all,
I am currently updating our package gamboostLSS which depends on package
mboost *and* on package gamlss.dist. From mboost we use a lot of the
fitting infrastructure and from gamlss.dist we obtain the relevant loss
functions (aka families) used for fitting and corresponding quantile
functions. Furthermore, we use the Family() function from package mboost.
However, if I depend on both
2016 Mar 07
2
Efectos aleatorios anidados en gamlss
Hola a tod en s,
tengo una duda que la comunidad R me puede ayudar. Estoy trabajando con
gamlss, porque tengo una variable respuesta con valores entre 0 y 1 e
incluidos estos. La distribución que utilizo com gamlss para este caso es
"beta inflated" (Stasinopulos and Rigby 2007. Journal of Statistical
Software 23(7)). El modelo que intento correr es:
m1<-gamlss(Teleosteos ~
2008 May 20
1
"NOTE" warning
Dear all
I am using NAMESPACE in my package but I would like the user to be able
to overwrite four functions:
own.linkfun, own.linkinv, own.mu.eta and own.valideta.
These are used to defined "own" link functions.
Is there any way of doing that without getting the when I am checking
the package?
This is what I am getting:
make.link.gamlss : linkfun: no visible binding for global
2013 Jan 23
1
How to extract values of results in gamlss.tr
Dear R helpers,
I have following loss data and I need to fit LEFT truncated Log Normal distribution to this data which is Truncated at 1000000.
dat = c(1333834,5710254,9987567,7809469,6940935,3473671,1270209,1102523,1124002, 5830159,4302300,3925242,2638409,2324421,7238436,9088709,7439250,4976551,4864319, 8741334,1863770,7098310,4942288,4971829,4986372)
library(gamlss.tr)
gen.trun(5, LOGNO)
2018 May 10
1
Tackling of convergence issues in gamlss vs glm2
Hello:
I'd like to know how and if the GLM convergence problems are addressed in gamlss.
For simplicity, let's focus on Normal and Negative Binomial with log link.
The convergence issues of the glm() function were alleviated in 2011 when glm2 package was released.
Package gamlss was released in 2012, so it might still use the glm-like solution or call glm() directly.
Is that the case or
2018 Mar 09
0
Package gamlss used inside foreach() and %dopar% fails to find an object
If the code you are running in parallel is complicated, maybe foreach is not sophisticated enough to find all the variables you refer to. Maybe use parallel::clusterExport yourself? But be a aware that passing parameters is much safer than directly accessing globals in parallel processing, so this might just be your warning to not do that anyway.
--
Sent from my phone. Please excuse my brevity.
2018 Mar 09
2
Package gamlss used inside foreach() and %dopar% fails to find an object
Hello all:
Please help me with this "can't find object" issue. I'm trying to get leave-one-out predicted values for Beta-binomial regression.
It may be the gamlss issue because the code seems to work when %do% is used. I have searched for similar issues, but haven't managed to figure it out. This is on Windows 10 platform.
Thanks in advance,
Nik
#
2010 Sep 01
2
documentation to upgrade R-package from 32 to 64bit
Dear all,
I am working with the an R-package named GAMLSS (www.gamlss.com<http://www.gamlss.com>) it is currently only functional under the 32-bit version of R (for windows)
The author of the package has agreed to help me create 64-bit compatible version.
I've been looking through the available R-documentation but cannot find any relevant information on the process.
Any help finding
2018 Mar 12
0
Package gamlss used inside foreach() and %dopar% fails to find an object
Hello Mikis:
Thanks a lot, it worked. Could you tell me what the problem was?
Regards,
Nik
----- Original Message -----
From: r-help-request at r-project.org
To: "r-help"
Sent: Sunday, March 11, 2018 6:00:02 AM
Subject: R-help Digest, Vol 181, Issue 11
Send R-help mailing list submissions to
r-help at r-project.org
To subscribe or unsubscribe via the World Wide Web, visit
2011 Mar 19
1
GAMLSS Question
Dear All:
I have succeeded in fitting a GAMLSS.dist model to growth data I am working
with it.
My aim is to create a matrix of predicted percentiles and the corresponding
the fitted model's sigma mu nu by agebins.
Q:
How do it generate these parameters as in L M S per Cole and Green 1992?
Here are my working codes.
Name of fitted model is gamlssfit
> Agebin<-seq(6,36,6)
2008 Mar 25
2
gamlss and glm binomial family
Dear all and Mikis
I have the opportunity to compare fits with the 'classical' glm and
gamlss and no smoother of any kind just the same model formula (both
with the binomial family). I get exactly the same coefficients but
very different residuals, gamlss giving residuals which are extremely
close to 'normal' and glm very far...
How can this be ?
Thanks in advance for
2012 Sep 11
1
Strange result from GAMLSS
Hi Folks! Just started using the gamlss package and I tried a simple code
example (see below). Why the negative sigma?
John
> y <- rt(100, df=1)> m1<-fitDist(y, type="realline")Warning messages:1: In MLE(ll3, start = list(eta.mu = eta.mu, eta.sigma = eta.sigma, :
possible convergence problem: optim gave code=1 false convergence
(8)2: In MLE(ll4, start = list(eta.mu =