mirror of
https://github.com/kidwellj/re_connect_survey.git
synced 2025-07-06 20:34:10 +00:00
Data Prep, Prelim Graphs
Cleaned datafile more for analysis and ease of viewing (changed text to numbers for Q25, Q26, Q3 in order to create frequency tables for pie charts and bar graphs). Preliminary checking of pie chart and bar graph for frequencies Notes on how to analyze responses in last section (ANOVA)
This commit is contained in:
parent
8ef7c5d737
commit
a14e1fde4c
3 changed files with 140 additions and 4 deletions
|
@ -29,21 +29,50 @@ Note that the `echo = FALSE` parameter was added to the code chunk to prevent pr
|
|||
|
||||
### To Do List
|
||||
|
||||
## Upload Data
|
||||
```{r Data Upload}
|
||||
connect_data = read.csv("connectDATA.csv")
|
||||
```
|
||||
|
||||
## Summary of Data
|
||||
Data summary/visualisation with subsetting:
|
||||
- RH: display simple summary of data (bar/pie chart) to Q25/26, Q3
|
||||
|
||||
#Frequencies#
|
||||
```{r Frequencies}
|
||||
#Frequencies#
|
||||
|
||||
```{r Q25 bar/pie}
|
||||
Q25_frequencies = table(connect_data$Q25)
|
||||
Q25_frequencies
|
||||
Q26_freq = table(connect_data$Q26)
|
||||
Q26_freq
|
||||
Q3_freq = table(connect_data$Q3)
|
||||
Q3_freq
|
||||
|
||||
#test3 = as.factor(connect_data$Q3, levels = c(1, 2, 3, 4, 5), labels = c("Worldviews", "Religion", "Theology", "Ethics", "Philosophy"))
|
||||
```
|
||||
|
||||
```{r Q25 bar/pie}
|
||||
pie(Q25_frequencies, labels = c("Maybe", "No", "Yes"))
|
||||
|
||||
```
|
||||
|
||||
pie(Q25_frequencies, labels = c("Maybe", "No", "Yes"))
|
||||
# rough draft of piechart
|
||||
|
||||
```{r Q26 bar/pie}
|
||||
```
|
||||
|
||||
pie(Q26_freq)
|
||||
#very messy as a pie chart - split by type? Or is it important to see crossover
|
||||
|
||||
```{r Q3 bar/pie}
|
||||
```
|
||||
|
||||
pie(Q3_freq)
|
||||
#also not optimal as pie...perhaps bar
|
||||
|
||||
|
||||
|
||||
- RH: display summaries of responses to key questions for Q22 (syllabus evaluation), Q23, Q24, Q25, Q26, Q27, with subsetting by:
|
||||
- Q8 (school type)
|
||||
- Q9 (school size)
|
||||
|
@ -69,6 +98,15 @@ Data summary/visualisation with subsetting:
|
|||
# Q27
|
||||
```
|
||||
|
||||
Correlation testing:
|
||||
- RH: test for correlation between "social issue" box ticked on Q20 and responses to ??
|
||||
## Correlation testing:
|
||||
- RH: test for correlation between "social issue" box ticked on Q20 and responses to Q22, Q23, Q27
|
||||
|
||||
- Make Q20 a factor with 14 levels
|
||||
- Collapse 2 Q22 columns into one mean for analyses
|
||||
- Analyse 1 way anova Q20 (14 levels) by Q22; Q23[1-2]; Q27[1-7]
|
||||
|
||||
|
||||
```{r Correlation 1}
|
||||
|
||||
```
|
||||
- RH: test for correlation between responses to religion questions: Q12-14, Q15-16 and Q21 and responses to Q22, Q23, Q24, Q25, Q27, Q30
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue