Displaying 20 results from an estimated 400 matches similar to: "gee: suppress printout"
2004 Feb 08
1
APE: compar.gee( )
Dear all,
I don't understand the following behaviour: Running compar.gee (in
library ape ) with and without the option 'data', it give me different
results
Example:
.... Start R ....
> load("eiber.RData")
> ls()
[1] "gee.na" "mydata" "mytree"
> library(ape)
> # runnig with the option data= mydata
> compar.gee(alt ~ R,
2007 Dec 29
1
COMPAR.GEE error with logistic model
Hello,
I am trying to run the APE program COMPAR.GEE with a model containing a
categorical response variable and a mixture of continuous and categorical
independent variables. The model runs when I have categorical (binary)
response and two continuous independent variables (VAR1 and VAR2), but when
I include a categorical (binary) independent variable (VAR3), I receive the
following output with
2011 May 08
1
questions about the output of "gee" and its summary
Dear R-helpers,
I am using the package "gee" to run a marginal model.
Here is the output.
In my simulated data, both x and z are time-varying, so I include their
interaction terms with time indicator (i.e. tind=0, if time 1, and 1 if time
2)
The data is simulated, so the true parameter of z both at time 1 and time 2
is 5, which is very close from the model output
for time 1, z =
2004 Aug 18
1
Gee
I am trying to learn the gee function in R. So I try to
generate some data and use this function. I have the
following lines:
######################################## Gee
# Generating lny=10+2*Si-Si^2+eta
# eta ~ N(0,1)
# Si ~ U(0,11)
eta <- vector(mode="numeric",100)
eta <- rnorm(100)
Si <- vector(mode="numeric",100)
Si <- runif(100, min=0, max=11)
lny <-
2003 May 11
2
gee
I am trying to use gee() to calculate the robust standard errors for a
logit model. My dataset (zol) has 195019 observations; winner, racebl,
raceas, racehi are all binary variables. ID is saved as a vector of
length 195019 with alternating 0's and 1's. I get the following error
message. I also tried the same command with corstr set to "independence"
and got the same
2005 Nov 18
0
Likely cause of error (code=1) in compar.gee/gee
Hi,
I'm attempting a comparative analysis using the function compare.gee,
package (ape), which uses phylogeny as a correlation matrix in gee
(package gee), in R version 2.2.0 on a Windows XP PC. I'm looking to
model the relationship between a continuous explanatory variable and a
binary response variable for 600 species, taking into account the
phylogeny of those species.
Here's
2002 Jul 16
2
scale parameter and parameter vac-cov matrix in GEE
Dear all,
It looks like the parameters var-cov matrix returned by gee() is not
adjusted for the scale parameter:
> fm1 <- gee(nbtrp ~ strate * saison + offset(log(surf)), family = poisson, data = Eff2001,
+ id = loc, tol = 1e-10, corstr = "exchangeable")
[1] "Beginning Cgee S-function, @(#) geeformula.q 4.13 98/01/27"
[1] "running glm to get initial
2010 Apr 24
0
'geepack' and 'gee' package outputs
Hi, having used both the gee pacakge and the geepack package, i am unsure of
how to interpret the results.
Here are the results from the geeglm function from the geepack package
> gee2<-geeglm(data$erythema~data$product, data = data, id=subject,
> family=binomial, corstr="independence")
Warning message:
In model.response(mf, "numeric") :
using
2010 Jun 17
0
Modifyiing R working matrix within "gee" source code
Dear all,
I am working on modifying the R working matrix to commodate some other
correlations that not included in the package. I am having problem to locate
where the R matrix are defined for regular matrices, i.e. independence,
exchangeable, AR and unstructure. it might have something within
.C("Cgee",but don't understand it well enough to know. Can you anyone
help?
/*gee source
2011 Jun 24
0
understand GEE output for wald test
Hi
I'm having some difficulty understanding my output (below) from GEE. the
person who wrote the program included some comments about the '3-th term
gives diff between hyp/ox at time..', and after created an L vector to use
for a WALD test. I was wondering if someone could help me understand the
GEE output, the programmers comment, how L was determined, and its use in
the WALD
2008 Sep 20
0
Error in GEE model fit
Hi,
I would like to fit a GLM model with GEE on clustered data.
I tried to use gee in the GEE package on a twin data set. All cluster
are of size 2. I removed the missing data and ordered by IDENTIF2 first.
library(gee)
mod.pc <- gee(Y ~ X1 + X2 , id = IDENTIF2, family = binomial, corstr
= "unstructured", data = na.omit(df))
gives the following result :
Beginning Cgee S-function,
2010 Sep 08
0
How to get OR and CI from GEE R package
Hi,
I am fitting a GEE model using gee R package, but I am not sure how to get
OR and its CI?
Could anyone give me some hints?
Here are some output:
> gee.obj <- gee(Affection~Sibsex+Probandsex,id = FAMID,family = binomial,corstr = "independence",data =seldata)
Beginning Cgee S-function, @(#) geeformula.q 4.13 98/01/27
running glm to get initial regression estimate
2005 Sep 28
1
gee models summary
I'm running some GEE models but when I request the summary(pcb.gee) all
I get are rows and rows of intercorelations and they fill up the screen
buffer so I can not even scroll back to see what else might be in the
summary. How do I get the summary function to NOT print the
intercorrelations?
Thanks,
--
Dean Sonneborn
Programmer Analyst
Department of Public Health Sciences
University of
2010 Sep 10
2
gee p values
windows Vista
R 2.10.1
Is it possible to get p values from gee? Summary(geemodel) does not appear to produce p values.:
> fit4<- gee(y~time, id=Subject, data=data.frame(data))
Beginning Cgee S-function, @(#) geeformula.q 4.13 98/01/27
running glm to get initial regression estimate
(Intercept) time
1.1215614 0.8504413
> summary(fit4)
GEE: GENERALIZED LINEAR MODELS FOR
2006 Apr 10
5
p values for a GEE model
Hi all,
I have a dataset in which the output Y is observed on two groups of
patients (treatment factor T with 2 levels).
Every subject in each group is observed three times (not time points but
just technical replication).
I am interested in estimating the treatment effect and take into account
the fact that I have repeated measurements for every subject.
If I do this with repeated measures
2009 May 26
0
Cgee: error: logistic model
Hello,
Much like Charlie Wills a year ago, I am trying to run the APE program
COMPAR.GEE with a model containing a categorical response variable and
a continuous variable.
My command code is :
compar.gee(costusdata$Syndrome ~ costusdata$Stamen, phy = costustree,
family = "binomial")
I receive the following output with an error:
Beginning Cgee S-function, @(#)
2011 Aug 11
1
Subsampling data
*Dear R community*
* *
*I have two questions on data subsample manipulation. I am starting to use R
again after a long brake and feel a bit rusty.*
* *
*I want to select a subsample of data for males and females separately*
* *
library(foreign)
Datatemp <- read.spss("H:/Skjol/Data/HL/t1and2b.sav", use.value.labels = F)
> table(Datatemp$sex)
1 2
3049 3702
2011 Jun 23
2
new to R need urgent help!
hi all-
I am doing some research, have never used R before until today and need to
understand the following program for a project.
if some one could PLEASE help me understand this program ASAP i would
GREATLY appreciate it (any syntax/ statistic comments would be great)
PLEASE PLEASE HELP!! THANKYOU!!!
-on a side note, it seems to me that R doesnt include the pv, and it was
calculated
2010 Feb 06
1
How to suppress vector indexes in printout
I'm a newbie in R and my question is simple.
When I type something like this:
> x=rnorm(10)
> x
[1] 0.5804216 -1.1537118 -0.3222235 0.7117290 -1.0918811 0.3992606
[7] -0.1800837 0.4168152 -0.2077298 -0.2595467
> 1
[1] 1
>
I'm getting indexes in the first column ([1], [7], etc.)
How to suppress them temporarily to get this:
> x=rnorm(10)
> x
0.5804216 -1.1537118
2013 Jan 06
4
random effects model
Hi A.K
Regarding my question on comparing normal/ obese/overweight with blood
pressure change, I did finally as per the first suggestion of stacking the
data and creating a normal category . This only gives me a obese not obese
14, but when I did with the wide format hoping to get a
obese14,normal14,overweight 14 Vs hibp 21, i could not complete any of the
models.
This time I classified obese=1