Skip to main content

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.

survey
0 votes
0 answers
36 views

i'm having a problem using Survey package in R, i coded a prop an cv function but its returning different results for the same svytotal results

library(survey) wrap.table3 = function(SVYres, Niv1, Niv2, Niv3) { Tabela = array(SVYres, dim = c(length(Niv1), length(Niv2), length(Niv3))) TabCV = array(cv(SVYres), dim = c(...
Renan Reis's user avatar
0 votes
0 answers
10 views

LIme Survery Multiple choice in table format

enter image description hereCould anyone provide guidance on how to create a table format for multiple-choice questions in LimeSurvey, similar to the one shown in the image? I would greatly appreciate ...
Ajit George's user avatar
0 votes
0 answers
16 views

Import a surveyJS custom theme in svelte code

Morning, Since yesterday, I have been trying to add a custom theme by following the information given on the surveyJS site. I'm developing a site with svelte, I managed to import the form, but it's ...
Alister's user avatar
0 votes
2 answers
38 views

How to iterate object in svytable while dynamically subsetting survey design

I have survey data I'm creating contingency tables for. I have 3 specific variables I want to both loop over and subset my survey object with the factor levels of those 3 specific variables to get the ...
t_a_b's user avatar
  • 3
0 votes
1 answer
33 views

Error in kruskal_test (coin) with Weighted Data: “Invalid Object Class 'IndependenceProblem’”

I am trying to perform a weighted Kruskal-Wallis test for each group in a dataset, but I keep encountering the following error: Error in kruskal_test: Error in validObject(.Object): invalid class “...
Erik De Luca's user avatar
1 vote
3 answers
70 views

How to code survey question results with randomized order choices?

I'm cleaning data from a qualtrics survey that includes a few questions where the answer choices were randomized (e.g. you rate five tv shows, and the show order is randomized for each respondent). ...
user25563153's user avatar
1 vote
0 answers
17 views

Removing subjects before creating the survey design object [migrated]

I have a question regarding the example in this page https://asdfree.com/national-health-and-nutrition-examination-survey-nhanes.html I noticed that the author has subsetted the data before creating ...
Abdullah Abdelaziz's user avatar
1 vote
0 answers
58 views

How to get survey and gtsummary to report ALL levels of factor variable

The 3rd level is not appearing in the table. I would like all 4 factor levels of v1.fac to appear, including "Green". Similar to missing = 'always' is there a way? My almost complete table ...
seehorse's user avatar
1 vote
1 answer
55 views

Mystery bug in sampling for loop in R

I am trying to understand what is causing this bug in my R code and I feel like R is gaslighting me. The sample() function seems to change depending on how I assign it? Anyways, here is the MRE: #...
ssm1020's user avatar
  • 45
0 votes
0 answers
25 views

Question about Predict () in RMS Package for processing Survey Data

I am examining the non-linear relationship between diet quality (variable called "diet" in the R codes) and mortality using NHANES survey data. I aim to estimate Hazard Ratios (HR). I ...
Sam Farsi's user avatar
0 votes
0 answers
14 views

Is there a way to use svyttest() with an ordered factor variable?

I'm trying to run a t-test using a survey design object with the survey package. When the variable of interest is a subset of two groups in an ordered factor variable, I get an error message: "...
Sam Emmerich's user avatar
0 votes
0 answers
20 views

Qualtrics - Carrying forward randomized order of subset of mc response options to next question, while preserving exclusive anchored options

I would like to do the following with multiple choice, select all, questions Q10 and Q11 (screenshot below): Question Q10 and Q11 Step 1. Randomize the order of the 1st 7 response options (the brands) ...
John_Siska's user avatar
-2 votes
1 answer
36 views

Is there a function in Redcap

I am conducting a survey on RedCap that is anonymous. We want to make a "giftcard draw" for those who have answered the survey. However, in order to be in the drawing, they have to enter ...
Elsa H's user avatar
  • 1
1 vote
2 answers
72 views

How to match the student to his own teacher?

There are 3 classes, each with 10 students. Each class has their own homeroom teacher. When a student submits the form and chooses his homeroom teacher's identity, I have to make sure that he chooses ...
Mida's user avatar
  • 11
0 votes
1 answer
37 views

How to re-order the responses when plotting Likert scale data in R?

I have survey data that I am trying to plot in R but the issue is that the responses appear in alphabetical order as seen in the graph below: I would like the responses to be in the order "...
Shout's user avatar
  • 21

15 30 50 per page
1
2 3 4 5
84