Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
31 views

In Qualtrics, I have a survey with 3 blocks for collecting field vehicle data: Block 1: Starting info (day, time, etc.). Block 2: Loops vehicle questions based on a question at the start of the block: ...
Nicole Zanier's user avatar
1 vote
1 answer
125 views

For a questionnaire in LimeSurvey v6 I need to implement a two-part question. In question 1 the respondent should be able to enter the name of organizations they work with, one per row. Ideally the ...
Tiago's user avatar
  • 39
0 votes
0 answers
58 views

I'm working in SurveyJS, specifically in survey-creator. I want to create a custom class that extends panelmodel, but when trying to add it to survey-creator, it gives the error Uncaught (in promise) ...
Leonardo Moreno's user avatar
3 votes
1 answer
83 views

In the R "survey" package the svyglm() function can be used with svypredmeans() and svycontrast() in order to compare predictive marginal means for a generalised linear model. This works ...
Mark O'Donovan's user avatar
1 vote
1 answer
93 views

I'm trying to calculate average marginal effects (AMEs) from a logistic regression model estimated with svyglm from the survey package. I am using the design from a specialised package developed to ...
Alice's user avatar
  • 67
0 votes
1 answer
39 views

I'm analyzing the demographic characteristics of nurse practitioners in the US using the 2023 ACS survey and tidycensus. I've downloaded the data using this code: pums_2023 = get_pums( variables = c(...
J.C.'s user avatar
  • 1
0 votes
0 answers
37 views

I am working with survey data and want to compute the survey-weighted mean of age at sexual initiation by year of birth (yob) cohort, along with standard errors and 95% confidence intervals. I've ...
Alonso Quijano's user avatar
0 votes
1 answer
96 views

I am attempting to write a survey which will provide experimental vignettes to participants based on previous ratings of political parties. Obviously, this means that I'll need to pipe results from ...
Will's user avatar
  • 3
0 votes
0 answers
49 views

I am wondering how to make an odds ratio table using svyglm from the survey package and texreg. Here is my attempt with some sample data: # Load necessary packages library(survey) library(texreg) # ...
Glebglob's user avatar
-1 votes
1 answer
72 views

I am using survey-react-ui version 1.12.27, all other events are triggering but onUploadFiles event is not triggering. When i select file using "choose file" button event does not trigger. ...
Abdulbasit Khaleeq's user avatar
-2 votes
1 answer
46 views

I work with survey data which I get from a contractor (it's weighted). But I sometimes need different cross tabs from those they provide me. I don't currently have any budget for any software to do it,...
BeardedShrimper's user avatar
0 votes
1 answer
79 views

Problem: This has just recently started happening, but all of a sudden I cannot use any functions from the gtsummary package. I've tried removing it and reinstalling, both the CRAN distro and the dev ...
Nate P's user avatar
  • 23
2 votes
2 answers
135 views

I'm new to R - so I'm sorry if this has been asked but I've not found a solution online. I have a data set of survey responses related to gender and sex that were typed in by 350 participants. Many of ...
user29756984's user avatar
0 votes
0 answers
60 views

I'm trying to get extract information from Odoo surveys from the "Detailed answers" pivot view (I had to enable the pivot view myself since the detailed views only has tree and kanban views ...
akhasis's user avatar
  • 89
1 vote
0 answers
125 views

I was wondering if there is a way to add confidence intervals for the row percentages created using gtsummary. Example code: # Load required packages library(survey) library(gtsummary) library(dplyr) ...
Just Created's user avatar
2 votes
1 answer
158 views

I have a fictional weighted survey dataset that contains information about respondents' car colors and their response to the question "I enjoy driving fast." I would like to perform a ...
KBurchfiel's user avatar
0 votes
1 answer
58 views

I try to have a table visible for multiple questions on multiple qualtrics pages one after the other. I followed guidelines here: https://community.qualtrics.com/custom-code-12/pin-instructions-to-top-...
canIchangethis's user avatar
1 vote
1 answer
69 views

My goal is to take a dataframe that contains individual level data of many variables and apply a user defined function to return those variables' survey-adjusted weighted means and create new columns ...
abrar's user avatar
  • 153
0 votes
0 answers
43 views

Aiming to create a Likert stacked bar plot that includes responses that were "Not applicable or N/A" on the side in an adjoining plot or in the border of figure to provide context. Each row ...
frog_dan's user avatar
1 vote
0 answers
81 views

I'm currently trying to analyze data from the National Inpatient Sample (NIS). When combining multiple years worth of data, my files are just over 8 GB after processing/selecting relevant columns. I ...
Eli's user avatar
  • 337
1 vote
1 answer
67 views

I have a fictional weighted survey dataset that shows how responses to the question "I enjoy driving fast" vary by respondents' car colors. Here's a sample of the original dataset: Car_Color ...
KBurchfiel's user avatar
1 vote
1 answer
69 views

I am working with NSCH data for the first time in R. I found the following resource, which has been enormously helpful (thank you!). https://github.com/ajdamico/asdfree/blob/master/nsch.Rmd I followed ...
Blair Burnette's user avatar
4 votes
2 answers
212 views

I have survey data with weights already assigned. Here is a toy sample. If I don't weight the data, it will not be an accurate representation of the population. Is there a simple way to factor in ...
ithoughtso's user avatar
0 votes
2 answers
107 views

I am working with multiply imputed complex survey data and trying to estimate CIs for a proportion using the Thomas Lumley's survey and mitools package, in particular svyciprop() function with beta ...
uurtsaikh baatarsuren's user avatar
0 votes
1 answer
98 views

Is there any way to save weighted survey with strata and fpc as dataframe? For example, here is the simple dataframe: Data <- data.frame( X =c(1,4,6,4,1,7,3,2,2), Y = c(6,5,9,9,43,65,45,67,90), ...
Kammy Deng's user avatar
0 votes
1 answer
103 views

Sure, here's a Stack Overflow question you could use: I'm trying to replicate a Stata command in R using the survey package but I'm not getting the same results. In Stata, I use the following command ...
Ali Roghani's user avatar
1 vote
1 answer
64 views

I want to estimate various proportions and their confidence intervals using the Survey package in R, using the svyciprop() function, like this data(api) dclus1<-svydesign(id=~dnum, fpc=~fpc, data=...
Pxu80's user avatar
  • 154
1 vote
1 answer
82 views

I have a dataset with survey data from about 40,000 respondents (and about 600 variables), and I want to calculate statistics (mean, median, etc.) and their variance, including among subgroups like ...
SpecialK201's user avatar
0 votes
1 answer
101 views

I am using the below R code but cannot figure our how to get the confidence intervals with two decimal places: library(gtsummary) survey::svydesign(id = ~PSU, weights = ~WT_analysis, strata = ~...
user27842288's user avatar
0 votes
1 answer
164 views

I am trying to figure out what is the most accurate way to plot average adjusted predictions at the mean using the svyglm function from the survey package. I have used two approaches so far. One using ...
John Smith's user avatar
0 votes
0 answers
33 views

I am having an issue with the segmented package in R. The issue is when I use the davies.test and segmented.default. The code I am working with is as follows: library(segmented) library(survey) data(...
George's user avatar
  • 95
0 votes
1 answer
55 views

I am currently learning how to perform data analysis in R Studio and I am using an SPSS database as an example. Currently I am having problems with the results of an open answer question where people ...
OctavianSkull's user avatar
1 vote
1 answer
161 views

I am reading the book Complex Survey and trying to follow the book codes, perhaps because the book is a little old now the codes are not working as intended, I don't know for sure. I am trying to ...
Victor Shin's user avatar
3 votes
2 answers
61 views

I would like to pass an assigned variable to a function that would be used as part of a formula in the svyby function from the survey package. My reason for wanting to do this is I want to get ...
Charlotte's user avatar
0 votes
1 answer
53 views

I'm building a survey app as a part of my thesis. A part of this application is a 'point system' that gives the user feedback on how the options they select impact factors in the design process with ...
Dhairya Chhaya's user avatar
2 votes
1 answer
397 views

I'm using SurveyJS to create a multi step form for users to check their existing profile. The survey is pre-populated with values from an API, so the user can check those and submit changes. Therefore,...
chris.ribal's user avatar
0 votes
0 answers
45 views

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
1 vote
1 answer
100 views

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
  • 11
0 votes
2 answers
115 views

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
1 vote
1 answer
121 views

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
129 views

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
149 views

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
69 views

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
-2 votes
1 answer
81 views

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 ...
Elsie's user avatar
  • 1
1 vote
2 answers
118 views

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
206 views

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
-1 votes
1 answer
52 views

I am trying to make some barplots with my data but I keep hitting some walls. If someone on here could help that'd be great I wanted to create barplots with side by side comparison of pre vs post ...
Sophie Brown's user avatar
-1 votes
2 answers
57 views

I need your help because I have a big data set about illnesses (wide format). So I have 54 different illnesses, each having a block of 18 questions (data is nested in illnesses and participants). As I ...
Lea's user avatar
  • 1
-1 votes
1 answer
51 views

I am conducting a cross-sectional online study about 54 illnesses, and have 10 variables/columns for participants' background information, then participants were randomly assigned to a set of 9 ...
Lea's user avatar
  • 1
1 vote
1 answer
152 views

I am looking to calculate survey-weighted percentages for categorical outcomes using the svy_vglm function of svyVGAM. For example, if the categorical variable could be A, B, or C, I simply want to ...
Jamie's user avatar
  • 521

1
2 3 4 5
26