search for: average_r

Displaying 2 results from an estimated 2 matches for "average_r".

Did you mean: average
2007 Apr 13
0
mixin behavior
...et of summary data. So I defined a module (messy, I know): --- module RatingTotals::StoryRatingTotals def refresh_story_totals(date = Date.new(2007, 1, 1)) # Removed most the code. ratings = Rating.find(:all, :select => ''rateable_id, AVG(rating) as average_rating, COUNT(id) as count '', :conditions => ["rateable_type = ''story'' AND created_at >= ? ", date], :group => ''rateable_id '') totals = [] ratings.each do |rating| totals...
2012 Oct 02
0
Error messages when attempting to calculate polychoric correlation matrices using the psych package
...ot;, "V15", "V16", "V17", "V18"), class = "data.frame", row.names = c(NA, -18L)) I have then used this matrix with the alpha command in psych: > alpha(pol.matrix) Reliability analysis Call: alpha(x = pol.matrix) raw_alpha std.alpha G6(smc) average_r 0.92 0.92 0.94 0.39 Reliability if an item is dropped: raw_alpha std.alpha G6(smc) average_r V1 0.92 0.92 0.94 0.39 V2 0.92 0.92 0.94 0.39 V3 0.91 0.91 0.94 0.38 V4 0.91 0.91 0.94 0.39 V5 0.91...