jointDensity {GroupSeq} | R Documentation |
This function calculates the join density at eather first analysis ( i==1) or at second analysis and later ( i > 1)
jointDensity(i, lowerIntegrationLimit, upperIntegrationLimit, standardDeviation, numberOfIntegrationIntervalls, lastGrid)
i |
denotes the i-th interim analysis |
lowerIntegrationLimit |
is the lower integration limit for the first analysis. |
upperIntegrationLimit |
is the upper integration limit for the first analysis. |
standardDeviation |
is the standard deviation of the process at first analysis. |
numberOfIntegrationIntervalls |
is the number of whole steps between lowerIntegrationLimit and upperIntegrationLimit. |
lastGrid |
is the vector of function values over the grid. |
lastCopy |
a temporary vector of function values because 'lastGrid' from previous step itself is needed to compute each current value. |
This function is meant to be called in context of using groupseq
Roman Pahl
This refers to Fortran Implementation from http://www.biostat.wisc.edu/landemets/
groupseq
, dnorm
integrateByTrapez
## function depends heavily on calculations before (e.g.the 'numberOfIntegrationIntervalls' or 'lastGrid'), ## so you donīt want to use it by manual and therefore an example is not useful