
Summarize an aareg fit
summary.aareg.RdCreates the overall test statistics for an Aalen additive regression model
Arguments
- object
the result of a call to the
aaregfunction- maxtime
truncate the input to the model at time "maxtime"
- test
the relative time weights that will be used to compute the test
- scale
scales the coefficients. For some data sets, the coefficients of the Aalen model will be very small (10-4); this simply multiplies the printed values by a constant, say 1e6, to make the printout easier to read.
- ...
for future methods
Value
a list is returned with the following components
- table
a matrix with rows for the intercept and each covariate, and columns giving a slope estimate, the test statistic, it's standard error, the z-score and a p-value
- test
the time weighting used for computing the test statistics
- test.statistic
the vector of test statistics
- test.var
the model based variance matrix for the test statistic
- test.var2
optionally, a robust variance matrix for the test statistic
- chisq
the overall test (ignoring the intercept term) for significance of any variable
- n
a vector containing the number of observations, the number of unique death times used in the computation, and the total number of unique death times
Details
It is not uncommon for the very right-hand tail of the plot to have
large outlying values, particularly for the standard error.
The maxtime parameter can then be used to
truncate the range so as to avoid these.
This gives an updated value for the test statistics, without refitting the
model.
The slope is based on a weighted linear regression to the cumulative coefficient plot, and may be a useful measure of the overall size of the effect. For instance when two models include a common variable, "age" for instance, this may help to assess how much the fit changed due to the other variables, in leiu of overlaying the two plots. (Of course the plots are often highly non-linear, so it is only a rough substitute). The slope is not directly related to the test statistic, as the latter is invariant to any monotone transformation of time.