Re: [R] Design-consistent variance estimate

2008-08-18 Thread Doran, Harold
ject.org > Subject: Re: [R] Design-consistent variance estimate > > It also turns out that in educational testing, it is rare to > consider the sampling design and to estimate > design-consistent standard errors. I appreciate your thoughts > on this, Stas. As a result, I

Re: [R] Design-consistent variance estimate

2008-08-18 Thread Doran, Harold
-help@r-project.org > Subject: Re: [R] Design-consistent variance estimate > > On 8/16/08, Doran, Harold <[EMAIL PROTECTED]> wrote: > > In terms of the "design" (which is a term used loosely) the schools > > were not randomly selected. They volunteered to par

Re: [R] Design-consistent variance estimate

2008-08-18 Thread Stas Kolenikov
On 8/16/08, Doran, Harold <[EMAIL PROTECTED]> wrote: > In terms of the "design" (which is a term used loosely) the schools were > not randomly selected. They volunteered to participate in a pilot study. Oh, that's a next level of disaster, then! You may have to work with treatment effect models, o

Re: [R] Design-consistent variance estimate

2008-08-16 Thread Doran, Harold
Sent: Fri 8/15/2008 4:55 PM To: Doran, Harold Cc: r-help@r-project.org Subject: Re: [R] Design-consistent variance estimate On 8/15/08, Doran, Harold <[EMAIL PROTECTED]> wrote: > 1) In this linearization, I do treat N (population) size as a known > constant. I thought that is what

Re: [R] Design-consistent variance estimate

2008-08-15 Thread Stas Kolenikov
On 8/15/08, Doran, Harold <[EMAIL PROTECTED]> wrote: > 1) In this linearization, I do treat N (population) size as a known > constant. I thought that is what svymean() and SAS proc surveymeans did as > well. So, this is a simple univariate expansion since I only take the > derivative w.r.t to Y, t

Re: [R] Design-consistent variance estimate

2008-08-15 Thread Doran, Harold
rold Cc: r-help@r-project.org Subject: Re: [R] Design-consistent variance estimate Harold, in design-based estimation, thinking in terms of "what is my (effective) sample size" rarely works out. First of all, unless you have a fixed sample size design, your sample size itself is a rand

Re: [R] Design-consistent variance estimate

2008-08-15 Thread Stas Kolenikov
Harold, in design-based estimation, thinking in terms of "what is my (effective) sample size" rarely works out. First of all, unless you have a fixed sample size design, your sample size itself is a random variable. You can hope for fixed sample sizes with some excruciatingly controlled clinical

[R] Design-consistent variance estimate

2008-08-15 Thread Doran, Harold
Dear List: (reposting due to word wrap problems, my apologies) I am working to understand some differences between the results of the svymean() function in the survey package and from code I have written myself. The results from svymean() also agree with results I get from SAS proc surveymeans, s

[R] Design-consistent variance estimate

2008-08-15 Thread Doran, Harold
Dear List: I am working to understand some differences between the results of the svymean() function in the survey package and from code I have written myself. The results from svymean() also agree with results I get from SAS proc surveymeans, so, this suggests I am misunderstanding something. I