
## [1] 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 1 0 1 1
## [38] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0
## [75] 0 1 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0
## [112] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0
## [149] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
## [186] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 0 0
## [223] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0 1 1 1 1 1 1 1
## [260] 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
## [297] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
## [334] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
## [371] 0 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0
## [408] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
## [445] 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1
## [1] -0.05169619
The correlation between the age and the evaluation of teachers is very little. let’s find out more about this data:
The beauty (I think this data is taking in consideration the beauty of the lessons were evaluated), has negative value but not very bad. The minimum in the evaluation is 2, which I think means “developing”. I also noticed there is a correlation between whether the teacher is tenured or not and their evaluation, so I created a new data that has a sample of those data (tenure and eval) only:

Ordering the tenure data frame by who is not tenured and who is, gives me a good sight of the data; the teachers who are not tenured yet, they get good evaluation (minimum of 3.4/5). I replaced the “yes” and “no” in tenure with “1” and “0” respectively to be able to see the correlation better. Based on the histogram above, the data were collected with more tenured teachers.

## [1] 0.07819319
At first glance, I thought that there is a strong correlation between the age and prof of the teachers. After visualizing the scatter plot and computing the correlation coefficient, there is no correlation between both variables.

## Min. 1st Qu. Median Mean 3rd Qu. Max.
## 15.0 33.0 51.0 91.8 97.5 961.0
## [1] 0.0126097
I cannot find strong correlation or which component is really affecting teachers’ evaluation. I am going to compute the correlation coefficient of the evaluation and different quantitative variables from the data:
## [1] -0.05169619
## [1] 0.1890391
## [1] 0.03546667
## [1] -0.001229338
## [1] 0.01985966
## [1] 0.0126097
The biggest correlation coefficient among the above is between the evaluation and the beauty. I am not sure what beauty is meant in this data; is it the beauty of the lesson plan, the classroom or other. But, there is a positive correlation between both.
## X..DOCTYPE.html.
## 1 <html lang=en data-color-mode=auto data-light-theme=light data-dark-theme=dark data-a11y-animated-images=system>
## 2 <head>
## 3 <meta charset=utf-8>
## 4 <link rel=dns-prefetch href=https://github.githubassets.com>
## 5 <link rel=dns-prefetch href=https://avatars.githubusercontent.com>
## 6 <link rel=dns-prefetch href=https://github-cloud.s3.amazonaws.com>