{"id":20987,"date":"2022-11-11T15:43:57","date_gmt":"2022-11-11T10:13:57","guid":{"rendered":"https:\/\/jassweb.com\/solved\/solved-i-dont-know-r-and-i-want-to-calculate-spearman-correlation-in-r-with-a-given-alpha-and-want-to-know-the-p-value-closed\/"},"modified":"2022-11-11T15:43:57","modified_gmt":"2022-11-11T10:13:57","slug":"solved-i-dont-know-r-and-i-want-to-calculate-spearman-correlation-in-r-with-a-given-alpha-and-want-to-know-the-p-value-closed","status":"publish","type":"post","link":"https:\/\/jassweb.com\/solved\/solved-i-dont-know-r-and-i-want-to-calculate-spearman-correlation-in-r-with-a-given-alpha-and-want-to-know-the-p-value-closed\/","title":{"rendered":"[Solved] I don&#8217;t know R and I want to calculate Spearman correlation in R with a given alpha and want to know the p value [closed]"},"content":{"rendered":"<p> [ad_1]<br \/>\n<\/p>\n<div id=\"answer-61878256\" class=\"answer js-answer accepted-answer js-accepted-answer\" data-answerid=\"61878256\" data-parentid=\"61877480\" data-score=\"2\" data-position-on-page=\"1\" data-highest-scored=\"1\" data-question-has-accepted-highest-score=\"1\" itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n<div class=\"post-layout\">\n<div class=\"votecell post-layout--left\"><\/div>\n<div class=\"answercell post-layout--right\">\n<div class=\"s-prose js-post-body\" itemprop=\"text\">\n<p>Spearman correlations can be produced with the <code>corr.test()<\/code> function from the <code>psych<\/code> package.   <\/p>\n<p>To illustrate use of Spearman correlation with ranked data, we&#8217;ll create two ranked variables for the Motor Trend Cars data set, <code>mtcars<\/code>, install the <code>psych<\/code> package, and then run <code>corr.test()<\/code>. <\/p>\n<pre><code>install.packages(\"psych\")\nlibrary(psych)\n\n# create a couple of rank variables with mtcars data set\n\n# sort &amp; create rank for wt\nmtcars &lt;- mtcars[order(mtcars$wt),]\nmtcars$rank_wt &lt;- 1:nrow(mtcars)\n# sort &amp; create rank for qsec\nmtcars &lt;- mtcars[order(mtcars$qsec),]\nmtcars$rank_qsec &lt;- 1:nrow(mtcars)\n\nresult &lt;- corr.test(mtcars$rank_wt,mtcars$rank_qsec,method = \"spearman\",\n          alpha = 0.05)\n\nprint(result, short = FALSE)\n<\/code><\/pre>\n<p>Output from the test looks like this:<\/p>\n<pre><code>&gt; print(result, short = FALSE)\nCall:corr.test(x = mtcars$rank_wt, y = mtcars$rank_qsec, method = \"spearman\", \n    alpha = 0.05)\nCorrelation matrix \n[1] -0.22\nSample Size \n[1] 32\nProbability values  adjusted for multiple tests. \n[1] 0.23\n\n Confidence intervals based upon normal theory.  To get bootstrapped values, try cor.ci\n      raw.lower raw.r raw.upper raw.p lower.adj upper.adj\nNA-NA     -0.53 -0.22      0.14  0.23     -0.53      0.14\n<\/code><\/pre>\n<p>Next, we&#8217;ll run a Pearson correlation on the original data to compare results. <\/p>\n<pre><code># compare with pearson R for continuous variables\nresult &lt;- corr.test(mtcars$wt,mtcars$qsec,alpha = 0.05)\nprint(result, short = FALSE)\n<\/code><\/pre>\n<p>&#8230;and the output:<\/p>\n<pre><code>&gt; print(result, short = FALSE)\nCall:corr.test(x = mtcars$wt, y = mtcars$qsec, alpha = 0.05)\nCorrelation matrix \n[1] -0.17\nSample Size \n[1] 32\nProbability values  adjusted for multiple tests. \n[1] 0.34\n\n Confidence intervals based upon normal theory.  To get bootstrapped values, try cor.ci\n      raw.lower raw.r raw.upper raw.p lower.adj upper.adj\nNA-NA     -0.49 -0.17      0.19  0.34     -0.49      0.19\n<\/code><\/pre>\n<p>The two techniques produce similar results. In the original data, <code>wt<\/code> has a slight negative correlation with <code>qsec<\/code>, but it is not signficantly different from zero at alpha = 0.05. The magnitude of the Spearman correlation is slightly larger than the Pearson correlation, but it&#8217;s still not significantly different from zero at alpha = 0.05. <\/p>\n<h2>Comparison to JASP<\/h2>\n<p>In the comments the OP asked why the statistics software JASP produces different results than R. When I installed JASP, loaded the <code>mtcars<\/code> data with the rank columns I created, and ran Spearman&#8217;s rho, JASP produced the same results as R within rounding error.<\/p>\n<p><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/jassweb.com\/solved\/wp-content\/uploads\/2022\/11\/Solved-I-dont-know-R-and-I-want-to-calculate.png\"><img decoding=\"async\" src=\"https:\/\/jassweb.com\/solved\/wp-content\/uploads\/2022\/11\/Solved-I-dont-know-R-and-I-want-to-calculate.png\" alt=\"enter image description here\"><\/a><\/p>\n<\/p><\/div>\n<div class=\"mt24\"><\/div>\n<\/div>\n<p>            <span class=\"d-none\" itemprop=\"commentCount\">8<\/span> <\/p><\/div>\n<\/div>\n<p>[ad_2]<\/p>\n<p>solved I don&#8217;t know R and I want to calculate Spearman correlation in R with a given alpha and want to know the p value [closed] <\/p>\n","protected":false},"excerpt":{"rendered":"<p>[ad_1] Spearman correlations can be produced with the corr.test() function from the psych package. To illustrate use of Spearman correlation with ranked data, we&#8217;ll create two ranked variables for the Motor Trend Cars data set, mtcars, install the psych package, and then run corr.test(). install.packages(&#8220;psych&#8221;) library(psych) # create a couple of rank variables with mtcars &#8230; <a title=\"[Solved] I don&#8217;t know R and I want to calculate Spearman correlation in R with a given alpha and want to know the p value [closed]\" class=\"read-more\" href=\"https:\/\/jassweb.com\/solved\/solved-i-dont-know-r-and-i-want-to-calculate-spearman-correlation-in-r-with-a-given-alpha-and-want-to-know-the-p-value-closed\/\" aria-label=\"More on [Solved] I don&#8217;t know R and I want to calculate Spearman correlation in R with a given alpha and want to know the p value [closed]\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[320],"tags":[4843,321],"class_list":["post-20987","post","type-post","status-publish","format-standard","hentry","category-solved","tag-correlation","tag-r"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>[Solved] I don&#039;t know R and I want to calculate Spearman correlation in R with a given alpha and want to know the p value [closed] - JassWeb<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/jassweb.com\/solved\/solved-i-dont-know-r-and-i-want-to-calculate-spearman-correlation-in-r-with-a-given-alpha-and-want-to-know-the-p-value-closed\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[Solved] I don&#039;t know R and I want to calculate Spearman correlation in R with a given alpha and want to know the p value [closed] - JassWeb\" \/>\n<meta property=\"og:description\" content=\"[ad_1] Spearman correlations can be produced with the corr.test() function from the psych package. To illustrate use of Spearman correlation with ranked data, we&#8217;ll create two ranked variables for the Motor Trend Cars data set, mtcars, install the psych package, and then run corr.test(). install.packages(&quot;psych&quot;) library(psych) # create a couple of rank variables with mtcars ... Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jassweb.com\/solved\/solved-i-dont-know-r-and-i-want-to-calculate-spearman-correlation-in-r-with-a-given-alpha-and-want-to-know-the-p-value-closed\/\" \/>\n<meta property=\"og:site_name\" content=\"JassWeb\" \/>\n<meta property=\"article:published_time\" content=\"2022-11-11T10:13:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/jassweb.com\/solved\/wp-content\/uploads\/2022\/11\/Solved-I-dont-know-R-and-I-want-to-calculate.png\" \/>\n<meta name=\"author\" content=\"Kirat\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Kirat\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/solved-i-dont-know-r-and-i-want-to-calculate-spearman-correlation-in-r-with-a-given-alpha-and-want-to-know-the-p-value-closed\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/solved-i-dont-know-r-and-i-want-to-calculate-spearman-correlation-in-r-with-a-given-alpha-and-want-to-know-the-p-value-closed\\\/\"},\"author\":{\"name\":\"Kirat\",\"@id\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/#\\\/schema\\\/person\\\/65c9c7b7958150c0dc8371fa35dd7c31\"},\"headline\":\"[Solved] I don&#8217;t know R and I want to calculate Spearman correlation in R with a given alpha and want to know the p value [closed]\",\"datePublished\":\"2022-11-11T10:13:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/solved-i-dont-know-r-and-i-want-to-calculate-spearman-correlation-in-r-with-a-given-alpha-and-want-to-know-the-p-value-closed\\\/\"},\"wordCount\":216,\"publisher\":{\"@id\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/solved-i-dont-know-r-and-i-want-to-calculate-spearman-correlation-in-r-with-a-given-alpha-and-want-to-know-the-p-value-closed\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/Solved-I-dont-know-R-and-I-want-to-calculate.png\",\"keywords\":[\"correlation\",\"r\"],\"articleSection\":[\"Solved\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/solved-i-dont-know-r-and-i-want-to-calculate-spearman-correlation-in-r-with-a-given-alpha-and-want-to-know-the-p-value-closed\\\/\",\"url\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/solved-i-dont-know-r-and-i-want-to-calculate-spearman-correlation-in-r-with-a-given-alpha-and-want-to-know-the-p-value-closed\\\/\",\"name\":\"[Solved] I don't know R and I want to calculate Spearman correlation in R with a given alpha and want to know the p value [closed] - JassWeb\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/solved-i-dont-know-r-and-i-want-to-calculate-spearman-correlation-in-r-with-a-given-alpha-and-want-to-know-the-p-value-closed\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/solved-i-dont-know-r-and-i-want-to-calculate-spearman-correlation-in-r-with-a-given-alpha-and-want-to-know-the-p-value-closed\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/Solved-I-dont-know-R-and-I-want-to-calculate.png\",\"datePublished\":\"2022-11-11T10:13:57+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/solved-i-dont-know-r-and-i-want-to-calculate-spearman-correlation-in-r-with-a-given-alpha-and-want-to-know-the-p-value-closed\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/jassweb.com\\\/solved\\\/solved-i-dont-know-r-and-i-want-to-calculate-spearman-correlation-in-r-with-a-given-alpha-and-want-to-know-the-p-value-closed\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/solved-i-dont-know-r-and-i-want-to-calculate-spearman-correlation-in-r-with-a-given-alpha-and-want-to-know-the-p-value-closed\\\/#primaryimage\",\"url\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/Solved-I-dont-know-R-and-I-want-to-calculate.png\",\"contentUrl\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/Solved-I-dont-know-R-and-I-want-to-calculate.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/solved-i-dont-know-r-and-i-want-to-calculate-spearman-correlation-in-r-with-a-given-alpha-and-want-to-know-the-p-value-closed\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[Solved] I don&#8217;t know R and I want to calculate Spearman correlation in R with a given alpha and want to know the p value [closed]\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/#website\",\"url\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/\",\"name\":\"JassWeb\",\"description\":\"Build High-quality Websites\",\"publisher\":{\"@id\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/#organization\",\"name\":\"Jass Web\",\"url\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/jassweb.com\\\/wp-content\\\/uploads\\\/2021\\\/02\\\/jass-website-logo-1.png\",\"contentUrl\":\"https:\\\/\\\/jassweb.com\\\/wp-content\\\/uploads\\\/2021\\\/02\\\/jass-website-logo-1.png\",\"width\":693,\"height\":132,\"caption\":\"Jass Web\"},\"image\":{\"@id\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/#\\\/schema\\\/person\\\/65c9c7b7958150c0dc8371fa35dd7c31\",\"name\":\"Kirat\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/wp-content\\\/litespeed\\\/avatar\\\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1777008400\",\"url\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/wp-content\\\/litespeed\\\/avatar\\\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1777008400\",\"contentUrl\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/wp-content\\\/litespeed\\\/avatar\\\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1777008400\",\"caption\":\"Kirat\"},\"sameAs\":[\"http:\\\/\\\/jassweb.com\"],\"url\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/author\\\/jaspritsinghghumangmail-com\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[Solved] I don't know R and I want to calculate Spearman correlation in R with a given alpha and want to know the p value [closed] - JassWeb","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/jassweb.com\/solved\/solved-i-dont-know-r-and-i-want-to-calculate-spearman-correlation-in-r-with-a-given-alpha-and-want-to-know-the-p-value-closed\/","og_locale":"en_US","og_type":"article","og_title":"[Solved] I don't know R and I want to calculate Spearman correlation in R with a given alpha and want to know the p value [closed] - JassWeb","og_description":"[ad_1] Spearman correlations can be produced with the corr.test() function from the psych package. To illustrate use of Spearman correlation with ranked data, we&#8217;ll create two ranked variables for the Motor Trend Cars data set, mtcars, install the psych package, and then run corr.test(). install.packages(\"psych\") library(psych) # create a couple of rank variables with mtcars ... Read more","og_url":"https:\/\/jassweb.com\/solved\/solved-i-dont-know-r-and-i-want-to-calculate-spearman-correlation-in-r-with-a-given-alpha-and-want-to-know-the-p-value-closed\/","og_site_name":"JassWeb","article_published_time":"2022-11-11T10:13:57+00:00","og_image":[{"url":"https:\/\/jassweb.com\/solved\/wp-content\/uploads\/2022\/11\/Solved-I-dont-know-R-and-I-want-to-calculate.png","type":"","width":"","height":""}],"author":"Kirat","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Kirat","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/jassweb.com\/solved\/solved-i-dont-know-r-and-i-want-to-calculate-spearman-correlation-in-r-with-a-given-alpha-and-want-to-know-the-p-value-closed\/#article","isPartOf":{"@id":"https:\/\/jassweb.com\/solved\/solved-i-dont-know-r-and-i-want-to-calculate-spearman-correlation-in-r-with-a-given-alpha-and-want-to-know-the-p-value-closed\/"},"author":{"name":"Kirat","@id":"https:\/\/jassweb.com\/solved\/#\/schema\/person\/65c9c7b7958150c0dc8371fa35dd7c31"},"headline":"[Solved] I don&#8217;t know R and I want to calculate Spearman correlation in R with a given alpha and want to know the p value [closed]","datePublished":"2022-11-11T10:13:57+00:00","mainEntityOfPage":{"@id":"https:\/\/jassweb.com\/solved\/solved-i-dont-know-r-and-i-want-to-calculate-spearman-correlation-in-r-with-a-given-alpha-and-want-to-know-the-p-value-closed\/"},"wordCount":216,"publisher":{"@id":"https:\/\/jassweb.com\/solved\/#organization"},"image":{"@id":"https:\/\/jassweb.com\/solved\/solved-i-dont-know-r-and-i-want-to-calculate-spearman-correlation-in-r-with-a-given-alpha-and-want-to-know-the-p-value-closed\/#primaryimage"},"thumbnailUrl":"https:\/\/jassweb.com\/solved\/wp-content\/uploads\/2022\/11\/Solved-I-dont-know-R-and-I-want-to-calculate.png","keywords":["correlation","r"],"articleSection":["Solved"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/jassweb.com\/solved\/solved-i-dont-know-r-and-i-want-to-calculate-spearman-correlation-in-r-with-a-given-alpha-and-want-to-know-the-p-value-closed\/","url":"https:\/\/jassweb.com\/solved\/solved-i-dont-know-r-and-i-want-to-calculate-spearman-correlation-in-r-with-a-given-alpha-and-want-to-know-the-p-value-closed\/","name":"[Solved] I don't know R and I want to calculate Spearman correlation in R with a given alpha and want to know the p value [closed] - JassWeb","isPartOf":{"@id":"https:\/\/jassweb.com\/solved\/#website"},"primaryImageOfPage":{"@id":"https:\/\/jassweb.com\/solved\/solved-i-dont-know-r-and-i-want-to-calculate-spearman-correlation-in-r-with-a-given-alpha-and-want-to-know-the-p-value-closed\/#primaryimage"},"image":{"@id":"https:\/\/jassweb.com\/solved\/solved-i-dont-know-r-and-i-want-to-calculate-spearman-correlation-in-r-with-a-given-alpha-and-want-to-know-the-p-value-closed\/#primaryimage"},"thumbnailUrl":"https:\/\/jassweb.com\/solved\/wp-content\/uploads\/2022\/11\/Solved-I-dont-know-R-and-I-want-to-calculate.png","datePublished":"2022-11-11T10:13:57+00:00","breadcrumb":{"@id":"https:\/\/jassweb.com\/solved\/solved-i-dont-know-r-and-i-want-to-calculate-spearman-correlation-in-r-with-a-given-alpha-and-want-to-know-the-p-value-closed\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jassweb.com\/solved\/solved-i-dont-know-r-and-i-want-to-calculate-spearman-correlation-in-r-with-a-given-alpha-and-want-to-know-the-p-value-closed\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jassweb.com\/solved\/solved-i-dont-know-r-and-i-want-to-calculate-spearman-correlation-in-r-with-a-given-alpha-and-want-to-know-the-p-value-closed\/#primaryimage","url":"https:\/\/jassweb.com\/solved\/wp-content\/uploads\/2022\/11\/Solved-I-dont-know-R-and-I-want-to-calculate.png","contentUrl":"https:\/\/jassweb.com\/solved\/wp-content\/uploads\/2022\/11\/Solved-I-dont-know-R-and-I-want-to-calculate.png"},{"@type":"BreadcrumbList","@id":"https:\/\/jassweb.com\/solved\/solved-i-dont-know-r-and-i-want-to-calculate-spearman-correlation-in-r-with-a-given-alpha-and-want-to-know-the-p-value-closed\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/jassweb.com\/solved\/"},{"@type":"ListItem","position":2,"name":"[Solved] I don&#8217;t know R and I want to calculate Spearman correlation in R with a given alpha and want to know the p value [closed]"}]},{"@type":"WebSite","@id":"https:\/\/jassweb.com\/solved\/#website","url":"https:\/\/jassweb.com\/solved\/","name":"JassWeb","description":"Build High-quality Websites","publisher":{"@id":"https:\/\/jassweb.com\/solved\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/jassweb.com\/solved\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/jassweb.com\/solved\/#organization","name":"Jass Web","url":"https:\/\/jassweb.com\/solved\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jassweb.com\/solved\/#\/schema\/logo\/image\/","url":"https:\/\/jassweb.com\/wp-content\/uploads\/2021\/02\/jass-website-logo-1.png","contentUrl":"https:\/\/jassweb.com\/wp-content\/uploads\/2021\/02\/jass-website-logo-1.png","width":693,"height":132,"caption":"Jass Web"},"image":{"@id":"https:\/\/jassweb.com\/solved\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/jassweb.com\/solved\/#\/schema\/person\/65c9c7b7958150c0dc8371fa35dd7c31","name":"Kirat","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1777008400","url":"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1777008400","contentUrl":"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1777008400","caption":"Kirat"},"sameAs":["http:\/\/jassweb.com"],"url":"https:\/\/jassweb.com\/solved\/author\/jaspritsinghghumangmail-com\/"}]}},"_links":{"self":[{"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/posts\/20987","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/comments?post=20987"}],"version-history":[{"count":0,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/posts\/20987\/revisions"}],"wp:attachment":[{"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/media?parent=20987"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/categories?post=20987"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/tags?post=20987"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}