This exercise deals with an experiment that was conducted among students. The aim of the experiment was to assess the effect of rumors and prior reputation of the instructor on the evaluation of the instructor by her students. The experiment was conducted by Towler and Dipboye. This case study is taken from the Rice Virtual Lab in Statistics. More details on this case study can be found in the case study "Instructor Reputation and Teacher Ratings" that is presented in that site.
β1β
Towler, A. and Dipboye, R. L. (1998). The effect of instructor reputation and need for cognition on student behavior (poster presented at American Psychological Society conference, May 1998).
The experiment involved 49 students that were randomly assigned to one of two conditions. Before viewing the lecture, students were give one of two "summaries" of the instructorβs prior teaching evaluations. The first type of summary, i.e. the first condition, described the lecturer as a charismatic instructor. The second type of summary (second condition) described the lecturer as a punitive instructor. We code the first condition as "
C" and the second condition as "P". All subjects watched the same twenty-minute lecture given by the exact same lecturer. Following the lecture, subjects rated the lecturer.
The outcomes are stored in the file "
teacher.csv". The file can be found on the internet at http://pluto.huji.ac.il/~msby/StatThink/Datasets/teacher.csv. Download this file to your computer and store it in the working directory of R. Read the content of the file into an R data frame. Produce a summary of the content of the data frame and answer the following questions:
-
Identify, for each variable in the file "
teacher.csv", the name and the type of the variable (factor or numeric). -
Estimate the expectation and the standard deviation among all students of the rating of the teacher.
-
Estimate the expectation and the standard deviation of the rating only for students who were given a summary that describes the teacher as charismatic.
-
Construct a confidence interval of 99% confidence level for the expectation of the rating among students who were given a summary that describes the teacher as charismatic. (Assume the ratings have a Normal distribution.)
-
Construct a confidence interval of 90% confidence level for the variance of the rating among students who were given a summary that describes the teacher as charismatic. (Assume the ratings have a Normal distribution.)
