\hypertarget{StreitbergRoehmel_8c}{
\section{StreitbergRoehmel.c File Reference}
\label{StreitbergRoehmel_8c}\index{StreitbergRoehmel.c@{StreitbergRoehmel.c}}
}
{\ttfamily \#include $<$R.h$>$}\par
{\ttfamily \#include $<$Rmath.h$>$}\par
{\ttfamily \#include $<$Rdefines.h$>$}\par
Include dependency graph for StreitbergRoehmel.c:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=270pt]{StreitbergRoehmel_8c__incl}
\end{center}
\end{figure}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
SEXP \hyperlink{StreitbergRoehmel_8c_af9a845b0ec4e288550ee071a11d42e3f}{R\_\-cpermdist2} (SEXP score\_\-a, SEXP score\_\-b, SEXP m\_\-a, SEXP m\_\-b, SEXP retProb)
\item 
SEXP \hyperlink{StreitbergRoehmel_8c_a5bccf6c77bf2cabd9930b24d7fac273a}{R\_\-cpermdist1} (SEXP scores)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Exact Distribution of Two-\/Sample Permutation Tests Streitberg \& Roehmel Algorithm

\begin{DoxyAuthor}{Author}

\end{DoxyAuthor}
\begin{DoxyParagraph}{Author:}
hothorn 
\end{DoxyParagraph}
\begin{DoxyDate}{Date}

\end{DoxyDate}
\begin{DoxyParagraph}{Date:}
2007-\/07-\/18 18:29:22 +0200 (Wed, 18 Jul 2007) 
\end{DoxyParagraph}


Definition in file \hyperlink{StreitbergRoehmel_8c_source}{StreitbergRoehmel.c}.



\subsection{Function Documentation}
\hypertarget{StreitbergRoehmel_8c_a5bccf6c77bf2cabd9930b24d7fac273a}{
\index{StreitbergRoehmel.c@{StreitbergRoehmel.c}!R\_\-cpermdist1@{R\_\-cpermdist1}}
\index{R\_\-cpermdist1@{R\_\-cpermdist1}!StreitbergRoehmel.c@{StreitbergRoehmel.c}}
\subsubsection[{R\_\-cpermdist1}]{\setlength{\rightskip}{0pt plus 5cm}SEXP R\_\-cpermdist1 (
\begin{DoxyParamCaption}
\item[{SEXP}]{ scores}
\end{DoxyParamCaption}
)}}
\label{StreitbergRoehmel_8c_a5bccf6c77bf2cabd9930b24d7fac273a}
The density of the permutation distribution for the one sample problem.

REFERENCES

Bernd Streitberg \& Joachim R"ohmel (1986), Exact distributions for permutations and rank tests: An introduction to some recently published algorithms. Statistical Software Newsletter 12(1), 10-\/17.

Bernd Streitberg \& Joachim R"ohmel (1987), Exakte Verteilungen f"ur Rang-\/ und Randomisierungstests im allgemeinen \$c\$-\/Stichprobenfall. EDV in Medizin und Biologie 18(1), 12-\/19 (in german).


\begin{DoxyParams}{Parameters}
\item[{\em scores}]score vector (such as rank(abs(y)) for wilcoxsign\_\-test) \end{DoxyParams}


Definition at line 198 of file StreitbergRoehmel.c.

\hypertarget{StreitbergRoehmel_8c_af9a845b0ec4e288550ee071a11d42e3f}{
\index{StreitbergRoehmel.c@{StreitbergRoehmel.c}!R\_\-cpermdist2@{R\_\-cpermdist2}}
\index{R\_\-cpermdist2@{R\_\-cpermdist2}!StreitbergRoehmel.c@{StreitbergRoehmel.c}}
\subsubsection[{R\_\-cpermdist2}]{\setlength{\rightskip}{0pt plus 5cm}SEXP R\_\-cpermdist2 (
\begin{DoxyParamCaption}
\item[{SEXP}]{ score\_\-a, }
\item[{SEXP}]{ score\_\-b, }
\item[{SEXP}]{ m\_\-a, }
\item[{SEXP}]{ m\_\-b, }
\item[{SEXP}]{ retProb}
\end{DoxyParamCaption}
)}}
\label{StreitbergRoehmel_8c_af9a845b0ec4e288550ee071a11d42e3f}
The density of the permutation distribution for the independent two sample problem.

REFERENCES

Bernd Streitberg \& Joachim R"ohmel (1986), Exact distributions for permutations and rank tests: An introduction to some recently published algorithms. Statistical Software Newsletter 12(1), 10-\/17.

Bernd Streitberg \& Joachim R"ohmel (1987), Exakte Verteilungen f"ur Rang-\/ und Randomisierungstests im allgemeinen \$c\$-\/Stichprobenfall. EDV in Medizin und Biologie 18(1), 12-\/19 (in german).


\begin{DoxyParams}{Parameters}
\item[{\em score\_\-a}]score vector (typically c(1,1,...,1)) \item[{\em score\_\-b}]score vector (typically ranks) \item[{\em m\_\-a}]integer indicating the sum of m\_\-a elements of score\_\-a \item[{\em m\_\-b}]integer indicating the sum of m\_\-b elements of score\_\-b \item[{\em retProb}]logical indicating whether the density (TRUE) or the matrix of all permutations should be returned \end{DoxyParams}


Definition at line 39 of file StreitbergRoehmel.c.

