Re: [R] Case weighting

2012-03-03 Thread Hed Bar-Nissan
tlum...@uw.edu wrote: On Fri, Feb 24, 2012 at 9:40 AM, David Winsemius dwinsem...@comcast.net wrote: On Feb 23, 2012, at 3:27 PM, Hed Bar-Nissan wrote: It's really weighting - it's just that my simplified example was too simplified Here is my real weight vector: sc$W_FSCHWT [1

[R] Case weighting

2012-02-23 Thread Hed Bar-Nissan
The need comes from the PISA data. (http://www.pisa.oecd.org) In the data there are many cases and each of them carries a numeric variable that signifies it's weight. In SPSS the command would be WEIGHT BY In simpler words here is an R sample ( What is get VS what i want to get )

Re: [R] Case weighting

2012-02-23 Thread Hed Bar-Nissan
at 7:43 PM, David Winsemius dwinsem...@comcast.netwrote: On Feb 23, 2012, at 10:49 AM, Hed Bar-Nissan wrote: The need comes from the PISA data. (http://www.pisa.oecd.org) In the data there are many cases and each of them carries a numeric variable that signifies it's weight. In SPSS