Displaying 4 results from an estimated 4 matches for "struttin".
2009 Jun 29
5
Select values at random by id value
All,
I have data that looks like below. For each id there may be more than one
value per day. I want to select a random value for that day for that id.
The end result would hopefully be a matrix with the id as rows, date as
columns and populated by the random hab value. Thanks to someone on here
(Jim) I know how to do the matrix, but now realize I need to randomly select
some of my values.
2009 Jun 27
1
data formatting
All,
I have three columns of data: id, date, hab. I am trying to set up a matrix
that has the id as the rows, date as columns, and the hab value as the data
values. Each id/date combination can only have one hab value. I would like
for it to look something like this"
date 1, date 2, date 3.
id
0001 2 1 2
0002 3 5 6
I don't know how to set
2009 Jul 21
0
Custom Link/Family for lmer
Hello List,
I am modeling a binomial response (nest survival) and I want to incorporate
a random effect, in this case site. I had previously been using glm with a
custom link function, but my understanding is that lmer does not currently
allow a custom link. Therefore, I was investigating if other procedures for
mixed models will allow a custom link function. here is the custom link
function:
2009 Oct 13
1
Time Dependent Cox Model
I am having trouble formatting some survival data to use in a time dependent
cox model. My time dep. variable is habitat and I have it recorded for every
day (with some NAs). I think it is working properly except for calculating
the death.time. This column should be 1s or 0s and as I have it only
produces 0s. Any help will be greatly appreciated.