Essential Biostatistics MCQs Regression Epidemiology

Prepare for your biostatistics exams or medical boards with this targeted set of Multiple Choice Questions (Essential Biostatistics MCQs). Covering essential topics like Pearson and Spearman correlations, linear models, and logistic regression, this quiz is designed to test your ability to interpret clinical data, epidemiological odds ratios, and confounding variables. Let us start with the Online Essential Biostatistics MCQs about Correlation, Regression, and Epidemiology now.

Online Essential Biostatistics MCQs Correlation, regression, and Epidemiology

Online multiple choice questions about Regression Analysis in BioStatistics with Answers

1. Which test analyzes a binary outcome with covariates?

 
 
 
 

2. A researcher is investigating the relationship between age and blood pressure. Which type of correlation is most appropriate?

 
 
 
 

3. Spearman correlation is used for

 
 
 
 

4. Pearson correlation ($r$) ranges from

 
 
 
 

5. Which statistical test is used to analyze the association between two continuous variables?

 
 
 
 

6. Multiple regression includes

 
 
 
 

7. $R^2$ represents

 
 
 
 

8. Residuals in regression should be

 
 
 
 

9. In $Y = a + bX$, where $b$ is

 
 
 
 

10. What is a scatter plot used for?

 
 
 
 

11. Which statistical test is used to compare means between multiple groups and control for confounding variables?

 
 
 
 

12. What is the null hypothesis in regression?

 
 
 
 

13. What is the purpose of correlation analysis?

 
 
 
 

14. The odds ratio in logistic regression is

 
 
 
 

15. Which measure quantifies relationship strength and direction?

 
 
 
 

16. In a simple linear regression model, there are

 
 
 
 

17. Which test fits logistic regression?

 
 
 
 

18. What does the term ‘odds ratio’ represent in epidemiological studies?

 
 
 
 

19. The logistic regression outcome is

 
 
 
 

20. The value of $r=0.9$ indicates

 
 
 
 

Question 1 of 20

Online Essential Biostatistics MCQs Correlation, Regression, and Epidemiology

  • Pearson correlation ($r$) ranges from
  • The value of $r=0.9$ indicates
  • Spearman’s correlation is used for
  • In a simple linear regression model, there are
  • In $Y = a + bX$, where $b$ is
  • $R^2$ represents
  • Residuals in regression should be
  • Multiple regression includes
  • The logistic regression outcome is
  • The odds ratio in logistic regression is
  • Which test analyzes a binary outcome with covariates?
  • A researcher is investigating the relationship between age and blood pressure. Which type of correlation is most appropriate?
  • Which statistical test is used to analyze the association between two continuous variables?
  • What does the term ‘odds ratio’ represent in epidemiological studies?
  • Which statistical test is used to compare means between multiple groups and control for confounding variables?
  • What is the purpose of correlation analysis?
  • Which measure quantifies relationship strength and direction?
  • What is a scatter plot used for?
  • What is the null hypothesis in regression?
  • Which test fits logistic regression?

R language and Data Analysis

SAS Macros

Discover essential SAS macros concepts in this Q&A guide. Learn how to create and identify macro variables, distinguish %LOCAL vs. %GLOBAL scope, reuse code with %INCLUDE and macros, leverage DATA _NULL_, perform arithmetic on macro variables, call macros inside a data step, understand macro variable length limits, and explore SAS validation tools. Perfect for SAS programmers looking to sharpen their macro skills.

SAS Macros: 10 Key Q&As for Programmers

Describe the way in which one can create a macro variable in SAS?

There are 5 ways to create macro variables in SAS:

  • %LET statement – defines a macro variable explicitly:
    %let var = value;
  • CALL SYMPUT / CALL SYMPUTX – creates a macro variable from a data step:
    call symput(‘var’, value);
  • INTO clause in PROC SQL – stores query results into macro variables:
    select count(*) into :var from dataset;
  • Macro parameters – defined in a macro definition:
    %macro mymacro(var=);
  • Iterative %Do Statement
sas macros

How would you identify a macro variable in SAS?

A macro variable is identified in SAS code by an ampersand (&) preceding its name, e.g., &var. To view existing macro variables and their values, one can use:

  • %PUT _USER_; – lists all user-defined macro variables.
  • %PUT &var; – displays the value of a specific macro variable.

What is the difference between %LOCAL and %GLOBAL in SAS?

%LOCAL creates a macro variable with scope limited to the current macro; it is not accessible outside that macro.
%GLOBAL creates a macro variable accessible anywhere (global scope), even after the macro finishes.

How would you define the end of a macro in SAS?

The end of a macro in SAS is defined using the %MEND statement. Optionally, you can include the macro name after %MEND for clarity (e.g., %MEND mymacro;).

How would you include common code or reuse code to be processed along with your statements?

One can reuse code in SAS by:

  • Using %INCLUDE to insert an external file containing SAS statements.
  • Defining macros (%MACRO / %MEND) to encapsulate reusable logic, then calling them as needed.

Explain DATA_NULL_

DATA _NULL_; It is a SAS data step that does not create an output dataset. It is used for executing logic without producing data, such as writing to the log, creating macro variables (via CALL SYMPUT), generating custom reports with PUT statements, or performing calculations that only need to be processed in memory.

How do you add a number to a macro variable in SAS?

To add a number to a macro variable, use %EVAL (for integers) or %SYSEVALF (for floating-point) within a %LET statement:

%let var = 5;
%let var = %eval(&var + 3);

For decimal values:

%let var = %sysevalf(&var + 0.5);

How can we call macros within a data step?

One can call a macro within a data step by:

  • Directly invoking the macro (e.g., %my_macro;): it executes during data step compilation, not for each observation.
  • Using CALL EXECUTE: to execute the macro conditionally or for each observation:sascall execute(‘%my_macro’);
  • Using %SYSFUNC: to call a SAS function within a macro without requiring a full macro invocation.

Note: Macro calls placed directly in the data step are resolved before the data step runs, while CALL EXECUTE resolves during data step execution.

What is the maximum length of the macro variable?

The maximum length of a macro variable value in SAS is 65,534 characters. The macro variable name itself can be up to 32 characters long. Note: In very old versions (SAS 6), the maximum length was 32,767 characters. The 65,534 limit applies to SAS System 8 and later.

What validation tools are used in SAS?

The common validation tools in SAS include:

  • PROC COMPARE: compares datasets for differences.
  • PROC FREQ / PROC MEANS: validates data distributions and summary statistics.
  • Data step debugging: using PUT statements and _ERROR_ variable.
  • Macro debugging options: MPRINT, SYMBOLGEN, MLOGIC to trace macro resolution.
  • SAS Code Analyzer (in SAS Enterprise Guide): checks code for errors and best practices.
  • DS2 and FedSQL: offer validation features in SAS Viya.
  • Validation framework: in SAS Viya for automated model validation.

Simulation in R Language

Basic Biostatistics MCQs 8

Master the fundamentals of data analysis with our Basic Biostatistics MCQs. This quiz covers essential topics, including measures of central tendency (Mean, Median, Mode), standard deviation, IQR, and data scales. Perfect for medical students, researchers, and statistics beginners looking to test their knowledge of population parameters and sample statistics. Let us start with the Online Basic BioStatistics MCQs with Answers now

Keywords: Basic Biostatistics MCQs, Measures of Central Tendency, Data Dispersion, Statistics Quiz.

Please go to Basic Biostatistics MCQs 8 to view the test

Online Basic Biostatistics MCQs with Answers

  • What is the difference between a parameter and a statistic?
  • Which measure of central tendency is most appropriate for ordinal data?
  • Which statistical measure summarizes the variability of a sample mean estimate?
  • Which scale of measurement best represents central tendency?
  • For 18, 20, 22, 24, 26, 28, and 30. Best Central Tendency is determined by
  • What does IQR represent?
  • The number of malaria cases reported during the last 10 years in a town is given below: 250, 320, 190, 300, 5000, 100, 260, 350, 320, and 160. The epidemiologist wants to find out the average number of malaria cases reported in that town during the last 10 years. The most appropriate measure of average for this data will be
  • The most common deviation used in social medicine is
  • Is it possible to measure variation between two different units of the data set?
  • True statements regarding standard deviation is/are:
  • Which measure of dispersion is not affected by extreme values in a dataset?
  • When a relationship between the heart rate and Valsalva ratio is studied, the mean is useful, but the dispersion of the data is also very useful. Which method of spread will be more useful in this?
  • If the birth weight of each of 10 babies born in a hospital in a day is found to be 2.8 kgs, then the standard deviation of this sample will be
  • Which statistical measure describes the shape of a distribution?
  • Which measure is resistant to outliers?
  • Outliers can be detected by
  • The data description shown below is referred to as?
  • Which of the following is correct regarding the image?
  • What frequency of quantitative data is represented by?
  • A popular method of presenting data to the man in the street and those who cannot understand orthodox charts is?
Online Basic BioStatistics MCQs Test

Online General Knowledge Quizzes