Skip to main content

This Week You Will Perform A Basic Linear Regression Please

Page 1

This Week You Will Perform A Basic Linear Regression Please Be Awar This week you will perform a basic linear regression. Please be aware of the very strict data requirement for running linear regression: your dependent variable (DV) and independent variables (IV) both have to be continuous variables. Most variables at the interval/ratio level are continuous variables. The DV must be continuous at the interval/ratio level; if your DV is nominal or ordinal, you cannot use it for regression, even if converted to a dummy variable, because the regression would no longer be linear. If your current DV does not meet this criterion, select a continuous variable from the GSS dataset, such as tvhours or hrs1, for practice. Regression also serves as a significance test. Your portfolio only needs to include one significance test, such as an independent sample t-test, dependent sample t-test, Chi-square test, or regression analysis. If your independent variable (IV) is not continuous, you can create dummy variables. For example, from the variable "sex," you can generate a "male dummy variable" (coded as 1 for male, 0 for female); from "race," you can create "white dummy variable" (coded as 1 for white, 0 for others), "black dummy variable," or "other dummy variable." The naming convention involves naming the dummy as "[category] dummy variable" (e.g., "male dummy variable") to clarify what the dummy represents.

Paper For Above instruction This paper demonstrates the process of conducting a basic linear regression analysis using the General Social Survey (GSS) 2012 dataset. The focus is on understanding the methodological requirements, creating dummy variables, executing the regression in SPSS, and interpreting the results to understand the relationships between variables. The example used herein involves predicting years of education based on gender and race, exemplifying the principles of regression analysis as a tool for significance testing and prediction. Linear regression is a fundamental statistical technique used to examine the relationship between a continuous dependent variable (DV) and one or more independent variables (IVs). To ensure valid results, both the DV and IVs should be continuous at the interval/ratio level. Nominal or ordinal variables are unsuitable unless converted into dummy variables, which are dichotomous (binary) variables representing categories. Creating dummy variables allows for the inclusion of qualitative variables, such as gender and race, into regression models, facilitating analysis of their impact on the DV.


Turn static files into dynamic content formats.

Create a flipbook