Package: LearningStats 0.1.0

LearningStats: Elemental Descriptive and Inferential Statistics

Provides tools to teach students elemental statistics. The main topics covered are descriptive statistics, probability models (discrete and continuous variables) and statistical inference (confidence intervals and hypothesis tests). One of the main advantages of this package is that allows the user to read quite a variety of types of data files with one unique command. Moreover it includes shortcuts to simple but up-to-now not in R descriptive features such a complete frequency table or an histogram with the optimal number of intervals. Related to model distributions (both discrete and continuous), the package allows the student to easy plot the mass/density function, distribution function and quantile function just detailing as input arguments the known population parameters. The inference related tools are basically confidence interval and hypothesis testing. Having defined independent commands for these two tools makes it easier for the student to understand what the software is performing, and it also helps the student to have a better knowledge on which specific tool they need to use in each situation. Moreover, the hypothesis testing commands provide not only the numeric result on the screen but also a very intuitive graph (which includes the statistic distribution, the observed value of the statistic, the rejection area and the p-value) that is very useful for the student to visualise the process. The regression section includes up to now, a simple linear model, with one single command the student can obtain the numeric summary as well as the corresponding diagram with the adjusted regression model and a legend with basic information (formula of the adjusted model and R-squared).

Authors:María Isabel Borrajo-García [aut, cre], Mercedes Conde-Amboage [aut], Alejandra López-Pérez [aut]

LearningStats_0.1.0.tar.gz
LearningStats_0.1.0.zip(r-4.5)LearningStats_0.1.0.zip(r-4.4)LearningStats_0.1.0.zip(r-4.3)
LearningStats_0.1.0.tgz(r-4.4-any)LearningStats_0.1.0.tgz(r-4.3-any)
LearningStats_0.1.0.tar.gz(r-4.5-noble)LearningStats_0.1.0.tar.gz(r-4.4-noble)
LearningStats_0.1.0.tgz(r-4.4-emscripten)LearningStats_0.1.0.tgz(r-4.3-emscripten)
LearningStats.pdf |LearningStats.html
LearningStats/json (API)

# Install 'LearningStats' in R:
install.packages('LearningStats', repos = c('https://maribelborrajo.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Datasets:
  • sicri2018 - SICRI: information system on risk-taking behaviour

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

40 exports 0.00 score 35 dependencies 1 scripts 1.2k downloads

Last updated 3 years agofrom:df5f6a1dfe. Checks:OK: 3 NOTE: 4. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 14 2024
R-4.5-winNOTESep 14 2024
R-4.5-linuxNOTESep 14 2024
R-4.4-winNOTESep 14 2024
R-4.4-macNOTESep 14 2024
R-4.3-winOKSep 14 2024
R-4.3-macOKSep 14 2024

Exports:AproxBinomNormAproxBinomPoisAproxPoisNormBoxPlotdiffmean.CIdiffmean.testdiffproportion.CIdiffproportion.testdiffvariance.CIdiffvariance.testfreq.polfreq.tableHistogramindepchisq.testMean.CIMean.testplotBetaplotBinomplotChiplotDUnifplotExpplotFSplotGammaplotHyperplotNegBinomplotNormplotPoisplotRegplotTSplotUnifproportion.CIproportion.testread.dataS2musample.quantilesample.sdsample.varSmuvariance.CIvariance.test

Dependencies:bitbit64cellrangerclicliprcpp11crayondata.tablefansiforcatsgluehavenhmslifecyclemagrittrmintypillarpkgconfigprettyunitsprogressR6readODSreadrreadxlrematchrlangstringitibbletidyselecttzdbutf8vctrsvroomwithrzip

Readme and manuals

Help Manual

Help pageTopics
Elemental Descriptive and Inferential Statistics (LearningStats)LearningStats-package
Illustration of the Normal approximation to BinomialAproxBinomNorm
Illustration of the Poisson approximation to BinomialAproxBinomPois
Illustration of the Normal approximation to PoissonAproxPoisNorm
Boxplot RepresentationBoxPlot
Confidence Interval for the Difference between the Means of Two Normal Populations.diffmean.CI
Two Sample Mean Test of Normal Populationsdiffmean.test
Large Sample Confidence Interval for the Difference between Two Population Proportionsdiffproportion.CI
Two Sample Proportion Testdiffproportion.test
Confidence Interval for the Ratio Between the Variances of Two Normal Populationsdiffvariance.CI
Two Sample Variance Test of Normal Populationsdiffvariance.test
Plot a Cumulative Frequency Polygonfreq.pol
Frequency Tablefreq.table
Plot a HistogramHistogram
Chi-squared Independence Test for Categorical Data.indepchisq.test
Confidence Interval for the Mean of a Normal PopulationMean.CI
One Sample Mean Test of a Normal PopulationMean.test
Density Function, Distribution Function and/or Quantile Function Representations associated with a Beta DistributionplotBeta
Probability Mass and/or Distribution Function Representations associated with a Binomial DistributionplotBinom
Density Function, Distribution Function and/or Quantile Function Representations associated with a Chi-squared DistributionplotChi
Probability Mass and/or Distribution Function Representations associated with a Discrete Uniform DistributionplotDUnif
Density Function, Distribution Function and/or Quantile Function Representations associated with a Exponential DistributionplotExp
Density Function, Distribution Function and/or Quantile Function Representations associated with a F-Snedecor DistributionplotFS
Density Function, Distribution Function and/or Quantile Function Representations associated with a Gamma DistributionplotGamma
Probability Mass and/or Distribution Function Representations associated with a Hypergeometric DistributionplotHyper
Probability Mass and/or Distribution Function Representations associated with a Negative Binomial DistributionplotNegBinom
Density Function, Distribution Function and/or Quantile Function Representations associated with a Normal DistributionplotNorm
Probability Mass and/or Distribution Function Representations associated with a Poisson DistributionplotPois
Representation of a Linear Regression ModelplotReg
Density Function, Distribution Function and/or Quantile Function Representations associated with a T-Student DistributionplotTS
Density Function, Distribution Function and/or Quantile Function Representations associated with a Uniform DistributionplotUnif
Large Sample Confidence Interval for a Population Proportionproportion.CI
Large Sample Test for a Population Proportionproportion.test
Data Inputread.data
Variance Estimator when the Population Mean is KnownS2mu
Sample Quantilessample.quantile
Sample Standard Deviationsample.sd
Sample Variancesample.var
SICRI: information system on risk-taking behavioursicri2018
Standard Deviation Estimator when the Population Mean is KnownSmu
Confidence Interval for the Variance and the Standard Deviation of a Normal Populationvariance.CI
One Sample Variance Test of a Normal Populationvariance.test