May 23, 2017 -- SienaSemanticsSurvey -- Code Breakdown -- Cell #9


FData --> function that when given a matrix will calculate the mean and standard error of mean (sem)
Takes in name of the question and calculates the mean of the data taken from the vector of student responses and then finds the standard error of the mean from this data.

Data is taken into the function, and the mean and SEM are found using the data that is imported in and then saved under display_dat with the following organization:

  • vnames --> column title "name" --> lists the question/description that students were responding to and ranking accordingly
  • vmean --> column title "mean" --> calculates from student responses the average numerical value for all students relevant to that question
  • vsem --> column title "sem" --> calculates from student responses the standard error of the average from the previous column's data/calculation.
these values in the actual charts generated will vary as the gender(s) selected change to display numbers according to the selection???


Comments

Popular posts from this blog

6/14/17 Notes

6/06/17 Notes (formatting code and searching for a specific person)

May 22, 2017 -- SienaSemanticsSurvey -- Code Breakdown -- Cell #8