Displaying 4 results from an estimated 4 matches for "participantid".
2013 Feb 14
3
appending data to a row
For an analysis of data from twins, I'd like to do some rearranging in my
dataframe. Currently, each twin has his or her own row. I'd like to add
several columns of the co-twin's data to each row. In other words, this is
the current situation:
FamilyID ParticipantID IQ Digit_span
1 1 95 6
1 2 93 7
2 3 102 8
2 4 101 9
3 5 106 7
3 6 108 9
And this is what I'd like to have, only with even more co-twin data:
FamilyID ParticipantI...
2002 May 31
0
Convergence and singularity in glmmPQL
Greetings-
Using R 1.5.0 under linux and the latest MASS and nlme, I am trying to
develop a three-level (two levels of nesting) model with a dichotomous
oucome variable. The unconditional model is thus:
> doubt1.pql<-glmmPQL(fixed = r.info.doubt ~ 1, random = ~1 |
groupid/participantid,
+ family = binomial, data = fgdata.10statements.df)
iteration 1
iteration 2
iteration 3
iteration 4
iteration 5
> summary(doubt1.pql)
Linear mixed-effects model fit by maximum likelihood
Data: fgdata.10statements.df
AIC BIC logLik
35838.51 35864.14 -17915.26
Random effe...
2002 Jun 21
0
Interpreting output from glmmPQL
...individual level) with
dichotomous outcomes. There are several statistics of interest; for the
moment, I have two specific questions:
1.) This question refers to the following model (I present first
the call, then the output of summary():
morality.restr.1.pql<-glmmPQL(random = ~ 1 | groupid/participantid,
fixed = r.logic.morality ~ 1,
data = fgdata.df[coded.logic,],
na.action=na.omit,
niter=50,
family=binomial)
Linear mixed-effects model fit by max...
2003 May 30
1
Error using glmmPQL
Can anyone shed any light on this?
> doubt.demographic.pql<-glmmPQL(random = ~ 1 | groupid/participantid,
+ fixed = r.info.doubt ~
+ realage + minority + female + education + income + scenario,
+ data = fgdata.df[coded.resource,],
+ na.action=na.omit,
+ niter=50,
+...