
FEATURES

This document describes selected features of the IPSUR package. There are three (3) sections.

I.	THE R COMMANDER: describes how the IPSUR implementation of the R Commander differs from the standard installation.
II.	DATA: describes certain datasets provided by the package.
III.	DOCUMENTS: describes documents provided by the package.
 
I.	THE R COMMANDER
A.	The Commander
"	An IPSUR-Probability menu is added.
"	Distributions menu is omitted.
"	Additional packages are recommended at startup.
B.	Statistics Menu
"	Summaries, Frequency Distribution
i.	Allows numerical variables that are not necessarily factors to be tabularized, with a corresponding modification to the Chi-square goodness-of-fit test.
ii.	Calculates relative frequencies instead of percentages.
"	Summaries, Contingency Tables, Two-Way Table
i.	Option "Add Marginal Distributions" is available which adds column and row sums to table.
ii.	Hypothesis Tests has additional "Simulate p-value" option with customizable number of Iterations.
"	Summaries, Contingency Tables, Enter Two-Way Table:
i.	Option "Add Marginal Distributions" is available which adds column and row sums to table.
ii.	Hypothesis Tests has additional "Simulate p-value" option with customizable number of Iterations.
"	Power Menu: based on functions written by Peter Dalgaard
i.	Power calculation dialog for one sample, two sample, and paired t tests.
ii.	Power calculation dialog for two sample proportion test.
iii.	Power calculation dialog for balanced ANOVA.
C.	Graphs Menu
"	A Title field was added to the following plots:
 Index Plot, Histogram, Boxplot, Quantile-comparison plot, Scatterplot, Scatterplot matrix, Line Plot, Bar Graph, XY Conditioning plot.
"	Boxplot has additional options "Horizontal", "Notches" and "Variable box width", and Horizontal, Variable box width are the default settings.
"	Pareto Diagrams were added.
"	Strip charts were added.
D.	IPSUR-Probability Menu
"	Birthday Problem dialog menu available corresponding to the stats functions pbirthday() and qbirthday(). These two functions were modified and named pbirthday.ipsur() and qbirthday.ipsur() to give the precise answer (instead of asymptotics) in the case of exactly two coincidences.
"	All parameter fields for each distribution are modified so that mathematical expressions may be entered, instead of the default restriction that only numbers may be entered into fields. For this reason, we may enter p=1/3 in the binomial menu or perhaps sd=7/sqrt(31) in a standard deviation field. 
"	Each distribution has a Simulate variates... option. Simulations are generated "transposed" from the standard Commander, with rows as observations and columns as samples. The name of each generated column by default takes the form "model.sim#", for example, binom.sim1, binom.sim2, etc. The columns may be stored in the Active Data Set or in a new dataset (of customizable length) by default named "Simset". All parameters for the respective distributions are available. To generate multiple columns, a "Number of samples" field is available. 
"	The discrete uniform distribution is available for simulation.
"	Noncentrality parameter fields added to Beta, Chisquared, F, and Student's t distribution.
"	A Sampling Distributions menu is added. This is similar to (and indeed was wholly inspired by) the Distributions menu in R Commander, with cosmetic differences to the interface. Rows are samples and columns are observations. Noncentrality parameters are available.  A difference is that one may calculate up to three (3) sample statistics of choice from the simulated values, which can be later analyzed with the R Commander. A "discard original observations" option is available in case the number of simulated values is inconveniently large.
"	Discrete CDFs are plotted as right-continuous step functions.

II.	DATA
A.	RcmdrTestDrive: These are simulated data specifically designed to allow the inexperienced user to browse the capabilities of the R Commander. The R Commander has extensive functionality, but many options are unavailable unless the correct types of data are loaded in the Active Data Set. This data set was randomly generated so that, when loaded, essentially all R Commander options would be available for the student to investigate. These data are entirely fictional.
B.	FeedingTimes: Data were collected concerning the feeding times of a recent newborn, Anna Lu Kerns. Variables include age in days, clock time, type of food, the length of feeding time (min), and amount of food (oz). (Only beginning of dataset so far.)
C.	BloodPressure: Data were collected in Summer 2006 from Taoying Bian concerning her blood pressure and heart rate. Variables include date, time, systolic and diastolic blood pressure, and heart rate.
 
III.	DOCUMENTS
A.	"Murder Madness in Toon Town". An amusing tale written to relate the fictional variables in the RcmdrTestDrive dataset. An original story contributed by Jeff Cornfield in Summer 2006.
 
