Daily Log for Stat 5660

Applied Nonparametric Statistics

Spring Term 2018

- Jan. 9: We begin with Chapters 1 and 2 of the text. Chapter 1 is on R while Chapter 2
is a review of some nonparametric methods some of which you encountered in your mehods course.
Chapter 1 contains an intro on R.

- For Thursday, Jan 11, read Chap 2. Try to get R running on your computer.
We will discuss some more R then start working through Chap 2.

For the class R scripts click here.For the first project Click here. It is due 18 Jan 2018. It is a straightforward R project. Do your own work.

- For Tuesday, 20180116, we will continuw working on Chapter 2.
- For Thursday, 20180116, we will continue working on Chapter 2, (sections 2.2, 2.3).

For class discussion do exercises: 2.8.13; 2.8.14; and 2.8.25.

**Either hand-in your project during class or e-mail it to Guahao**, guohao.zhu@wmich.edu - For the second project Click here. It is due 25 Jan 2018.

For class discussion on Tuesday do problem 2.8.5 by doing the CI as we have discussed. Here is a simple story on the bootstrap click here.. Read the story and the book and try to do a percentile bootstrap CI.

- For the second project Click here. It is due 25 Jan 2018.

Although I forgot to save the R script for Thursday's class,**I have put up a script for Problem 2.8.14 along with a two-sided test HERE.** - For Thursday, 20180123, for class discussion: 2.8.7, 2.8.8, 2.8.9 (use sign),

prob1 20180123: Obtain the sample by

x = 20*rcauchy(50)+50

- Boxplot the data.
- Use the sign test and the t-test to test that the median of the population is 60 versus the two-sided
alternative. (The true median is 50).
Use the R function
onesampsgn

to do the sign analysis. Can download and source under Rfunction's link on the main page. - Obtain estimates and 95% CI's using the sign and t procedures.
- Which analysis seems best here? Why

- For the third project Click here. It is due 1 Feb 2018.

We will finish Chapter 2 and begin Chapter 3 on Tuesday.

For discussion, Exercise 2.8.12, p. 44. - For Thursday install two packages in R. The packages are Rfit and npsm.
They are at CRAN so on a pc the following command should work:
In R, type the commands:
install.packages('Rfit') install.packages('npsm') library(Rfit) library(npsm)

If you are running linux, get into R with: sudo RThis info is also at this site.

Read Chapter 3, sections 3.1 and 3.2.

For discussion: 2.8.15.

- For the fourth project Click here. It is due 8 Feb 2018.

Here are some notes on IO (input and output) for R Click here . We will discuss IO on Tuesday but you may want to strating writing out stuff to be used later.

For Tuesday: Read Chapter 3. - For Thursday, Feb. 8, continue reading Chapter 3 through Section 3.4.

For class discussion do Exercises 3.7.1 and 3.7.4 (all but bentscores in Part (c)). For the temperature data by gender, using the Wilcoxon analysis, test to see if the temperatures of male and females are the same and determine the estimate of shift in temperature with a 95% CI. - For the fifth project Click here. It is due 15 Feb 2018.

- We should finish Chapter 3 on Tuesday, Feb. 13.
- The due time of a project is midnight of the day that it is due. After that, 10 points per day will be deducted for each day late.
- For the sixth project Click here. It is due 22 Feb 2018.

- Tuesday 20180220, read thru Chap 4. For discussion consider Problem 4.9.6.