Questions tagged [survey]

Questionnaires created with the purpose of extracting information and deriving conclusions from a set of users. Use this tag for questions related to the creation, storage and handling of surveys. Note: Asking people to take a survey is off-topic.

Surveys generally aren't given too much attention by those who are uninterested in a certain topic, or are given unsolicited requests to answer them. Often times they are prone to intentional negligence by answerers, which can very easily skew results and should be carefully filtered out to prevent this. Nonetheless, surveys can provide powerful insights into a specific area of knowledge if implemented correctly.

Perhaps a website is interested to see if a specific set of users are satisfied with the website, namely those users with IP addresses which have only ordered their first few items. This would be very important to ensure that they can retain new customers and improve any shortcomings. They might also want to ask for suggestions from users who have used their website for an extended period of time, longer than 1 year. Creating surveys with these metrics allows for targeted information extraction, and thus the ability to draw specific conclusions from this data.

Surveys may be implemented in software using a variety of programming languages. Popup windows, modules, and follow-up emails are all viable options.

1210 questions
10
votes
12 answers

how to develop a program to minimize errors in human transcription of hand written surveys

I need to develop custom software to do surveys. Questions may be of multiple choice, or free text in a very few cases. I was asked to design a subsystem to check if there is any error in the manual data entry for the multiple choices part. We're…
Alex. S.
  • 143,260
  • 19
  • 55
  • 62
9
votes
1 answer

How to use sample weights in GAM (mgcv) on survey data for Logit regression?

I'm interesting in performing a GAM regression on data from a national wide survey which presents sample weights. I read with interest this post. I selected my vars of interest generating a DF: nhanesAnalysis <- nhanesDemo %>% …
Borexino
  • 802
  • 8
  • 26
9
votes
1 answer

How to persist branching logic into database?

We are building a survey engine for our internal use. I would like to know how to persist the question branching logic into the database? Any body done this before or any ideas on the schema for the database? If the user responses with an answer,…
Sean
  • 91
  • 2
9
votes
2 answers

Methods in R for large complex survey data sets?

I am not a survey methodologist or demographer, but am an avid fan of Thomas Lumley's R survey package. I've been working with a relatively large complex survey data set, the Healthcare Cost and Utilization Project (HCUP) National Emergency…
charlie
  • 602
  • 4
  • 12
9
votes
1 answer

technique to obfuscate clustered data and preserve privacy in r

background i have some private survey data that contains a column of confidential information: the geographic location of the survey respondents. under no circumstances can this information be released. as is common in survey research, in order for…
Anthony Damico
  • 5,779
  • 7
  • 46
  • 77
8
votes
3 answers

Analysis of multiple response

df1 <- data.frame(c("male", "female", "male"), c("1", "2", "3", "4", "5", "6"), seq(141, 170)) names(df1) = c("gender", "age", "height") df1$age <- factor( df1$age, levels = c(1, 2, 3, 4, 5, 6), labels =…
BuckyOH
  • 327
  • 2
  • 8
  • 17
8
votes
1 answer

Open source survey/questionnaire engine for Java

Is there an open source survey engine for java that will allow branching of questions? i.e. Question 1 has the options of A, B, or C and they each take you to a different set of follow-up questions. I've found a couple (JSurveyLib and Socrates QE),…
KevMo
  • 5,590
  • 13
  • 57
  • 70
8
votes
2 answers

Pass expression as argument in R Survey package

I have a question regarding calling variables in svycontrast() function with survey package. I'm trying to automate some contrast against a fixed parameter. I can do that no problem like this: library(survey) …
David Jorquera
  • 2,046
  • 12
  • 35
8
votes
4 answers

Survey Data Model - How to avoid EAV and excessive denormalization?

My database skills are mediocre at best and I have to design a data model for survey data. I have spent some thoughts on this and right now I feel that I am stuck between some kind of EAV model and a design involving hundreds of tables, each with…
AlexDPC
  • 135
  • 1
  • 8
8
votes
4 answers

allow users to create forms within android survey/data collection app

I'm trying to develop an Android app that could be used by advocacy groups or campaigners such that they would be able to create their own forms (surveys) for which they can go out canvassing and collect opinion data from people who don't have…
roy
  • 3,706
  • 6
  • 30
  • 53
8
votes
3 answers

How to calculate proportion using survey package?

This is just a very simple question but I just cant find the right function to use from the web and books. this is an example I got from one of the post here. df <- data.frame(sex = c('F', 'M', 'F', 'M', 'M', 'M', 'F', 'F'), married =…
dixi
  • 680
  • 1
  • 13
  • 27
8
votes
4 answers

Using "adjust" option for lonely PSUs in R survey package: why don't single-PSU strata variances change when data in other strata change?

I have survey data from a stratified simple random sampling design where some strata contain only a single sampling unit (even though the strata population size may be >1). These are referred to as "lonely PSUs" in the R survey package…
Bryan
  • 103
  • 2
  • 7
8
votes
6 answers

Which C++ logical operators do you use: and, or, not and the ilk or C style operators? why?

leisure/curiosity question as implied in the title. I personally prefer the new operators as to make code more readable in my opinion. Which ones do use yourself? What is your reason for choosing one over the other one? also Emacs highlights those…
Anycorn
  • 50,217
  • 42
  • 167
  • 261
7
votes
12 answers

What is a good game involving coding?

I remember the days of Shadowrun that got me excited about hacking. There is CodeWar and LightBot which are both fun (though CoreWar is a little dated). What other games are there involving coding that are fun and challenging that can be used to…
Ichorus
  • 4,567
  • 6
  • 38
  • 46
7
votes
3 answers

Loop to add new columns with ifelse

I would like to make my code more efficient, I have a survey where my data looks like: survey <- data.frame( x = c(1, 6, 2, 60, 75, 40, 27, 10), y = c(100, 340, 670, 700, 450, 200, 136, 145)) #Two…
marmol
  • 98
  • 3
  • 5
1
2
3
80 81