Question: Help me to write the code, it's a R stuodio assginment: Some people argue that in any given political ad , the narrator s voice

Help me to write the code, it's a R stuodio assginment: Some people argue that in any given political ad, the narrators voice (whether its a male or female voice) affects the way viewers think about the candidate being
endorsed in the ad. Please use the data described below to test this theory. Briefly,
researchers ran an experiment in which they varied the narrators voice some
respondents saw a commercial in which the narrators voice was distinctly female,
and others saw a commercial where the narrators voice was distinctly male. After
watching the commercial, respondents were asked whether the candidate portrayed
in the commercial would make a good leader(the relevant variable is leader,
coded on a 1-5 scale where 1 indicates the candidate would not make a leader
and 5 indicates that the candidate would make a very good leader), whether the
candidate could protect our country(the relevant variable is protect, coded on
a 1-5 scale where 1 indicates the candidate would NOT be able to protect the
country and 5 means the candidate could protect the country), and whether or
not the candidate could help the poor(the relevant variable is poor, coded on
a 1-5 scale where 1 indicates the candidate could NOT take care of the poor and
5 indicates the candidate could take care of the poor. The variable male.voice
indicates whether the respondent heard a male or female voice in the ad (coded
1 if the respondent heard a male voice and 0 if a female voice). Please determine
whether the male/female voice influenced how respondents evaluated the candidate
portrayed in the ad. The data set is called VoiceExperiment.txt (n =800). Please
test everything at the .05 level.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related General Management Questions!