contact: phil benjamin: [email protected] [email protected] web site for this...
TRANSCRIPT
![Page 1: Contact: Phil Benjamin: philip.benjamin@rutgers.edu philip.benjamin@rutgers.edu Web site for this presentation: eden.rutgers.edu/~pmben Office hour: Wed:](https://reader036.vdocuments.us/reader036/viewer/2022072017/56649f075503460f94c1cae7/html5/thumbnails/1.jpg)
Contact:• Phil Benjamin:
[email protected]• Web site for this presentation:
eden.rutgers.edu/~pmben• Office hour: Wed: 2-3 pm in Hill-551Syllabus:• Computer assignments 5% of grade but must
be submitted!• Note dates on syllabus for submission• Note format on syllabus for submission
![Page 2: Contact: Phil Benjamin: philip.benjamin@rutgers.edu philip.benjamin@rutgers.edu Web site for this presentation: eden.rutgers.edu/~pmben Office hour: Wed:](https://reader036.vdocuments.us/reader036/viewer/2022072017/56649f075503460f94c1cae7/html5/thumbnails/2.jpg)
Format for Computer Assignments1. Brief statement of problem
i. Short verbal description (can be a few sentences)ii. State any assumptions about the problem.
2. Solution of the problem:i. State specific statistical tests that will be performed.ii. State null hypothesis and alternate hypothesis if
appropriate.iii. Refer to computer printout for all data used for your
conclusion (circle or highlight appropriate data).iv. State your conclusion in terms of the original problem
statement.
3. (Appendix 1): Data listing4. (Appendix 2): Computer printout from software
![Page 3: Contact: Phil Benjamin: philip.benjamin@rutgers.edu philip.benjamin@rutgers.edu Web site for this presentation: eden.rutgers.edu/~pmben Office hour: Wed:](https://reader036.vdocuments.us/reader036/viewer/2022072017/56649f075503460f94c1cae7/html5/thumbnails/3.jpg)
Statistical Software• Rutgers computer labs have both general purpose
mathematical software and statistical software packages.• Rutgers website software.rutgers.edu has software
packages you can download cheaply if desired.• If you are already familiar with a software package, feel free
to use it. (For example, many people already know how to use Excel.)
Computer printout• If you use “command line” software (such as R, Stata, SAS,
etc.) show the commands used and the results.• If you use menu drive software (such as SPSS or Excel), just
show computer printout.• In either case, circle or highlight values in printout used for
conclusion.
![Page 4: Contact: Phil Benjamin: philip.benjamin@rutgers.edu philip.benjamin@rutgers.edu Web site for this presentation: eden.rutgers.edu/~pmben Office hour: Wed:](https://reader036.vdocuments.us/reader036/viewer/2022072017/56649f075503460f94c1cae7/html5/thumbnails/4.jpg)
Getting started on the first assignment• Due on Friday, March 6• Note: the assignment is Example 4.5.4, not Exercise 4.5.4.
(Other assignments are Exercises, not Examples)• Data for some problems available on author website:
biz.uiowa.edu/faculty/jledolter/AppliedStatistics• You have the complete solution in the textbook so your
conclusion should match that.• A t-distribution critical value is shown in the textbook. If
you use that value for your conclusion, derive it using your chosen software, not from the textbook or a table.
• Many software packages return a p-value rather than a critical value. Use either approach but not both!
![Page 5: Contact: Phil Benjamin: philip.benjamin@rutgers.edu philip.benjamin@rutgers.edu Web site for this presentation: eden.rutgers.edu/~pmben Office hour: Wed:](https://reader036.vdocuments.us/reader036/viewer/2022072017/56649f075503460f94c1cae7/html5/thumbnails/5.jpg)
Hints for using Excel:
• Statistical tools on menu under Data -> Data Analysis• May need to activate this capability first
File -> Options -> Add-Ins ->Analysis Tool-Pak -> “Go …”Analysis Tool-Pak -> “OK”
• Watch YouTube video:“Conducting a one sample t test in Microsoft Excel 2010”This shows two different ways to do this assignment.
• Be careful about one-sided tests!Many software packages use two-sided testsIf support for one-sided test, make sure it’s the “side” you want!
• For your assignment, copy and paste data and test results.You don’t need to mention details about menu options
![Page 6: Contact: Phil Benjamin: philip.benjamin@rutgers.edu philip.benjamin@rutgers.edu Web site for this presentation: eden.rutgers.edu/~pmben Office hour: Wed:](https://reader036.vdocuments.us/reader036/viewer/2022072017/56649f075503460f94c1cae7/html5/thumbnails/6.jpg)
Hints for using R:• R is a command line system• Google: “One and Two Sample t tests”• Enter data and store in a variable (or read.csv from file):
deflections <- c(0.0132,0,0138,…)• Execute t test
t.test(deflections,…)• For your assignment, copy and paste your commands and results
Hints for using Stata:• Stata has both command line and “point and click” capabilities• Stata is freely available to download for Rutgers students• Command lines:
. Import data
. ttest == mean
![Page 7: Contact: Phil Benjamin: philip.benjamin@rutgers.edu philip.benjamin@rutgers.edu Web site for this presentation: eden.rutgers.edu/~pmben Office hour: Wed:](https://reader036.vdocuments.us/reader036/viewer/2022072017/56649f075503460f94c1cae7/html5/thumbnails/7.jpg)
Hints for using SPSS:• SPSS is both a command line and “point and click” system• Google: “One Sample t test in SPSS” (YouTube Video)• Import data or type it in• Execute t test: Analyze -> Compare Means -> One Sample T Test• Be careful! This is a two-tailed test, you wanted a one-tail test!• For your assignment, copy and paste the output file
Hints for using SAS:• SAS is a command line system• Google “One sample t test in SAS”• Import or type in data• Be careful about one-tail and two-tail options• For your assignment, copy and paste the output file
![Page 8: Contact: Phil Benjamin: philip.benjamin@rutgers.edu philip.benjamin@rutgers.edu Web site for this presentation: eden.rutgers.edu/~pmben Office hour: Wed:](https://reader036.vdocuments.us/reader036/viewer/2022072017/56649f075503460f94c1cae7/html5/thumbnails/8.jpg)
Summary
• Hand in assignments on time!• Demonstrate that you used the software to do
the calculation.• Demonstrate that you can interpret the output
of the software in the context of the problem to be solved.
![Page 9: Contact: Phil Benjamin: philip.benjamin@rutgers.edu philip.benjamin@rutgers.edu Web site for this presentation: eden.rutgers.edu/~pmben Office hour: Wed:](https://reader036.vdocuments.us/reader036/viewer/2022072017/56649f075503460f94c1cae7/html5/thumbnails/9.jpg)
Assignment Schedule
Due date Description1 March 6 Example 4.5.42 March 27 Exercise 4.6.83 April 17 Exercise 6.2.2(a)4 April 24 Exercise 7.1.9 (a)5 May 1 Exercise 8.3.5 (b,c)