Cargando…

Three algorithms and SAS macros for estimating power and sample size for logistic models with one or more independent variables of interest in the presence of covariates

BACKGROUND: Commonly when designing studies, researchers propose to measure several independent variables in a regression model, a subset of which are identified as the main variables of interest while the rest are retained in a model as covariates or confounders. Power for linear regression in this...

Descripción completa

Detalles Bibliográficos
Autores principales: Williams, David Keith, Bursac, Zoran
Formato: Online Artículo Texto
Lenguaje:English
Publicado: BioMed Central 2014
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4414303/
https://www.ncbi.nlm.nih.gov/pubmed/25926866
http://dx.doi.org/10.1186/1751-0473-9-24
_version_ 1782368910564130816
author Williams, David Keith
Bursac, Zoran
author_facet Williams, David Keith
Bursac, Zoran
author_sort Williams, David Keith
collection PubMed
description BACKGROUND: Commonly when designing studies, researchers propose to measure several independent variables in a regression model, a subset of which are identified as the main variables of interest while the rest are retained in a model as covariates or confounders. Power for linear regression in this setting can be calculated using SAS PROC POWER. There exists a void in estimating power for the logistic regression models in the same setting. METHODS: Currently, an approach that calculates power for only one variable of interest in the presence of other covariates for logistic regression is in common use and works well for this special case. In this paper we propose three related algorithms along with corresponding SAS macros that extend power estimation for one or more primary variables of interest in the presence of some confounders. RESULTS: The three proposed empirical algorithms employ likelihood ratio test to provide a user with either a power estimate for a given sample size, a quick sample size estimate for a given power, and an approximate power curve for a range of sample sizes. A user can specify odds ratios for a combination of binary, uniform and standard normal independent variables of interest, and or remaining covariates/confounders in the model, along with a correlation between variables. CONCLUSIONS: These user friendly algorithms and macro tools are a promising solution that can fill the void for estimation of power for logistic regression when multiple independent variables are of interest, in the presence of additional covariates in the model. ELECTRONIC SUPPLEMENTARY MATERIAL: The online version of this article (doi:10.1186/1751-0473-9-24) contains supplementary material, which is available to authorized users.
format Online
Article
Text
id pubmed-4414303
institution National Center for Biotechnology Information
language English
publishDate 2014
publisher BioMed Central
record_format MEDLINE/PubMed
spelling pubmed-44143032015-04-30 Three algorithms and SAS macros for estimating power and sample size for logistic models with one or more independent variables of interest in the presence of covariates Williams, David Keith Bursac, Zoran Source Code Biol Med Methodology BACKGROUND: Commonly when designing studies, researchers propose to measure several independent variables in a regression model, a subset of which are identified as the main variables of interest while the rest are retained in a model as covariates or confounders. Power for linear regression in this setting can be calculated using SAS PROC POWER. There exists a void in estimating power for the logistic regression models in the same setting. METHODS: Currently, an approach that calculates power for only one variable of interest in the presence of other covariates for logistic regression is in common use and works well for this special case. In this paper we propose three related algorithms along with corresponding SAS macros that extend power estimation for one or more primary variables of interest in the presence of some confounders. RESULTS: The three proposed empirical algorithms employ likelihood ratio test to provide a user with either a power estimate for a given sample size, a quick sample size estimate for a given power, and an approximate power curve for a range of sample sizes. A user can specify odds ratios for a combination of binary, uniform and standard normal independent variables of interest, and or remaining covariates/confounders in the model, along with a correlation between variables. CONCLUSIONS: These user friendly algorithms and macro tools are a promising solution that can fill the void for estimation of power for logistic regression when multiple independent variables are of interest, in the presence of additional covariates in the model. ELECTRONIC SUPPLEMENTARY MATERIAL: The online version of this article (doi:10.1186/1751-0473-9-24) contains supplementary material, which is available to authorized users. BioMed Central 2014-11-15 /pmc/articles/PMC4414303/ /pubmed/25926866 http://dx.doi.org/10.1186/1751-0473-9-24 Text en © Williams and Bursac; licensee BioMed Central Ltd. 2014 This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly credited. The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated.
spellingShingle Methodology
Williams, David Keith
Bursac, Zoran
Three algorithms and SAS macros for estimating power and sample size for logistic models with one or more independent variables of interest in the presence of covariates
title Three algorithms and SAS macros for estimating power and sample size for logistic models with one or more independent variables of interest in the presence of covariates
title_full Three algorithms and SAS macros for estimating power and sample size for logistic models with one or more independent variables of interest in the presence of covariates
title_fullStr Three algorithms and SAS macros for estimating power and sample size for logistic models with one or more independent variables of interest in the presence of covariates
title_full_unstemmed Three algorithms and SAS macros for estimating power and sample size for logistic models with one or more independent variables of interest in the presence of covariates
title_short Three algorithms and SAS macros for estimating power and sample size for logistic models with one or more independent variables of interest in the presence of covariates
title_sort three algorithms and sas macros for estimating power and sample size for logistic models with one or more independent variables of interest in the presence of covariates
topic Methodology
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4414303/
https://www.ncbi.nlm.nih.gov/pubmed/25926866
http://dx.doi.org/10.1186/1751-0473-9-24
work_keys_str_mv AT williamsdavidkeith threealgorithmsandsasmacrosforestimatingpowerandsamplesizeforlogisticmodelswithoneormoreindependentvariablesofinterestinthepresenceofcovariates
AT bursaczoran threealgorithmsandsasmacrosforestimatingpowerandsamplesizeforlogisticmodelswithoneormoreindependentvariablesofinterestinthepresenceofcovariates