[R] Help for Use of R software

Sorkin, John j@ork|n @end|ng |rom @om@um@ry|@nd@edu
Sun Jun 6 20:03:33 CEST 2021


I suggest you look at the web page https://cran.r-project.org/web/packages/SampleSize4ClinicalTrials/SampleSize4ClinicalTrials.pdf
The package SampleSize4Clinical Trials appears to be exactly what you want. I believe it can produce a sample size estimate comparing two proportions for non-inferiority.


John David Sorkin M.D., Ph.D.
Professor of Medicine
University of Maryland School of Medicine
Associate Director for Biostatistics and Informatics Baltimore VA Medical Center
Geriatrics, Research, Education, and Clinical Center
Chief, Biostatistics and Informatics
University of Maryland School of Medicine Division of Gerontology, Geriatrics and Palliative Care
Senior Statistician
University of Maryland Center for Vascular Research
10 North Greene Street
Baltimore, MD 21201-1524
(Phone) 410-605-7119
(Fax) 410-605-7913 (Please call phone number above prior to faxing)

From: R-help <r-help-bounces using r-project.org> on behalf of Lee Simon <simonleelee123456 using gmail.com>
Sent: Sunday, June 6, 2021 4:29 AM
To: r-help using r-project.org
Subject: [R] Help for Use of R software

Dear Sir/Madam,

May I seek for your kind help for the use of R software for conducting
two-proportional z-test which is test for non-inferiority? I have found one
saying using function (TwoSampleProportion.NIS(alpha, beta, p1, p2, k,
delta, margin) but the software said there is not such function. Thank you
very much for your kind help.

With kindest regards,

        [[alternative HTML version deleted]]

R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
PLEASE do read the posting guide https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.r-project.org%2Fposting-guide.html&data=04%7C01%7CJSorkin%40som.umaryland.edu%7C6987e89fa41b4ace34c608d9290e2042%7C717009a620de461a88940312a395cac9%7C0%7C0%7C637585963482517146%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=JuXMHDDub3oN9RXw2Q7owTIR4DDNi6DHA%2FNqUZFQHnI%3D&reserved=0
and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list