search for: glmmbugs

Displaying 6 results from an estimated 6 matches for "glmmbugs".

2009 Feb 08
5
glmmBUGS: logistic regression on proportional data
Hello, I am trying to run a logistic regression with random effects on proportional data in glmmBUGS. I am a newcomer to this package, and wondered if anyone could help me specify the model correctly. I am trying to specify the response variable, /yseed/, as # of successes out of total observations... but I suspect that given the error below, that is not correct. Also, Newsect should be a f...
2011 Oct 27
0
glmmBUGS fails to accept higher level covariates
Hello I am using glmmBUGS to fit a multilevel model. Treatments are nested in Course are nested in Patients. The predicted variable in total EEG duration. The predictors are: at the observation level : Medication dose at the Course level: Weight in KG and Age at the Patient level: Weight in KG and Age I am trying to fit...
2011 Jun 27
0
OpenBUGS and glmmBUGS package
Dear All, I am trying to use the glmmBUGS package with OpenBUGS under Linux. Here is a short list of code I modified from the diseasemapping package document: ---------------------------------------- library(diseasemapping) data(popdata) data(casedata) model = getRates(casedata, popdata, ~age*sex, breaks=seq(0, 90, by=10) ) ontario = get...
2011 Sep 15
1
MCMCglmm heteroscedasticity dependent on predictor
Hi, I have a dataset where the residual variance decreases with on one of the predictors (population size). Currently, the full model looks like this: prior<-list(R=list(V=1e-16, nu=-2),G1=list(V=diag(2), nu=2)) m<-MCMCglmm(response~poly(population size,2)*poly(other predictor,2)+time, random=~us(1+time):population, data=data, prior=prior) Basically, it's a random regression with
2010 Apr 21
3
Leer datos de Unicode
Hola, Tengo un problema cuando trato de leer datos que contienen caracteres en Unicode en R 2.10 (windows). La tabla que trato de leer tiene caracteres en Unicode en el nombre de las columnas ( si los tiene en el nombre de las filas no falla aunque me modifica el nombre ) La linea que utilizo es: read.table("example_unicode.txt", sep="\t", dec=".", header=T,
2008 Dec 18
4
autologistic modelling in R
Hi, I have spatially autocorrelated data (with a binary response variable and continuous predictor variables). I believe I need to do an autologistic model, does anyone know a method for doing this in R? Many thanks C Bell