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
7
votes
4 answers

More efficient ways to use R than 'for' loops

I'm a relative newcomer to R so I'm sorry if there's an obvious answer to this. I've looked at other questions and I think 'apply' is the answer but I can't work out how to use it in this case. I've got a longitudinal survey where participants are…
Dan Lewer
  • 871
  • 5
  • 12
7
votes
1 answer

Randomization in Qualtrics using Photos or Graphics and Loop and Merge

I am creating a survey in Qualtrics with many photos, say 1000. I want to have each survey participant answer, say 6, questions per photo. Each participant will see 5 photos that are randomly assigned. Before looking into things, I assumed that…
bill999
  • 2,147
  • 8
  • 51
  • 103
6
votes
1 answer

Get p-values from results of svyglm when using multiple imputations in R

I would like to get p-values from the results of a svyglm model when using multiple imputations. A reproducible example is below. Create data sets library(tibble) library(survey) library(mitools) # Data set 1 # Note that I am excluding the "income"…
scottsmith
  • 371
  • 2
  • 11
6
votes
2 answers

In SQL, how can I count the number of values in a column and then pivot it so the column becomes the row?

I have a survey database with one column for each question and one row for each person who responds. Each question is answered with a value from 1 to 3. Id Quality? Speed? -- ------- ----- 1 3 1 2 2 1 3 2 …
Josh Yeager
  • 3,763
  • 1
  • 25
  • 29
6
votes
3 answers

What is the best Drupal Survey module

We're after a replacement for a DotNetNuke installation with a DynamicForms module by DataSprings. Currently the problems are mainly performance related, but the fact that DynamicForms uses Postbacks on ASP.Net all the time renders it also highly…
6
votes
1 answer

Survey Data Model

I'm developing a simple survey module for an ASP application I'm working on and I'd like to get some suggestions on the data model. Questions can be one of three types - multiple choice, multiple answer; multiple choice, single answer, and free…
Caveatrob
  • 12,667
  • 32
  • 107
  • 187
6
votes
2 answers

How are BRR weights used in the survey package for R?

Does anyone know how to use BRR weights in Lumley's survey package for estimating variance if your dataset already has BRR weights it in? I am working with PISA data, and they already include 80 BRR replicates in their dataset. How can I get…
RickyB
  • 607
  • 1
  • 8
  • 20
6
votes
3 answers

Create unique Poll/vote/survey in php

The unique poll/vote/survey i mean here is, user can only vote once. How do i do that? Track their ip? Login? Beside login, what else? (login is my last option, thus beside login, is there anything else I can do?)
jingleboy99
  • 705
  • 3
  • 9
  • 16
5
votes
1 answer

Weighted linear regression in R with lm() and svyglm(). Same model, different results

I want to do a linear regression applying survey weights in R studio. I have seen that it is possible to do this with the lm() function, which enables me to specify the weights I want to use. However, it is also possible to do this with the svyglm()…
cholo.trem
  • 314
  • 2
  • 9
5
votes
2 answers

Is any suitable gem for surveys in rails?

I want to create an application where customers create their own surveys and where users can take the surveys. Are there any survey gem available for the above requirements? I used surveyor, which supports static surveys, but I want dynamic surveys,…
divya_nyros
  • 101
  • 2
  • 2
  • 7
5
votes
1 answer

Reweighting (rake) in Python

I'm looking for a python library for replace the rake function from "Survey", an R library (https://www.rdocumentation.org/packages/survey/versions/4.0/topics/rake) I have found and try Quantipy, but the weights quality is poor compared to the…
Hantlowt
  • 107
  • 9
5
votes
2 answers

How to make a loop over multiple columns with the svyby function of the survey package?

I have been trying many ways , but I am not getting to solve the problem. I found here, here and here, but I couldn’t adapt them to my problem. I would like to pass the combination of two string vectors where each element of 'pop' would be combined…
5
votes
1 answer

Does the Sandwich Package work for Robust Standard Errors for Logistic Regression with basic Survey Weights

I am running logistic regressions with a panel data set from survey data and I want to correct the standard errors for the panel design. The weights included in this survey account for sampling probability, panel mortality and post…
JMueller
  • 123
  • 7
5
votes
0 answers

Embedding a colour picker in Google Forms?

I want to do a survey in which a participant listens to a sound (I link to a Google Drive .mp3 file in the question), then they respond by using an embedded colour picker to drag and choose a specific hex code. The widget would be similar (if not…
5
votes
2 answers

Calculate percentage/frequency of a value in a survey object

I have a national survey composed of many variables, like this one (for the sake of semplicity I omitted some variables): year id y.b sex income married pens weight 2002 1 1950 F 100000 1 0 1.12 2002 2 1943 M …
Laura R.
  • 99
  • 1
  • 10
1 2
3
80 81