Displaying 20 results from an estimated 200 matches similar to: "Difference in S.E. gee/yags and geeglm(/geese)"
2007 Feb 08
0
How to get p-values, seperate vectors of regression coefficients and their s.e. from the "yags" output?
Hello R-users:
I am using "yags" for fitting GEE which is giving me the same result as "Proc GENMOD". Now I have couple of questions related to yags output. (By the way, someone told me to run the geeglm for the same analysis and I did run but did not get the same result as of genmod and don't know how to correct the geeglm codes so that all three will be same!)
2008 Oct 29
1
how can I access parts of yags output
Here is an example given from
?yags
library(methods)
data(stackloss)
Y1 <- yags(stack.loss~Air.Flow,id=1:21, data=stackloss)
How can I access parts of the output.
I tried:
> str(Y1)
Formal class 'yagsResult' [package "yags"] with 25 slots
..@ coefficients : num [1:2] -44.13 1.02
..@ coefnames : chr(0)
> Y1$coefnames
Error in Y1$coefnames : $
2004 Jun 11
0
how to install yags in R
Dear R users,
I search the R archives and noted that the same problem has been posted but
without solution.
I know there IS instructions by the author of yags, but I just couldn't
figured out.
I know gee and geepack can also perform generalized estimating equation,
but the reason why I need yags is I want to perform a Small Sample
Adjustments by Michael P. Fay and Barry I. Graubard in
2004 Mar 19
0
yags, GEEs and GLMMs
Dear R-ers,
I am just a simple 'end-user' of R and am trying to analyse data with a binary response variable (dead or alive) in relation to weight and sex (of young birds). As some of the birds have the same biological mother, I am using mixed models with the identity of the mother as a random factor. (please, Mick Crawley, when are you going to write a chapter on mixed models with binary
2004 Mar 19
0
yags, GEEs, and GLMMs
Dear R-ers,
I am just a simple 'end-user' of R and am trying to analyse data with a binary response variable (dead or alive) in relation to weight and sex (of young birds). As some of the birds have the same biological mother, I am using mixed models with the identity of the mother as a random factor. (please, Mick Crawley, when are you going to write a chapter on mixed models with binary
2008 Oct 29
2
call works with gee and yags, but not geepack
I have included data at the bottom of this email. It can be read in by
highlighting the data and then using this command: dat <-
read.table("clipboard", header = TRUE,sep="\t")
I can obtain solutions with both of these:
library(gee)
fit.gee<-gee(score ~ chem + time, id=id,
family=gaussian,corstr="exchangeable",data=dat)
and
library(yags)
fit.yags <-
2006 Oct 17
2
Calculate NAs from known data: how to?
Hi
In a dataset I have length and age for cod. The age, however, is ony
given for 40-100% of the fish. What I need to do is to fill inn the NAs
in a correct way, so that age has a value for each length. This is to be
done for each sample seperately (there are 324 samples), meaning the NAs
for sampleno 1 shall be calculated from the known values from sampleno 1.
As for example length 55 cm
2006 Mar 29
1
QIC from gee() or geese()
Hello,
Is it possible to derive Pan's QIC (2001 Biometrics 57:120) from
either a fitted gee() object in the gee package or from a geese() fit
in the geepack package? If so, would anyone be kind enough to provide
me with code to do so? I realize that QIC is part of the output from
yags() but I would like to use one of the other functions. Thanks.
Richard
2011 Mar 23
0
p and wald values intra-groups geeglm: geepack
*H*i,
I am trying to fit a GEE model with *geeglm* function. The model is the
following:
Modelo<-geeglm(sqrt ~Tra+ Mes, id=Lugar , data=datos,
family=gaussian(identity), corstr="independence")
*Tra( is a experimental treatment, 2 levels)*, *Mes* (is the month of take
data, 4 levels) and *Lugar* (is the site of study, 3 levels) are categorical
variables and *sqrt* (sqrt of Total
2013 Apr 09
2
R crash
I have a generalized linear model to solve. I used package "geepack". When
I use the correlation structure "unstructured", I get a messeage that- R
GUI front-end has stopped working. Why this happens? What is the solution?
The r codes are as follows:
a<-read.table("d:/bmt.txt",header=T")
2008 Jan 11
5
installing and using a package
i'm trying to learn R. i have no programing experience. i tried to add on
a package and just picked "yags". i can't get it to work or get any help.
---
> install.packages("yags")
Warning in install.packages("yags") :
argument 'lib' is missing: using 'C:\Documents and Settings\j\My
Documents/R/win-library/2.6'
trying URL
2010 Dec 09
1
Constraints when sampling from a distribution
Dear R-helpers,
My question is related to how to impose constraints when when sampling from a distribution.
For example, suppose I'm sampling a vector from a multivariate normal distribution
vbeta <- 100*diag(2)
mbeta <- c(1,1)
ans <- beta <- c(rmvnorm(1,mbeta,vbeta))
ans will thus be a vector with two elements.
My question is how do I place a restriction on one of the
2005 Jun 07
0
user-defined spatial correlation structure in geeglm/geese
Dear all,
We have got data (response and predictor variables) for each country of the
world; I started by fitting standard GLM and tested for spatial correlation
using variogram models (geoR) fitted to the residuals of the GLM. Spatial
autocorrelation is significant. Therefore, I think about using general
estimation equations (geeglm or geese in geepack) allowing for residual
spatial
2012 Jan 02
0
How to get cov matrix of regression parameters in GEE using 'geese' or 'geeglm''
Dear R users,
I fitted a GEE model using the function 'geese' (or 'geeglm') with user
defined
correlation matrix. I want to get the var-cov matrix of the regression
coefficients. But the output provides only limited information.
I would be very much thankful if you could kindly let me know how to get
it..since I am struggling lot getting this.
Thanks
--
View this message in
2009 Nov 26
1
different fits for geese and geeglm in geepack?
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20091126/7134fc17/attachment-0001.pl>
2009 Jan 22
0
detecting the source of memory consumption (example provided)
I have read in a file (call it myData). The actual file is about
3000x30,000 columns and object.size() says myData takes:
> 737910472/(1024^2)
[1] 703.7263
Unfortunately, my program ends up using 40GB as indicated by maxvmem
on Unix, which causes my department's cluster to stop working.
Perhaps, I have some copying going on that I cannot find. I have
created an example below that mimics
2002 Jul 16
1
methods: representation gives "unused arguments" on failure (PR#1796)
Full_Name: Markus Jantti
Version: 1.5.1
OS: GNU/Linux Unstable (Sid)
Submission from: (NULL) (193.166.59.44)
I was trying to get the package yags 3.20 by Vince Carey
<stvjc@channing.harvard.edu>
to run, but - after successfull installation -- loading the library failed with
the
message
> library(yags)
Error in stop(paste("Duplicated slot names: ", paste(slots[duplicated(slo
2002 Jul 17
0
methods: representation gives "unused arguments" on failure (PR#1799)
markus.jantti@iki.fi wrote:
>
> Full_Name: Markus Jantti
> Version: 1.5.1
> OS: GNU/Linux Unstable (Sid)
> Submission from: (NULL) (193.166.59.44)
>
> I was trying to get the package yags 3.20 by Vince Carey
> <stvjc@channing.harvard.edu>
> to run, but - after successfull installation -- loading the library failed with
> the
> message
>
> >
2005 Apr 04
1
R package that has (much) the same capabilities as SAS v9 PROC GENMOD
I need capabilities, for my data analysis, like the Pinheiro & Bates
S-Plus/R package nlme() but with binomial family and logit link.
I need multiple crossed, possibly interacting fixed effects (age cohort of
twin when entered study, sex of twin, sampling method used to acquire twin
pair, and twin zygosity), a couple of random effects other than the cluster
variable, and the ability to
2011 Jan 19
2
how to get old packages to work on R 2.12.1
I just installed R 2.12.1, and when I went to run a few old programs with it, nothing worked.
I got a ton of error messages saying such and such package was built before R 2.10.0 and needed to be reinstalled.
These were not just warning messages, but error messages that prevent the programs from running when
they were running just fine with R 2.10.1
For some of those packages, such as deSolve, I