|
a |
|
b/vignettes/DeveloperNote.Rnw |
|
|
1 |
\documentclass[a4paper]{article} |
|
|
2 |
\usepackage[utf8]{inputenc} |
|
|
3 |
\usepackage{amsmath} |
|
|
4 |
\usepackage{hyperref} |
|
|
5 |
\usepackage{fullpage} |
|
|
6 |
\title{Note to Developers} |
|
|
7 |
\author{Nik Burkoff} |
|
|
8 |
%\VignetteIndexEntry{Note to developers} |
|
|
9 |
%\VignetteEngine{knitr::knitr} |
|
|
10 |
|
|
|
11 |
\begin{document} |
|
|
12 |
|
|
|
13 |
<<include=FALSE>>= |
|
|
14 |
library(knitr) |
|
|
15 |
opts_chunk$set( |
|
|
16 |
concordance=TRUE |
|
|
17 |
) |
|
|
18 |
@ |
|
|
19 |
|
|
|
20 |
\maketitle |
|
|
21 |
|
|
|
22 |
\section{System Tests} |
|
|
23 |
|
|
|
24 |
The function \texttt{eventPrediction:::compare.param.data} creates a graph using both the from data (black) and from parameters (red) methods - when developing the package it should be checked that the red and black curves match. The parameters of the function are hard coded - in the future it may be deemed necessary to allow arguments (e.g. $k$) to be passed into the function. |
|
|
25 |
|
|
|
26 |
Similarly, the functions \texttt{eventPrediction:::conditional\_Weibull\_test} and \\ |
|
|
27 |
\texttt{eventPrediction:::conditional\_loglogistic\_test} tests that the from Data part of the package is sampling the conditional distributions correctly. The red and black curves should match. |
|
|
28 |
|
|
|
29 |
In both cases the lines have been calculated stochastically so it is not the case that the results will be identical. |
|
|
30 |
|
|
|
31 |
\end{document} |