Hi Biswajit Kar, Take a look at this CRAN Task: https://cran.r-project.org/web/views/OfficialStatistics.html Also, I've been re-writing functions of package "ineq" so that they accept weights. I can provide those if you find them useful. Finally, there are a bunch of packages in CRAN that provide plottings using weights (e.g. "weights", "Hmisc", "ENmisc", ...) Joao
On 30-04-2016 11:00, r-help-request at r-project.org wrote:
Date: Fri, 29 Apr 2016 13:31:43 +0000
From: "Federman, Douglas"<Douglas.Federman at utoledo.edu>
To: "'BISWAJIT KAR'"<biswaj41_ssf at jnu.ac.in>,"R-help at r-project.org"
<R-help at r-project.org>
Subject: Re: [R] Package to work with weight based data
Message-ID:
<F1065E5D886F4D429259CDEAE3F83CB61B013D8D at msgdb20.utad.utoledo.edu>
Content-Type: text/plain; charset="us-ascii"
You might look at Anthony D'Amico's work at
Asdfree.com
There is a lot to learn from here and many of those examples work with weighted survey results
-----Original Message-----
From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of BISWAJIT KAR
Sent: Thursday, April 28, 2016 12:32 PM
To:R-help at r-project.org
Subject: [R] Package to work with weight based data
Respected all,
I am working on a socio-economic survey (named as
National Sample Survey in India provided by National Sample Survey
Organization, Govt. of India) data of individual as well as households.
This is a sample survey where stratified random sapling method has been
used to draw samples. The data set uses 'weights' to estimate figures for
region, state or country level. In the data set, there is a variable called
weights and I use the *'weight cases'* function to activate weights
under *'Data'
option *in menu bar in SPSS before generating any table or doing any
statistical procedure. So, my question is, is there any package/s in R
where I can use weights and work on this kind of sample survey.
Second thing, is there any package/s to generate multi layer contingency
table in R or how can I do this in R. For example, one similar kind of
table is attached here which one is created by SPSS from the above stated
data-set. Please have a look.
-- Thanks, *Biswajit Kar* (Research Scholar) Ph. D. Student, Geography
Centre for the Study of Regional Development School of Social Sciences
Jawaharala Nehru University New Delhi-110067
______________________________________________ R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.