Re: [R] Extracting data using subset function

2023-02-05 Thread
Do you mean something like the following? Here the first elements are selected by subset function. > x1 [1] 9 8 7 6 5 4 3 > z1 [1] TRUE TRUE TRUE FALSE FALSE FALSE FALSE FALSE FALSE > subset(x1,z1) [1] 9 8 7 2023年2月6日(月) 3:34 Upananda Pani : > > No i am teaching Econometrics and learning R.

[R] appropriate test in glm when the family is Gamma

2012-09-24 Thread
Dear R users, Which test is most appropriate in glm when the family is Gamma? In the help page of anova.glm, I found the following “For models with known dispersion (e.g., binomial and Poisson fits) the chi-squared test is most appropriate, and for those with dispersion estimated by moments