... As this concerns gene expression, perhaps the Bioconductor list
might be more appropriate. As it is prmarily statistics, not R
programming, maybe stats.stackexchange.com might be a better venue.
You might also be better off contacting the package maintainers
(?maintainer) for such package-specific questions.
-- Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Fri, Jun 2, 2017 at 7:22 AM, Aanchal Sharma
<aanchalsharma833 at gmail.com> wrote:> Hi All,
>
> I am running a generalized linear model with gamma distribution in R (glm,
> family=gamma ) for my data (gene expression as response variable and few
> predictors). I want to calculate r-squared for this model.
>
> I have been reading online about it and found there are multiple formulas
> for calculating R2 (psuedo) for glm (in R) with gaussian (r2 from linear
> model), logistic regression (1-deviance/null deviance), poisson
> distribution (using pR2 in pscl package, D-squared value from modEvA R
> package). But I could not find anything specific to gamma distributions.
>
> Can pscl and modEVA packages be used for gamma distributions as well? or
> there is any other formula for doing the same?
>
> Thanks
>
> Regards,
>
> Anchal
>
> --
> Anchal Sharma, PhD
> Postdoctoral Fellow
> 195, Little Albany street,
> Cancer Institute of New Jersey
> Rutgers University
> NJ-08901
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.