Displaying 2 results from an estimated 2 matches for "4545l".
Did you mean:
4545
2011 Aug 06
2
Gamma distribution parameter estimation
...I have a set of income data which I'd like to fit to a gamma
distribution. How can I estimate the two parameters of the gamma
distribution for a vector, e.g.
c(2039L, 2088L, 5966L, 2353L, 1966L, 2312L, 3305L, 2013L, 3376L,
3363L, 3567L, 4798L, 2032L, 1699L, 3001L, 2329L, 3944L, 2568L,
1699L, 4545L)
I sense this will be a very easy one-liner, but my searching didn't come
up with results yet.
Thanks in advance,
Alex
2010 Oct 07
3
reshape from wide to long, ordering of "varying"
...t;Int.Prev.Est.5"),v.names='cat', direction="long") #
Here is some example data
dput(tail(UK.INT))
structure(list(age = c(93, 93, 94, 94, 95, 95), sex = c(0, 1,
0, 1, 0, 1), Int.Prev.Est.1 = c(2647L, 19706L, 1832L, 15229L,
1277L, 11456L), Int.Prev.Est.2 = c(6448L, 14576L, 4545L, 11227L,
3127L, 8527L), Int.Prev.Est.3 = c(1087L, 1618L, 842L, 1314L,
515L, 930L), Int.Prev.Est.4 = c(484L, 599L, 288L, 434L, 225L,
352L), Int.Prev.Est.5 = c(477L, 428L, 297L, 344L, 230L, 293L)), .Names
= c("age",
"sex", "Int.Prev.Est.1", "Int.Prev.Est.2", &q...