Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 53043

Use this tag for any *on-topic* question that (a) involves `R` either as a critical part of the question or expected answer, & (b) is not *just* about how to use `R`.

7 votes
2 answers
10k views

Exact central confidence interval for a correlation

= cor(cd4$base, cd4$oneyr) > r [1] 0.7231654 Fisher transform: > se = 1/sqrt(17) > se [1] 0.2425356 > tanh(c(r-1.6448*se, r+1.6448*se)) [1] 0.3133382 0.8082940 T distribution: > sr = sqrt((1-r^2) … /(20-2)) > sr [1] 0.1627936 > tc = abs(qt(0.05/2, 18)) > c(r-tc*sr, r+tc*sr) [1] 0.3811486 1.0651821 …