Statistics logo
Department of Statistics & Actuarial Science
Simon Fraser University
Author: Carl James Schwarz  P.Stat.
Phone: 778.782.3376
Office: K 10559

Professional Statistician (P.Stat.)
        More information on Accreditation of Statisticians in Canada

Datasets; SAS, R, and JMP programs; Output

Use the find feature of your browser to locate the datafile of interest. Refer to the course notes for details on the analysis of the datasets listed here.

A complete zip archive of the entire contents is available here. An Excel workbook that contains all of the raw data is also available ( ALLofDATA.xlsx) Schwarz helper functions>
Description Topics covered SAS Program and output JMP/Excel R
Misc Datasets Simple Random Sample, Basic descriptive Statistics,
Side-by-side box plots; dot-plots; histograms
ddt.sas, ddt.csv, ddt.pdf
dd2gt.sas, ddt2g.csv, ddt2g.pdf
druglbi.sas, druglbi.csv druglib.pdf
barleyyields.sas barleyyields.pdf
ddt.jmp
ddt2g.jmp
NO JMP file for DrugLBI
barleyyields.txt barleyyields.jmp
ddt.r,     ddt.csv, ddt.html (R output)
ddt2g.r,     ddt2g.html (R output)
druglbi.r, druglbi.csv
No R code for barleyyields
Schwarz helper functions
Road Accidents 2010 Road Accidents involving injury in Great Britain in 2010
This is used in various courses such as Stat-340 assignments which should be consulted for details.
road-accidents-2010.csv     code book (xls)     data guide (doc)
 
Creel survey Simple Random Sample creel.sas     creel.csv
creel.pdf (SAS Output)
creel.jmp creel.r     creel.csv
creel.html (R output)
Survey Sample Size Determination Simple Random Sample SurveySampleSize.sas
SurveySampleSize.pdf (SAS Output)
Refer to SampleSize tab in the ALLofData.xls worbook available at top of page.
Sockeye survey Stratified Design, Simple Random Sample (SRS) in each stratum sockeye.sas    sockeye.csv sockeye.pdf (SAS Output) sockeye.jmp sockeye.r     sockeye.csv
sockeye.html (R output)
Caribou survey Sample allocation in Stratified Design with Simple Random Sampling in each strata caribou.xls - See the caribou tab in the AllofData workbook
Estimating number of tundra swans Stratified Design; Simple Random Sample in each stratum tundra.sas     tundra.csv
tundra.pdf (SAS Output)
tundra.jmp tundra.r     tundra.csv
tundra.html (R output)
Estimating number of grubs Post-stratified Design after Simple Random Sample post-stratify.sas    post-stratify.csv
post-stratify-SAS.pdf (SAS Output)
post-strata-example.jmp post-stratify.r     post-stratify.csv
post-stratify.html (R output)
Wolf/moose ratio Simple Random Sample with ratio estimator wolf.sas    wolf.csv
wolf-SAS.pdf (SAS Output)
wolf.jmp
This includes an example of sample size determination for a ratio estimator.
wolf.r     wolf.csv
wolf.html (R output)
Grouse numbers Simple Random Sample with ratio estimator of total grouse.sas     grouse.csv
grouse-SAS.pdf (SAS Output)
grouse.jmp grouse.r     grouse.csv
grouse.html (R output)
Urchin densities Cluster sampling using a Simple Random Sample urchin.sas     urchin.csv
urchin-SAS.pdf (SAS Output)
urchin.csv
urchin.jmp
urchin.r     urchin.csv
urchin.html (R output)
Cucumber densities Cluster sampling using a Simple Random Sample
when only the summary data is available
cucumber.sas     cucumber.csv
cucumber-SAS.pdf (SAS Output)
cucumber.r     cucumber.csv
cucumber.html (R output)
Wild Oyster densities Two-stage sampling using a Simple Random Sample wildoyster.sas     wildoyster.csv
wildoyster-SAS.pdf
wildoyster.csv
wildoyster.jmp
wildoyster.r     wildoyster.csv
wildoyster.html (R output)
 
Height and Weights of children (12 years of age) CRD, single factor, 2 levels htwt12.sas
htwt12.csv
htwt12.pdf
htwt12.jmp
htwt12.r     htwt12.csv
htwt12.html (R output)
Schwarz helper functions
Tumor sizes from high/low fat diet CRD, single factor, 2 levels fattumor.sas
fattumor.csv
fattumor.pdf
fattumor.jmp fattumor.r    fattumor.csv
fattumor.html (R output)
Schwarz helper functions
Weight gain after administering hormones CRD, single factor, 2 levels hormone.sas
hormone.csv
hormone.pdf
hormone.jmp hormone.r     hormone.csv
hormone.html (R output)
Schwarz helper functions
Power analysis /sample size determination for two sample t-test CRD, single factor, 2 levels, power
Hormone example
power-ttest.sas
power-ttest.pdf
Refer to single factor crd notes on how to do power/sample size determination in JMP. power-ttest.r   
power-ttest.html (R output)
Contrived example to illustrate principles of ANOVA CRD, single factor anova-example.sas
anova-example.pdf
anova-example.jmp anova-example.r
anova-example.csv
anova-example.html (R ouptut)
Potato peeling CRD, single factor potato.sas
potato.csv
pdmix800.sas
potato.pdf
potato.jmp
potato.jrn
potato.r potato.csv
potato.html (R output)
Schwarz helper functions
Outlier effect on ANOVA CRD, single factor, showing effect of outliers ANOVA outliers - (Mac version)
ANOVA outliers - (Windoze version)
ANOVA outliers - Instructions
Phosphor content in leaves CRD, single factor phosphor.sas
phosphor.csv
pdmix800.sas
phosphor.pdf
phosphor.jmp phosphor.r     phosphor.csv
phosphor.html (R output)
Schwarz helper functions
Lifetimes of brands of batteries CRD, single factor battery.sas
battery.csv
pdmix800.sas
battery.pdf
battery.jmp battery.r     battery.csv
battery.html (R output)
Schwarz helper functions
Cuckoo eggs CRD, single factor cuckoo.sas
cuckoo.csv
pdmix800.sas
cuckoo.pdf
cuckoo.jmp cuckoo.r     cuckoo.csv
cuckoo.html (R output)
Schwarz helper functions
Lifetimes of fruit flies CRD, single factor
Code book available at fruitfly.txt
fruitfly.sas
fruitfly.csv
pdmix800.sas
fruitfly.pdf
fruitfly.jmp fruitfly.r    fruitfly.csv
fruitfly.html (R output)
Schwarz helper functions
Cuckoo example, CRD Power analysis /sample size determination for CRD, single factor, ANOVA, power power-1fact.sas
power-1fact.pdf
Refer to single factor crd notes on how to do power/sample size determination in JMP. power-1fact.r   
power-1fact.html (R output)
 
Stream slope and trout density RCB, single factor - paired paired-stream.sas
paired-stream.csv
paired-stream.pdf
paired-stream.jmp
Details of analysis 1 - pdf
Details of analysis 2 - pdf
Details of analysis 3 - pdf
Details of analysis 4 - pdf
paired-stream.r     paired-stream.csv
paired-stream.html (R output)
Schwarz helper functions
Quality check on two laboratories RCB, single factor - paired paired-labs.sas
paired-labs.csv
paired-labs.pdf
paired-labs.jmp paired-labs.r     paired-labs.csv paired-labs.html (R output)
Schwarz helper functions
Comparing yields using paired plantings RCB, single factor - paired, effect of outlier paired-barley.sas
paired-barley.csv
paired-barley.pdf
paired-barley.jmp paired-barley.r     paired-barley.csv
paired-barley.html (R output)
Schwarz helper functions
Comparing lesion counts using paired application RCB, single factor - paired, effect of outlier paired-virus.sas
paired-virus.csv
paired-virus.pdf
paired-virus.jmp paired-virus.r     paired-virus.csv
paired-virus.html (R output)
Schwarz helper functions
Comparing turbidity at two sites on a creek RCB, single factor - paired TurbidityCompareBBvsCoombs.sas
TurbidityCompare.csv
TurbidityCompareBBvsCoombs.pdf
TurbidityCompare.jmp TurbidityCompareBBvsCoombs.r     TurbidityCompare.csv
TurbidityCompareBBvsCoombs.html (R output)
Schwarz helper functions
Power analysis /sample size determination for paired t-test RCB, single factor, 2 levels, power
Stream slope example
power-stream.sas
power-stream.pdf
Refer to single factor rcb notes on how to do power/sample size determination in JMP. power-stream.r
power-stream.html (R output)
Effect of salinity upon growth of plants RCB - single factor - 6 levels
Complete block; missing values but connected; unconnected
salt.sas
salt.csv
salt.pdf
pdmix800.sas
salt.jmp salt.r     salt.csv
salt.html (R output)
Including dealing with missing values Schwarz helper functions
Herbicide effects upon growth RCB - single factor - 4 levels herbicide.sas
herbicide.csv
herbicide.pdf
pdmix800.sas
herbicide.jmp herbicide.r     herbicide.csv
herbicide.html (R output)
Schwarz helper functions
Systolic Blood pressure at presyncope RCB - single factor; power analysis BPatPresyncope.sas
BPatPresyncope.pdf
BPatPresyncope.csv
BPatPresyncope.jmp BPatPresyncope.r     BPatPresyncope.csv
BPatPresyncope.html (R output)
Schwarz helper functions
Comparing turbidity at several sites on a creek RCB, single factor - 5 levels, missing data TurbidityCompareRCB.sas
TurbidityCompare.csv
TurbidityCompareRCB.pdf
pdmix800.sas
TurbidityCompare.jmp TurbidityCompareRCB.r     TurbidityCompare.csv
TurbidityCompareRCB.html (R output)
Schwarz helper functions
Power analysis /sample size determination for RCB (approximate) RCB, single factor, 2+ levels, power
Herbicide example
herbicide-power.sas
herbicide-power.pdf
Refer to single factor rcb notes on how to do power/sample size determination in JMP. herbicide-power.r
herbicide-power.html (R output)
 
Water Quality Incomplete block design - single factor
Compare water quality at three locations relative to development
water-quality.sas
water-quality.csv
water-quality.pdf
water-quality.jmp water-quality.r     water-quality.csv water-quality.html
Schwarz helper functions
 
Flagella Lengths Estimating the mean under subsampling flagella1.sas
flagella1.csv
flagella1.pdf
flagella1.jmp flagella1.r     flagella1.csv
flagella1.html (R output)
Fat levels in fish of different species CRD - single factor - subsampling fat.sas     fat.csv
pdmix800.sas
fat.pdf
fat.jmp
Details of analysis 1 - pdf
Details of analysis 2 - pdf
fat-optimize.xls
fat.r     fat.csv
fat.html (R Output)
Flagella Lengths CRD - single factor - subsampling flagella2.sas     flagella2.csv
flagella2-SAS.pdf (SAS Output)
flagella2.jmp flagella2.r     flagella2.csv
flagella2.html (R Output)
Effects of UV radiation on fish growth RCB - single factor - subsampling uvexp.sas     uvexp.csv
pdmix800.sas
uvexp.pdf
uvexp.jmp uvexp.r     uvexp.csv
uvexp.html (R Output)
Monitor fry density over time RCB - single factor (time) - subsampling fry.sas     fry.csv
pdmix800.sas
fry.pdf
fry.jmp fry.r     fry.csv
fry.html (R Output)
 
GSI Two factor, CRD, fixed effects, balanced and unbalances; slices gsi.sas     gsi.csv
gsi.pdf
pdmix800.sas
gsi.jmp
Output of balanced anaysis
Output of unbalanced anaysis
gsi.r     gsi.csv
gsi.html (R output)
Schwarz helper functions
Shows how to obtain Type III SS from R.
PCBs Two factor, CRD, fixed effects, balanced and unbalanced pcb.sas
pcb.csv
pcb.pdf
pdmix800.sas
pcb.jmp pcb.r     pcb.csv
pcb.html (R Output)
Shows how to obtain Type III SS from R.
PCBs :Power analysis Two factor, CRD, fixed effects, balanced, power, sample size pcb-power.sas
pcb-power.pdf
Refer to my course notes on two-factor CRD fixed-effect experiments pcb-power.r
Stream Residence of Salmon Two factor, CRD, fixed effects, unbalanced residence.sas
residence.csv
residence.pdf
pdmix800.sas
residence.jmp residence.r     residence.csv
residence.html (R Output)
Shows how to obtain Type III SS from R.
Pocket Mouse Two factor, CRD, fixed effects, unbalanced mouse.sas
mouse.csv
mouse.pdf
pdmix800.sas
mouse.jmp mouse.r   mouse.csv
mouse.html (R output)
Schwarz helper functions
Shows how to obtain Type III SS from R.
Use Dependent Inactivation (UDI) Two factor, CRD, fixed effects, unbalanced UDI.sas
UDI.csv
UDI.pdf
UDI.jmp UDI.r     UDI.csv
UDI.html (R Output) Shows how to obtain Type III SS from R.
 
Fat consumption Two factor, CRD, fixed and random effects, balanced rancidfat.sas
rancidfat.lst
rancidfat.jmp
Mosquito repellants Two factor, CRD, fixed and random effects, balanced mosquito.sas
mosquito.lst
mosquito.jmp
 
Tensile strength of paper Two factor, split-plot design, main plot factor in CRD paper.sas,   paper.csv,
pdmix800.sas
paper-SAS.pdf
paper.jmp paper.rpaper.csv
paper.html - (Output from R)
Schwarz helper functions
p-values/lsmeans from using lmerTest
Seedling Growth Two factor, split-plot design with main plots in RCB forest.sas,   forest.csv,
pdmix800.sas
forest-SAS.pdf
forest.jmp forest.r,   forest.csv
forest.r.html - output from R
p-values/ lsmeans from lme, lmer
Tenderness of meat Two factor, split-plot design with main plots in RCB
Illustration of getting joined line plots from SAS Proc Mixed using the pdmix800.sas macro
tenderness.sas,   tenderness.csv,   pdmix800.sas
tenderness-SAS.pdf
tenderness.jmp tenderness.r,   tenderness.csv
tendeness.r.html - output from R
p-values/ lsmeans from lme, lmer
Solvent contamination levels Two factor, split-plot design in time
SAS program illustrates how to fit the AR(1) model and the compound symmetric model
p-values and lsmeans from lme, lmer
fungus.sas,     fungus.csv
pdmix800.sas
fungus-SAS.pdf
fungus.jmp
fungus-JMP.pdf (JMP Output)
fungus.r,   fungus.csv
fungus.html - (R output)
Home range Two factor, split-plot design in time, unbalanced at main plot level CRD at main plot level homerange.sas,   homerange.csv,   pdmix800.sas
homerange-SAS.pdf
homerange.jmp homerange.r,   homerange.csv
homerange.r.html - output from R
p-values/ lsmeans from lme, lmer
Scent and mazes Two factor, split-plot design, multiple treatments at split-plot level scent.sas,   scent.csv,   pdmix800.sas
scent-SAS.pdf
scent.jmp, scent-stacked.jmp scent.r,   scent.csv
scent.r.html - output from R
p-values/ lsmeans from lme, lmer
Pheromones and bee colony type Two factor, split-plot design, pseudo-replication
p-values/ lsmeans from lme, lmer
beeovary.sas,     beeovary.csv
pdmix800.sas
beeovary-SAS.pdf
beeovary.jmp, beeovary-averaged.jmp beeovary.r     beeovary.csv
beeovary.html (R output)
p-values/ lsmeans from lme, lmer
Breath holding at different water temperatures Two factor, split-plot design; ANCOVA; random intercept models;
power/sample size determination
breath.sas,   breath.csv,   pdmix800.sas
breath-SAS.pdf
breath2.jmp
breath2.csv Same data, except stacked
breath.r
breath2.csv Same data, except stacked
breath.r.html - output from R
Systolic blood pressure prior to presyncope Two factor, split-plot design; main-plot in blocks; subsampling in sub-plots SystolicBloodPressure.sas,   SystolicBloodPressure.csv,   pdmix800.sas
SystolicBloodPressure-SAS.pdf
SystolicBloodPressure.jmp SystolicBloodPressure.r
SystolicBloodPressure.csv SystolicBloodPressure.r.html - output from R
p-values/ lsmeans from lme, lmer
 
Invertebrate density Before/After study; single stream; multiple streams; power invert.sas   Analysis
invert.csv
invert.pdf
invert-power.sas   Power Analysis
invert-power.pdf
invert.jmp   Scripts for analysis in data table.
invert-power.jmp   Power Analysis
invert.r   Analysis     invert.csv
invert.html (R output)
invert-power.r   Power Analysis
invert-power.html (R output)
before-after-power-stroup.r A general before/after power program
Crab density BACI; simple BACI; two factor CRD baci-crabs.sas
baci-crabs.csv
baci-crabs.pdf
baci-power.sasA general BACI power program
baci-crabs-power.sas
baci-crabs-power.pdf
baci-crabs.jmp
baci-power-prep.xls
baci-crabs-power.jmp
baci-crabs.r     baci-crabs.csv
baci-crabs.html (R Output)
baci-crabs-power.r
baci-crabs-power.html (R output)
baci-power.r A general BACI power program
Crab density - revisited BACI; simple BACI with multiple control sites; two factor CRD baci-crabs-mod.sas
baci-crabs-mod.csv
baci-crabs-mod.pdf
baci-power.sasA general BACI power program
baci-crabs-mod-power.sas
baci-crabs-mod-power.pdf
baci-crabs-mod.jmp
baci-power-prep.xls
baci-crabs-mod-power.jmp
baci-crabs-mod.r     baci-crabs-mod.csv
baci-crabs-mod.html (R output)
baci-crabs--mod-power.r
baci-crabs--mod-power.html (R output)
baci-power.r A general BACI power program
Fish counts before/after impact BACI; paired BACI with multiple years before and after; two factor RCB baci-fish.sas
baci-fish.csv
baci-fish.pdf
baci-power.sasA general BACI power program
baci-fish-power.sas
baci-fish-power.pdf
baci-fish.jmp
baci-power-prep.xls
baci-fish-power.jmp
baci-fish.r     baci-fish.csv
baci-fish.html (R output)
baci-fish-power.r
baci-fish-power.html (R output)
baci-power.r A general BACI power program
Chironomid density BACI; paired BACI; two factor RCB baci-chironomid.sas
baci-chironomid.csv
baci-chironomid.pdf
Power analysis is done in the same way as in fish example above.
baci-chironomid.jmp
Power analysis is done in the same way as in fish example above.
baci-chironomid.r     baci-chironomid.csv
baci-chironomid.html (R output)
Power analysis is done in the same way as in fish example above.
Fry counts before/after impact at multiple sites BACI; paired BACI with multiple years before and after and multiple sites baci-fry.sas
baci-fry.csv
baci-fry.pdf
baci-power.sasA general BACI power program
baci-fry-power.sas
baci-fry-power.pdf
baci-fry.jmp
baci-fry-power.jmp
This computes power for a general BACI design
baci-fry.r     baci-fry.csv
baci-fry.html (R output)
baci-fry-power.r (Code)
baci-fry-power.html (R Output)
baci-power.r A general BACI power program
 
Moose habitat usage; resource selection Chi-square - known proportions moosehabitat.sas
moosehabitat.csv
moosehabitat.pdf
moosehabitat.jmp moosehabitat.r     moosehabitat.csv
moosehabitat.html (R Output)
Homicides by season Chi-square - known proportions homicideseason.sas
homicideseason.csv
homicideseason.pdf
homicideseason.jmp homicideseason.r     homicideseason.csv
homicideseason.html (R Output)
Elk habitat resource selection Chi-square - single factor - CRD elkhabitat.sas
elkhabitat.csv
elkhabitat.pdf
elkhabitat.jmp elkhabitat.r     elkhabitat.csv
elkhabitat.html (R Output)
Is yawning contagious?/td> Chi-square - single factor - CRD yawn.sas     yawn.csv
yawn-SAS.pdf
yawn.jmp     yawn-JMP.pdf yawn.r     yawn.csv
yawn.html (R Output)
Oyster leases: ownership vs outlook Chi-square - single factor - CRD
Fisher Exact test
Power to detect diff in two proportions
oyster-lease.sas     oyster-lease.csv
oyster-lease.pdf
oyster-lease.jmp oyster-lease.r     oyster-lease.csv
oyster-lease.html (R Output)
Car Poll Chi-square - single factor - CRD carpoll.sas
carpoll.csv
carpoll.pdf
CarPoll.jmp
This is the dataset that ships with JMP
carpoll.r     carpoll.csv
carpoll.html (R Output)
Marijuana/alcohol usage: parent and student usage Chi-square - single factor - CRD marijuana.sas
marijuana.csv
marijuana.pdf
marijuana.jmp marijuana.r     marijuana.csv
marijuana.html (R Output)
Fatality rates by type of accident Chi-square - single factor - CRD accident.sas
accident.csv
accident.pdf
accident.jmp accident.r     accident.csv
accident.html (R Output)
Flocking behaviour of birds Chi-square - single factor - CRD flocks.sas
flocks.csv
flocks.pdf
flocks.jmp flocks.r     flocks.csv
flocks.html (R Output)
Predation of fox-squirrels Chi-square - single factor - CRD
Fisher's Exact Test
fox-squirrel.sas
fox-squirrel.pdf
fox-squirrel.jmp fox-squirrel.r     CSV file not needed.
fox-squirrel.html (R Output)
Aspirin and Heart Attacks Chi-square - single factor - CRD
Fisher's Exact Test
aspirin.sas
aspirin.pdf
aspirin.jmp aspirin.r     CSV file not needed.
aspirin.html (R Output)
Northern Quolls and Cane Toads Chi-square - single factor - CRD
Fisher's Exact Test
Combining multiple Fisher Exact tests
quolls.sas
quolls.csv
quolls.pdf
quolls.jmp    
Fisher's Exact test Not doable in JMP because table is larger than 2x2
quolls.r     quolls.csv
quolls.html (R Output)
Combining multiple Fisher Exact tests
 
Anscombe example Regression - perils of not looking at data anscombe.sas     anscombe.csv
anscombe-SAS.pdf
anscombe.jmp
anscombe.jmp output
anscombe.r     anscombe.csv
anscombe.html - output from R
Yield-fertilizer relationship of tomatoes Regression fertilizer.sas
fertilizer.csv
fertilizer.pdf
fertilizer.jmp fertilizer.csv
fertilizer.r
fertilizer.html - R output
Blood-food relationship of mercury Regression mercury.sas
mercury.csv
mercury.pdf
mercury.jmp mercury.csv
mercury.r
mercury.r.html - R output
The Grass is Greener (for longer) Regression vs time of growing season, Kendall's tau; Cox-Stuart test for trend; Theil-Sen-Kendall slope estimator grass.sas     grass.csv
grass-SAS.pdf (SAS output)
grass.jmp
JMP output 1     JMP output 2
grass.r   grass.csv
grass.html (R output)
Schwarz helper functions
Dissolved solids in Cuyahoga River - I
This is the MK4a.txt dataset from the Kendall program for USGS written by Helsel with this output.
Regression vs time of dissolved solids, Kendall's tau; Cox-Stuart test for trend; Theil-Sen-Kendall slope estimator tss-cuyahoga.r   tss-cuyahoga.txt (raw data)
tss-cuyahoga.html (R output)
Schwarz helper functions
Tuscaloosa Average Temperatures Regression vs time; regime shifts; level shifts; ANCOVA tuscaloosa.sas     tuscaloosa.csv
tuscaloosa-SAS.pdf (SAS output)
tuscaloosa-avg-temp.jmp
tuscaloosa-avg-temp-JMP-nonp.pdf (Non-parallel slope model)
tuscaloosa-avg-temp-JMP-p.pdf (Parallel slope model)
tuscaloosa.r   tuscaloosa.csv
tuscaloosa.html - R output
Schwarz helper functions
Monitoring Dioxin trends over time Regression; log-transform dioxinTEQ.sas
dioxinTEQ.csv
dioxinTEQ-SAS.pdf
dioxinTEQ.jmp dioxinTEQ.r dioxinTEQ.csv
dioxinTEQ.html - R output
Schwarz helper functions
Yukon River Breakup Regression; test for autocorrelation;
Non-parametric test for trend;
Kendall test for trend
yukon.sas
yukon.csv
yukon-SAS.pdf
yukon.jmp
JMP output 1 JMP output 2
yukon.r yukon.csv
yukon.r.html - R output
Schwarz helper functions
Monitoring mink pelts captured over time Regression; log-transform; autocorrelation; autoregressive regression; AR(1) regression mink.sas     mink.csv
mink-SAS.pdf (SAS output)
mink.jmp mink.r   mink.csv
mink.html (R output)
Schwarz helper functions
Median run timing of salmon runs Regression; autocorrelation; autoregressive regression; AR(1) regression runtiming.sas     runtiming.csv
runtiming-SAS.pdf (SAS output)
runtiming.jmp
runtiming-JMP-naivefit.pdf (JMP output - naive fit)
runtiming-JMP-fitmodel.pdf (JMP output - fit model)
runtiming-JMP-tsfit.pdf (JMP output - arima fit)
runtiming.r   runtiming.csv
runtiming.html (R output)
Phosphorus levels on Klamath River Non-parametric trend detection; Seasonal Kendall tau; Seasonal adjustment; fitting using sines and cosines klamath.sas     klamath.csv
klamath-SAS.pdf (SAS output)
klamath.jmp
klamath2.jmp
klamath3.jmp
klamath.r   klamath.csv
klamath.html (R output)
Schwarz helper functions
Dissolved solids in Cuyahoga River - II
This is the SK1a.txt dataset from the Kendall program for USGS written by Helsel with this output.
Regression vs time of dissolved solids with seasonal effects;
ANCOVA
Kendall's Seasonal tau;
Theil-Sen-Kendall common slope estimator
tss-cuyahoga-seasonal.r   tss-cuyahoga-seasonal.txt (raw data)
tss-cuyahoga-seasonal.html (R output)
Schwarz helper functions
Nitrate in ground water, Adams County, Washington
This is the RK3a.txt dataset from the Kendall program for USGS written by Helsel with this output.
Regression vs time of nitrate with regional effects;
ANCOVA
Kendall's Regional tau;
Theil-Sen-Kendall common slope estimator
nitrate-adams-regional.r   nitrate-adams-regional.txt (raw data)
nitrate-adams-regional.html (R output)
Schwarz helper functions
Ammonium (uEq/L) in snowpack in Colorado and New Mexico. This is the RK3b.txt dataset from the Kendall program for USGS written by Helsel with this output. Regression vs time of nitrate with regional effects;
ANCOVA
Kendall's Regional tau;
Theil-Sen-Kendall common slope estimator
ammonium-regional.r   ammonium-regional.txt (raw data)
ammonium-regional.html (R output)
Schwarz helper functions
TEOM vs Reference Air quality readings Seasonal adjustment; fitting using sines and cosines teom.sas     teom.csv
teom-SAS.pdf (SAS output)
teom.jmp teom.r   teom.csv
teom.html - R output
Schwarz helper functions
Weight-length relationship of fish Regression; log-transform; non-linear regression wtlen.sas
wtlen.csv
wtlen-SAS.pdf
wtlen.jmp wtlen.csv
wtlen.r
wtlen.r.html - R output
Nanana Ice Breakup Regression; piecewise, known changepoint, broken stick, hockeystick, search for unknown changepoint nenana.sas
nenana-SAS.pdf
nenana.jmp nenana.r     nenana.csv
nenana.html - R output
Electric Fire Ants Regression; piecewise, known changepoint, broken stick, hockeystick, search for unknown changepoint; when does treatment match control ant.sas
ant-SAS.pdf
ant.jmp ant.r     ant.csv
ant.html (R output)
changepoint0.r - forces slope to be 0 after changepoint
Chemical concentration in water Regression; piecewise, known changepoint, broken stick, hockeystick, Power to detech change in slope after break point reg-power-change-slope.sas
reg-power-change-slope-SAS.pdf
Not yet implemented
Not easily done in JMP reg-power-change-slope.r
reg-power-change-slope.html - R output
Function to compute power
Invertebrate sampling; Comparing slopes with pseudo-replication Regression; ANCOVA, pseudo-replication invertebrates.sas     invertebrates.csv
invertebrates-SAS.pdf (SAS output)
invertebrates.jmp invertebrates.r     invertebrates.csv
invertebrates.html (R output)
Se in water and fish Regression; pseudo-replication Se-lake.sas     Se-lake.csv
Se-lake.pdf (SAS output)
Se-lake.jmp Se-lake.r     Se-lake.csv
Se-lake.html (R output)
Trends in biomass over time Regression; pseudo-replication; Process and Sampling Error separation
Power analysis (R only)
stream-biomass.sas     stream-biomass.csv (data)
stream-biomass-SAS.pdf (SAS output)
stream-biomass.jmp stream-biomass.r     stream-biomass.csv
stream-biomass.html (R output)
Schwarz helper functions
DDT over time Process and Sampling Error separation ddt.sas     ddt.csv (data)
ddt-SAS.pdf (SAS output)
I have not done this in JMP ddt.r (R code)
ddt.html (R output)
Sample data set Regression; pseudo-replication; Process and Sampling error separation; power analysis regression; Program MONITOR; Lenth's power JAVA applet monitor-example1.sas
monitor-example1-SAS.pdf (SAS output)
Not possible in JMP monitor-example1.r (R code) monitor-example1.html (R output)
slr-power-stroup.r - Power computations function (analytical)
slr-power-sim.r - Power computation function (simulation)
Trends in deer density Regression; pseudo-replication; Process and Sampling error separation; power analysis; Program MONITOR deer-density.sas
deer-density-SAS.pdf (SAS output)
Not possible in JMP deer-density.r (R code) deer-density.html (R output)
slr-power-stroup.r - Power computations function (analytical)
slr-power-sim.r - Power computation function (simulation)
Choice of fertilizer levels Simple linear regression power analysis fertilizer-power.sas
fertilizer-power-SAS.pdf
Not available in JMP fertilizer-power.r (R code)
fertilizer-power.html (R output)
slr-power-stroup.r - Power computations function (analytical)
slr-power-sim.r - Power computation function (simulation)
Blood pressure vs age, weight, stress Multiple regression bloodpress.sas     bloodpress.csv
bloodpress-SAS.pdf (SAS Output)
bloodpress.jmp
bloodpress-JMP-scatter.pdf (Scatter plot matrix) bloodpress-JMP-lmfit.pdf (Regression fit)
bloodpress.r     bloodpress.csv
bloodpress.html (R Output)
Tomato yield vs waters Polynomial regression tomatowater.sas
tomatowater.lst
tomatowater.jmp
Predicting Body Fat from skin measurements Multiple regression - general linear test bodyfat.dat
bodyfat.jmp
Predicting Body Fat from skin measurements - more extensive dataset Multiple regression - general linear test
Described in Journal Stat Education
bodyfatper.txt
bodyfatper-info.txt
SAS code not yet available.
bodyfatper.jmp
Predicting PM10 from environmental variables Multiple regression - case study pm10.sas -not yet availablet
pm10.jmp
How much do animals sleep? Multiple regression - case study animalsleep.sas -not yet available
animalsleep.txt - description of data
animalsleep.jmp
Degradation of dioxin in two sites ANCOVA; log-transform; trend analysis dioxin2.sas     dioxin2.csv
dioxin2-SAS.pdf (Output)
dioxin2.jmp dioxin-JMP-prelim.pdf Preliminary plots
dioxin-JMP-nonp.pdf Non-parallel model
dioxin-JMP-p.pdf Parallel slope model
dioxin2.r     dioxin2.csv
dioxin2.html (R output)
Schwarz helper functions
Stream slope and trout density ANCOVA, log-transform paired-stream.sas     paired-stream.csv paired-stream-SAS.pdf (SAS output) paired-stream.jmp paired-stream.r     paired-stream.csv paired-stream.html (R output)
Condition factor of rainbow trout, Fulton's K
ANCOVA, no intercept model, through the origin rainbow-condition.sas     rainbow-condition.csv
rainbow-condition-SAS.pdf (SAS output)
rainbow-condition.jmp rainbow-condition-JMP-pooled.pdf
rainbow-condition-JMP-matfit.pdf (K by maturity class)
rainbow-condition-JMP-sex.pdf(K by sex)
rainbow-condition.r     rainbow-condition.csv
rainbow-condition.html (R output)
Candy Bars Multiple regression - stepwise and other model selection methods No SAS code availalble yet
candybars.jmp
Breakfast cereals Multiple regression - stepwise and other model selection methods
Described in the 1993 Data Expo (scroll down)
cereal.txt Raw data in tab delimited form
No SAS code availalble yet
cereal.jmp Various assignments in Stat-340 assignments
Predicting zoo plankton biomass Multiple regression - stepwise and other model selection methods No SAS code availalble yet
guadeloupe.jmp
guadeloupe.txt
Tomato response surface Response surface of tomato plants to moisture and temperature tomatorespsurface.sas
tomatorespsurface.lst
tomatorespsurface.dat
tomatorespsurface.jmp
Residual Checking The importance of Residual checking
See Residual (Sur)Realism
residualcheck.sas     residualcheck.csv
residualcheck-SAS.pdf - look at the last plot!
residualcheck.jmp residualcheck.jmp output residualcheck.r (R code)     residualcheck.csv (data)
residualcheck.html (R output)
Effect of dissolved gas on fish behaviour Case study; multiple responses; subsampling; unbalanced fishgas.sas
fishgas.lst
fishgas.jmp
Do bees learn? Case study; two factor; time effects; subsampling; unbalanced beelearn.sas
beelearn.lst
beelearn.jmp
Excessive post-exercise oxygen consumption Case study; two factor split plot; unbalanced epocfish.jmp
Lichen study Case study; single factor; generalized block design; subsample; pseudo-replication lichen.sas
lichen.lst
lichen.jmp
Swimming performance after exposure to rotenone Case study; two factor split plot; unbalanced; subsampling swimfish.jmp
Wolverine response to exploration camp Case study; two-sample t-test; survival analysis; resource selection; chi-square test wolverine.jmp
Annual discharge Annual peak discharge of Saddle River, NJ.
Percentiles, confidence intervals for percentiles
Tolerance intervals
flow.sas
flow.lst
flow.jmp
 
Nest success Made up data
Logistic regression
nestsuccess.sas     nestsuccess.csv (data)
nestsuccess.pdf (SAS Output)
nestsuccess.jmp
nestsuccess2.jmp
nestsuccess-JMP-001.pdf (JMP Output FitYbyX)
nestsuccess-JMP-002.pdf (JMP Output Fit Model - nominal logistics)
nestsuccess-JMP-003.pdf (JMP Output Fit Model - gen lin model)
nestsuccess.r     nestsuccess.csv (data)
nestsuccess.html (R Output)
Space Shuttle Temperature and O-ring failure for the space shuttle
Logistic regression
spaceshuttleoring.sas     spaceshuttleoring.csv
spaceshuttleoring-SAS.pdf (SAS Output)
spaceshuttleoring.jmp spaceshuttleoring-JMP-001.pdf (JMP Output FitYbyX)
spaceshuttleoring-JMP-002.pdf (JMP Output Fit Model - nominal logistic)
spaceshuttleoring-JMP-003.pdf (JMP Output Fit Model - gen lin model)
spaceshuttleoring.r     spaceshuttleoring.csv (data)
spaceshuttleoring.html (R Output)
Fitness Fitness dataset that ships with JMP
Logistic regression
fitness.sas     fitness.csv
fitness-SAS.pdf (SAS Output)
fitness.jmp fitness-JMP-001.pdf (JMP Output 4 variable models)
fitness-JMP-002.pdf (JMP Output Response surface))
fitness-JMP-003.pdf (JMP Output 2 variable models)
fitness.r     fitness.csv (data)
fitness.html (R Output)
Marijuana Usage Student usage vs parental usage of alcohol or marijuana - short version
Logistic regression; retrospective studies; odds-ratio
marijuana-short.sas     marijuana-short.csv
marijuana-short-SAS.pdf (SAS Output)
marijuana-short.jmp
marijuana-short-JMP-chisq.pdf (JMP Output - chisquare test)
marijuana-short-JMP-logistic1.pdf (JMP Output - logistic reg 1))
marijuana-short-JMP-logistic2.pdf (JMP Output - logistic reg 2)
marijuana-short.r     marijuana-short.csv (data)
marijuana-short.html (R Output)
Selenium tadpoles Effect of levels of selenium on deformities in tadpoles
Logistic regression; multiple comparisons
selenium-tadpoles.sas     selenium-tadpoles.csv (data)
selenium-tadpoles-SAS.pdf (SAS Output)
selenium-tadpoles.jmp selenium-tadpoles-JMP-chisq.pdf (JMP Output - chisquare test)
selenium-tadpoles-JMP-logistic1.pdf (JMP Output - logistic reg 1))
selenium-tadpoles-JMP-logistic2.pdf (JMP Output - logistic reg 2)
selenium-tadpoles.r     selenium-tadpoles.csv
selenium-tadpoles.html (R output)
Pet fish survival What factors influence pet fish survival
Logistic regression
fishalive.sas     fishalive.csv
fishalive-SAS.pdf (SAS output)
fishalive.jmp
fishalive-JMP-fullmodel.pdf (JMP Output - full model)
fishalive-JMP-reducedmodel.pdf (JMP Output - reduced model)
fishalive.r     fishalive.csv
fishalive.html (R output)
Horseshoe Crab What factors influence presence or absence of satellite male
Logistic regression; Poisson regression
crabsatellites-logit.sas    crabsatellites.csv
crabsatellites-logit-SAS.pdf (SAS Output)
crabsatellites.jmp crabsatellites-logit-JMP-fullmodel.pdf (JMP Output - full model)
crabsatellites-logit-JMP-reducedmodel.pdf (JMP Output - full model)
crabsatellites-logit.r     crabsatellites-logit.csv
crabsatellites-logit.html (R output)
Fate of Titanic Passengers Women and Chlldren first?
Logistic regression
Original source of dataset
titanicpassengers.sas
titanicpassengers.lst
SAS code not yet available
titanicpassengers.txt
titanicpassengers.jmp
Credit Worthiness What factors influence credit worthiness
Logistic regression; stepwise;
Source of data set
creditcheck.sas
creditcheck-SAS.pdf (SAS Output)
creditcheck.jmp
Code book
creditcheck.r     creditcheck.csv
creditcheck.html (R Output)
Gender vs Height Complete separation in logistic regression. Firth's method logistic-separation.sas     logistic-separation.csv
logistic-separation.pdf
logistic-separation.jmp
logistic-separation-JMP-problem.pdf (JMP output showing problem)
logistic-separation-JMP-firth.pdf (JMP output with Firth correction)
logistic-separation.r     logistic-separation.csv
logistic-separation.html (R output)
Fox effect on sex ratio What is the impact of predation control on sex ratio
Logistic regression with random effects.
This is the sacrificial pseudo-replication example of Hurlbert (1984)
foxes.sas     foxes.csv
foxes.pdf
foxes.jmp
foxes-JMP-ttest.pdf (JMP output using t-test)
foxes-JMP-glm-over.pdf (JMP output GLM with overdispersion)
foxes.r     foxes.csv
foxes.html (R output)
Seed germination What factors influence seed germination
Logistic regression; overdispersion; quasi-binomial; random effects.
germination.sas     germination.csv
germination-SAS.pdf (SAS Output)
germination.jmp
germination-JMP-lm.pdf (Simple model)
germination-JMP-glm.pdf (GLM with overdispersion)
germination.r     germination.csv
germination.html (R Output)
Mosquito choice - single treatment Example of binary preference model.
Logistic regression; overdispersion; quasi-binomial; random effects.
mosquitos.sas     mosquitos.csv
mosquitos-SAS.pdf (SAS Output)
mosquitos.jmp
mosquitos-JMP-ttestp.pdf (t-test on empirical proportions) mosquitos-JMP-ttestlogit.pdf (t-test on empirical logits) mosquitos-JMP-glmquasi.pdf (GLM with overdispersion)
mosquitos.r     mosquitos.csv
mosquitos.html (R Output)
Mosquito choice - multiple treatments Example of binary preference model comparing several treatments in complete blocks.
Logistic regression; overdispersion; quasi-binomial; random effects.
mosquitos2.sas     mosquitos2.csv
mosquitos2-SAS.pdf (SAS Output)
mosquitos2.jmp
mosquitos2-JMP-ttestp.pdf (t-test on empirical p's) mosquitos2-JMP-rcbp.pdf (RCB on empirical p's) mosquitos2-JMP-ttestlogit.pdf (t-tests on empirical logits) mosquitos2-JMP-rcblogit.pdf (RCB on empirical logits) mosquitos2-JMP-glmquasi.pdf (GLM with overdispersion)
mosquitos2.r     mosquitos2.csv
mosquitos2.html (R Output)
Mosquito choice - multiple treatments Example of binary preference model comparing several treatments in INCOMPLETE blocks.
Logistic regression; overdispersion; quasi-binomial; random effects.
mosquitos3.sas     mosquitos3.csv
mosquitos3-SAS.pdf (SAS Output)
mosquitos3.jmp
mosquitos3-JMP-rcbp.pdf (RCB on empirical p's) mosquitos3-JMP-rcblogit.pdf (RCB on empirical logits) mosquitos3-JMP-glmquasi.pdf (GLM with overdispersion)
mosquitos3.r     mosquitos3.csv
mosquitos3.html (R Output)
 
Salamanders after burn Relationship between number of salamanders and time since burn
Poisson regression
salamanders-burn.sas
salamanders-burn.pdf - output
salamanders-burn.txt - raw data
salamanders-burn.jmp
Skin Cancer Skin cancer rates in Minneapolis and Dallas
Poisson Regression
skincancer.sas
skincancer.lst
SAS code not yet available
skincancer.jmp
Insect Counts Do different treatments affect counts of insects in traps
Poisson regression with over dispersion
insectcount.sas
insectcount.lst
SAS code not yet available
insectcount.jmp
Horseshoe Crab What factors influence presence or absence of satellite male
Logistic regression; Poisson regression
crabsatellites.sas
crabsatellites.lst
SAS code not yet available
crabsatellites.jmp
 
AR simulation AR(3) simulation model of time series. ARsimulation.sas
ARsimulation.lst
pdf output (acf, iacf, pacf)
ARsimulation.jmp
MA simulation MA(3) simulation model of time series. MAsimulation.sas
MAsimulation.lst
pdf output(acf, iacf, pacf)
MAsimulation.jmp
 
Power analysis Power analysis; sample size determination; complex experimental designs. Link to examples of power analysis in complex experimental designs
 
Maximum Likelihood Estimation Some illustrations of computing MLEs Sample spread sheets illustrating how to numerically compute MLEs
 
SAS tricks and tips Using the Editor; Getting SAS output into LaTex
Refer to this document for details
Getting output from SAS to LaTeX
Modified LateX tagset to get stacked column headers
Zip archive of this directory contents
 
Multivariate, Redundancy Analysis (RDA) Legendre and Legendre, Numerical Ecology, Table 11.3
Fish abundance vs. Subtrate on a coral reef
The vegan package is available in CRAN
The rdaTest package needs to downloaded and installed using the command line. Refer to the R code.
fishrda.sas
fishrda.pdf
Not possible in JMP fishrda.r
fishrda.csv


[ SFU Statistics & Actuarial Science Home | SFU Home]
Email comments or suggestions to Carl Schwarz (cschwarz@stat.sfu.ca)
© 2012 Carl James Schwarz Last updated 2011-12-19