similar to: help with manipulating data frames (survey analysis)

Displaying 20 results from an estimated 10000 matches similar to: "help with manipulating data frames (survey analysis)"

2008 May 28
1
manipulating multiply imputed data sets
Hi folks, I have five imputed data sets and would like to apply the same recoding routines to each. I could do this sort of thing pretty easily in Stata using MIM, but I've decided to go cold turkey on other stats packages as a incentive for learning more about R. Most of the recoding is for nominal variables, like race, religion, urbanicity, and the like. So, for example, to recode race
2017 Nov 11
5
Primer for working with survey data in R
I am taking a behavioral stats graduate class and the instructor is using SPSS. I'm trying to follow along in R. Recently in class we started working with scales and survey data, computing Cronbach's Alpha, reversing values for reverse coded items, etc. Also, SPSS has some built in functionality for entering the meta-data for your survey, e.g. the possible values for items, the text of
2017 Nov 11
1
Primer for working with survey data in R
Dear Kevin, In addition to the advice you've received, take a look at the survey package. It's not quite what you're asking for, but in fact it's probably more useful, in that it provides correct statistical inference for data collected in complex surveys. The package is described in an article, T. Lumley (2004), Analysis of complex survey samples, Journal of Statistical Software
2012 Aug 10
1
Direct Method Age-Adjustment to Complex Survey Data
Hi everyone, my apologies in advance if I'm overlooking something simple in this question. I am trying to use R's survey package to make a direct method age-adjustment to some complex survey data. I have played with postStratify, calibrate, rake, and simply multiplying the base weights by the correct proportions - nothing seems to hit the published numbers on the nose. I am trying to
2009 Mar 11
1
CI from svyquantile in survey package
I am having trouble understanding (i.e. getting) confidence intervals from the survey package. I am using R version 2.8.1 (2008-12-22) and survey package (3.11-2) on FC7 linux. To simplify my question I use an example from that package: R> data(api) R> dclus1<-svydesign(id=~dnum, weights=~pw, data=apiclus1, fpc=~fpc) R> (tst <- svyby(~api99, ~stype,
2010 Mar 28
2
Design of a survey using the "survey" package
I have looked through the new "Complex Surveys" book and the documentation for the "survey" package and it appears to me that there are no functions in "survey" that help one to design a sampling scheme. For example, in the book section 2.8 discusses the design of stratified samples, but there is no mention of any functions in the "survey" package that
2003 Sep 20
4
using aggregate with survey-design and survey functions
Hi R users, I am trying to use the aggregate function with a survey design object and survey functions, but get the following error. I think I am incorrectly using the syntax somehow, and it may not be possible to access variables directly by name in a survey-design object. Am I right? How do I fix this problem? I have used aggregate with "mean" and "weighted.mean", and
2012 May 14
1
Post stratification weights in survey package in R
Hi all, I have data collected from a survey administered on a subset of the population. I also have the population proportions of variables such as gender, race and housing type. I would like to combine the weights from each separate cross tab (of gender, race and housing type) such that the weighted proportions of my survey data matches that of the population. I have tried the following:
2008 Jun 26
1
Survey questions
First the R question. I have the results of a rather large survey (thousands of forms, each with dozens of questions) with some existing weights and expansion factors. I wish to add additional weighting factors, based on new information that elements of certain variables should appear in certain proportions. Where should I look in R to develop what is essentially an N-dimensional balancing
2010 Jan 15
2
weighting (survey) data
Hi, is there a function in R equivalent to the "weight by"-command in SPSS? I'm working with survey datasets and the data need to be weighted by a survey/ probability/ design weight (to compensate for different probabilities to be included in the sample in each country). The weight variables are included in the datasets. I did find functions in the Hmisc and survey packages that
2010 May 12
2
Data Mining Survey
Dear R-Helpers, SAS Institute just mailed out the notice below regarding a survey of people who do data mining. To help keep the survey from becoming biased toward commercial software, I thought it would be good to post it here as well. Cheers, Bob Fourth Annual Data Miner Survey Rexer Analytics has asked statistical and data mining software vendors to forward this survey as a courtesy. (SAS is
2006 Mar 02
4
The inaugural Shorewall survey!
Greetings to all of the Shorewall community! We''d like to find out a little more about the environments in which Shorewall runs, and to this end i''ve created a survey. It is mostly designed to allow Shorewall users to see how their environment compares with that of the average Shorewall user (if such a thing exists!), but the results may be used by the Shorewall team to assist
2008 Jan 23
2
survey: estimating a covariance matrix
Hello Does anybody happen to know if it is possible to use the survey package to estimate a covariance matrix from a complex survey? I have design weights and clusters (no strata), and want to get a covariance matrix with preferably the effective sample size or else an estimate of the variance-covariance matrix of the covariance matrix ("asymptotic covariance matrix"). Is this
2009 Mar 11
2
t-test, survey data
*How can I do a t-test with survey data?* Thanks. Marie -- --------------------------------------------------------------------- Le Bureau f?d?ral du Plan f?te ses 50 ans en 2009. Het Federaal Planbureau viert zijn 50-ste verjaardag in 2009. The Federal Planning Bureau celebrates its 50-th anniversary in 2009. ---------------------------------------------------------------------
2008 Nov 04
2
ordered logistic regression of survey data with missing variables
Hello: I am working with a stratified survey dataset with sampling weights and I want to use multiple imputation to help with missingness. 1. Is there a way to run an ordered logistic regression using both a multiply imputed dataset (i.e. from mice) and adjust for the survey characteristics using the weight variable? The Zelig package is able to do binary logistic regressions for survey
2015 Mar 02
5
Calling all Samba Users: 2015 User Survey
What Samba features do you care about most? Do you have problems or ideas to tell the Samba Team? Which parts of the documentation are most important to you? The Samba Team invites all users to participate in the Samba Survey at https://www.surveygizmo.com/s3/2020369/Samba-User-Survey-2015 The survey takes only 5-10 minutes to complete and runs until the end of March. We don't of course
2015 Mar 02
5
Calling all Samba Users: 2015 User Survey
What Samba features do you care about most? Do you have problems or ideas to tell the Samba Team? Which parts of the documentation are most important to you? The Samba Team invites all users to participate in the Samba Survey at https://www.surveygizmo.com/s3/2020369/Samba-User-Survey-2015 The survey takes only 5-10 minutes to complete and runs until the end of March. We don't of course
2008 Aug 20
2
Quantile regression with complex survey data
Dear there, I am working on the NHANES survey data, and want to apply quantile regression on these complex survey data. Does anyone know how to do this? Thank you in advance, Yiling Cheng Yiling J. Cheng MD, PhD Epidemiologist CoCHP, Division of Diabetes Translation Centers for Disease Control and Prevention 4770 Buford Highway, N.E. Mailstop K-10 Atlanta, GA 30341 [[alternative HTML
2007 Aug 24
2
SURVEY: wxRuby API style
Hi As we''re getting closer to a stable release of wxRuby, I''d like to get your views on the API style. There''s a survey here: http://rubyforge.org/survey/survey.php?group_id=35&survey_id=66 I''d like to know if you''d like to see two wxSugar syntax features become part of core, standard wxRuby version 2.0. These are: 1) Allow ruby-style
2005 May 26
1
longitudinal survey data
Dear R-Users! Is there a possibility in R to do analyze longitudinal survey data (repeated measures in a survey)? I know that for longitudinal data I can use lme() to incorporate the correlation structure within individual and I know that there is the package survey for analyzing survey data. How can I combine both? I am trying to calculate design-based estimates. However, if I use svyglm() from