Matt Ross, Kinsey Church, Damien Rolon-M{\'{e}}rette
{"title":"Tutorial 3: Introduction to Functions and Libraries in Python","authors":"Matt Ross, Kinsey Church, Damien Rolon-M{\\'{e}}rette","doi":"10.20982/tqmp.17.4.s013","DOIUrl":null,"url":null,"abstract":"The third introductory tutorial of our series “Python for Researchers in Psychology” aims to teach researchers about the importance of functions and libraries. First, we introduce the concept of functions. We cover the advantages of functions and how to use them with the help of basic examples, including a paired-samples (dependent-samples) t-test. Then, libraries and their included functions are discussed, including how to import them and the functionality of some of the most popular libraries for researchers in psychology. Finally, a longer, more complex example shows how functions and libraries can help accelerate your research, statistical analyses, and data visualization.","PeriodicalId":93055,"journal":{"name":"The quantitative methods for psychology","volume":" ","pages":""},"PeriodicalIF":1.3000,"publicationDate":"2021-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"The quantitative methods for psychology","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.20982/tqmp.17.4.s013","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
The third introductory tutorial of our series “Python for Researchers in Psychology” aims to teach researchers about the importance of functions and libraries. First, we introduce the concept of functions. We cover the advantages of functions and how to use them with the help of basic examples, including a paired-samples (dependent-samples) t-test. Then, libraries and their included functions are discussed, including how to import them and the functionality of some of the most popular libraries for researchers in psychology. Finally, a longer, more complex example shows how functions and libraries can help accelerate your research, statistical analyses, and data visualization.