Questions tagged [demographics]

41 questions
7
votes
0 answers

How to do Aadhar Authentication and fetch KYC details using API

We are developing a mobile app for our health care client. To keep the patient signup/registration process quick we will use Aadhar APIs. So that patient will enter his/her Aadhar number after that will receive OTP and submit it to Aadhar…
6
votes
1 answer

Showing 95% Confidence Interval using table1 in R

I have demographic data and for some of the variables I want to show Mean (95% CI) So far: > label (demog$Site) = "Site" > label (demog$Sex) = "Sex" > label (demog$Age) = "Age (years)" > label (demog$Temperature) = "Temperature (Celcius)" > label…
ajmoo
  • 61
  • 2
3
votes
1 answer

Library "TableOne" multiple comparisons. Calculate line by line p-values

I received a comment from a reviewer who wanted to have all the p-values for each line of specific variables levels in a demographic characteristic table (Table 1). Even though the request appears quite strange (and inexact) to me, I would like to…
Borexino
  • 802
  • 8
  • 26
2
votes
2 answers

Is Demographic data from GA / GA4 available in BigQuery?

After linking GA or GA4 with BigQuery, do we get Demographics data (Gender, Age, Interests) in BQ? If we do - does it happen on the user_id level? ( So info for one specifiic user is available)? Thanks in advance ;)
1
vote
1 answer

Multiple responses to one question in R: How do I convert to numeric and analyse while preserving the rest of my data?

I have a dataset where respondents could select multiple responses for the same question, one describing their nationality. Most only selected one category, whereas some selected multiple (including a free text entry which I will report the entries…
PsyCoder
  • 11
  • 1
1
vote
0 answers

Add custom rows/header in Table1()

I'm using the table1 package to create summary statistics. My current table1() looks like this (code below): I want to add another section, with a labeled row in bold called "Co-occurring disorder", that is not referring to a specific variable. I…
amburguesa
  • 11
  • 2
1
vote
1 answer

How do I change a value within a variable based on the value of another variable in R?

I am trying to recode demographic variables. If the variable Q36 equals Other and the variable Q35 equals Yes, I want Other (from Q36) to be changed to Hispanic. If the variable Q36 equals Other and the variable Q35 equals No, I want Other (from…
1
vote
1 answer

Creating an Ethnicity Variable with Multiple Column Names as Variables

I have a survey dataset that includes self-reported ethnicity. Participants were allowed to select as many ethnicities as they wanted to. The data structure looks like this: Hispanic English Indian 1 NA NA NA 1 NA …
1
vote
2 answers

Combining Multiple Columns to Create a Single Variable

A dataset I am using recorded respondents' ethnicity. Responses are recorded across multiple variables, and respondents were allowed to pick more than one. Example: Black White Asian Hispanic 1 NA NA NA NA 1 NA NA NA NA …
1
vote
1 answer

How to collect Google Analytics Demographic data from ionic 3 app?

I'm Using This ionic plugin to collect analytcis from my ionic 3 app, i'm able to get data in analytcis console, except the demographgics data. According the docs i had set this.ga.startTrackerWithId('UA-xxxxxx-x') .then((res) => { …
Sa E Chowdary
  • 2,075
  • 15
  • 31
1
vote
0 answers

Calculating life expectancy from Stmomo object

We have a problem, with which we hope one of you are able to help out with. We want to calculate life expectancy based on our Stmomo object.This is our current code: M7 = m7(link='logit') #set up the used model M7fitM <- fit(M7, data = NLmale,…
Hans Kazan
  • 11
  • 1
1
vote
0 answers

"Inf" data when transforming data into life table

I'm a novice programmer so have a little patience with me. I downloaded some mortality data from "Human Mortality Database (HMD)". Packages required: Packages <- c("StMoMo", "lifecontingencies", "fda", "demography") invisible(lapply(Packages,…
user10338009
1
vote
1 answer

Ggplot2 in R gives incorrect coloring when creating overlapping demographic pyramids

I am creating an overlapping demographic pyramids in R with ggplot2 library to compare demographic data from two different sources. I have however run in to problems with ggplot2 and the colouring when using the alpha-parameter. I have tried to make…
Vesanen
  • 387
  • 1
  • 5
  • 13
1
vote
1 answer

Google Maps API - Demographic Layer

My question is in regards to accessing demographic information through google maps api. I can not find publicly available documentation for the "google maps demographics layer". Google does advertise that it has such a product, under google maps for…
0
votes
0 answers

Issues with fitting Lee-Carter model using demography and StMoMo packages in R

I am very new to R and trying to fit a Lee-Carter model to a mortality dataset using both the demography and StMoMo packages in R. However, I am encountering some issues and would appreciate any help or guidance. Here is the code I am using with the…
1
2 3