.- help for ^ci2^, ^cii2^ (STB-59: sg159) .- Confidence intervals for correlations ------------------------------------- ^ci2^ varname1 varname2 [^if^ exp] [^in^ range] [weight] [^,^ ^l^evel^(^#^)^ {^co^rr ^sp^earman} ] ^cii2^ #n #r [^,^ ^l^evel^(^#^)^ ^co^rr] Description ----------- Without the ^corr^ or ^spearman^ options, ^ci2^ and ^cii2^ behave as @ci@ and @cii@. ^ci2^ calculates correlations and produces confidence intervals for a single correlation, based on Fisher's transformation. As with @correlate@, ^ci2^ takes frequency and analytic weights. With option ^spearman^, the confidence interval is based on Spearman's rank correlation. ^cii2^ is the immediate version. Examples -------- . ^ci2 colorime icp , corr^ . ^cii2 78 .52 , corr^ (78 paired observations, correlation 0.52) . ^ci2 mpg^ . ^ci2 mpg price, level(90)^ . ^ci2 promoted, binomial^ . ^ci2 count, poisson^ . ^ci2 deaths, exposure(pyears)^ . ^cii2 166 19509 4379^ (166 obs, mean=19509, sd=4379) . ^cii2 166 19509 4379, level(90)^ . ^cii2 10 1^ (10 binomial events, 1 observed success) . ^cii2 1 27, poisson^ (27 Poisson events observed) Author ------ Paul T. Seed King's College London, UK paul.seed@@kcl.ac.uk Also see -------- Manual: ^[R] correlate^ On-line: @correlate@, @pwcorr@