[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-678064-105":3,"detail-sidebar-cat-0-en-105":80,"doc-detail-678064-en":130,"doc-similar-678064":161},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":73,"head_meta":75,"extra_data":77,"updated_unix":79},105,"en","visualizations-with-statistical-details-the-ggstatsplot-approach-statement-of-need-and-benefits","Visualizations with statistical details - The ‘ggstatsplot’ approach - Statement of Need and Benefits","","Graphical displays can expose issues in statistical models that are not evident from numerical summaries alone. This work explains how the R package ggstatsplot extends ggplot2 with a one-line syntax that embeds results of statistical analysis directly into the visualization. By combining descriptive and inferential statistics, effect sizes with uncertainty, pairwise comparisons, and Bayesian testing, it reduces the trade-off between ease and thoroughness in exploratory data analysis and reporting.",{"@graph":14,"@context":72},[15,34,55],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/research-report/","Research & Report",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/visualizations-with-statistical-details-the-ggstatsplot-approach-statement-of-need-and-benefits/678064/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/visualizations-with-statistical-details-the-ggstatsplot-approach-statement-of-need-and-benefits/678064.png","ImageObject",300,407,{"name":42,"@type":43},"PakDamar76","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-17","2026-11-04",true,{"@type":52,"interactionType":53,"userInteractionCount":30},"InteractionCounter",{"@type":54},"ViewAction",{"@type":56,"mainEntity":57},"FAQPage",[58,64,68],{"name":59,"@type":60,"acceptedAnswer":61},"What problem does ggstatsplot address in statistical reporting?","Question",{"text":62,"@type":63},"It helps researchers avoid skipping information-rich graphics and exploring statistical approaches by embedding statistical results into visualizations with simple syntax.","Answer",{"name":65,"@type":60,"acceptedAnswer":66},"What kinds of statistical details does ggstatsplot add to plots?",{"text":67,"@type":63},"It provides descriptive and inferential statistics, effect size estimates with uncertainty, pairwise comparisons, Bayesian hypothesis testing, and Bayesian posterior estimates with uncertainty.",{"name":69,"@type":60,"acceptedAnswer":70},"How does the approach improve data exploration and reproducibility?",{"text":71,"@type":63},"It encourages consistent, thorough reporting by reducing customization effort, minimizing errors in statistical reporting, and strengthening exploratory habits through informative visual + numerical summaries.","https://schema.org",{"og:url":32,"og:type":74,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":76,"canonical":32},"index,follow",{"doc_id":78,"site_id":7},678064,1793783534,{"code":4,"msg":81,"data":82},"success",[83,87,91,95,100,105,110,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":84,"show_sort_weight":85,"slug":86},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":88,"show_sort_weight":89,"slug":90},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":92,"show_sort_weight":93,"slug":94},"Exam",70,"exam",{"id":96,"doc_module":4,"doc_module_name":25,"category_name":97,"show_sort_weight":98,"slug":99},5,"Comic",60,"comic",{"id":101,"doc_module":4,"doc_module_name":25,"category_name":102,"show_sort_weight":103,"slug":104},6,"Technology",50,"technology",{"id":106,"doc_module":4,"doc_module_name":25,"category_name":107,"show_sort_weight":108,"slug":109},7,"Healthcare",40,"healthcare",{"id":111,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":112,"slug":113},8,30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":96,"slug":129},19,"General","general",{"code":4,"msg":81,"data":131},{"doc_id":78,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":111,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":30,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":96,"language":139,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":12,"update_tm":79,"read_time":143,"preview_page_count":33,"preview_urls":144},962090893057,"https://ap-avatar.wpscdn.com/davatar_155a257f0dc6eb9ab79c44ca47cae57d","Visualizations with statistical details: The ‘ggstatsplot’approach  \nIndrajeet Patil1  \nDOI: 10.21105/joss.03167 Software  \n• Review   \n• Repository   \n• Archive   \nEditor: Charlotte Soneson  Reviewers:  \n• @njtierney  \n• @kevinrue  \nSubmitted: 30 March 2021  \nPublished: 25 May 2021 License  \nAuthors of papers retain  \ncopyright and release the work under a Creative Commons Attribution 4.0 International License (CC BY 4 .0) .  \n1 Center for Humans and Machines, Max Planck Institute for Human Development, Berlin, Germany  \nSummary  \nGraphical displays can reveal problems in a statistical model that might not be apparent from purely numerical summaries. Such visualizations can also be helpful for the reader to evaluate the validity of a model if it is reported in a scholarly publication or report. But, given the onerous costs involved, researchers often avoid preparing information-rich graphics and exploring several statistical approaches or tests available. The ggstatsplot package in the R programming language (R Core Team, 2021) provides a one-line syntax to enrich ggplot2-based visualizations with the results from statistical analysis embedded in the visualization itself. In doing so, the package helps researchers adopt a rigorous, reliable, and robust data exploratory and reporting workflow .  \nStatement of Need  \nIn a typical data analysis workflow, data visualization and statistical modeling are two different phases: visualization informs modeling, and in turn, modeling can suggest a different visualization method, and so on and so forth (Wickham & Grolemund, 2016) . The central idea of ggstatsplot is simple: combine these two phases into one in the form of an informative graphic with statistical details.  \nBefore discussing benefits of this approach, we will show an example (Figure 1) .  \nlibrary(palmerpenguins) \\# for 'penguins' dataset library(ggstatsplot)  \nggbetweenstats(penguins, species, body_mass_g)  \nPatil, I. , (2021) . Visualizations with statistical details: The ‘ggstatsplot’ approach. Journal of Open Source Software, 6(61), 3167 . [https:](https:) 1 //[doi.org/10.21105/joss.03167](doi.org/10.21105/joss.03167)  \n| body_mass_g | 7000\u003Cbr>6000\u003Cbr>5000\u003Cbr>4000\u003Cbr>3000 | \u003Cbr>FWelch(2 , 189.48) = 317.57 , p = 3.09e−61 , ω2p = 0.77 , CI95%[0.71 , 0.81], nobs = 342\u003Cbr>\u003Cbr>Adelie (n = 151)\u003Cbr>Chinstrap (n = 68)\u003Cbr>Gentoo (n = 123)\u003Cbr>species\u003Cbr>loge(BF01) = −181.11 , R 2posBayriioran = 0.67 , CIH9D5%I [0.63 , 0.70], rJZSCauchy = 0.71 Pairwise test: Games−Howell test; Comparisons shown: only significant |\n| --- | --- | --- |\n\nFigure 1: Example plot from the ‘ggstatsplot‘ package illustrating its philosophy of juxtaposing informative visualizations with details from statistical analysis. To see all supported plots and statistical analyses, see the package website: [https://indrajeetpatil.github.io/ggstatsplot/](https://indrajeetpatil.github.io/ggstatsplot/)  \nAs can be seen, with a single line of code, the function produces details about descriptive statistics, inferential statistics, effect size estimate and its uncertainty, pairwise comparisons, Bayesian hypothesis testing, Bayesian posterior estimate and its uncertainty. Moreover, these details are juxtaposed with informative and well-labeled visualizations. The defaults are designed to follow best practices in both data visualization (Cleveland, 1985; Grant, 2018; Healy, 2018 ; Tufte, 2001; Wilke, 2019) and (frequentist/Bayesian) statistical reporting (American Psychological Association, 2019; van Doorn et al. , 2020) . Without ggstatsplot, getting these statistical details and customizing a plot would require significant amount of time and effort. In other words, this package removes the trade-off often faced by researchers between ease and thoroughness of data exploration and further cements good data exploration habits.  \nInternally, data cleaning is carried out using the tidyverse (Wickham et al. , 2019), while statistical analysis is carried out via the statsExpr","cbCaiejZzcSl05iL","https://ap.wps.com/l/cbCaiejZzcSl05iL","pdf",596868,"English","# Summary\n## Statement of Need\n## Benefits\n## Future Scope","[{\"question\":\"What problem does ggstatsplot address in statistical reporting?\",\"answer\":\"It helps researchers avoid skipping information-rich graphics and exploring statistical approaches by embedding statistical results into visualizations with simple syntax.\"},{\"question\":\"What kinds of statistical details does ggstatsplot add to plots?\",\"answer\":\"It provides descriptive and inferential statistics, effect size estimates with uncertainty, pairwise comparisons, Bayesian hypothesis testing, and Bayesian posterior estimates with uncertainty.\"},{\"question\":\"How does the approach improve data exploration and reproducibility?\",\"answer\":\"It encourages consistent, thorough reporting by reducing customization effort, minimizing errors in statistical reporting, and strengthening exploratory habits through informative visual + numerical summaries.\"}]","Visualizations with statistical details - The ‘ggstatsplot’ approach - Statement of Need and Benefits | PDF",13,[145,149,153,157],{"page_no":22,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/28d1c41cb01a72ae2e08dbe1f5aa508b.webp",983,1390,{"page_no":26,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/4fc9d568fec615d4e23b128f19ecb005.webp",982,1388,{"page_no":30,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/e80fdae7142f466d2213d5e7a5e6e3fe.webp",981,1387,{"page_no":33,"url":158,"width":159,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/f9ddae53807faedcea7e0e04374f6e90.webp",980,1385,{"list":162,"token":11},[163,170,176,183,189,196,203,209,215,221],{"doc_id":164,"doc_title":165,"file_type":137,"home_preview_img_url":166,"slug":167,"view_count":168,"category_name":29,"create_tm":169},269482,"ggstatsplot Package - SE Statistics Visualization and More Using \"R“","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229899279709/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109239&Signature=ZbtyLxoC%2BbkOenkZATHgorFaVO8%3D","ggstatsplot-package-se-statistics-visualization-and-more-using-r",12,1789452336,{"doc_id":171,"doc_title":172,"file_type":137,"home_preview_img_url":173,"slug":174,"view_count":96,"category_name":29,"create_tm":175},678061,"Infovis and Statistical Graphics - Different Goals, Different Looks","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229994774058/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109239&Signature=TodrRKBg37AWguJtrcurKpCdJ9Q%3D","infovis-and-statistical-graphics-different-goals-different-looks",1793783490,{"doc_id":177,"doc_title":178,"file_type":137,"home_preview_img_url":179,"slug":180,"view_count":181,"category_name":29,"create_tm":182},413887,"SPSS Data Analysis for Univariate, Bivariate, and Multivariate Statistics","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229922045852/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109239&Signature=5PXLn%2FArUpEXatEJJSptXORNgPE%3D","spss-data-analysis-for-univariate-bivariate-and-multivariate-statistics",32,1790596094,{"doc_id":184,"doc_title":185,"file_type":137,"home_preview_img_url":186,"slug":187,"view_count":96,"category_name":29,"create_tm":188},678097,"Interweaving Graphical and Textual Modelling using GLSP and Langium","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229994560264/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109239&Signature=QoWDukTPYEP2m2ep1JA2hQl%2FGIQ%3D","interweaving-graphical-and-textual-modelling-using-glsp-and-langium",1793784210,{"doc_id":190,"doc_title":191,"file_type":137,"home_preview_img_url":192,"slug":193,"view_count":194,"category_name":29,"create_tm":195},84418,"Big Data Approach to Kazhdan–Lusztig Polynomials","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809171175/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109239&Signature=SdGZ%2B3qSZFkyJf9D3%2FBnyvoCYYg%3D","big-data-approach-to-kazhdanlusztig-polynomials",21,1784195498,{"doc_id":197,"doc_title":198,"file_type":137,"home_preview_img_url":199,"slug":200,"view_count":201,"category_name":29,"create_tm":202},290687,"Discovering Statistics Using R - read online free","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229903739417/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109239&Signature=uKIvPT%2Fd0L6%2Btx7o8BeAVWszqOI%3D","discovering-statistics-using-r-read-online-free",16,1789642364,{"doc_id":204,"doc_title":205,"file_type":137,"home_preview_img_url":206,"slug":207,"view_count":101,"category_name":29,"create_tm":208},414411,"ALPHABETICAL GLOSSARY OF USEFUL STATISTICAL AND RESEARCH RELATED TERMS - Appendix","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229922079163/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109239&Signature=gcYJWnrFfR%2F8lfoszQaswcYM%2BfM%3D","alphabetical-glossary-of-useful-statistical-and-research-related-terms-appendix",1790597484,{"doc_id":210,"doc_title":211,"file_type":137,"home_preview_img_url":212,"slug":213,"view_count":96,"category_name":29,"create_tm":214},665382,"Influence Diagrams - Historical and Personal Perspectives","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229983488521/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109239&Signature=uH4NWf3cymigRxcNmim2T9wA6zM%3D","influence-diagrams-historical-and-personal-perspectives",1793301892,{"doc_id":216,"doc_title":217,"file_type":137,"home_preview_img_url":218,"slug":219,"view_count":106,"category_name":29,"create_tm":220},591678,"Exploratory Factor Analysis for TPACK among Mathematics Teachers - Why, What and How","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229955002616/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109239&Signature=oFOOHrs3YFrTSvZkHhte2Hn8iyk%3D","exploratory-factor-analysis-for-tpack-among-mathematics-teachers-why-what-and-how",1792072973,{"doc_id":222,"doc_title":223,"file_type":137,"home_preview_img_url":224,"slug":225,"view_count":106,"category_name":29,"create_tm":226},588108,"DEVELOPMENT OF THE SPATIAL ABILITY TEST FOR MIDDLE SCHOOL STUDENTS","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229954268678/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109239&Signature=jsw9iXIfT9SxVv5MlU26G8LbJMs%3D","development-of-the-spatial-ability-test-for-middle-school-students",1792064546]