Displaying 4 results from an estimated 4 matches for "gendermal".
Did you mean:
gendermale
2014 Oct 17
1
model.matrix metadata
Hi,
As far as I am aware, the model.matrix function does not return
perfect metadata on what each column of the model matrix "means".
The columns are named (e.g. age:genderM), but encoding the metadata as
strings can result in ambiguity. For example, the dummy variables
created when the factors var0 = 0 and var = 00 both are named var00.
Additionally, if a level of a factor variable
2009 Oct 10
1
many weighted means: is there a simpler way?
Hi R-users,
I would like to calculate weighted mean of several
variables by two factors where the weight vector is
the same for all variables.
Below, there is a simple example where I have only two
variables: "v1","v2" both weighted by "wt" and my factors
are "gender" and "year".
set.seed(1)
df <- data.frame(gender = rep(c("M",
2007 Oct 05
0
discrepancy in the result of R and SAS on same data in logistics regression
Dear Members,
Greetings!
I have come across a discrepancy shown by R and SAS results on same data for logistics regression..
When I processed the above csv file(1000.csv) for predicting the Action (i/c) by Age Group(1-7,Na) and Gender(M,F,Na) with GLM of R I get:
R result
Call:
glm(formula = Action ~ Gender + AgeGroup, family = binomial,
data = mydata1, na.action = na.pass)
Deviance
2011 Dec 23
1
Long jobs completing without output
I've been running a glmer logit on a very large data set (600k obs).
Running on a 10% subset works correctly, but for the complete data set,
R completes apparently without error, but does not display the results.
Given these jobs take about 200 hours, it's very hard to make progress
by trial and error.
I append the code and the sample and complete output. As is apparent, I
upgraded R