OneTwoSamples
Deal with One and Two (Normal) Samples
Description
We introduce an R function one_two_sample() which can deal with one and two (normal) samples, Ying-Ying Zhang, Yi Wei (2012) <doi:10.2991/asshm-13.2013.29>. For one normal sample x, the function reports descriptive statistics, plot, interval estimation and test of hypothesis of x. For two normal samples x and y, the function reports descriptive statistics, plot, interval estimation and test of hypothesis of x and y, respectively. It also reports interval estimation and test of hypothesis of mu1-mu2 (the difference of the means of x and y) and sigma1^2 / sigma2^2 (the ratio of the variances of x and y), tests whether x and y are from the same population, finds the correlation coefficient of x and y if x and y have the same length.
Downloads
620
Last 30 days
5178th
2.2K
Last 90 days
8.5K
Last year
Trend: -12.6% (30d vs prior 30d)
CRAN Check Status
Show all 13 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check History
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 7, 2026
WARNING 12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Jun 4, 2026
re-building of vignette outputs
Error(s) in re-building vignettes:
--- re-building ‘OneTwoSamples.Rnw’ using Sweave
data_outline package:OneTwoSamples R Documentation
_C_o_m_p_u_t_e _v_a_r_i_o_u_s _d_e_s_c_r_i_p_t_i_v_e _s_t_a_t_i_
...[truncated]...
nd{tabu}
! ==> Fatal error occurred, no output PDF file produced!
--- failed re-building ‘OneTwoSamples.Rnw’
SUMMARY: processing the following file failed:
‘OneTwoSamples.Rnw’
Error: Vignette re-building failed.
Execution halted