Displaying 1 result from an estimated 1 matches for "xsqagec".
Did you mean:
xsavec
2012 May 04
2
Binomial GLM, chisq.test, or?
...cohorts=c(2010,2009,2008,2007,2006,2004,2003,2002,2001,2000,1996))
> age_cohort
cohorts
site 2010 2009 2008 2007 2006 2004 2003 2002 2001 2000 1996
M 142 95 46 33 14 59 18 12 7 1 0
D 258 144 54 70 20 11 6 8 2 3 1
> (Xsqagec <- chisq.test(age_cohort)) # Prints test summary
Pearson's Chi-squared test
data: age_cohort
X-squared = 82.6016, df = 10, p-value = 1.549e-13
Mensajes de aviso perdidos
In chisq.test(age_cohort) : Chi-squared approximation may be incorrect
> Xsqagec$observed # observed counts...