search for: gamlss

Displaying 20 results from an estimated 73 matches for "gamlss".

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)...
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.8...
2004 Oct 31
1
Problem in building a package in R 2.0.0
...mmand (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 file 'C:\PROGRA~1\R\rw2000\src\library\gamlss/DESCRIPTION' ... OK installing R.css in c:/TEMP/Rbuild.1520 ---------- Making package gamlss ------------ adding build stamp to DESCRIPTION installing R files installing inst files installing data files preparing pac...
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 ~ cs(LT...
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 data installing help >>> Building/Updating help pages for package 'gamlss' Formats: text html latex example adding MD5 sums but n...
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 any in...
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 ge...
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 # -------------------------------------------------------------- library('gamlss') library('for...
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, since I...
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...
2013 Jan 23
1
How to extract values of results in gamlss.tr
...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) result <- gamlss(dat~1, family=LOGNOtr) # THIS GIVES > result Family:  c("LOGNOtr", "left truncated Log Normal") Fitting method: RS() Call:  gamlss(formula = dat ~ 1, family = LOGNOtr) Mu Coefficients: (Intercept)        15.23  Sigma Co...
2018 Mar 09
0
Package gamlss used inside foreach() and %dopar% fails to find an object
...y brevity. On March 9, 2018 7:50:44 AM PST, Nik Tuzov <ntuzov at beacon.partek.com> wrote: > >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 > ># -------------------------------------------------------------- > >librar...
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...
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 m...
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 inform...
2008 May 20
1
"NOTE" warning
...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 variable 'own.linkfun' make.link.gamlss : linkinv: no visible binding for global variable 'own.linkinv' make.link.gamlss : mu.eta: no visible binding for global variable 'own.mu.eta' make.link.gamlss : valideta: no visible bindi...
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=...
2008 Nov 06
0
gamlss.dist
Hi, I'm not sure how use curve(dexGAUS(… None of the following four works: rt<- rexGAUS(100, mu=300, nu=100, sigma=35) m1<-gamlss(rt~1, family=exGAUS) curve(dexGAUS(rt=x, mu=300 ,sigma=35,nu=100), 100, 600, main = "The ex- GAUS density mu=300 ,sigma=35,nu=100") curve(dexGAUS(x=rt, mu=300 ,sigma=35,nu=100), 100, 600, main = "The ex- GAUS density mu=300 ,sigma=35,nu=100") curve(dexGAUS(y=rt, mu=300 ,sigm...
2010 Mar 15
0
testing hipotheses using GAMLSS package
Hi all. In a GLM in which g(mu) = b0 + b1X1 + b2X2 + b3X3 + b4X4 + b5X5 + b6X6 + b7X7, if I want to test if b1 + b5 = b2 + b6, I can use the contrast package or multicomp package. How can I do a similar test if I am fitting a GAMLSS using the gamlss package? Thank you for your help. Gustavo
2012 Oct 31
0
gamlss mu.start vector ?
Dear All, I'd like to set up a loop whereby successive parameter values are used as start values in gamlss (yes I know this isn't usually necessary ! - unfortunately for my truncated data it is), to return the estimated parameters etc. giving the lowest AIC value. I notice that mu.start can take a vector of values - but I can't find any information as to what the function actually does with a...