Displaying 20 results from an estimated 298 matches for "subgroups".
Did you mean:
subgroup
2010 Mar 26
4
Competing with SPSS and SAS: improving code that loops through rows (data manipulation)
...rameters used in the code below:
vars<-names(data)[3:4] # names of variables to be transformed
nr.vars<-length(vars) # number of variables to be transformed; !!!
in real life I'll have to deal with up to 50-60 variables, not 2.
group.var<-names(data)[1] # name of the grouping variable
subgroups<-levels(data[[group.var]]) # names of subgroups; !!! in
real life I'll have up to 20-25 subgroups, not 2.
# For EACH subgroup: indexing variables a and b to their maximum in
that subgroup;
# Further, I'll have to use these indexed variables to build the new ones:
for(i in vars){
new.n...
2009 Mar 10
2
perform subgroup meta-analysis and create forest plot displaying subgroups
Hello,
I'm using the rmeta package to perform a meta analysis using summary statistics rather than raw data, and would like to analyze the effects in three different subgroups of my data. Furthermore, I'd like to plot this on one forest plot, with corresponding summary weighted averages of the effects displayed beneath each subgroup.
I am able to generate the subgroup analyses by simply performing 3 separate meta-analyses with the desired subset of data. However, I...
2008 May 28
1
superposing barplots having different scales
Hello. I know how to make a bar plot in which a numeric y variable is
plotted against some grouping variable X (say, groups A, B, C) when this
grouping variable is subdivided into each of two subgroups; so the bars
would be: (group A subgroup 1) beside (group A subgroup 2), then (group B
subgroup 1) beside (group B subgroup 2), and so on. This is done using the
beside=TRUE argument in the barplot() function. However, I want to make a
slightly different type of barplot in which the numerical valu...
2012 Jan 20
3
error
Unable to resolve error in seq.default(which(text == "")[1] + 1,
length(text), 1):
wrong sign in 'by' argument
I am trying to run this code
get.msg <- function(path) {
con <- file(path, open = "rt", encoding = "latin1")
text <- readLines(con)
# The message always begins after the first full line break
msg <- text[seq(which(text ==
2011 Oct 10
1
Multiple imputation on subgroups
Dear R-users,
I want to multiple impute missing scores, but only for a few subgroups in my
data (variable 'subgroups': only impute for subgroups 2 and 3).
Does anyone knows how to do this in MICE?
This is my script for the multiple imputation:
imp <- mice(data, m=20, predictorMatrix=pred, post=post,
method=c("", "", "", "", &qu...
2012 Mar 09
0
pdMat class in LME to mimic SAS proc mixed group option? Group-specific random slopes
...pendent. It seems as thought the pdMat options in lme are a promising avenue. However, none of the existing pdMat classes seem to allow what I want.
As a specific example, I would like to fit a random intercept/slope mixed model to longitudinal observations in which the subjects are divided into 5 subgroups. There is good reason to suspect that the intercept/slope variance will be heteroscedastic among the 5 subgroups (as well as the residual R-side variances).
If I'm willing to assume that each subject's random slope and intercepts is independent (a dangerous assumption), then I can get clos...
2006 Jan 24
4
How to filter an activerecord find_all...
I have a nice hierarchical table structure like this:
divisions
has_many groups
groups
belongs_to division
has_many subgroups
subgroups
belongs_to group
has_many units
units
belongs_to subgroup
I have a report which is based on units, but i want to be able to filter
the units by which subgroup, or which group, or which division. I also
want to sort them by division.name,then group.name, then subgroup.name.
What'...
2008 Aug 28
2
tree structure in rails?
Hi,
Is there is any way in ruby on rails where we show all my groups there
subgroups
with check boxes in tree structure way?
e.g
group A
|
----Group A.1
|
----Group A.2
|
---------Group A.2.1
All with check boxes and subgroup opens when click on root ?
--
Posted via http:/...
2015 May 27
4
[Bug 2302] with DH-GEX, ssh (and sshd) should not fall back to unconfigured DH groups or at least document this behaviour and use a stronger group
On Wed, May 27, 2015 at 05:08:25PM -0400, Daniel Kahn Gillmor wrote:
> On Tue 2015-05-26 15:39:49 -0400, Mark D. Baushke wrote:
> > Hi Folks,
> >
> > The generator value of 5 does not lead to a q-ordered subgroup which
> > is needed to pass tests in
> >
> > http://csrc.nist.gov/publications/nistpubs/800-56A/SP800-56A_Revision1_Mar08-2007.pdf
>
> I
2015 Jun 12
2
[Bug 2302] with DH-GEX, ssh (and sshd) should not fall back to unconfigured DH groups or at least document this behaviour and use a stronger group
On Fri 2015-06-12 01:52:54 -0400, Mark D. Baushke wrote:
> I have communicated with Allen Roginsky on this topic and I have been given permission to post his response.
>
> In this message below, the 'vendor' was Darren Tucker's generated prime
> that used a generator value of 5.
>
> -- Mark
>
> From: "Roginsky, Allen" <allen.roginsky at
2011 Apr 01
3
programming: telling a function where to look for the entered variables
Hi there,
Could someone help me with the following programming problem..?
I have written a function that works for my intended purpose, but it
is quite closely tied to a particular dataframe and the names of the
variables in this dataframe. However, I'd like to use the same
function for different dataframes and variables. My problem is that
I'm not quite sure how to tell my function in
2012 Mar 29
3
How to get the most frequent value of the subgroup
...- 'aggregate' that you developed, I become to have a question.
In that function,
> aggregate(x, by, FUN, ..., simplify = TRUE)
I was wondering about what type of FUN I should write if I want to get "the most frequent value of the subgroup" as a summary statistics of the subgroups.
I will appreciate if I can get your idea on this issue.
Many thanks,
Jason Jung.
[[alternative HTML version deleted]]
2012 Jul 13
2
Creating Subgroups in Puppet Dashboard
Hi All,
Is there a feasibility for creating subgroups on the Puppet Dashboard?
Basically the requirement is that we have a huge number of VMs running
designated services. Some of VMs having the same service may yet have
different properties configured on them. We are exploring the feasibility
of having these properties managed through puppet. Curr...
2012 May 05
3
metafor
Dear users of metafor,
I am working on a meta-analysis using the metafor package. I have a
excel csv database that I am working with. I am interested in pooling
the effect measures for a particular subgroup (European women) in this
csv database. I am conducting both sub-group and meta-regression.
In subgroup-analyses, I have stratified the database to create a
separate csv file just for European
2010 Jul 20
1
define subgroups based on position in table
Dear list,
I have a data frame with one column (group) and want to add a second column (sub) with a serial number that says to which subgroup a cell belongs. A subgroup contains the consecutive rows of the same group. The number of a subgroup is based on its position in the table. The first subgroup of A's and B's should have nr A1 and B1, the second nr A2 and B2, etc.. I hope the
2011 Jul 27
1
how to replace values in x by means in subgroups created in ... (not loops)
# Dear all,
# how to replace values in x by means in subgroups created in ...
# replace only these values where y=0 in continous sequence
# replace by mean calculated locally for each subgroup created by
# continous sequence of 0,0,0 in parallel y vector, i.e.
# where there is continous sequence of 0 in data frame vector y
# but we do not replace values...
2009 Nov 29
3
How to z-standardize for subgroups?
...y
more) by class, so I define
z.mean.sd <- function(data){
return.values <- (data - mean(data)) / (sd(data))
return(return.values)
}
now I can call for each var
z.var1 <- by(df.vars$var1, group, z.mean.sd)
which gives me the standardised data for each subgroup in a list with
the subgroups
z.var1 <- unlist(z.var1)
then gives me the z-standardised data for var1 in one vector. Great!
Now I would like to do this for the whole dataframe, but probably I am
not thinking vectorwise enough.
z.df.vars <- by(df.vars, group, z.mean.sd)
does not work. I banged my head on other solut...
2007 Jan 25
0
Subgroup discovery in R
I would very much like to apply "subgroup discovery" techniques to some
of the data I am analyzing at this moment.
Subgroup discovery is an interesting approach and is quite well known in
the Data Mining community, though in essence it is a purely statistical
approach.
To read an introductory article see "Subgroup discovery and visualization
methods"
2007 Jun 27
3
exaustive subgrouping or combination
Dear Colleagues,
I am looking for a package or previous implemented R to subgroup and
exaustively divide a vector of squence into 2 groups.
For example:
1, 2, 3, 4
I want to have a group of
1, (2,3,4)
(1,2), (3,4)
(1,3), (2,4)
(1,4), (2,3)
(1,2,3), 4
(2,3), (1,4)
...
Can someone help me as how to implement this? I get some imaginary problem
when the sequence becomes large.
Thanks much in
2009 Mar 25
1
boxplot in subgroups
Hi,
I have data that looks like this:
ASA1 ASA2 C1_C2
C M 9.0225
S S 2.4315
M C 3.4894
M S 4.5282
C M 1.3183
C S 1.3735
S C 1.0488
S M 7.948
M C 4.5827
I need to plot Boxplots for a given ASA1 (either C,S, or M) with
respect to C1_C2. However, instead of one boxplot I want to plot