Displaying 2 results from an estimated 2 matches for "test_score".
Did you mean:
best_score
2008 Jun 17
3
rindex not working with objects from db model
I''m sorting a separate list that doesn''t contain a certain user''s
attribute, but trying to but that certain user''s attribute on the
separate percentile.
test_scores = Testscore.find(:all, :conditions=> {...})
my_testscore = current_user.test_score
my_ts = Testscore.new(:score => my_testscore)
test_scores.push(ts)
sorted_ts = test_scores.sort {|x,y| x.score <=> y.score }
index_one = sorted_ts.index(my_ts)
# why doesn''t this work?
index...
2001 Jul 26
0
Multi-level Models with NLME
...em is this: I have a sample of classes (class being the nesting
factor). Within each class I have a sample of students. I have separate
random effects models at each level. That is, at the class level, I have:
random=~class_size+number_teachers+class_length
and at the student level I have:
test_score~treatment+experience+age.
What I want o assess is the contribution of class level variables
simultaneously with individual level variables on test scores.
Now, my problem is specifying them both as a random effect. I tried to use:
random=list(class=~class_size+number_teachers+class_length,
=...