5.10 Regression with two or more predictors.5.7 Adding a slope to the regression model.5.6 The simplest regression model: intercept-only model.5.5 Prep to understand the simplest regression model.4.3.2 What is a confidence interval, then?.4.2.2 Understanding actual data in relation to these simulations.4.2.1 What can samples look like when the true correlation is 0?.3.11 Other handy tools: select, slice, bind, and arrange.
3.8 Plot the mean life expectancy by continent.3.6 Aggregating/summarising data by group.3.5.1 Activity to develop your help-searching skill!.
This code sets up its own test function, and assumes you have set the number of test parameters (R). The following instructions give a P-value plot of conventional P-values from 2-tailed tests, again using exact binomial tests. For tests of discrete statistics using conventional P-values, the upper tailed P-value does not equal one minus the lower-tailed P-value - so they must be obtained separately.
The following code instructs R to estimate mid- P exact binomial confidence limits by test inversion, using a predetermined series of values of its test parameter (P).
binom.approx calculates an interval using the normal approximation to the binomial distribution.