Re: [R] estimation problem

2012-05-05 Thread David Winsemius
On May 4, 2012, at 4:22 PM, Petr Savicky wrote: On Fri, May 04, 2012 at 07:43:32PM +0200, Kehl Dániel wrote: Dear Petr, thank you for your input. I tried to experiment with (probably somewhat biased) truncated means like in the following code. How I got the 225 as a truncation limit is a

Re: [R] estimation problem

2012-05-04 Thread Kehl Dániel
Dear Petr, thank you for your input. I tried to experiment with (probably somewhat biased) truncated means like in the following code. How I got the 225 as a truncation limit is a good question. :) REPS1 - REPS2 - 1000 N1 - 10 N2 - 3 N - N1+N2 x1 - rep(0,N1) x2 - rnorm(N2,300,100) x -

Re: [R] estimation problem

2012-05-04 Thread Petr Savicky
On Fri, May 04, 2012 at 07:43:32PM +0200, Kehl Dániel wrote: Dear Petr, thank you for your input. I tried to experiment with (probably somewhat biased) truncated means like in the following code. How I got the 225 as a truncation limit is a good question. :) REPS1 - REPS2 - 1000 N1 -

[R] estimation problem

2012-05-03 Thread Kehl Dániel
Dear List-members, I have a problem where I have to estimate a mean, or a sum of a population but for some reason it contains a huge amount of zeros. I cannot give real data but I constructed a toy example as follows N1 - 10 N2 - 3000 x1 - rep(0,N1) x2 - rnorm(N2,300,100) x - c(x1,x2) n

Re: [R] estimation problem

2012-05-03 Thread Jeff Newmiller
Although you have provided R code to illustrate your problem, it is fundamentally a statistics theory question, and belongs somewhere else like stats.stackexchange.net. When you post there, I recommend that you spend more effort to identify why the zeros are present. If they are indicators of

Re: [R] estimation problem

2012-05-03 Thread Kehl Dániel
Dear Jeff, thank you for the response. Of course I know this is a theory question still I hope to get some comments on it (if somebody already dealt with alike problems might suggest a package and it would not take longer than saying this is a theoretical question) The values are counts, so 0

Re: [R] estimation problem

2012-05-03 Thread Petr Savicky
On Thu, May 03, 2012 at 03:08:00PM +0200, Kehl Dániel wrote: Dear List-members, I have a problem where I have to estimate a mean, or a sum of a population but for some reason it contains a huge amount of zeros. I cannot give real data but I constructed a toy example as follows N1 -