Displaying 20 results from an estimated 10000 matches similar to: "Comparison of demographics between 2 study samples"
2010 Mar 28
6
Coding of categorical variables for logistic regression?
Hello,
I am trying to do a logistic regression and have one predictor variable
(x) that is ratio and two predictor variables (y and z) that are
categorical. These have three levels each which I have called "High",
"Medium" and "Low".
My question: do I need to use a numerical coding scheme for the
categorical variables as required by some statistical software
2010 Dec 21
1
Cloud demographics
Please turn off troll detectors. Especially those with big automatic
hammers.
http://thecloudmarket.com/stats#/by_platform_definition
Anybody 'extra' bandwidth from the 'Cloud'? Ubuntu installations
currently trumps the combined numbers of Centos, Fedora and RHEL (not
that using Centos/Fedora/RHEL guarantees secure installations)
installations and I just wondered on that
2017 Dec 14
1
Aggregation across two variables in data.table
Dear all,
I have a data.frame that includes a series of demographic variables for a
set of respondents plus a dependent variable (Theta). For example:
Age Education Marital Familysize
Income Housing Theta
1: 50 Associate degree Divorced 4
70K+ Owned with mortgage 9.147777
2: 65
2012 Mar 07
1
Demographic Variables in AIDS (Demand System)
Hi all,
I am using aidsEst( ) in "micEconAids" package to estimate Demand system.
But I would like to add more demographic variables in demand system. How can
I add those information?
for example:
mydata<-data.frame(p1,p2,p3,p4,
s1,s2,s3,s4,
totalexp,
2003 Aug 20
1
query on converting survey data from one structure to another
Dear R users,
I am trying to convert a dataset from one format to several rectangular
datasets. A consultant helped design the data entry program for our survey
using Delphi/Pascal and for each household the information is stored in a
file called "EA-HM-HH.TXT" where EA is the enumeration area number, HM is
the homestead number and HH is the household number. Within this file the
2012 Mar 17
2
Coalesce function in BBmisc, emoa, and microbenchmark packages
Hello All,
Need to coalesce some columns using R. Looked online to see how this is done. One approach appears to be to use ifelse. Also uncovered a coalesce function in the BBmisc, emoa, and microbenchmark packages.
Trouble is I can't seem to get it to work in any of these packages. Or perhaps I misunderstand what it's intended to do. The documentation is generally pretty scant.
Working
2012 Aug 13
1
R-help question
Hi there,
I have subscribed to R-help but am not sure how to view or post questions? I think this is the right way.
I am planning on doing a multivariate regression investigating the relationship between depression (a continuous variable) and social support variables (mostly continuous, some categorical) among older people. I have a number of demographic and health-related variables that I am
2012 Feb 29
1
How to simulate demographic (specifically, sub-group) data?
I am a relatively new R user and have recently built a multivariate dataset without the demographic information.
Is there any package or code to simulate subgroup dataset (race, sex, age) using R?
Any help would be appreciated.
Thanks,
Alok
[[alternative HTML version deleted]]
2006 Jan 03
2
Odd Routing - How To?
I am working on an app with a requirement that has yielded an unexpected
problem for Rails routing.
We have several controllers that handle regional data (one controller
per data type - weather, demographics, etc). The problem is that there
is one region who''s actions and output are different.
We intend to create two controllers for each data type (i.e.
weather_controller to handle
2010 Feb 01
2
Hierarchical data sets: which software to use?
Dear R-helpers,
I’m writing for advice on whether I should use R or a different package or
language. I’ve looked through the R-help archives, some manuals, and some
other sites as well, and I haven’t done too well finding relevant info,
hence my question here.
I’m working with hierarchical data (in SPSS lingo). That is, for each case
(person) I read in three types of (medical) record:
1.
2009 Aug 25
3
adding factor scores back to an incomplete dataset...
I am sure there is a simple way to do the following, but i haven't been
able to find it. I am hoping a merciful soul on R-help could point me in
the right direction.
I am doing a factor analysis on survey data with missing values. to do
this, I run:
FA1<-factanal(na.omit(DATA), factors = X, rotation = 'oblimin', scores =
'regression')
Now that I have my factors and
2007 Mar 01
2
Another newbie book recommandation question
I hope this question is sufficiently different from the other requests
for book recommendations that it's not repetitious. If not, I apologize
in advance.
I'm curious what standard reference books working statisticians, or
biostatisticians, have within easy reach of their desk. I'm a computer
systems administrator, and have a two-foot bookshelf directory under my
monitor that contains
2012 Sep 06
4
Why the error is coming, can anyone help?
Hi everyone
Can anyone help?
x = c("Treatment", "Planned", "Actual", "Demographics", "Outcomes")
for (i in x) {
df <- paste(i)[, c("Reference_ID", "Arm_ID")]
unique(df) -> uniq
as.data.frame(table(uniq$Reference_ID)) -> y
i.Arms<- paste(y$Var1, y$Freq, sep="_")
Print_Message("Check for the Total No of
2011 Jun 06
1
list demographics
Hi all,
I got curious about something, so in proper scientific fashion I
obtained some data and analyzed it.
Question: what is the female participation in the R-help email list?
Data: the most recent list postings, obtained from the website. I took
my best shot at classifying the names given in the email header as
male/female, but ended with a fair number of unknowns.
This dataset had 2797
2012 Nov 10
1
colineraity among categorical variables (multinom)
Dear all users,
I"d like to ask you how to make decision about colinearity among
categorical independent variables
when the model is multinomial logistic regression.
Any help is appreciated,
Niklas
[[alternative HTML version deleted]]
2018 Jan 24
1
Help with SQLsave
Hi all,
I'm using RODBC library to connect to a database.
I'm trying to read a table from a database and after manipulating it would like to write to the same database but with a different table
P<-data.frame(sqlQuery(myconn,'select? *? from Demographics'))
sqlSave(myconn,p,tablename="trial",rownames=FALSE)
I'm gettng this error
Version:1.0
2009 May 10
1
Function recommendation for this study...
Hi,
I'm not used to thinking along these lines, and wanted to ask your advice:
Suppose you have a sample of around 100, consisting of patients according to
doctors, in which patients and doctors are given a questionnaire with
categorical responses. Each patient somehow has roughly 3 doctors, or 3
rows of data. The goal is to assess by category of each question or DV the
agreement between
2007 Jul 16
3
Errors in data frames from read.table
Hello, all.
I am working on a project with a large (~350Mb, about 5800 rows) insurance claims dataset. It was supplied in a tilde(~)-delimited format. I imported it into a data frame in R by setting memory.limit to maximum (4Gb) for my computer and using read.table.
The resulting data frame had 10 bad rows. The errors appear due to read.table missing delimiter characters, with multiple data
2006 Feb 24
0
preloading children of child rows
I am working on a rails app to serve as the admin app for an existing
java webapp. For this reason, I am constrained by the current database
structure, which does not by any means conform to the ideal rails
defaults.
Anyway, I have the following models:
class Provider...
belongs_to: login
class Login...
has_and_belongs_to_many :demographics
class Demograpics...
...
Everyone has a
2005 Jan 21
6
Avoiding a Loop?
Dear R-Helpers,
I have a matrix where the first column is known. The second column is
the result of multiplying this first column with a constant "const". The
third column is the result of multiplying the second column with
"const".....
So far, I did it like this (as a simplified example):
nr.of.columns <- 4
myconstant <- 27.5
mymatrix <- matrix(numeric(0), nrow=5,