5 augustus 2018

Introduction

The app explores some relationships in the attitude dataset. From a survey of the clerical employees of a large financial organization, the data are aggregated from the questionnaires of the approximately 35 employees for each of 30 (randomly selected) departments. The numbers give the percent proportion of favourable responses to seven questions in each department. From these I have selected three variables: ratings, complaints, and raises. On the first tab, I will show the distribution of these variables in plotly. Subsequently, on Tab 2 I show two regression lines, one based on the relationship between rating and complaints, and a second one accounting for the effect of raises as well.

Controls

  • Slider to set the level of complaints
  • Slider to set the level of raises

Tab 1

The distribution plots are interactive graphics like the one below:

Tab 2

The regression lines for the two models can be seen in the plot below. Also, the app shows the predicted value of ratings based on the complaints and raises inputs.