search for: catgeory

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

Did you mean: category
2009 Jan 13
1
deviance in polr method
...,3,4,5,6,7,8,9) x1 = c(1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0) x2 = c(0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0) x3 = c(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0) # catgeory 4 is used as baseline ord.rp = ordered(p) fit0.polr = polr(ord.rp ~ 1, weights=y) fit1.polr = polr(ord.rp ~ x1 + x2+x3, weights=y) summary(fit1.polr) anova(fit0.polr,fit1.polr) This works and "summary" gives the correct parameter estimates but I have a probl...
2006 Feb 24
4
Understanding controllers
You''ll have to forgive me ... I''ve been toying with rails for about a week and although I don''t feel completely lost there''s still a lot that I don''t understand. Here goes. Assume I have a controller called admin in app/controllers as well as three model classes in app/models: product, category, warehouse. How exactly do I use the admin controller to