Man pages for mdedge/stfspack
Functions to Support Statistical Thinking from Scratch

beta.mmCompute the least-squares slope estimate for simple linear...
boot.dist.1dGenerate a bootstrap distribution for a statistic computed on...
boot.sampDraw a bootstrap sample from a matrix or vector
compare.tail.to.normalCompare tails of a sample to normal expectation.
dosm.beta.histSimulate and plot the distribution of the sample mean
laplace.sampsGenerate a matrix of samples from a Laplace distribution.
many.outcome.simSimulate a multiple-testing scenario
mat.sampsGenerate a matrix of samples from a chosen distribution.
norm.sampsGenerate a matrix of samples from a normal distribution.
perm.sampRandomly permute the columns of a matrix independently
post.conj.norm.normCompute normal conjugate posterior
power.sim.1szEstimate the power of a one-sample z test by simulation
ps.1szEstimate the power of a one-sample z test by simulation
reject.samp.normPerform rejection sampling for normally distributed data with...
rlaplaceSample from a Laplace (also called double-exponential)...
rnorm.contamSample from a Normal distribution with outliers
rnorm.mixSample from a Normal distribution with outliers
rnorm.outA matrix of samples from a Normal distribution with outliers
rparetoSample from a Pareto distribution
serial.testing.simSimulate an optional stopping p-value scenario
sim.2varSimulate data from a a linear model with an unobserved...
sim.lmSimulate data from a simple linear model.
sim.lm.estsSimulate data from a linear model and estimate the...
sim.perm.BSimulate simple linear regression data and apply a...
sim.Wald.BSimulate simple linear regression data and apply a Wald test
wc.1szSimulate the winner's curse with a one-sample z-test
wincurse.sim.1szSimulate the winner's curse with a one-sample z-test
wrap.bmSimulate a normal sample and compute a bootstrap distribution
mdedge/stfspack documentation built on May 9, 2019, 8:17 a.m.