[R-sig-ME] Crime and school expenditure data
Douglas Bates
b@te@ @end|ng |rom @t@t@w|@c@edu
Sun Sep 8 19:19:47 CEST 2019
James,
Do you have any idea why the year 2004 has such a large mean CRIME_TOTAL
relative to the other years?
julia> by(totalYears, :yrfac, :CRIME_TOTAL => mean)
15×2 DataFrame
│ Row │ yrfac │ CRIME_TOTAL_mean │
│ │ Categorical… │ Float64 │
├─────┼──────────────┼──────────────────┤
│ 1 │ 2003 │ 3168.28 │
│ 2 │ 2004 │ 6368.35 │
│ 3 │ 2005 │ 2943.62 │
│ 4 │ 2006 │ 2879.6 │
│ 5 │ 2007 │ 2703.79 │
│ 6 │ 2008 │ 2673.72 │
│ 7 │ 2009 │ 2540.67 │
│ 8 │ 2010 │ 2388.7 │
│ 9 │ 2011 │ 2302.99 │
│ 10 │ 2012 │ 2194.78 │
│ 11 │ 2013 │ 2151.79 │
│ 12 │ 2014 │ 2000.15 │
│ 13 │ 2015 │ 2049.1 │
│ 14 │ 2016 │ 2089.87 │
│ 15 │ 2017 │ 2076.56 │
[[alternative HTML version deleted]]
More information about the R-sig-mixed-models
mailing list