Master Biostatistics with Confidence

Ask any question, from basic concepts to complex analyses, and get clear, expert answers that actually make sense.

Ask a Biostatistics Question

Track Your Question

Answered Questions

11 answers found
Q: If we are studying all hospitalized patients of a certain health facility, is it reasonable to apply a…

It depends on the target population. If you include all hospitalized patients during a defined period and your conclusions are limited to those patients, statistical…

Q: If we are studying all hospitalized patients of a certain health facility, is it reasonable to apply a statistical test for inference?

It depends on the target population. If you include all hospitalized patients during a defined period and your conclusions are limited to those patients, statistical inference is generally not necessary since you have the whole population of interest. However, if you want to generalize beyond them (e.g., to future patients, patients in other periods, or similar hospitals), statistical tests and confidence intervals can still be appropriate.

Aug 27, 2026 Hypothesis Testing
Q: What are the major differences between type I and type II errors?

Type I error (α): Rejecting a true null hypothesis → false positive.Public health example: Concluding that a vaccination campaign reduces infection rates when it actually…

Q: What are the major differences between type I and type II errors?
  • Type I error (α): Rejecting a true null hypothesis → false positive.
    Public health example: Concluding that a vaccination campaign reduces infection rates when it actually does not.
  • Type II error (β): Failing to reject a false null hypothesis → false negative.
    Public health example: Concluding that a vaccination campaign does not reduce infection rates when it actually does.
  • Power = 1 − β: The probability of correctly detecting a true effect.
Aug 27, 2026 Hypothesis Testing
Q: Can you give a summary on regression and how it works in statistics?

Regression is a statistical method used to examine the relationship between an outcome variable (dependent variable) and one or more predictor variables (independent variables). Regression…

Q: Can you give a summary on regression and how it works in statistics?
Regression is a statistical method used to examine the relationship between an outcome variable (dependent variable) and one or more predictor variables (independent variables). Regression answers questions such as: “Does age predict blood pressure?”, “Do smoking and exercise influence disease risk?”, and “Does education affect income?” Common types of regression:
  • Linear regression = continuous outcomes
  • Logistic regression = binary outcomes
  • Poisson regression = count data
  • Cox regression = survival/time-to-event outcomes
  • Multilevel regression = clustered/hierarchical data
How regression works:
  1. Fits a statistical relationship between predictors and outcome
  2. Estimates coefficients showing the direction and strength of associations
  3. Tests statistical significance
  4. Evaluates model fit and assumptions
Important things to check after running your model include residual diagnostics, multicollinearity, outliers, goodness-of-fit, and model assumptions. Useful free resources:
  • https://stats.oarc.ucla.edu/r/seminars/introduction-to-regression-in-r/
  • https://stats.oarc.ucla.edu/stata/webbooks/reg/chapter1/regressionwith-statachapter-1-simple-and-multiple-regression/
  • https://stats.oarc.ucla.edu/spss/seminars/introduction-to-regression-with-spss/
  • https://pmc.ncbi.nlm.nih.gov/articles/PMC2992018/
Jun 4, 2026 Regression
Q: Good afternoon Doc, I hope you are doing well. How do you test for data validity after running…

After running regression analysis, we usually check whether the model assumptions are satisfied and whether the model fits the data well. Common checks include: residual…

Q: Good afternoon Doc, I hope you are doing well. How do you test for data validity after running regression analysis and how do you determine the correct analysis to run for inferential and advanced such survival/multilevel modelling/Bayesian model etc? I would appreciate your guidance. Regards, Taurai Makwalu
After running regression analysis, we usually check whether the model assumptions are satisfied and whether the model fits the data well. Common checks include: residual plots, normality, multicollinearity, outliers, and goodness-of-fit. The correct statistical analysis mainly depends on: the research question, study design, type of outcome variable, and data structure. Examples:
  • Linear regression = continuous outcome
  • Logistic regression = binary outcome
  • Survival analysis = time-to-event outcome
  • Multilevel models = clustered/hierarchical data
  • Bayesian models = when incorporating prior information or handling complex uncertainty
The key is to first understand the research question and the type of data before choosing the analysis.
Jun 4, 2026 Regression
Q: Hello Dr Bright. I will appreciate if you can do share links to free materials where I can…

Below are some excellent free resources that can help you learn sample size determination and improve your methodological thinking when designing the methodology section of…

Q: Hello Dr Bright. I will appreciate if you can do share links to free materials where I can learn about sample size determination and materials that can improve my methodological thinking for designing methodology section of public health proposals and studies. Thank you!
Below are some excellent free resources that can help you learn sample size determination and improve your methodological thinking when designing the methodology section of public health studies and proposals. Sample size determination
  1. https://pmc.ncbi.nlm.nih.gov/articles/PMC10000262/
  2. https://iris.who.int/items/9c2e5da4-3785-4fec-9dbc-841e4ae0d98c
  3. https://www.sciencedirect.com/science/article/pii/S2772906024005089
  4. OpenEpi Sample Size Calculator
Methodological thinking and study design
  1. Methodological Thinking: Basic Principles of Social Research Design: https://methods.sagepub.com/book/mono/methodological-thinking-2e/toc#
  2. https://www.nature.com/articles/6400355
  3. https://pubmed.ncbi.nlm.nih.gov/16355244/
  4. https://www.nature.com/articles/6400375
  5. https://pubmed.ncbi.nlm.nih.gov/16858385/
  6. https://pubmed.ncbi.nlm.nih.gov/17003803/
  7. https://pubmed.ncbi.nlm.nih.gov/17187048/
Jun 4, 2026 Study Design
Q: My question is about comparing statistical timeseries models like ARIMA, SARIMA and deep learning time LSTM, Prophet with...…

Comparing time series forecasting models such as ARIMA, SARIMA, LSTM, and Prophet involves training each model on historical data and evaluating their forecasting performance on…

Q: My question is about comparing statistical timeseries models like ARIMA, SARIMA and deep learning time LSTM, Prophet with... time series model using the evaluation metrics like MAE, ..... for forcasting indicators for the future?

Comparing time series forecasting models such as ARIMA, SARIMA, LSTM, and Prophet involves training each model on historical data and evaluating their forecasting performance on test data. This is done by using metrics such as Mean Absolute Error (MAE), Root Mean Square Error (RMSE), Mean Absolute Percentage Error (MAPE), and Mean Squared Error (MSE). Lower values generally indicate better predictive performance. Briefly, each model works best in different situations.

  • ARIMA is best suited for non-seasonal linear trends.
  • SARIMA extends ARIMA by handling seasonal patterns.
  • Prophet works best for business and public health data with seasonality, trends, and missing observations.
  • LSTM (Long Short-Term Memory) is a deep learning model that can capture complex nonlinear temporal relationships, especially in large datasets
Some useful resources are below:
  • https://otexts.com/fpp3/
  • https://www.sciencedirect.com/science/article/pii/S0169207021001874
  • https://www.stata.com/features/time-series/
Jun 4, 2026 Other
Q: What is survival analysis and the various survival models

Survival analysis refers to a set of statistical methods used to analyse the time until an event occurs. The “event” includes death, relapse, progression, or…

Q: What is survival analysis and the various survival models

Survival analysis refers to a set of statistical methods used to analyse the time until an event occurs. The “event” includes death, relapse, progression, or treatment. Different statistical methods are used to answer different questions. The main methods include the following:

  1. Kaplan-Meier analysis – estimate survival over time
  2. Log-rank test – compare survival curves between groups
  3. Cox proportional hazards model – assess effect of predictors on survival while adjusting for confounders.
  4. Competing risks methods – used when more than one type of event can occur
  5. Parametric survival models – model survival with assumed distribution
Important resources: https://pmc.ncbi.nlm.nih.gov/articles/PMC2394262/; https://pmc.ncbi.nlm.nih.gov/articles/PMC6781220/
Apr 26, 2026 Survival Analysis
Q: What are the methods and their difference used to assess survival analysis in pediatric cancers ,could it will…

In paediatric cancer research, survival analysis is commonly used to study time until an event such as death, relapse, progression, or treatment failure occurs. Different…

Q: What are the methods and their difference used to assess survival analysis in pediatric cancers ,could it will be possible to get PDF files to explain it. Thank you

In paediatric cancer research, survival analysis is commonly used to study time until an event such as death, relapse, progression, or treatment failure occurs. Different methods are used to answer different questions. The main methods used include the following:

  1. Kaplan-Meier analysis – estimate survival over time
  2. Log-rank test – compare survival curves between groups
  3. Cox proportional hazards model – assess effect of predictors on survival while adjusting for confounders.
  4. Competing risks methods – used when more than one type of event can occur
  5. Parametric survival models – model survival with assumed distribution
Important resources: https://pmc.ncbi.nlm.nih.gov/articles/PMC2394262/; https://pmc.ncbi.nlm.nih.gov/articles/PMC6781220/
Apr 26, 2026 Survival Analysis
Q: How do I check for level of significance. I am having issues apportioning a,b or * to my…

To check for the level of statistical significance, use the p-value from your test. You can report the actual p-values or use asterisks to denote…

Q: How do I check for level of significance. I am having issues apportioning a,b or * to my values

To check for the level of statistical significance, use the p-value from your test. You can report the actual p-values or use asterisks to denote statistical significance. For asterisks, the following are commonly used: p < 0.05 = *;  p < 0.01 = **; p < 0.001 = ***; p ≥ 0.05 = not significant.

For example:
Treatment A = 45*
Treatment B = 60

You can also use letters such as a, b, c when comparing statistical significance in multiple groups. Values with the same letter are described as not significantly different, while values with different letters are significantly different.

For example:
Group 1 = 10ᵃ
Group 2 = 12ᵃ
Group 3 = 18ᵇ

Apr 21, 2026 Descriptive Statistics
Q: How do you run adjusted odds or risk ratios in a regression analysis

Running adjusted odds ratios (aORs) or adjusted risk ratios (aRRs) is a statistical approach used to control for confounding variables when assessing the relationship between…

Q: How do you run adjusted odds or risk ratios in a regression analysis

Running adjusted odds ratios (aORs) or adjusted risk ratios (aRRs) is a statistical approach used to control for confounding variables when assessing the relationship between an exposure and a binary outcome. For example, smoking (yes/no) as the exposure and lung cancer (yes/no) as the outcome.

In Stata, adjusted odds ratios can be estimated using logistic regression, for example: logistic lungcancer smoking age sex bmi.

Adjusted risk ratios can be estimated using modified Poisson regression with robust standard errors, for example: glm lungcancer smoking age sex bmi, family(poisson) link(log) vce(robust) eform.

Apr 13, 2026 Regression
Q: Je peux utiliser les le test de student poune distribution asymétrique ?

It is not ideal to use the Student’s t-test for a skewed distribution. This is because one of its key assumptions is that the data,…

Q: Je peux utiliser les le test de student poune distribution asymétrique ?

It is not ideal to use the Student’s t-test for a skewed distribution. This is because one of its key assumptions is that the data, or more specifically the residuals, are approximately normally distributed. A skewed distribution can violate this assumption.

When this assumption is not met, alternative tests are more appropriate. These include the Mann-Whitney U test for two independent groups and the Wilcoxon signed-rank test for paired data.

Apr 12, 2026 Hypothesis Testing

Ask a Biostatistics Question

Track Your Question

Answered Questions

11 answers found
Q: If we are studying all hospitalized patients of a certain health facility, is it reasonable to apply a…

It depends on the target population. If you include all hospitalized patients during a defined period and your conclusions are limited to those patients, statistical…

Q: If we are studying all hospitalized patients of a certain health facility, is it reasonable to apply a statistical test for inference?

It depends on the target population. If you include all hospitalized patients during a defined period and your conclusions are limited to those patients, statistical inference is generally not necessary since you have the whole population of interest. However, if you want to generalize beyond them (e.g., to future patients, patients in other periods, or similar hospitals), statistical tests and confidence intervals can still be appropriate.

Aug 27, 2026 Hypothesis Testing
Q: What are the major differences between type I and type II errors?

Type I error (α): Rejecting a true null hypothesis → false positive.Public health example: Concluding that a vaccination campaign reduces infection rates when it actually…

Q: What are the major differences between type I and type II errors?
  • Type I error (α): Rejecting a true null hypothesis → false positive.
    Public health example: Concluding that a vaccination campaign reduces infection rates when it actually does not.
  • Type II error (β): Failing to reject a false null hypothesis → false negative.
    Public health example: Concluding that a vaccination campaign does not reduce infection rates when it actually does.
  • Power = 1 − β: The probability of correctly detecting a true effect.
Aug 27, 2026 Hypothesis Testing
Q: Can you give a summary on regression and how it works in statistics?

Regression is a statistical method used to examine the relationship between an outcome variable (dependent variable) and one or more predictor variables (independent variables). Regression…

Q: Can you give a summary on regression and how it works in statistics?
Regression is a statistical method used to examine the relationship between an outcome variable (dependent variable) and one or more predictor variables (independent variables). Regression answers questions such as: “Does age predict blood pressure?”, “Do smoking and exercise influence disease risk?”, and “Does education affect income?” Common types of regression:
  • Linear regression = continuous outcomes
  • Logistic regression = binary outcomes
  • Poisson regression = count data
  • Cox regression = survival/time-to-event outcomes
  • Multilevel regression = clustered/hierarchical data
How regression works:
  1. Fits a statistical relationship between predictors and outcome
  2. Estimates coefficients showing the direction and strength of associations
  3. Tests statistical significance
  4. Evaluates model fit and assumptions
Important things to check after running your model include residual diagnostics, multicollinearity, outliers, goodness-of-fit, and model assumptions. Useful free resources:
  • https://stats.oarc.ucla.edu/r/seminars/introduction-to-regression-in-r/
  • https://stats.oarc.ucla.edu/stata/webbooks/reg/chapter1/regressionwith-statachapter-1-simple-and-multiple-regression/
  • https://stats.oarc.ucla.edu/spss/seminars/introduction-to-regression-with-spss/
  • https://pmc.ncbi.nlm.nih.gov/articles/PMC2992018/
Jun 4, 2026 Regression
Q: Good afternoon Doc, I hope you are doing well. How do you test for data validity after running…

After running regression analysis, we usually check whether the model assumptions are satisfied and whether the model fits the data well. Common checks include: residual…

Q: Good afternoon Doc, I hope you are doing well. How do you test for data validity after running regression analysis and how do you determine the correct analysis to run for inferential and advanced such survival/multilevel modelling/Bayesian model etc? I would appreciate your guidance. Regards, Taurai Makwalu
After running regression analysis, we usually check whether the model assumptions are satisfied and whether the model fits the data well. Common checks include: residual plots, normality, multicollinearity, outliers, and goodness-of-fit. The correct statistical analysis mainly depends on: the research question, study design, type of outcome variable, and data structure. Examples:
  • Linear regression = continuous outcome
  • Logistic regression = binary outcome
  • Survival analysis = time-to-event outcome
  • Multilevel models = clustered/hierarchical data
  • Bayesian models = when incorporating prior information or handling complex uncertainty
The key is to first understand the research question and the type of data before choosing the analysis.
Jun 4, 2026 Regression
Q: Hello Dr Bright. I will appreciate if you can do share links to free materials where I can…

Below are some excellent free resources that can help you learn sample size determination and improve your methodological thinking when designing the methodology section of…

Q: Hello Dr Bright. I will appreciate if you can do share links to free materials where I can learn about sample size determination and materials that can improve my methodological thinking for designing methodology section of public health proposals and studies. Thank you!
Below are some excellent free resources that can help you learn sample size determination and improve your methodological thinking when designing the methodology section of public health studies and proposals. Sample size determination
  1. https://pmc.ncbi.nlm.nih.gov/articles/PMC10000262/
  2. https://iris.who.int/items/9c2e5da4-3785-4fec-9dbc-841e4ae0d98c
  3. https://www.sciencedirect.com/science/article/pii/S2772906024005089
  4. OpenEpi Sample Size Calculator
Methodological thinking and study design
  1. Methodological Thinking: Basic Principles of Social Research Design: https://methods.sagepub.com/book/mono/methodological-thinking-2e/toc#
  2. https://www.nature.com/articles/6400355
  3. https://pubmed.ncbi.nlm.nih.gov/16355244/
  4. https://www.nature.com/articles/6400375
  5. https://pubmed.ncbi.nlm.nih.gov/16858385/
  6. https://pubmed.ncbi.nlm.nih.gov/17003803/
  7. https://pubmed.ncbi.nlm.nih.gov/17187048/
Jun 4, 2026 Study Design
Q: My question is about comparing statistical timeseries models like ARIMA, SARIMA and deep learning time LSTM, Prophet with...…

Comparing time series forecasting models such as ARIMA, SARIMA, LSTM, and Prophet involves training each model on historical data and evaluating their forecasting performance on…

Q: My question is about comparing statistical timeseries models like ARIMA, SARIMA and deep learning time LSTM, Prophet with... time series model using the evaluation metrics like MAE, ..... for forcasting indicators for the future?

Comparing time series forecasting models such as ARIMA, SARIMA, LSTM, and Prophet involves training each model on historical data and evaluating their forecasting performance on test data. This is done by using metrics such as Mean Absolute Error (MAE), Root Mean Square Error (RMSE), Mean Absolute Percentage Error (MAPE), and Mean Squared Error (MSE). Lower values generally indicate better predictive performance. Briefly, each model works best in different situations.

  • ARIMA is best suited for non-seasonal linear trends.
  • SARIMA extends ARIMA by handling seasonal patterns.
  • Prophet works best for business and public health data with seasonality, trends, and missing observations.
  • LSTM (Long Short-Term Memory) is a deep learning model that can capture complex nonlinear temporal relationships, especially in large datasets
Some useful resources are below:
  • https://otexts.com/fpp3/
  • https://www.sciencedirect.com/science/article/pii/S0169207021001874
  • https://www.stata.com/features/time-series/
Jun 4, 2026 Other
Q: What is survival analysis and the various survival models

Survival analysis refers to a set of statistical methods used to analyse the time until an event occurs. The “event” includes death, relapse, progression, or…

Q: What is survival analysis and the various survival models

Survival analysis refers to a set of statistical methods used to analyse the time until an event occurs. The “event” includes death, relapse, progression, or treatment. Different statistical methods are used to answer different questions. The main methods include the following:

  1. Kaplan-Meier analysis – estimate survival over time
  2. Log-rank test – compare survival curves between groups
  3. Cox proportional hazards model – assess effect of predictors on survival while adjusting for confounders.
  4. Competing risks methods – used when more than one type of event can occur
  5. Parametric survival models – model survival with assumed distribution
Important resources: https://pmc.ncbi.nlm.nih.gov/articles/PMC2394262/; https://pmc.ncbi.nlm.nih.gov/articles/PMC6781220/
Apr 26, 2026 Survival Analysis
Q: What are the methods and their difference used to assess survival analysis in pediatric cancers ,could it will…

In paediatric cancer research, survival analysis is commonly used to study time until an event such as death, relapse, progression, or treatment failure occurs. Different…

Q: What are the methods and their difference used to assess survival analysis in pediatric cancers ,could it will be possible to get PDF files to explain it. Thank you

In paediatric cancer research, survival analysis is commonly used to study time until an event such as death, relapse, progression, or treatment failure occurs. Different methods are used to answer different questions. The main methods used include the following:

  1. Kaplan-Meier analysis – estimate survival over time
  2. Log-rank test – compare survival curves between groups
  3. Cox proportional hazards model – assess effect of predictors on survival while adjusting for confounders.
  4. Competing risks methods – used when more than one type of event can occur
  5. Parametric survival models – model survival with assumed distribution
Important resources: https://pmc.ncbi.nlm.nih.gov/articles/PMC2394262/; https://pmc.ncbi.nlm.nih.gov/articles/PMC6781220/
Apr 26, 2026 Survival Analysis
Q: How do I check for level of significance. I am having issues apportioning a,b or * to my…

To check for the level of statistical significance, use the p-value from your test. You can report the actual p-values or use asterisks to denote…

Q: How do I check for level of significance. I am having issues apportioning a,b or * to my values

To check for the level of statistical significance, use the p-value from your test. You can report the actual p-values or use asterisks to denote statistical significance. For asterisks, the following are commonly used: p < 0.05 = *;  p < 0.01 = **; p < 0.001 = ***; p ≥ 0.05 = not significant.

For example:
Treatment A = 45*
Treatment B = 60

You can also use letters such as a, b, c when comparing statistical significance in multiple groups. Values with the same letter are described as not significantly different, while values with different letters are significantly different.

For example:
Group 1 = 10ᵃ
Group 2 = 12ᵃ
Group 3 = 18ᵇ

Apr 21, 2026 Descriptive Statistics
Q: How do you run adjusted odds or risk ratios in a regression analysis

Running adjusted odds ratios (aORs) or adjusted risk ratios (aRRs) is a statistical approach used to control for confounding variables when assessing the relationship between…

Q: How do you run adjusted odds or risk ratios in a regression analysis

Running adjusted odds ratios (aORs) or adjusted risk ratios (aRRs) is a statistical approach used to control for confounding variables when assessing the relationship between an exposure and a binary outcome. For example, smoking (yes/no) as the exposure and lung cancer (yes/no) as the outcome.

In Stata, adjusted odds ratios can be estimated using logistic regression, for example: logistic lungcancer smoking age sex bmi.

Adjusted risk ratios can be estimated using modified Poisson regression with robust standard errors, for example: glm lungcancer smoking age sex bmi, family(poisson) link(log) vce(robust) eform.

Apr 13, 2026 Regression
Q: Je peux utiliser les le test de student poune distribution asymétrique ?

It is not ideal to use the Student’s t-test for a skewed distribution. This is because one of its key assumptions is that the data,…

Q: Je peux utiliser les le test de student poune distribution asymétrique ?

It is not ideal to use the Student’s t-test for a skewed distribution. This is because one of its key assumptions is that the data, or more specifically the residuals, are approximately normally distributed. A skewed distribution can violate this assumption.

When this assumption is not met, alternative tests are more appropriate. These include the Mann-Whitney U test for two independent groups and the Wilcoxon signed-rank test for paired data.

Apr 12, 2026 Hypothesis Testing