similar to: Prediction intervals for beta regression

Displaying 20 results from an estimated 1300 matches similar to: "Prediction intervals for beta regression"

2007 Mar 26
1
Problem in loading all packages all at once
Hi All Please see the Rprofile file which i have modified as follows and after that when I start R then I see that R says to me "TRUE" for all the packages implying that all loaded at once. But when i try to use commands as simple as help("lm"), it doesnt work nor any of the menu "Packages" is not working. Although the regression using lm ( Y ~ X ) is working
2006 Apr 17
1
using betareg: problems with anova and predict
Dear R-helpers: We have had fun using betareg to fit models with proportions as dependent variables. However, in the analysis of these models we found some wrinkles and don't know where is the best place to start looking for a fix. The problems we see (so far) are that 1. predict ignores newdata 2. anova does not work Here is the small working example: ---------------------------- x
2007 Oct 02
0
Variable selection in R
Disclaimer : Short of having local statistical expertise at hand, I'm using this list because I use R for variable selection in the context of linear multiple regression but the questions I have relate more to basic statistics than to R per se. Please redirect me to another appropriate list if such a list exists. I have the very common problem of identifying which (subset of) variables are
2011 Sep 01
3
betareg question - keeping the mean fixed?
Hello, I have a dataset with proportions that vary around a fixed mean, is it possible to use betareg to look at variance in the dispersion parameter while keeping the mean fixed? I am very new to R but have tried the following: svec<-c(qlogis(mean(data1$scaled)),0,0,0) f<-betareg(scaled~-1 | expt_label + grouped_hpi, data=data1, link.phi="log",
2012 Apr 26
1
variable dispersion in glm models
Hello, I am currently working with the betareg package, which allows the fitting of a variable dispersion beta regression model (Simas et al. 2010, Computational Statistics & Data Analysis). I was wondering whether there is any package in R that allows me to fit variable dispersion parameters in the standard logistic regression model, that is to make the dispersion parameter contingent upon
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
2008 Mar 12
1
generalized linear mixed models with a beta distribution
Greetings, I am interested in using a generalized linear mixed model with data that best fits a beta distribution (i.e., the data is bounded between 0 and 1 but is not binomial). I noticed that the beta distribution is not listed as an option in the "family objects" for glmmPQL or lmer. I found a thread on this listserve from 2006 ("[R] lmer and a response that is a
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
2009 Feb 13
1
need help with errors in betareg analysis
Hi I'm trying to fit a model in betareg and I'm getting errors, but have no idea what they mean or how to solve them. Does anyone have experience with this? > model <- betareg(ACT ~ ST*SoilT, data = actDL_F) Warning messages: 1: In sqrt(W) : NaNs produced 2: In sqrt(W) : NaNs produced 3: In sqrt(1 + phihat) : NaNs produced data summaries don't give any na's or problems I
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
2011 Apr 19
0
Prediction in gamlss package
Hello! I've just build one-inflated beta regression model using package GAMLSS. It all worked very nicely but now I want to make prediction using it. I use typical function predict() give all necessary arguments (my new data is in data frame and all relevant columns have same names as before). Unfortunately it ends with following error: Error in nrow(x) : (subscript) logical subscript too
2013 Sep 18
1
dbeta may hang R session for very large values of the shape parameters
Dear all, we received a bug report for betareg, that in some cases the optim call in betareg.fit would hang the R session and the command cannot be interrupted by Ctrl-C? We narrowed down the problem to the dbeta function which is used for the log likelihood evaluation in betareg.fit. Particularly, the following command hangs the R session to a 100% CPU usage in all systems we tried it (OS X
2011 Jun 24
3
Error using betareg
Dear all, I get an error using betrag on this data set :http://dl.dropbox.com/u/1866110/dump.csv. I run it like this regression f2.1=betareg(Y~X1+X2,data=dump) summary(f2.1) I get : Call: betareg(formula = Y ~ X1 + X2, data = dump) Standardized weighted residuals 2: Error in quantile.default(x$residuals) : missing values and NaN's not allowed if 'na.rm' is FALSE In addition:
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
2011 May 27
0
Regresión Beta: más rápido?
Buenas tardes, Estoy interesado en ajustar modelos de regresion beta {betareg} a un conjunto de datos en el que se tienen una variable respuesta "y" y ~600K variables independientes. En el codigo en R que se encuentra en la parte inferior presento un ejemplo en el que se tienen 500 variables independientes y la misma respuesta "y" para todos. Tambien se encuentran algunos
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 ~