Displaying 20 results from an estimated 90 matches similar to: "Glmm for multiple outcomes"
2006 Aug 10
1
How to fit bivaraite longitudinal mixed model ?
Hi
Is there any way to fit a bivaraite longitudinal mixed model using R. I have
a data set with col names
resp1 (Y_ij1), resp2 (Y_ij2), timepts (t_ij), unit(i)
j=1,2,..,m and i=1,2,..n.
I want to fit the following two models
Model 1
Y_ij1, Y_ij2 | U_i = u_i ~ N(alpha + u_i + beta1*t_ij, Sigma)
U_i ~ iid N(0, sigu^2)
Sigma = bivariate AR structure
alpha and beta are vectors of order 2.
2005 Dec 15
1
generalized linear mixed model by ML
Dear All,
I wonder if there is a way to fit a generalized linear mixed models (for repeated binomial data) via a direct Maximum Likelihood Approach. The "glmm" in the "repeated" package (Lindsey), the "glmmPQL" in the "MASS" package (Ripley) and "glmmGIBBS" (Myle and Calyton) are not using the full maximum likelihood as I understand. The
2006 Jan 03
1
lmer error message
Dear All,
I have the following error message when I fitted lmer to a binary data with the "AGQ" option:
Error in family$mu.eta(eta) : NAs are not allowed in subscripted assignments
In addition: Warning message:
IRLS iterations for PQL did not converge
Any help?
Thanks in advance,
Abderrahim
[[alternative HTML version deleted]]
2004 May 18
0
nlme: Initial parameter estimates
Hello,
I am trying to fit a nlme (non linear mixed effect). I am using the SelfStart function SSlogis. However the data in my hand contains few observations per subject (4 or less), so the nlsList doesn't work... In this case I should fixe initial parameter estimates. I remark that values of initial estimates have a greater effect on the model fit (i.e. loglikelihood, AIC and also on
2004 May 25
0
NLME
Hi everyone,
Does the selfstart function SSlogis of the "nlme" library allows the introduction of time varying covariates ?
For example how can I interpret the xmid parameter (reperesenting the age at which we reach the half of the asymptote) if I want to explain it by a some time varying covariate?
Thanks in adavance,
Abderrahim
Abderrahim Oulhaj, Phd in Statistics
Oxford
2004 Mar 12
0
Latent trait models
Hi,
I am looking for any procedure in R to fit "Latent variables models" in particular "Latent trait models (i.e. for binary data)". could anyone help me?
Many thanks ,
Dr Abderrahim Oulhaj
Oxford University
Department of Pharmacology
Mansfield Road
Oxford OX1 3QT
Tel: +44 1865 224098
Fax: +44 1865 224099
Email: abderrahim.oulhaj@pharmacology.oxford.ac.uk
2012 Oct 29
2
Two-way Random Effects with unbalanced data
Hi there,
I am looking to fit a two-way random effects model to an *unblalanced*
layout,
y_ijk = mu + a_i + b_j + eps_ijk,
i=1,...,R, j=1,...,C, k=1,...,K_ij.
I am interested first of all in estimates for the variance components,
sigsq_a, sigsq_b and sigsq_error.
In the balanced case, there are simple (MM, MLE) estimates for these; In the
unbalanced setup,
2006 Oct 24
1
Variance Component/ICC Confidence Intervals via Bootstrap or Jackknife
I'm using the lme function in nmle to estimate the variance components
of a fully nested two-level model:
Y_ijk = mu + a_i + b_j(i) + e_k(j(i))
lme computes estimates of the variances for a, b, and e, call them v_a,
v_b, and v_e, and I can use the intervals function to get confidence
intervals. My understanding is that these intervals are probably not
that robust plus I need intervals on the
2007 Jan 20
1
aov y lme
Dear R user,
I am trying to reproduce the results in Montgomery D.C (2001, chap 13,
example 13-1).
Briefly, there are three suppliers, four batches nested within suppliers
and three determinations of purity (response variable) on each batch. It is
a two stage nested design, where suppliers are fixed and batches are random.
y_ijk=mu+tau_i+beta_j(nested in tau_i)+epsilon_ijk
Here are the
2007 Jan 19
0
(no subject)
Dear R user,
I am trying to reproduce the results in Montgomery D.C (2001, chap 13,
example 13-1).
Briefly, there are three suppliers, four batches nested within suppliers
and three determinations of purity (response variable) on each batch. It is
a two stage nested design, where suppliers are fixed and batches are random.
y_ijk=mu+tau_i+beta_j(nested in tau_i)+epsilon_ijk
Here are the
1999 Nov 08
1
Nested Designs
Dear R list,
What is the proper way to specify a nested model so that
the F values agree with the expected mean square errors?
Specifically, suppose I have a design where "Heads" are
nested within "Machines". I would like to model the
following Y_ijk = Mu + Machine_i +Head_j(i) +Error_k(ij).
Using the commands below,
> summary(aov(Strain~Machine + Head%in%Machine ))
2011 Aug 08
1
mixed model fitting between R and SAS
Hi al,
I have a dataset (see attached), which basically involves 4 treatments for a chemotherapy drug. Samples were taken from 2 biopsy locations, and biopsy were taken at 2 time points. So each subject has 4 data points (from 2 biopsy locations and 2 time points). The objective is to study treatment difference.?
I used lme to fit a mixed model that uses "biopsy.site nested within pid"
2012 Sep 06
0
INSTRUMENTAL VARIABLES WITH BINARY OUTCOMES
This is the named article:
http://ije.oxfordjournals.org/content/37/5/1161.long
maybe it can help you to help me... :-(
--
View this message in context: http://r.789695.n4.nabble.com/INSTRUMENTAL-VARIABLES-WITH-BINARY-OUTCOMES-tp4642361p4642363.html
Sent from the R help mailing list archive at Nabble.com.
2009 Jan 30
1
simulating outcomes - categorical distribution (?)
Hi,
I am simulating an event that has 15 possible outcomes and I have a
vector 'pout' that gives me the probability of each outcome -
different outcomes have different probabilities. Does anyone know a
simple way of simulating the outcome of my event?
If my event had only two possible outcomes (0/1) I would pick a
uniform random number between 0 and 1 and use it to choose between the
two
2010 Feb 05
0
Censored outcomes - repeated measures and mediators
Hello,
In a study exploring transgenerational transmission of anxiety
disorder we investigate whether infants react to experimentally
induced mood changes of their mothers. We measured the time that an
infant needed to cross a cliff (=crossing time) depending on whether
his mother had previously undergone a mood induction (treatment) or
not (control). The treatment is thus a
2010 Aug 13
1
different outcomes of P values in SPSS and R
I have been using generalized linear models in SPSS 18, in order to build
models and to calculate the P values. When I was building models in Excel
(using the intercept and Bs from SPSS), I noticed that the graphs differed
from my expectations. When I ran the dataset again in R, I got totally
different outcomes for both the P values as well as the Bs and the
intercepts. The outcomes of R seem much
2008 Mar 05
1
CROSSOVER TRIALS IN R (Binary Outcomes)
I will like to analyse a binary cross over design using the random
effects model. The probability of success is assumed to be logistic.
Suppose as an example, we have 4 subjects undergoing a crossover design,
where the outcome is either success or failure. The first two subjects
receive treatment "A" first followed by treatment "B". The remaining two
subjects receive
2008 Apr 15
1
Predicting ordinal outcomes using lrm{Design}
Dear List,
I have two questions about how to do predictions using lrm, specifically
how to predict the ordinal response for each observation *individually*.
I'm very new to cumulative odds models, so my apologies if my questions are
too basic.
I have a dataset with 4000 observations. Each observation consists of
an ordinal outcome y (i.e., rating of a stimulus with four possible
2009 Mar 13
2
different outcomes using read.table vs read.csv
Good Afternoon
I have noticed results similar to the following several times as I
have used R over the past several years.
My .csv file has a header row and 3073 rows of data.
> rskreg<-read.table('D:/data/riskregions.csv',header=T,sep=",")
> dim(rskreg)
[1] 2722 13
> rskreg<-read.csv('D:/data/riskregions.csv',header=T)
> dim(rskreg)
[1] 3073
2004 Jul 07
3
Creating Binary Outcomes from a continuous variable
Dear List:
I have searched the archives and my R books and cannot find a method to
transform a continuous variable into a binary variable. For example, I
have test score data along a continuous scale. I want to create a new
variable in my dataset that is 1=above a cutpoint (or passed the test)
and 0=otherwise.
My instinct tells me that this will require a combination of the
transform