Displaying 20 results from an estimated 100 matches similar to: "GEE: estimate of predictor with high time dependency"
2010 Apr 29
1
Generalized Estimating Equation (GEE): Why is Link = Identity?
Hi,
I'm running GEE using geepack.
I set corstr = "ar1" as below:
> m.ar <- geeglm(L ~ O + A,
+ data = firstgrouptxt, id = id,
+ family = binomial, corstr = "ar1")
> summary(m.ar)
Call:
geeglm(formula = L ~ O + A, family = binomial,
data = firstgrouptxt, id = id, corstr = "ar1")
Coefficients:
2010 Apr 30
1
QIC for GEE
Hi,
I'm using 'geepack' to run Generalized Estimating Equations. I'm aware that
I can use anova to compare two models, but would it be possible to test QIC
on R? It seems that there were similar questions a couple of years ago, but
the question has not been answered yet.
I'd appreciate if someone could show me the code!
Thank you,
Sachi
[[alternative HTML version
2009 Mar 17
1
coefficient graph
Dear R list members,
I'd like to make a graph of coefficients of the intercept, variable 1, and
variable 2 (and possibly the interaction between variable 1 and variable
2). When I use the lmList function as attached below, it shows a nice
coefficient graph.
> PACRP.lis <- lmList(PAffect ~ CRPC + CRPT + CINT | ID, redinteract)
> coef(PACRP.lis)
> PACRPlis.coef <-
2010 Apr 29
1
Changing from 32-bit builds to 64-bit builds
Hi,
Probably this is a very simple question for all the programmers, but how do
you change from 32-bit builds (default) to 64-bit builds?
I've been trying to run Anova to compare two models, but I get the following
error message:
Error: cannot allocate vector of size 1.2 Gb
R(3122,0xa0ab44e0) malloc: *** mmap(size=1337688064) failed (error code=12)
*** error: can't allocate region
***
2008 Dec 12
1
How can we predict differences in a slope, given that the random component was significant?
Dear R users,
Using R lme function, I found that both fixed and random effects of variable
A on variable B are significant. Now, I'd like to analyze what variables
are predicting differences in the slope. In other words, I'd like to know
what variables (e.g., variable C) are predicting individual differences in
the effects of A on B. I have many data points for A and B for each
2009 Mar 15
2
xyplot of a specific ID number
Dear R list members,
I have a question regarding xyplot. I managed to make a xyplot of all the
IDs by using the syntax below:
xyplot(PA ~ CRPC + CRPT | ID, data = redinteract)
Now, I'd like to make a graph of a specific ID number (e.g., only ID number
301). I thought I could use "subset", but it seems to be not working.
Could anyone let me know how I can make a graph of a
2010 Apr 14
1
Sig differences in Loglinear Models for Three-Way Tables
Hi all,
I've been running loglinear models for three-way tables: one of the
variables having three levels, and the other two having two levels each.
An example looks like below:
> yes.no <- c("Yes","No")
> switch <- c("On","Off")
> att <- c("BB","AA","CC")
> L <- gl(2,1,12,yes.no)
> T <-
2009 Jul 21
1
package quantreg behaviour in weights in function rq,
Dear all,
I am having v.4.36 of Quantreg package and I noticed strange behaviour when
weights were added. Could anyone please explain me what if the results are
really strange or the behavioiur is normal. As an example I am using dataset
Engel from the package and my own weights.
x<-engel[1:50,1]
y<-engel[1:50,2]
w<-c(0.00123, 0.00050, 0.00126, 0.00183, 0.00036, 0.00100,
0.00122,
2009 Jun 28
1
HLM - centering level 2 predictor
Dear R-helpers,
I'm analyzing a data with hierarchical linear model. I have one level 1 predictor and one level 2 predictor, which looks like below:
fm1 <- lmer(y ~ 1 + x1 + x2 + x1:x2 + (1 + x1 | id.full))
where:
y is the outcome variable.
x1 is the level 1 predictor variable.
x2 is the level 2 predictor variable.
id.full is the conditioned variable.
It runs beautifully when only x1
2012 Aug 22
1
Error in if (n > 0)
I've searched the Web with Google and do not find what might cause this
particular error from an invocation of cenboxplot:
cenboxplot(cu.t$quant, cu.t$ceneq1, cu.t$era, range=1.5, main='Total
Recoverable Copper', ylab='Concentration (mg/L)', xlab='Time Period')
Error in if (n > 0) (1L:n - a)/(n + 1 - 2 * a) else numeric() :
argument is of length zero
I do
2012 Sep 07
7
Producing a table with mean values
Hi All,
I have a data set wit three size classes (pico, nano and micro) and 12
different sites (Seamounts). I want to produce a table with the mean and
standard deviation values for each site.
Seamount Pico Nano Micro Total_Ch
1 Off_Mount 1 0.0691 0.24200 0.00100 0.31210
2 Off_Mount 1 0.0938 0.00521 0.02060 0.11961
3 Off_Mount 1 0.1130 0.20000 0.06620 0.37920
4 Off_Mount 1
2011 Jul 13
1
AR-GARCH with additional variable - estimation problem
Dear list members,
I am trying to estimate parameters of the AR(1)-GARCH(1,1) model. I have one
additional dummy variable for the AR(1) part.
First I wanted to do it using garchFit function (everything would be then
estimated in one step) however in the fGarch library I didn't find a way to
include an additional variable.
That would be the formula but, as said, I think it is impossible to add
2006 Oct 27
1
(no subject)
Hi,
I have generated a profile likelihood for a parameter (x) and am
trying to get 95% confidence limits by calculating the two points
where the log likelihood (LogL) is 2 units less than the maximum
LogL. I would like to do this by linear interpolation and so I have
been trying to use the function approxfun which allows me to get a
function to calculate LogL for any value of x within
2008 Jun 19
1
PrettyR (describe)
#is there a way to get NA in the table of descriptive statistics instead of
the function stopping Thank you in advance
#data
x.f <- structure(list(Site = structure(c(9L, 9L, 9L, 9L, 9L, 9L, 9L,
9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L,
9L, 9L, 9L, 9L), .Label = c("BC", "HC", "RM119", "RM148", "RM179",
"RM185",
2010 Dec 14
0
factor predictor using random forest
Hello everyone,
I have been doing a binary classification using random forest from the
library "randomForest". One of the predictors is a factor variable, which is
known to be highly related to the binary response I am trying to predict.
Other 80 predictors are numeric. Totally I have 44 subjects. However, the
random forest returns the factor variable as the least important one based
on
2013 Dec 16
1
log transforming predictor variables in a binomial GAM?
Hi all,
I am applying a Presence/absence Generalized additive model to model the distribution of marine algae species in R. I have found that log transforming the environmental variables improves the explained deviance of the model considerably. While log transforming is common practice in GLM, I have been unable to find any papers where this is performed in a GAM. Im wondering whether this
2017 Dec 14
0
multiple instances of predictor variable per model
I?m running a model on animal behavior in response to shipping. In most
cases, there is only one ship in the study area at one time. Ship length,
distance from the animals, speed, angle from animals, and ship direction
(as east/west bound) are among shipping-related covariates (with multiple
interactions).
The tricky part is that sometimes there are 2 ships in the area. I could
add all the same
2017 Jun 29
0
Help : glm p-values for a factor predictor
Hi Michael,
> -----Original Message-----
> From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Michael
> Friendly
> Sent: Thursday, June 29, 2017 9:04 AM
> To: Beno?t PELE <benoit.pele at acoss.fr>; r-help at r-project.org
> Subject: Re: [R] Help : glm p-values for a factor predictor
>
> On 6/29/17 11:13 AM, Beno?t PELE wrote:
> > My question is
2018 May 09
1
Ignored branch predictor hints
On 9 May 2018 at 19:48, Dávid Bolvanský via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> But a fix needs to be made since branch predictor hints are broken in a
> valid C++20 code:
They don't affect performance in the expected way, but they also don't
actually break code. I'm not saying it's not a bug, but it's certainly
not on the same level as a miscompilation.
2011 Jan 04
0
[LLVMdev] Is PIC code defeating the branch predictor?
On 04 Jan 2011, at 08:30, Jakob Stoklund Olesen wrote:
> I noticed that we generate code like this for i386 PIC:
>
> calll L0$pb
> L0$pb:
> popl %eax
> movl %eax, -24(%ebp) ## 4-byte Spill
>
> I worry that this defeats the return address prediction for returns
> in the function because calls and returns no longer are matched.
According to benchmarks by