similar to: Random and fixed effect model with a covariate

Displaying 20 results from an estimated 2000 matches similar to: "Random and fixed effect model with a covariate"

2010 Aug 19
1
GLMM random effects
Hello, I have a couple questions regarding generalized linear mixed models specifically around fitting the random effects terms correctly to account for any pseudo-replication. I am reading through and trying to follow examples from Zuur et al. Mixed Effects Models and Extensions in Ecology with R, but am still at bit unsure if I am specifying the models correctly. Background information: Our
2011 Oct 27
1
Proc Mixed to R
Hi All, I'm working with some SAS code to analyze an experiment set up as follows: 66 subjects (colonies) treated with a random treatment (1-8) and measured at three time points. The data structure looks like: input colony tmt y1 y2 y3; y=y1; date=*1*; output; y=y2; date=*2*; output; y=y3; date=*3*; output; datalines; 1
2012 May 03
1
Simple plot loop
Trying to plot multiple lines from a simple matrix with headers (eight observations per column). I will be doing a number of these, with varying numbers of columns, and do not want to enter the header names for each one (I got frustrated and just wrote them out, which did work). Data reads fine, first plot is fine, but when i use the code at the bottom for a for i loop it tells me that x and y
2007 Aug 22
4
within-subject factors in lme
I don't think, this has been answered: > I'm trying to run a 3-way within-subject anova in lme with 3 > fixed factors (Trust, Sex, and Freq), but get stuck with handling > the random effects. As I want to include all the possible random > effects in the model, it would be something more or less > equivalent to using aov > > > fit.aov <- aov(Beta ~ >
2008 Jan 29
1
Guidance for reporting results from lme test?
En innebygd og tegnsett-uspesifisert tekst ble skilt ut... Navn: ikke tilgjengelig Nettadresse: https://stat.ethz.ch/pipermail/r-help/attachments/20080129/5f8a6ac4/attachment.pl
2007 Aug 07
2
GLMM: MEEM error due to dichotomous variables
I am trying to run a GLMM on some binomial data. My fixed factors include 2 dichotomous variables, day, and distance. When I run the model: modelA<-glmmPQL(Leaving~Trial*Day*Dist,random=~1|Indiv,family="binomial") I get the error: iteration 1 Error in MEEM(object, conLin, control$niterEM) : Singularity in backsolve at level 0, block 1 >From looking at previous help
2003 Apr 24
2
Anyone using Asterisks and a Quicknet Lineja ck in the UK?
I don't have any experience of your problem - but I thought this might help. http://www.hut.fi/Misc/Electronics/circuits/uk_wiring.html <http://www.hut.fi/Misc/Electronics/circuits/uk_wiring.html> The UK (and some of it's former colonies) use a system called 3-wire ringing. Some equipment from overseas requires an adaptor to make it work. I don't know if the LineJack is one
2007 Feb 19
1
random effect nested within fixed effects (binomial lmer)
I have a large dataset where each Subject answered seven similar Items, which are binary yes/no questions. So I've always used Subject and Item random effects in my models, fit with lmer(), e.g.: model<-lmer(Response~Race+Gender+...+(1|Subject_ID)+(1| Item_ID),data,binomial) But I recently realized something. Most of the variables that I've tested as fixed effects are properties
2005 Oct 07
1
The mathematics inside lme()
Hello all! Consider a dataset with a grouping structure, Group (factor) Several treatments, Treat (factor) Some sort of yield, Yield (numeric) Something, possibly important, measured for each group; GroupCov (numeric) To look for fixed effects from Treat on Yield, a first attempt could be: m1 <- lm(Yield ~ Treat) which gives, in a symmetric situation, the same estimated fixed effects as:
2015 Feb 05
1
Another Fedora decision
On Thu, February 5, 2015 10:08 am, Always Learning wrote: > > On Thu, 2015-02-05 at 09:41 -0600, Valeri Galtsev wrote: > >> >> > wac4140SoeTer'#621strAAt0918;@@ >> > >> > Gee thanks. I'll use it for root on every server ;-) > >> I know this is joke. Yet (in a slim chance someone out there can follow >> it >> with seriousness)
2004 Jun 15
2
multiple error strata in aov
I am trying to perform a model 3 ANOVA for a 2 factor (say factor A and factor B) anova in which factor A is fixed and factor B is random. Therefore, the error term for the test of factor A should be the A:B interaction term and the error terms for B and A:B should be the model residual (within) term. I have tried to work out how to specify such error strata using aov, however, I have had
2005 Oct 19
1
anova with models from glmmPQL
Hi ! I try to compare some models obtained from glmmPQL. model1 <- glmmPQL(y~red*yellow+I(red^2)+I(yellow^2)+densite8+I(densite8^2)+freq8_4 +I(freq8_4^2), random=~1|num, binomial); model2 <- glmmPQL(y~red*yellow+I(red^2)+I(yellow^2)+densite8+I(densite8^2)+freq8_4 , random=~1|num, binomial); anova(model1, model2) here is the answer : Erreur dans anova.lme(model1, model2) : Objects must
2005 Feb 14
1
testing equality of variances across groups in lme?
Hello. I am fitting a two-level mixed model which assumes equality of variance in the lowest-level residuals across groups. The call is: fit3<-lme(CLnNAR~CLnRGR,data=meta.analysis, + na.action="na.omit",random=~1+CLnRGR|study.code) I want to test the assumption of equality of variances across groups at the lowest level. Can someone tell me how to do this? I know that one
2005 Jan 27
1
binomia data and mixed model
Hi, I am a first user of R. I was hoping I could get some help on some data I need to analyze. The experimental design is a complete randomized design with 2 factors (Source material and Depth). The experimental design was suppose to consist of 4 treatments replicated 3 time, Source 1 and applied at 10 cm and source 2 applied at 20 cm. During the construction of the treatmetns the depths vary
2005 Jan 10
2
Multiple comparisons following nlme
Dear Madam or Sir, I need to do multiple comparisons following nlme analysis (Compare the effects of different treatments on a response measured repeatedly over time; fixed = response ~ treat*time). On the web I found the notion that one might use the L argument from ANOVA. Do you have an example to show how this works together with nlme? Are there other ways to do a post-hoc analysis in
2005 Jan 17
2
3d bar plot
This graph -> http://www.math.hope.edu/~tanis/dallas/images/disth36.gif is an example I found at http://www.math.hope.edu/~tanis/dallas/disth1.html created by Maple. Does anybody know how to create something similar in R? I have a feeling it could be possible using scatterplot3d (perhaps with type=h, the fourth example in help('scatterplot3d')?), but I cannot figure it out. Thanks in
2005 Jan 31
3
Special paper for postscript
Hi, All; When I generate a "special" paper postscript image larger than "a4" or "letter" using R, I can only see one-page portion of all image, of course. What will be the simple solution for this? Is there any way I can set the bounding box information on the image? Or any other suggestions? Thanks in advance; Tae-Hoon Chung
2011 Apr 25
3
Nikon software - Photographer
Hi guys, I'm a photographer and I want to use the software that my camera manufacturer makes. I can install the application like View NX 2 but Nikon trasnfer makes an error. I want to know what information do I have to gather for help or what should I need to correct this erros. If any interested of helping please just reply. Thank you.
2007 Jan 08
2
Contrasts for ordered factors
Dear all, I do not seem to grasp how contrasts are set for ordered factors. Perhaps someone can elighten me? When I work with ordered factors, I would often like to be able to reduce the used polynomial to a simpler one (where possible). Thus, I would like to explicetly code the polynomial but ideally, the intial model (thus, the full polynomial) would be identical to one with an ordered factor.
2005 Feb 02
1
random effects in lme
Dear all, Suppose I have a linear mixed-effects model (from the package nlme) with nested random effects (see below); how would I present the results from the random effects part in a publication? Specifically, I?d like to know: (1) What is the total variance of the random effects at each level? (2) How can I test the significance of the variance components? (3) Is there something like an