Clinical Trial Design and Data Analysis Functions