[R] glm()

2012-02-04 Thread Sherlene Enriquez-Savery
I want to run the glm () function for my data but instead of using the family distributions in R, I need the 4P Burr distribution. Can some please explain how can I go about doing that. Or please provide me with an example. I‘m new to R. Eg. Model1 <- glm(Postwt ~ Prewt + Treat + offset(Pr

[R] regression using GMM for mulltiple groups

2011-10-25 Thread Sherlene Enriquez-Savery
,"VWRET"] RF <- DataMat[1:6480,"RF"] z<-as.matrix(Returns-RF) zm<-as.matrix(VWRET-RF) res <- gmm(z ~ zm, x = zm) coef(res) -- Sherlene Enriquez-Savery, Doctoral Candidate Department of Mathematics & Statistics University of South Florida 4202 East Fowle