Computer Lab Assignment Packet

advertisement
Computer Lab
Assignment Packet
Updated 8/19/2011
v4
Using StatCrunch
In order for you to complete the computer labs using StatCrunch, you will need to complete three steps
with StatCrunch.
1. Create Your StatCrunch Account
2. Know How to Enter Data
3. Know How to Print Output
The notes that correspond to these videos are below. Once you have completed these videos, you may
proceed to the video and directions for completing Lab #1.
Creating Your StatCrunch Account
1. Open a web browser (Mac users should use Safari) and enter the URL for StatCrunch:
www.statcrunch.com
2. Click Subscribe
3. This will take you to a special registration screen. Select one of the STUDENT options. Create
whatever ID and password you are comfortable with. You will need to pay for a subscription of $12
for 6 months with a credit card or PayPal.
Lab Packet—Page 1
Entering Data
1. Open a web browser (Mac users should use Safari) and enter the URL for StatCrunch:
www.statcrunch.com
2. At the Sign In screen, enter ID and Password. Click Sign In!
3. Click Open StatCrunch.
This will take you to the data screen, which is set up like a spreadsheet with columns and rows. Columns
represent separate variables, while rows represent individuals.
4. To enter data, click on the first cell under var1 and next to row 1. Enter the number and press
return. Pressing return will automatically move your cursor down to the next cell under var1.
Continue to enter data for var1.
5. You may change the variable name by clicking on var1 and hitting backspace or delete until the letters
of “var1” have been removed. But I recommend keeping the variables labels of var1, var2, etc.
This will help in later assignments.
6. Once all data has been entered, you may conduct the appropriate test.
Lab Packet—Page 2
Printing Output
1. Every time you conduct an analysis, output will be generated in a separate output screen.
2. Within each output screen, you need to click Options and select Export to My Results
(Save/Copy/Print).
3. On the next screen, click Export.
4. Your output should now be placed in My Results Folder. So go back to your data screen and Click on
the menu My StatCrunch, and select My Results.
5. You should see a portion of your output in My Results. Click on the link for the particular results you
want to print or copy.
6. You now should see the entire output file. You have three options: Copy, Print, Mail. If you select
Copy, your output will be copied to the clipboard so you can just paste into a Word document, like you
computer lab assignment.
Lab Packet—Page 3
Computer Lab Advice
• Each Computer Lab Assignment includes an answer sheet and StatCrunch
directions.
• You will need to submit the answer sheet. I recommend copying and pasting the
answer sheet into a new Word document.
• Look over the answer sheet so that you understand the scenario and what is being
asked.
• Proceed to follow the step-by-step StatCrunch directions and screen shots.
• When entering data, follow how the data is presented in the scenario by entering
data in a spreadsheet format. For example, for Lab #1 you are given two columns
of data to enter. In StatCrunch, it would look like this.
Group
1
1
1
1
1
1
1
1
1
1
2
2
2
2
2
2
2
2
2
2
Satisfaction
35
42
53
26
77
52
22
61
68
44
21
33
58
62
29
41
19
27
52
37
• Paste your StatCrunch output into your Word document with the answer sheet,
since you need to submit your output as well. Use the output to complete the
answer sheet.
• Type in your answers in the answer sheet. Don’t worry about special formatting,
such as greek letters (µ, σ) or less than/equal to symbols (≤), just use M for µ.
Lab Packet—Page 4
Name:
8
Computer Lab #1 Answer Sheet
Frequency Distributions, Central Tendencies & Variability
A psychologist is studying gender differences in comfort with expressing
anger. Twenty participants (10 Males in Group 1, 10 Females in Group 2)
complete the Anger Expression Inventory, where a high score indicates
more comfort with expressing anger. Use the data to the right for analysis
in StatCrunch.
1. Reading the output, complete the table below. (2 pts)
n
M
SD
Group 1-Male
Group 2-Female
Total Sample
2. Review the frequency distribution of COMFORT w/ANGER scores
generated for the total sample. Following the rules in the course
packet, construct a grouped frequency histogram by hand (without
StatCrunch). Based upon YOUR histogram, identify the interval width,
number of intervals, and starting point below. You do not need to submit
your self-generated histogram!
a. interval width =
(1 pt)
b. # of intervals =
(1 pt)
c. starting point =
(1 pt)
Gender
Anger
1
1
1
1
1
1
1
1
1
1
2
2
2
2
2
2
2
2
2
2
35
42
53
38
77
52
48
61
68
44
21
33
58
62
29
41
44
27
52
37
d. Compare YOUR histogram to the one generated by StatCrunch. Based upon the rules in
the course packet, which histogram provides a more accurate picture of the distribution
of satisfaction scores? Why? (1 pt)
3. Review the descriptive statistics that compare the two groups. Which group is more
comfortable expressing anger? What statistics support your conclusion? (1 pt)
4. StatCrunch output included. (1 pt)
Lab Packet—Page 5
Directions for Computer Lab #1
Getting Started
1.
2.
3.
4.
Open StatCrunch at: http://www.statcrunch.com
Enter StatCrunch ID and password.
Click Sign in!
Click Open StatCrunch.
5. Enter gender (IV) data in first column as var1. So column 1 should have ten 1’s and ten 2’s.
6. Enter anger (DV) data in second column as var2. Column 2 should have twenty anger scores.
Directions for Data Analysis
Part 1—Descriptive stats of DV by Group
(use this output for the table in Lab item #1)
• Click the Stat menu.
• Click Summary Statistics and select
Columns.
•
•
•
•
Click var2.
Next to Group By and select var1.
Make sure that Table groups for each column is checked.
Click Calculate.
Part 2—Descriptive Stats for Total Sample (use this output for the
table in Lab item #1).
• Click the Stat menu.
• Click Summary Statistics and select Columns.
• Click var2.
• Click Calculate.
Directions continue on the next page!!!!
Lab Packet—Page 6
Part 3—Grouped Frequency Histogram for Total Sample
• Click Graphics.
• Click Histogram.
• Click on var2.
Your output should look similar to the output below. But keep in
mind, the results will be different since you are using different
data.
Practice Lab #1 Example Output
Summary statistics for var2 grouped by var1 (this table was generated from Part 1 directions)
var1
n
Mean
1
9
29.333334
2
8
3
13
Variance
Std. Dev.
Std. Err.
Median
Range
Min
Max
42
6.4807405
32.75
101.92857
35.846153
74.14103
Q1
Q3
2.1602468
30
18
21
39
25
33
10.095968
3.5694637
31.5
26
22
48
23.5
41
8.610518
2.388128
38
27
22
49
36
40
Summary statistics (this table was generated from Part 2 directions)
Column
var2
n
Mean
Variance Std. Dev. Std. Err. Median Range Min Max Q1 Q3
30 33.066666 74.68506
8.642052 1.5778155
34.5
28
21
Grouped Frequency Histogram of Reading for Total Sample
from Part 3 directions)
Lab Packet—Page 7
49
25
39
(this histogram was generated
Name:
/ 10
Computer Lab #2 Answer Sheet
One Sample z Test
Woodstock Middle School has many English as a Second Language (ESL) students, all of whom
are integrated into both the regular Science and Math courses with no extra ESL support for
these subjects. The science teacher is interested in determining if there is a significant
difference between the science achievement scores of ESL students compared to the norm,
which has been identified as µ=40 and σ=4. The science teacher collected the science
achievement data from 16 randomly selected 8th grade ESL students. Do ESL students score
significantly different in science achievement from the norm? Use the Science Score data
below to analyze in StatCrunch. Test at the .05 level
1.
a. Independent Variable:
b. Scale?
(1 pt)
Categorical
Quantitative
2. a. Dependent Variable:
b. Scale?
3. Circle:
(1 pt)
Categorical
One-tailed
Quantitative
Two-tailed
(.5)
4. Write the alternative hypothesis in sentence form. (1 pt)
Science
Scores
40
38
41
42
42
33
47
37
38
40
5. Write the null and alternative hypotheses using correct notation. (1 pt)
H1:
H0:
6. What are the values for each of the following? (1.5 pts)
a. sample mean =
39
42
43
49
48
50
b. p value =
c. zcalculated =
7. Based on the results of the hypothesis test,
a) Do you reject the null or fail to reject the null? Explain your decision. (1 pt)
b) Using proper notation, write the conclusion and results as if they were going to be reported in a
manuscript. (2 pts)
8. StatCrunch output included. (1 pt)
Lab Packet—Page 8
Using StatCrunch for a z- test
Computer Lab #2
Getting Started
1. Open StatCrunch at: http://www.statcrunch.com
2. Enter StatCrunch ID and password.
3. Click Sign in!
4. Click Open StatCrunch.
5. Enter science data in first column as var1.
Directions for Data Analysis
1. Click the Stat menu.
2. Click Z Statistic, One sample,
with data.
3. Click on var1.
4. Enter population standard deviation. For our
problem it is 4.
5. Click Next.
6. Enter population mean. For our problem it is 40.
7. Select appropriate hypothesis test by indicating
the appropriate hypothesis notation (two-tailed or
one-tailed). In our scenario, the researcher is
predicting that her group will be different from
the norm (two-tailed), so we select the “not equal”
(≠) symbol.
8. Click Calculate.
Lab Packet—Page 9
11
Name:
Computer Lab #3 Answer Sheet
One Sample t Test
A school psychologist wants to examine the effects of excessive television viewing on reading
ability. It is known that the average number of words read per minute for a fourth grade
student is µ =52. The psychologist has students log the number of hours one watches TV for
two weeks. Fifteen students are selected because each averages 3 or more hours of television
viewing each night. Can the school psychologist conclude that excessive television viewing
decreases reading ability? Use the reading data below to analyze in StatCrunch. Test at the
.05 level.
1.
a. Independent Variable:
b. Scale?
(1 pt)
Categorical
Quantitative
2. a. Dependent Variable:
b. Scale?
3. Circle:
(1 pt)
Categorical
One-tailed
Quantitative
Two-tailed
(.5 pt)
4. Write the alternative hypothesis in sentence form. (1 pt)
5. Write the alternative and null hypotheses using correct notation. (1 pt)
H1:
H0:
6. What are the sample values for each of the following? (2.5 pts)
a) mean =
Reading
53
46
44
38
57
52
37
34
38
50
51
46
45
39
49
b) degrees of freedom =
c) standard error =
d) tcalculated =
e) p value=
7. Based on the results of the hypothesis test,
a) Do you reject the null or fail to reject the null? Explain your decision. (1 pt)
b) Using proper notation, write your conclusion and results as if they were going to be reported in a
manuscript. (2 pts)
8. StatCrunch output included. (1 pt)
Lab Packet—Page 10
Using StatCrunch for a Single Sample t- test
Computer Lab #3
Getting Started
1. Open StatCrunch at: http://www.statcrunch.com
2. Enter StatCrunch ID and password.
3. Click Sign in!
4. Click Open StatCrunch.
5. Enter reading data in first column as var1.
Directions for Data Analysis
1. Click the Stat menu.
2. Click T Statistics, One
Sample, with data
3. Click on var1.
4. Click Next.
5. Enter population mean. For our scenario, the
population mean is 52.
6. Select appropriate hypothesis test by indicating the
appropriate hypothesis notation (two-tailed or onetailed). Since the hypothesis is predicting that the
sample will be lower (one-tailed), we select the “less
than” (<) symbol.
7. Click Calculate.
Lab Packet—Page 11
/13
Name:
Computer Assignment #4 Answer Sheet
Independent Samples t Test
A school psychologist wants to know if high school male athletes have a greater concern
for their body shape than male non-athletes. The school psychologist uses a scale called
the Attention to Body Shape Scale. This measures a participant’s opinion of their body
shape on a 5-point Likert scale with seven different items. The items are added
together to give a mean score between one and five. A higher overall score shows that
the participant has more concern for their body shape. A sample 32 high school
students were given the Attention to Body Shape Scale (Group 1=16 athletes, Group
2=16 non-athletes). Can you conclude that high school male athletes are more concerned
with their body shape than non-athletes? Test at the .05 level.
1.
a. Independent Variable:
b. Scale?
(1 pt)
Categorical
Quantitative
2. a. Dependent Variable:
b. Scale?
3. Circle:
(1 pt)
Categorical
One-tailed
Two-tailed
Quantitative
(.5)
4. Write the alternative hypothesis in sentence form. (1 pt)
Group
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
2
2
2
5. Write the null and alternative hypotheses using correct notation. (1 pt)
H 0:
H1:
2
2
6. What are the values for each of the following? (3.5 pts)
a. Group 1 mean =
b. Group 1 standard deviation =
c. Group 2 mean =
d. Group 2 standard deviation =
e. degrees of freedom =
f. p-value =
g. tcalculated =
2
7. Calculate effect size (r ) =
2
2
2
2
2
2
(1 pt)
8. Based on the results of the hypothesis test,
a.
2
Do you reject the null or fail to reject the null? Explain. (1 pt)
2
2
2
2
b. Using proper notation, write your conclusions and results as if they were going to be reported in a
manuscript. (2 pts)
9. Statcrunch output included. (1 pt)
Lab Packet—Page 12
Body
3.8
4.2
3.6
2.8
4.1
4.3
4.1
2.6
5.0
4.2
3.2
3.2
4.5
4.6
3.3
2.9
3.4
3.2
2.1
1.9
4.1
3.2
1.6
2.2
2.8
2.5
3.2
3.2
4.0
2.5
2.5
2.1
(2 pt
Using StatCrunch for a t- test of Independent Samples
Computer Assignment #4
Getting Started
1. Open StatCrunch at: http://www.statcrunch.com
2. Enter StatCrunch ID and password.
3. Click Sign in!
4. Click Open StatCrunch.
5. Enter group data in first column as var1.
6. Enter body score data in second column as var2.
Part 1: Directions for Data Analysis
1. Click Stat menu.
• Select T Statistics, Two
Sample, with data
2. Define samples.
• Indicate that Sample 1 is var2, where var1=1
(do not include any spaces)
• Indicate Sample 2 is var2, where var1=2
• Click Next.
3. Select appropriate hypothesis test by indicating the
appropriate hypothesis notation (two-tailed or onetailed). For our scenario, we are predicting that
Group 1 will be greater than Group 2 (one-tailed).
Since the mean difference is calculated by m1-m2,
we predict that the mean difference will be greater
(>) than 0.
4. Click Calculate.
Lab Packet—Page 13
Part 2: Directions for Descriptive Stats for Lab #4 (this step will calculate descriptive
statistics for each group)
1. Click the Stat menu
• Select Summary Stats, click Columns.
2. Under Select Columns, click var2.
• Under Group By, select var1.
3. Click Calculate.
Lab Packet—Page 14
Name:
/ 10
Computer Assignment #5 Answer Sheet
Related Samples t-Test
A school psychologist would like to examine the effects of physical activity on ADHD symptoms
in a male student population. A sample of 16 subjects is obtained. Each participant’s ADHD
symptoms are rated via the CRS-R, an autism diagnostic rating scale, both before and after a 4
week enrollment in an after-school sports program. Does physical activity significantly affect
ADHD symptoms? Test at the .05 level. (10 pts)
1. a. Independent Variable =
b. Scale (circle):
(1 pt)
Categorical
Quantitative
2. a. Dependent Variable =
b. Scale (circle):
3. Circle:
(1 pt)
Categorical
One-tailed
Quantitative
Two-tailed
(1 pt)
4. Alternative hypothesis in sentence form. (1 pt)
5. Write the alternative and null hypotheses using correct notation. (1 pt)
H1:
H 0:
6. tcalculated =
(.5 pt)
7. Level of significance (p) =
Before
16
18
16
20
24
17
21
27
18
16
19
22
18
26
25
16
After
14
19
13
19
19
17
16
20
13
13
19
16
14
20
24
15
(.5 pt)
8. Based on the results of the hypothesis test,
a. Do you reject the null or fail to reject the null? Explain. (1 pt)
b. Using proper notation, write your conclusions and results as if they were going to be
reported in a manuscript. (2 pts)
9. Statcrunch output included. (1 pt)
Lab Packet—Page 15
Using StatCrunch for a t- test of Related Samples
Computer Assignment #5
Getting Started
1. Open StatCrunch at: http://www.statcrunch.com
2. Enter StatCrunch ID and password.
3. Click Sign in!
4. Click Open StatCrunch.
5. Enter before (pre) data in first column as var1.
6. Enter after (post) data in second column as var2.
Directions for Data Analysis
1. Click the Stat menu
• Select T Statistics, and Paired
2. Indicate that Sample 1 is var1
o Indicate that Sample 2 is var2
o Click Next
3. Select appropriate hypothesis test by indicating the
appropriate hypothesis notation (two-tailed or onetailed). For our example, we are predicting that there
will be a difference (two-tailed), so we will select the
default of “not equal” (≠).
4. Click Calculate.
Lab Packet—Page 16
Name:
/5
EXTRA CREDIT Computer Assignment Answer Sheet #1
Coke vs Pepsi: Independent Samples t-Test
Use the Coke/Pepsi data from the class activity to complete this extra credit assignment.
Conduct a t test of independent samples to determine if diet drinkers (when compared to
regular drinkers) are more accurate in tasting the difference between Coke and Pepsi.
Test at the .05 level.
a. Independent Variable =
Scale (circle): Categorical Quantitative (.5)
b. Dependent Variable =
Scale (circle): Categorical Quantitative (.5)
c. Circle:
One-tailed
Two-tailed (.5)
d. Alternative hypothesis in sentence form. (.5)
e. Write the alternative and null hypotheses using correct notation. (.5)
H1:
H 0:
f. tcalculated =
h. Circle:
(.5)
reject null
or
g. Level of significance (p) =
fail to reject null
(.5)
(.5)
i. Using proper notation, write your conclusion and results as if they were going to be reported
in a manuscript. (.5)
j. effect size =
(.5)
Lab Packet—Page 17
Name:
/5
EXTRA CREDIT Computer Assignment Answer Sheet #2
Coke vs Pepsi: Related Samples t-Test
Use the Coke/Pepsi data from the class activity to complete this extra credit assignment.
Conduct a t-test of Related Samples to determine if one’s prediction of ability (for tasting
the difference between Coke and Pepsi) significantly differs from one’s actual ability of
tasting the difference. Think of your prediction of taste ability as a pre-test and the actual
taste ability as the post test. Test at the .05 level.
a. Independent Variable =
Scale (circle): Categorical Quantitative (.5)
b. Dependent Variable =
Scale (circle): Categorical Quantitative (.5)
c. Circle:
One-tailed
Two-tailed
(.5)
d. Alternative hypothesis in sentence form.(.5)
e. Write the alternative and null hypotheses using correct notation. (.5)
H1:
H 0:
f. tcalculated =
h. Circle:
(.5)
reject null
or
g. Level of significance (p) =
fail to reject null
(.5)
(.5)
i. Using proper notation, write your conclusion and results as if they were going to be reported
in a manuscript. (1)
Lab Packet—Page 18
StatCrunch Directions for
Coke/Pepsi Experiment
Part ID
Getting Started
1. Open StatCrunch at: http://www.statcrunch.com
2. Enter StatCrunch ID and password.
3. Click Sign in!
4. Click Open StatCrunch.
5. Enter Preference data in var1 column
Enter Predict% data in var2 column
Enter Actual% data in var3 column
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Preference
(var 1)
1
1
1
1
1
1
1
2
2
2
2
2
2
2
2
Directions for Extra Credit #1:
t test of independent samples
1. Click the Stat menu
• Select T Statistics, Two Sample, with data
o Indicate that Sample 1 is var3, where
var1=1
o Indicate that Sample 2 is var3, where
var1=2
2. Click Next
o Select appropriate hypothesis test by indicating the
Predict %
(var 2)
20
40
80
100
100
60
100
60
40
60
0
0
40
20
100
Actual %
(var 3)
20
60
20
100
60
80
80
20
0
40
40
60
40
100
0
appropriate hypothesis notation (two-tailed or onetailed).
3. Click Calculate.
Your data
Directions for Extra Credit #2: t test of related samples
goes here!
1. Click the Stats menu
• Under T Statistics, click Paired
o Indicate that Sample 1 is var2
o Indicate that Sample 2 is var3
2. Click Next
o Select appropriate hypothesis test by indicating the appropriate hypothesis
notation (two-tailed or one-tailed).
3. Click Calculate.
Lab Packet—Page 19
Name:
/ 12
Computer Assignment #6 Answer Sheet
ANOVA
A school psychologist believes that socio-economic status impacts a child’s IQ score. The school
psychologist took a sample of n=15 students and identified each as low (1), middle (2), or high
(3) socio-economic status based on their parents’ income. The psychologist then conducted a
standardized IQ test with each student and recorded his/her scores. Based on the results
below, does IQ score differ by SES group? Test at α=.01.
1. a. Independent Variable =
b. Scale (circle):
(1 pt)
Categorical
Quantitative
2. a. Dependent Variable =
b. Scale (circle):
(1 pt)
Categorical
Quantitative
3. Write the alternative hypothesis in sentence form. (1 pt)
4. Write the null and alternative hypotheses using correct notation. (1 pt)
H1:
H0:
5. What are the values for each of the following? (4 pts)
a.
Mean
St. Error
Group 1
Group 2
Group 3
b. p-value=
SES
1
1
1
1
1
2
2
2
2
2
3
3
3
3
3
IQ
91
75
74
88
80
94
88
86
90
92
99
95
89
96
94
c. Fcalculated =
6. Based on the results of the hypothesis test,
a. Do you reject the null or fail to reject the null? Explain your decision.
(1 pt)
b. Using proper notation, write the conclusion and results as if they were going to be reported in a
manuscript. (2 pts)
7. Statcrunch output included. (1 pt)
Lab Packet—Page 20
Using StatCrunch for ANOVA
Computer Assignment #6
Getting Started
1. Open StatCrunch at: http://www.statcrunch.com
2. Enter StatCrunch ID and password.
3. Click Sign in!
4. Click Open StatCrunch.
5. Enter SES data (IV) in var1 column.
6. Enter IQ (DV) data in var2 column.
Directions for Data Analysis
1. Enter IV (Group) data in var1 column
2. Enter DV data in var2 column
3. Click Stat menu
• Select ANOVA, One-Way
4. Check Compare Values in a Single Column
o Responses are in var2
o Factors are in var1
5. Click Calculate
Lab Packet—Page 21
/ 10
Name:
Computer Assignment #7 Answer Sheet
Correlation & Regression
A psychologist asserts that teens who experience more extra-curricular activities have higher
self-esteem. He measures the self-esteem of 20 high school students and documents the
number of hours per week they participate in extra-curricular activities. Is there a positive
relationship between number of hours per week of participation in extra-curricular activities
and self-esteem for high school students? Test at the .05 level. Also, calculate the regression
equation using amount of extra-curricular activities to predict self-esteem. Finally, if one
participates in 2 hours of extra-curricular activities, what is his/her predicted level of selfesteem?
1. Write the alternative hypothesis in sentence form. (1 pt)
2. Write the null and alternative hypotheses using correct notation. (1 pt)
H1:
H0:
3. Looking at the scatter plot, what type of relationship do you see? (1 pt)
• Direction (circle):
positive
negative
• Strength (circle):
weak
moderate
strong
4. What are the values for each of the following?
a) rcritical =
(.5 pt)
b) rcalculated=
(.5 pt)
c) When X is 2, what is the predicted value of Y?
(1 pt)
5. Develop the regression equation (1 pt):
6. Based on the results of the hypothesis test,
a) Do you reject the null or fail to reject the null? Explain your decision. (1 pt)
EC
hours
0
2
1
5
10
3
15
4
3
0
6
8
3
5
12
8
4
6
0
11
self
esteem
50
48
55
60
65
42
66
52
50
45
44
59
60
58
62
60
51
56
42
59
b) Using proper notation, write your conclusion and results as if they were going to be reported in a
manuscript. (2 pts)
7. Statcrunch output included. (1 pt)
Lab Packet—Page 22
Using StatCrunch for Correlation and Regression
Computer Assignment #7
Getting Started
1. Open StatCrunch at: http://www.statcrunch.com
2. Enter StatCrunch ID and password.
3. Click Sign in!
4. Click Open StatCrunch
5. Enter EC hours (IV) data in first column as var1.
6. Enter self-esteem (DV) data in second column as var2.
Directions for Data Analysis
1. Click Stat.
• Select Regression, Simple
Linear.
2. Identify variables
• Select var1 for X variable.
• Select var2 for Y variable.
Click Next.
Lab Packet—Page 23
3. On this next screen, just go with the defaults—
don’t change anything. Click Next.
4. Check Predict Y for X=
• Insert value for X (this step uses the
regression equation to predict Y when X
equals a specified value). For our scenario, we
use the value of 2.
• Click Next.
5. Check Plot the Fitted Line. Click Calculate.
Lab Packet—Page 24
Download