-
Notifications
You must be signed in to change notification settings - Fork 0
/
.Rhistory
196 lines (196 loc) · 7.68 KB
/
.Rhistory
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
df <- data.frame("Term: 1158
Instructor Name: Davis, Debra L Department: COMPSCI-2
Course: COP 2210 Section: U11 -1 Title: Programming I
Enrolled: 44 Ref#: 91004 -1 Completed Forms: 28
Question No Response Excellent Very Good Good Fair Poor
Description of course objectives and assignments 0.0% 82.1% 14.3% 3.6% 0.0% 0.0%
Communication of ideas and information 0.0% 78.6% 14.3% 7.1% 0.0% 0.0%
Expression of expectations for performance in this class 0.0% 82.1% 14.3% 3.6% 0.0% 0.0%
Availability to assist students in or out of class 0.0% 67.9% 25.0% 3.6% 3.6% 0.0%
Respect and concern for students 0.0% 85.7% 10.7% 3.6% 0.0% 0.0%
Stimulation of interest in course 3.6% 78.6% 14.3% 3.6% 0.0% 0.0%
Facilitation of learning 0.0% 82.1% 14.3% 3.6% 0.0% 0.0%
Overall assessment of instructor 0.0% 78.6% 21.4% 0.0% 0.0% 0.0%
")
df
str(df)
df <- data.frame(Question No Response Excellent Very Good Good Fair Poor
Description of course objectives and assignments 0.0% 50.0% 33.3% 11.1% 0.0% 5.6%
Communication of ideas and information 0.0% 38.9% 22.2% 11.1% 27.8% 0.0%
Expression of expectations for performance in this class 0.0% 33.3% 38.9% 22.2% 5.6% 0.0%
Availability to assist students in or out of class 0.0% 33.3% 27.8% 22.2% 11.1% 5.6%
Respect and concern for students 5.6% 55.6% 33.3% 5.6% 0.0% 0.0%
Stimulation of interest in course 0.0% 27.8% 38.9% 16.7% 11.1% 5.6%
Facilitation of learning 0.0% 33.3% 27.8% 33.3% 5.6% 0.0%
Overall assessment of instructor 0.0% 33.3% 38.9% 16.7% 11.1% 0.0%)
df
Overall assessment of instructor 0.0% 33.3% 38.9% 16.7% 11.1% 0.0%")
df
df <- data.frame("Question No Response Excellent Very Good Good Fair Poor",
"Description of course objectives and assignments 0.0% 50.0% 33.3% 11.1% 0.0% 5.6%",
"Communication of ideas and information 0.0% 38.9% 22.2% 11.1% 27.8% 0.0%",
"Expression of expectations for performance in this class 0.0% 33.3% 38.9% 22.2% 5.6%", 0.0%
"Availability to assist students in or out of class 0.0% 33.3% 27.8% 22.2% 11.1% 5.6%",
"Respect and concern for students 5.6% 55.6% 33.3% 5.6% 0.0% 0.0%",
"Stimulation of interest in course 0.0% 27.8% 38.9% 16.7% 11.1% 5.6%",
"Facilitation of learning 0.0% 33.3% 27.8% 33.3% 5.6% 0.0%",
"Overall assessment of instructor 0.0% 33.3% 38.9% 16.7% 11.1% 0.0%")
df
df <- data.frame("Question No Response Excellent Very Good Good Fair Poor",
"Description of course objectives and assignments 0.0% 50.0% 33.3% 11.1% 0.0% 5.6%",
"Communication of ideas and information 0.0% 38.9% 22.2% 11.1% 27.8% 0.0%",
"Expression of expectations for performance in this class 0.0% 33.3% 38.9% 22.2% 5.6%", 0.0%
"Availability to assist students in or out of class 0.0% 33.3% 27.8% 22.2% 11.1% 5.6%",
"Respect and concern for students 5.6% 55.6% 33.3% 5.6% 0.0% 0.0%",
"Stimulation of interest in course 0.0% 27.8% 38.9% 16.7% 11.1% 5.6%",
"Facilitation of learning 0.0% 33.3% 27.8% 33.3% 5.6% 0.0%",
"Overall assessment of instructor 0.0% 33.3% 38.9% 16.7% 11.1% 0.0%")
df
?readxl()
?readxl()
install.packages("xlsx")
library(xlsx)
library("xlsx")
?xlsx
read.xlsx(file = "CompareProfessor.xlsx", sheetName = "sheet2", startRow = 1 )
read.xlsx(file = "CompareProfessors.xlsx", sheetName = "sheet2", startRow = 1 )
read.xlsx(file = "CompareProfessors.xlsx", sheetName = "Sheet2", startRow = 1 )
read.xlsx(file = "CompareProfessors.xlsx", sheetName = "Sheet3", startRow = 1, colIndex = "AN":"AT" )
read.xlsx(file = "CompareProfessors.xlsx", sheetName = "Sheet3", startRow = 1, colIndex = AN )
read.xlsx(file = "CompareProfessors.xlsx", sheetName = "Sheet3", startRow = 1, colIndex = 'AN' )
read.xlsx(file = "CompareProfessors.xlsx", sheetName = "Sheet3", startRow = 1, colIndex = 27 )
read.xlsx(file = "CompareProfessors.xlsx", sheetName = "Sheet3", startRow = 1, colIndex = 29:36 )
read.xlsx(file = "CompareProfessors.xlsx", sheetName = "Sheet3", startRow = 1, colIndex = 32:38 )
read.xlsx(file = "CompareProfessors.xlsx", sheetName = "Sheet3", startRow = 1, colIndex = 32:39 )
read.xlsx(file = "CompareProfessors.xlsx", sheetName = "Sheet3", startRow = 1, colIndex = 32:40 )
read.xlsx(file = "CompareProfessors.xlsx", sheetName = "Sheet3", startRow = 1, colIndex = 32:49 )
read.xlsx(file = "CompareProfessors.xlsx", sheetName = "Sheet3", startRow = 1, colIndex = 32:39 )
Rahn
read.xlsx()
Rahn <- read.xlsx(file = "CompareProfessors.xlsx", sheetName = "Sheet2", startRow = 1 )
Milani <- read.xlsx(file = "CompareProfessors.xlsx", sheetName = "Sheet3", startRow = 1, colIndex = 32:39 )
Rahn
?t.test()
install.packages("xlsx")
Milani
x1 <- Rahn%>%fitler(Facilitation)
x2 <- Milani%>%filter(Facilitation of learning)
x1
x2
library("xlsx")
library("dpylr")
#to take courses with.
install.packages("xlsx")
install.packages('dplyr')
library("xlsx")
library("dpylr")
install.packages("xlsx")
#We want to run a test comparing different professors to rank them by who would be the best
#to take courses with.
install.packages("xlsx")
install.packages('dplyr')
library("xlsx")
library("dpylr")
?xlsx
read.xlsx()
Rahn <- read.xlsx(file = "CompareProfessors.xlsx", sheetName = "Sheet2", startRow = 1 )
Milani <- read.xlsx(file = "CompareProfessors.xlsx", sheetName = "Sheet3", startRow = 1, colIndex = 32:39 )
Rahn
x1 <- Rahn%>%fitler(Facilitation)
x2 <- Milani%>%filter(Facilitation of learning)
x1
x2
t.test()
install.packages("xlsx")
x2
Rahn%>%fitler(Facilitation)
library("dpylr")
#We want to run a test comparing different professors to rank them by who would be the best
#to take courses with.
install.packages("xlsx")
install.packages('dplyr')
install.packages("xlsx")
Rahn%>%fitler(Facilitation)
x2 <- Milani%>%filter(Facilitation of learning)
x1
x2
library("dpylr")
Rahn%>%filter(Facilitation)
filter(Rahn, "Facilitation")
install.packages('dplyr')
library("xlsx")
library("dpylr")
library("dplyr")
filter(Rahn, "Facilitation")
filter(Rahn, Facilitation)
Rahn%>%select(Facilitation)
Rahn[Facilitation]
Rahn
Rahn['Facilitation']
Rahn%>%select(Question == "Facilitation")
Rahn%>%select(Question == "Facilitation")
Rahn%>%select(Question = "Facilitation")
Rahn%>%filter(Question = "Facilitation")
Rahn%>%filter(Question == "Facilitation")
Milani
Milani%>%filter(Description.of.course.objectives.and.assignments == "Facilitation of learning")
wilcox.test(x1 ~ x2)
x1 <- Rahn%>%filter(Question == "Facilitation")
x2 <- Milani%>%filter(Description.of.course.objectives.and.assignments == "Facilitation of learning")
wilcox.test(x1 ~ x2)
x1 <- Rahn%>%filter(Question == "Facilitation")
x1 <- data.frame(Rahn%>%filter(Question == "Facilitation"))
wilcox.test(x1 ~ x2)
x1 <- data.frame(Rahn%>%filter(Question == "Facilitation"))
wilcox.test(x1 ~ x2)
x1 <- as.data.frame(Rahn%>%filter(Question == "Facilitation"))
wilcox.test(x1 ~ x2)
wilcox.test(x2~ x1)
wilcox.test(x2, x1)
x1 <- Rahn%>%filter(Question == "Facilitation")
wilcox.test(x2, x1)
Rahn%>%filter(Question == "Facilitation")
wilcox.test(x2$E, x1$E)
t.test(x2$E, x1$E)
table(x1$E, x2$E)
x1<-Rahn%>%filter(Question == "Facilitation")
table()
table(x1$E, x2$E)
Rahn
Milani
t.test(x4.004,E)
t.test(milani$x4.004,Rahn$E)
t.test(Milani$x4.004,Rahn$E)
z.test(Milani$x4.004,Rahn$E)
test(Milani$x4.004,Rahn$E)
?z.test()
t.test()
z.prop(Milani$x4.004,Rahn$E)
prop.test(Milani$x4.004,Rahn$E)
Milani
prop.test(Milani$x4.004,49)
?qqplot
qqline(Milani)
qqline(Milani$X4.004)
qqline(Milani$X4.004, Rahn$E)
t.test(Milani$X4.004, Rahn$E)
chisq.test(x1, x2)
x1
x2
chisq.test(x1, x2)
chisq.test(x1[E,:P], x2[x0:x1.1])
chisq.test(x1[E:P], x2[x0:x1.1])
chisq.test(x1(E:P), x2[x0:x1.1])
chisq.test(x1$[E:P], x2[x0:x1.1])
chisq.test(x1$(E:P), x2[x0:x1.1])
chisq.test(Milani$X4.004, Rahn$E)
t.test(Milani$X4.004, Rahn$E)
t.test(Milani$X3,Rahn$V)
t.test(Milani$X2,Rahn$G)
t.test(Milani$X1, Rahn$F)
t.test(Milani$X1.1, Rahn$P)
t.test(Rahn$F, Milani$X1)
t.test(Rahn$F, Milani$X1)
Rahn
t.test(Milani$X4.004, Rahn$E)
t.test(Milani$X4.004, Rahn$E)