[R] Fwd: Fitting glm with maxit=0?

2014-02-26 Thread Xiaogang Su
Here is another one. Thanks all again for the help! -- Forwarded message -- From: Xiaogang Su Date: Wed, Feb 26, 2014 at 9:38 AM Subject: Re: [R] Fitting glm with maxit=0? To: Thomas Lumley Thanks much Prof. Lumley for the tip. That'll be great. Yeah, occasionally the (

[R] Fwd: Fitting glm with maxit=0?

2014-02-26 Thread Xiaogang Su
Sorry that I forgot to include R Help in the addressee list. Here is one of my earlier follow-up emails. -- Forwarded message -- From: Xiaogang Su Date: Wed, Feb 26, 2014 at 8:48 AM Subject: Re: [R] Fitting glm with maxit=0? To: Prof Brian Ripley Thanks Prof. Ripley for the

Re: [R] Fitting glm with maxit=0?

2014-02-26 Thread Xiaogang Su
times they may be different sheerly because of floating point rounding errors. I could have obtained the variance-covariance matrix or Hessian using the known results for each other type of GLMs. But thought using glm() function could make the codes more generic. And it is working now. =

[R] Fitting glm with maxit=0?

2014-02-26 Thread Xiaogang Su
ly compute the covariance matrix using the formula. I also know that I could extract the corresponding deviance by using the offset option. Any suggestion is greatly appreicated. Thanks, Xiaogang Su = Xiaogang Su, Ph.D. Associate Professor Department of Mathematical Sci

Re: [R] rJava problems

2013-12-08 Thread Xiaogang Su
I encountered the same problem a couple of days ago. I found simply re-installing JASA (the 64bit one) would straighten out the Registry entries: http://java.com/en/download/manual.jsp = Xiaogang Su, Ph.D. Associate Professor Department of Mathematical Sciences

Re: [R] Selecting First Incidence from Longitudinal Data

2013-02-23 Thread Xiaogang Su
TY sequence > #1 1 0 121 > #4 2 0 011 > #8 3 0 01 1 > #13 4 0 121 > A.K. > > > > - Original Message - > From: Xiaogang Su > To: Rui Barradas > Cc: r-help@r-pr

Re: [R] Selecting First Incidence from Longitudinal Data

2013-02-23 Thread Xiaogang Su
To account for COMP, dat$sequence <- as.vector(unlist(lapply( aggregate(dat$ID, by=list(dat$ID), FUN=length)$x, FUN=function(x){seq(1, x dat0 <- dat[dat$sequence==1 & dat$COMPL!= 0, ] HTH, X On Sat, Feb 23, 2013 at 1:15 PM, Xiaogang Su wrote: > Try this: > dat$seque

Re: [R] Selecting First Incidence from Longitudinal Data

2013-02-23 Thread Xiaogang Su
oducible code. >> >> > __** > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/**listinfo/r-help<https://stat.ethz.ch/mailman/listinfo/r-help> > PLEASE do read the posting guide http://www.R-project.org/** > pos

Re: [R] rpart - how to estimate the “meaningful” predictors for an outcome (in classification t rees)

2010-12-14 Thread Xiaogang Su
tistics.co.il (Hebrew) | > www.r-statistics.com (English) > -- > >        [[alternative HTML version deleted]] > > ______ > R-help@r-project.org mai

Re: [R] Generating all possible models from full model

2010-05-19 Thread Xiaogang Su
inlunar+plankton, > data=mydata)) > >  m24567<-glm.convert(glm.nb(mantas~year+sinmonth+coslunar+sinlunar+plankton, > data=mydata)) > >  m34567<-glm.convert(glm.nb(mantas~cosmonth+sinmonth+coslunar+sinlunar+plankton, > data=mydata)) > > #Six terms - 7 models >  m

[R] Data Mining Competition 2008

2008-02-15 Thread Xiaogang Su
, FL ==== Xiaogang Su, Ph.D. Associate Professor / Undergraduate Coordinator Department of Statistics and Actuarial Science University of Central Florida Orlando, FL 32816 (407) 823-2940 [O] [EMAIL PROTECTED] http://pegasus.cc.ucf.edu/