Re: [R] Survey package

2007-09-10 Thread Thomas Lumley
On Thu, 6 Sep 2007, eugen pircalabelu wrote: Good afternoon! I'm trying to use the Survey package for a stratified sample which has 4 criteria on which the stratification is based. I would like to get the corrected weights and for every element i get a weight of 1 E.g: tipping

Re: [R] Survey package

2007-09-10 Thread Thomas Lumley
On Sun, 9 Sep 2007, eugen pircalabelu wrote: A short example: stratum id weight nh Nh y sex 1 1 3 5 15 23 1 1 2 3 5 15 25 1 1 3 3 5 15 27 2 1 4 3 5 15 21 2 1 5 3 5 15 22 1 2 6

[R] Survey package

2007-09-09 Thread eugen pircalabelu
Hi R-users! I have a problem with the survey package and i would be very grateful if you can help me. A short example: stratum id weight nh Nh y sex 1 1 3 5 15 23 1 1 2 3 5 15 25 1 1 3 3 5 15 27 2 1 4 3 5

Re: [R] R survey package again

2007-09-08 Thread James Reilly
On 7/9/07 11:42 PM, eugen pircalabelu wrote: I have a sample from a survey where household were interviewed. The sample has 4 criteria on which the stratification was based: REGION, SIZE OF HOUSEHOLD, SIZE OF LOCALITY, AGE OF HEAD OF HOUSEHOLD. Since i don't have the whole information in

[R] R survey package again

2007-09-07 Thread eugen pircalabelu
Hi R-users!! I have some trouble with the survey pakage and i would be very glad if you can give me an advice. I have a sample from a survey where household were interviewed. The sample has 4 criteria on which the stratification was based: REGION, SIZE OF HOUSEHOLD, SIZE OF

Re: [R] Survey package

2007-09-07 Thread James Reilly
On 7/9/07 12:36 AM, eugen pircalabelu wrote: I'm trying to use the Survey package for a stratified sample which has 4 criteria on which the stratification is based. I would like to get the corrected weights and for every element i get a weight of 1 E.g: tipping design -

[R] Survey package

2007-09-06 Thread eugen pircalabelu
Good afternoon! I'm trying to use the Survey package for a stratified sample which has 4 criteria on which the stratification is based. I would like to get the corrected weights and for every element i get a weight of 1 E.g: tipping design - svydesign (id=~1, strata= ~regiune

Re: [R] Survey package and NAMCS data... unsure of specification

2005-10-05 Thread David L. Van Brunt, Ph.D.
Thanks! That's what I had come up with, but was unsure about it. I'm checking the marginals against the published manuals now. Nice to have fresh eyes on the problem! Thanks, also, for the helpful link. On 10/4/05, Thomas Lumley [EMAIL PROTECTED] wrote: On Tue, 4 Oct 2005, David L. Van Brunt,

[R] Survey package and NAMCS data... unsure of specification

2005-10-04 Thread David L. Van Brunt, Ph.D.
Hello, all. I wanted to use the survey package to analyze data from the National Ambulatory Medical Care Survey, and am having some difficulty translating the analysis keywords from one package (Stata) to the other (R). The data were collected using a multistage probability sampling, and there

Re: [R] Survey package and NAMCS data... unsure of specification

2005-10-04 Thread Thomas Lumley
On Tue, 4 Oct 2005, David L. Van Brunt, Ph.D. wrote: Hello, all. I wanted to use the survey package to analyze data from the National Ambulatory Medical Care Survey, and am having some difficulty translating the analysis keywords from one package (Stata) to the other (R). The data were

[R] survey package

2003-07-28 Thread Thomas Lumley
Version 1.9 of the survey package, now percolating through CRAN, adds a beta implementation of replication weights. These can either be created from a survey design (using BRR, JK1, or JKn schemes) or provided by the user. These have been tested on only a few examples so far: there seem to be

[R] survey package

2003-01-27 Thread Marwan Khawaja
This is great! Thanks Thomas! Marwan -Date: Sat, 25 Jan 2003 11:55:12 -0800 (PST) -From: Thomas Lumley [EMAIL PROTECTED] -To: [EMAIL PROTECTED] -Subject: [R] survey package -A new package `survey' for analysing complex survey samples is on CRAN. I-t handles stratification, clustering

[R] survey package

2003-01-25 Thread Thomas Lumley
A new package `survey' for analysing complex survey samples is on CRAN. It handles stratification, clustering, and unequal sampling probabilities in descriptive statistics, glms, and general maximum likelihood fitting. The package is still under development: - it doesn't do the finite