Correlation and regression analysis: Difference between revisions

From psychmethods
No edit summary
Line 1: Line 1:
=Theoretical introduction=
=Theoretical introduction=
The [https://wiki.uib.no/psychmethods/index.php/File:Correlation_and_regression_analysis_-_Lecture.pdf lecture] begins with a basic introduction (what are typical research questions, what kind of variables are used, what assumptions and requirements need to be met to apply the method), continues with an overview over fundamental equations (incl. some do-it-yourself in Excel and Octave), introduces then major regression types (standard, sequential/hierarchical, statistical/stepwise) and ends with some important issues (limitations, aspects to be attentive of, etc.).
The [[Media:Correlation_and_regression_analysis_-_Lecture.pdf|lecture]] begins with a basic introduction (what are typical research questions, what kind of variables are used, what assumptions and requirements need to be met to apply the method), continues with an overview over fundamental equations (incl. some do-it-yourself in Excel and Octave), introduces then major regression types (standard, sequential/hierarchical, statistical/stepwise) and ends with some important issues (limitations, aspects to be attentive of, etc.).
The lecture includes to practical examples for calculation: An [https://wiki.uib.no/psychmethods/index.php/File:Regression_analysis_-_Step-by-step.ods LibreOffice/Excel-file] with a demonstration how a correlation (i.e., a very simple regression with one variable; Example from Field (2018), Ch. 8) is calculated by hand, as well as a [https://wiki.uib.no/psychmethods/index.php/File:Regression_analysis_-_Step-by-step.txt syntax file] to run a regression analysis in MATLAB / Octave (from Tabachnik & Fidell (2013), Ch. 5.4; the data can also be found in a [https://wiki.uib.no/psychmethods/index.php/File:Regression_analysis_-_Step-by-step.zip ZIP-file] to replicate the analyses in SPSS).
The lecture includes to practical examples for calculation: An [[File:Regression_analysis_-_Step-by-step.ods|LibreOffice/Excel-file]] with a demonstration how a correlation (i.e., a very simple regression with one variable; example from Field (2018), Ch. 8) is calculated by hand, as well as a [[File:Regression_analysis_-_Step-by-step.txt|syntax file]] to run a regression analysis in MATLAB / Octave (from Tabachnik & Fidell (2013), Ch. 5.4; the data can also be found in a [[File:Regression_analysis_-_Step-by-step.zip|ZIP-file]] to replicate the analyses in SPSS).


=Practical exercises using SPSS=
=Practical exercises using SPSS=
The [https://wiki.uib.no/psychmethods/index.php/File:Regression_analysis_-_PC-exercise.pdf PC exercise] deals with the practical aspects of carrying out regression analyses in SPSS. There are two major parts dealing with linear regression and logistic regression. The part on Linear regression analysis begins with an assignment (on how to check requirements for calculating a linear regression), then demonstrates the equivalency of correlation to Linear regression (if there is only one predictor), how multiple predictors can be included in the regression model (incl. different methods for adding predictors) and end with how to assess the quality of your model. This is followed by an assignment to test the acquired knowledge practically. The logistic (binary) regression part consists of a basic introduction on the method (focussing on how a logistic function can be used to convert from a continuous to a binary outcome), followed by an assignment to use the method practically.
The [[Media:Regression_analysis_-_PC-exercise.pdf|PC exercise]] deals with the practical aspects of carrying out regression analyses in SPSS. There are two major parts dealing with linear regression and logistic regression. The part on Linear regression analysis begins with an assignment (on how to check requirements for calculating a linear regression), then demonstrates the equivalency of correlation to Linear regression (if there is only one predictor), how multiple predictors can be included in the regression model (incl. different methods for adding predictors) and end with how to assess the quality of your model. This is followed by an assignment to test the acquired knowledge practically. The logistic (binary) regression part consists of a basic introduction on the method (focussing on how a logistic function can be used to convert from a continuous to a binary outcome), followed by an assignment to use the method practically.


In addition, there is a file with an [https://wiki.uib.no/psychmethods/index.php/File:Regression_analyses_-_Assignment.pdf additional assignment] and the [https://wiki.uib.no/psychmethods/index.php/File:Regression_analyses_-_Assignment_-_Solution.pdf solutions] to it.
In addition, there is a file with an [[Media:Regression_analyses_-_Assignment.pdf|additional assignment]] and the [[Media:Regression_analyses_-_Assignment_-_Solution.pdf|solutions]] to it.


Finally, there is a [https://wiki.uib.no/psychmethods/index.php/File:OutputSPSS.zip ZIP file] containing SPSS syntax (with comments) and SPSS output files for the analysis described in the main slides as well as for the additional assignment.
Finally, there are two ZIP-files: [[Media:DataFiles.zip|One]] with the data files required in the exercise and the assignment, another [[Media:Regression_OutputSyntax.zip|another]] containing SPSS syntax (with comments) and SPSS output files for the analysis described in the main slides as well as for the additional assignment.

Revision as of 12:30, 4 June 2019

Theoretical introduction

The lecture begins with a basic introduction (what are typical research questions, what kind of variables are used, what assumptions and requirements need to be met to apply the method), continues with an overview over fundamental equations (incl. some do-it-yourself in Excel and Octave), introduces then major regression types (standard, sequential/hierarchical, statistical/stepwise) and ends with some important issues (limitations, aspects to be attentive of, etc.). The lecture includes to practical examples for calculation: An LibreOffice/Excel-file with a demonstration how a correlation (i.e., a very simple regression with one variable; example from Field (2018), Ch. 8) is calculated by hand, as well as a syntax file to run a regression analysis in MATLAB / Octave (from Tabachnik & Fidell (2013), Ch. 5.4; the data can also be found in a ZIP-file to replicate the analyses in SPSS).

Practical exercises using SPSS

The PC exercise deals with the practical aspects of carrying out regression analyses in SPSS. There are two major parts dealing with linear regression and logistic regression. The part on Linear regression analysis begins with an assignment (on how to check requirements for calculating a linear regression), then demonstrates the equivalency of correlation to Linear regression (if there is only one predictor), how multiple predictors can be included in the regression model (incl. different methods for adding predictors) and end with how to assess the quality of your model. This is followed by an assignment to test the acquired knowledge practically. The logistic (binary) regression part consists of a basic introduction on the method (focussing on how a logistic function can be used to convert from a continuous to a binary outcome), followed by an assignment to use the method practically.

In addition, there is a file with an additional assignment and the solutions to it.

Finally, there are two ZIP-files: One with the data files required in the exercise and the assignment, another another containing SPSS syntax (with comments) and SPSS output files for the analysis described in the main slides as well as for the additional assignment.