Displaying 20 results from an estimated 200 matches similar to: "Age-period-cohort model"
2003 Feb 05
3
tcltk installation problem
Dear all,
I want to use GraspeR (on R 1.6.0) and have to install tcltk library. When
I try to do this, I get back this error message:
Error in firstlib(which.lib.loc, package) :
TCL_LIBRARY is not set
Error in library(pkg, character.only = TRUE) :
.First.lib failed
But I have a tcl/tk package (Active TCL 8.4.1.0) correctly install on my PC
(Win95) and in the autoexec.bat the
2002 Nov 06
0
Intercept by level in GLM
Dear R-listers,
I have to explain "y", a continous variable, with two variables "t" and "p"
which are "factor variables": t is [1:12] and p is [1:18] (a value for y for
each combination t*p). OK, then I try to adjust models like: y=a_p + b*t (I
mean as many intercepts as levels of p) or y=a_p + b_p*t (as many intercepts
and coefficients for t as levels of
2004 Feb 16
1
Offset in GLMM
Dear R-list,
I try to adjust GLMM on incidence cancer data. Without random effect, in GLM
the command is, for example with sex effect,
glm(Observed~sex+offset(log(Expected)),family=poisson) because the observed
are Poisson distribued with parameter Expected*incidence rate. But know I
want to introduce random effect (for example spatial effect) and it seems to
me that the "offset" does
2004 Jan 07
1
generic name of variables
Dear R-list,
I wish a very happy new year and send you a little question: I have
different variables which names are m1, m2, m4, .., m10, ... and want to
obtain for example mean of each of them without typing each mean(m1),
mean(m2), .... What is the solution for decomposing names in mXX?
With my best regards, EA.
============================================
Erik-André SAULEAU
SEAIM
Hôpital du
2003 Dec 18
1
bootstrap pValue in DClusters
Hello R-List
I use DClusters package (I work in a cancer regestry). I have 2 questions
about it:
1-how is it possible to get back the bootstrap pValue? I mean the pValue of
the calculated statistic with respect of the distribution of this statistic
under the null hypothesis.
2-how is it possible to test an overdispersion in the poisson model? for
choosing a best model I need this mesure of
2005 Jun 07
1
Variables values on intersected intervals
Dear R-list,
i have a problem, in the framework of simulations, i want to vectorize for
earning time: a variable, say X, has values on intervals and an other
variable, say Y, has values on other intervals. For example
Inf Sup X
0 2 1
2 4 2
4 6 3
and
Inf Sup Y
1 3 1
3 5 2
5 7 3
i want to create a matrix like this
Inf Sup
2005 Mar 24
0
critical value for HEGY test in uroot
R-users,
i have some time series and use HEGY seasonal UR tests in the uroot package.
But i have problems with interpretation of t and F statistics. Is there any
critical values for these tests in R? is anybody ever write a bootstrap of
these tests?
thanks for advance, with all my bests, erik.
=================================
Erik-André SAULEAU
SEAIM
Centre Hospitalier
87, Avenue
2005 Jan 11
0
StructTS
Dear R-list,
I try to use StructTS for some univariate time series, with a type="BSM". I
have two questions:
1-in the "fitted" value of the object, it seems to me that for getting back
fitted values, one have to add level, slope and seasonal (or "level"
contains already the two other ones)
2-i am really circumspect about the results of "KalmanForecast"
2005 Mar 05
1
Object containing different classes
Hi,
i want to create an object which contains different classes: for example i
have some time series and test if ARIMA models are best than HoltWinters
models: for each of my time serie i want to collect in an unique object
which model was the best: for some it will be an HoltWinters class and for
some other an Arima class.
is there any solution?? thanks in advance, with my best, erik sauleau
2005 Apr 13
3
Patch for tunnelserver mode in protocol_subnet.c
Hello,
Here is a patch for protocol_subnet.c with two modifications :
- in tunnelserver mode, tinc must check subnets in the ".../hosts/owner"
config file, not in "c->config_tree" (which is the configuration
of the meta-connection from which we receive the ADD_SUBNET message).
- this checking can be made before the check of the owner, especially
before any
2007 Mar 13
1
estimating an ARIMA model with constraints
Hi,
I am trying to estimate an ARIMA model in the case where I have some
specific knowledge about the coefficients that should be included in the
model. Take a classical ARIMA (or even ARMA) model:
P(B) X(t) = Q(B) epsilon(t),
where X(t) is the data, epsilon is a white noise, B is the backward operator
and P and Q are some polynoms. Additionally, assume that you know in advance
how P and Q
2006 Feb 01
0
package introductions
I have been experimenting with different possibilities for an
"introduction" page for my packages. That is, a good place to tell users
about the most important things in a package, and where to start.
Recently there was a discussion about this, and a suggestion to use
<foo>-package.Rd, and also a function that generates a skeleton
document. My problem with this suggestion is
2006 Jul 13
1
ts and stl functions - still a problem
Hi
I am still having problems with using the stl function, when I read the csv file into R into a file called tkr and use dim(tkr) the result is 132 1 which is fine.
When coerce it into a trime series using ts either:
tstkr <- ts(t(tkr), deltat=1/12) or
tstkr <- ts(c(tkr), deltat=1/12)
and use the stl function I get the following error:
Error in
2003 Jul 10
2
please help on frag polynoms
hi there,
can anyone help me on the topic of frag polynoms?
i just heard of a friend of mine, that i could build in a functioon called
fragpoly (he was talking of such a function in the 'stata' language) in order
to improve my process of finding an optimal linear model.
instead of trying a vast amount of transformed inputdata to find the best
fit and then step backwards down to e.g.
2007 Jul 23
0
Conditional logistic regression on n:m matched "cohort" data
I am designing an interlaboratory validation study for a
presence/absence alternative method test kit vs. a presence/absence
reference method test kit.
There will be 10 laboratories conducting tests using both methods. In
each laboratory, there will be 5 specimens tested, each of the 5
specimens twice by both methods (alternative, standard).
The total number of data are 10 x 5 x 4 = 200.
2007 Jun 10
0
Question on weighted Kaplan-Meier analysis of case-cohort design
I have a study best described as a retrospective case-cohort design:
the cases were all the events in a given time span surveyed, and the
controls (event-free during the follow-up period) were selected in
2:1 ratio (2 controls per case). The sampling frequency for the
controls was about 0.27, so I used a weight vector consisting of 1
for cases and 1/0.27 for controls for coxph to adjust
2005 Jul 25
0
trend estimation for cohort study
Hi R Users,
I wish to estimate if there is a trend in my relative risk obtained by coxph. The best i've found is a method from Greenland and Longnecker ( Am J Epidemiology 1992 vol 135 (11) - p 1301-9 ).
But all I have is my relative risk and their std error.
Is there a command in R that can do this ?
If there is someone with a better method ?
Thanking you in advance, I look forward your
2008 Jun 16
0
cch() and coxph() for case-cohort
--------- begin included message ---------
I tried to compare if cch() and coxph() can generate same result for
same case cohort data
Use the standard data in cch(): nwtco
Since in cch contains the cohort size=4028, while ccoh.data size =1154
after selection, but coxph does not contain info of cohort size=4028.
The rough estimate between coxph() and cch() is same, but the lower
and upper CI
2008 Jul 01
0
cohort sampling
> Now that we have case cohort model , we have 1000 people and 50 cases
> Let the first 10 cases occur at the same time
> second 10 "
> third 10 "
> fourth 10 "
> fifth 10 "
> How easy is it to randomly sample 50 different
> cohort controls for each group?
>That
2004 Sep 08
1
Case-Cohort Analysis
Hi All,
I am in the middle of doing an analysis of a Case-Cohort design. I had three questions about the analysis:
a) Does any one know of some public code for developing the patient risk sets (indexed by failure time) or is there a better way to organize the data?
b) I was planning to use the Barlow weighting method. Has this or any other weighting method (Prentice, Self-Prentice) been