讲解Data Communication、辅导CS/Python程序、讲解Java/C++设计、讲解PEW
- 首页 >> Python编程Group Assignment 1 Data Communication
Internet: Utopia or Dystopia?
A number of scholars have pointed to the Internet for its deleterious effects on
human well-being, given that it can exacerbate loneliness, depression and social
isolation. In contrast, others believe that the Internet can enhance the quality of life
by precipitating the emergence of a new type of social aggregation. Using the data
collected by the PEW research center (dataset: “pew.csv”), perform a chi-square test
to see if Internet use (intuse: 1 Yes; 2 No; 8 Don’t know; 9 Refused) upgrades or
downgrades the quality of life (q1: 1 Excellent; 2 Very good; 3 Good; 4 Fair; 5 Poor; 8
Don’t know; 9 Refused). Do the data support the utopian or dystopian view about
the Internet
2
Gender and Racial Bias in Perceptions of Others’ Pain
A group of researchers at the University of Virginia investigated whether people
estimate a different level of pain when the race (i.e., White, Black, Hispanic, or
Asian) and gender (i.e., Female or Male) of a victim are varied. To test this idea, the
researchers ran a randomized experiment (dataset: “tess.csv”). In this experiment,
participants were first asked to report the amount of pain they would feel when
they stub their toe on a chair leg (Q4: 0 Not painful to 10 Extremely painful; -1
Refused). They were then randomly assigned to see only one of the following 24
photos (XTESS089). That is, each participant saw a photo of a Black, Hispanic, Asian,
or White target person of either gender. Following the treatment, participants were
asked to estimate the amount of pain the target person would feel in the same
situation above (Q8: 0 Not painful to 10 Extremely painful; -1 Refused).
3
White Black Hispanic Asian
1 2 3 4
5 6 7 8
9 10 11 12
13 14 15 16
17 18 19 20
21 22 23 24
Note: The number above each picture indicates the numerical value assigned in the
XTESS089 variable for the experimental treatment.
4
a. Test whether or not the collected sample is skewed in terms of participants’
political ideology (XIDEO: 1 Extremely liberal; 2 Liberal; 3 Slightly liberal; 4
Moderate, middle of the road; 5 Slightly conservative; 6 Conservative; 7 Extremely
conservative; -1 Refused).
b. Test whether people’s self-reported pain differs from their estimation of others’
pain.
c. Test whether people estimate others’ pain differently depending on the gender of
a victim.
d. Test whether people estimate others’ pain differently depending on the race of a
victim.
e. Test whether there is any interaction effect between the race and gender of a
victim on people’s estimation of the pain the victim would feel.