Monday, February 28, 2011

Solution to Example 6 in Lab 5 Notes

This example is similar to question 3 in the Lab Assignment 5. The solution is posted in WebCt. I thought I could upload a document here but it only works for pictures or videos. Here is the SAS program: DATA Example6;
input Farm VarietyA VarietyB;
diff=VarietyA-VarietyB;
datalines;
1 48.2 41.5
2 44.6 40.1
3 49.7 44.0
4 40.5 41.2
5 54.6 49.8
6 47.1 41.7
7 51.4 46.8
;

title Paired t-test comparison;
proc print data=Example6;
run;

*you can perform a t-test using Proc ttest;
proc ttest data=Example6;
var diff;
run;

Sunday, February 13, 2011

Creating a SAS file after importing data into SAS

There are a few ways to do this. For me I usually just read the data in and work from there, (refer to Question 1 of Assignment 1 for how to read in the GunDeaths file)

If you import the data, then after your data is imported successfully, SAS will create a temporary SAS file in the WORK folder. From there, you can perform one of the two actions below to obtain that temporary SAS file:
1. Upload the data file to the SAS Server or
2. Down load the data file to your PC (recommended)

To Download Data file to your PC, follow the two steps in the wizard. To do this, in the OuputData, select Data, then select Download Data Files to PC and follow the steps:

Step 1: "Select the SAS data file to copy to your PC"
  • Click on ADD
it will take you to a folder called WORK.
In this WORK folder you should see the name of the file that you imported,
say MyFile. SAS creates a genuine SAS file with the same name with the ending .sas7bdat.
Your new file will be MyFile.sas7bdat
  • Select the SAS file and click OPEN
  • Click NEXT to go to the second step
Step 2: "Select the folder for the SAS data set on your PC
  • Click on Browse to save the file in your desired folder, say MyFolder
  • Select Finish
You now have a SAS file MyFile.sas7bdat in MyFolder. You can open or read this file into SAS.

Saturday, February 12, 2011

Grades for Lab 02 assignment

Hello everyone,

We are aware that not everyone is able to see their grades for Lab 2 on WebCt. Please don't panic. Amy assured us that she would post all the scores by next weekend. She will also post a grading rubric for each lab from now on. According to her, she is currently experiencing a huge volume of papers to grade. We wish she had communicated with us more frequently and much earlier.

If you have not picked up your graded papers, you can do so during my office hours or in class on Tuesday. We may ask Amy to hold some office hours so that she can answer your questions in person if needed.

Friday, February 11, 2011

Revision of notation

Please notice the change in slide 3 of Lab 3 Notes on
  1. Sample SD and
  2. Standard Error of the Mean
Let me know if you have any questions.

Wednesday, February 9, 2011

Notes for Lab 4 posted

Hello everyone,

The two sets of notes for Lab 4 have been posted. The Lab notes this week are kind of long. Please read ahead if possible and bring a copy of the new assignment (Lab 4) to follow along in lab or when you view the recording.

Does anyone miss SAS? I am preparing some activities for SAS in case we have extra time. Otherwise, I will post the programs on WebCt. You can play with them when you have some time to kill o:).

Best regards,

Tuesday, February 8, 2011

Extra Credit

Hello everyone,

The 10-point extra credits for commenting on SDM have been posted. If you only signed with your first name, you may not see your score there. I tried to figure out your last name but in the case more than two people with the same first name in class, your score was not recorded. Email me your full name so I can fix that.

Confidence Interval Calculator

http://www.dimensionresearch.com/resources/calculators/conf_means.html

You can use this website to check some (not all) of your answers in Lab 3. Check it out. Explore the site and share your findings and opinions.
Publish Post

Sunday, February 6, 2011

Lab grading and related issues

Dear students,

As a student posted her comment on the grading issue on this blog, I decided to use this forum to write about this matter.

Over the last four weeks, Dr. Shelley and I have received quite a few questions regarding grades, posting of grades and related issues. We usually responded by asking you to send your inquiries to Amy directly. However, we are also aware that many of you have continued to experience a "silent treatment" from Amy. Please do not feel that you are alone. We too experience the same treatment. Quite a few of my email messages to her went unanswered.

My suggestion for you at this point is to keep trying. Include Dr. Shelley and me in the email if you like. If your questions are not resolved or an issue still persists, please keep us informed. We will try to work with Amy to bring more communication and "visibility" either on-line or off-line.


Sincerely,

Thursday, February 3, 2011

Lab Notes and Clarification on question 1b of Lab 3

Hello everyone,

Annotated Notes for Lab 2 and Lab 3 were posted. However, I need to clarify a point in question 1b of Lab 3. My explanation for 1b in Lab tonight was not accurate. I misread the question.

Question 1b: You decide that this interval is too wide, and would like to have one that is only half as wide. How large a sample size would you need? Show how you got this result.

Suggestion: You will need to cut the interval obtained from (a) in half first before finding the new half-width. So the new sample size should be larger than the original sample. The new n should not be 100 as the original n.

YouTube Video on Confidence Interval

Excellent explanation on Confidence Interval

http://www.youtube.com/watch?v=Hn6C21GC0vA&NR=1

YouTube video on Margin of Error and Confidence Interval

Hi Everyone,

This video is very useful for lab 3. Watch this before lab tonight if possible.

http://www.youtube.com/watch?v=Vw7-HZ9g8Gs

Wednesday, February 2, 2011

Happy Lunar New Year

On the lunar calendar, today is New Year Eve. Many Asian countries celebrate Lunar New Year as their most important holiday of the year. Chinese people refer to this holiday as Spring Festival. It is more commonly known by the Vietnamese people as Tet Nguyen Dan or Tet for short. Regardless of the different names, the first day of the festival starts tomorrow, Feb 3rd, 2011. In Vietnam (where I came from) we celebrate this day with re-union of families, friends and relatives.

Please join me in celebrating the Lunar New Year. Warm wishes to all for a happy Year of the Rabbit.

Trang



Interesting Websites on this holiday

http://en.wikipedia.org/wiki/T%E1%BA%BFt

http://www.arirang.co.kr/News/News_View.asp?nseq=112170&code=Ne2&category=2