search for: eyecolor

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

2011 Jan 20
1
fix sign of a coefficient in formula
Dear R users & experts, I'd like to create a model using lm (or glm) under some constraints of how coefficients for each component could look like (sort of a range of coefficients that should be allowed). So let's go for an example : model=lm(age ~ eyecolor + height, data=inputdata) So let's suppose that R pops out a model with positive estimates for the coefficients eyecolor and height, I have to use them as is. But however, if I'd like to produce a model that follows that behaviour : age = A*eyecolor - B*height having A>0 and B>0 ho...
2010 Dec 12
1
95% CI of a IQR and more
...the CI of the IQR, does anybody have any idea, which method will be appropriate? 2)I have a 2x2 table with gender vs blue eyes or not. How do I calculate the expected two-by-two contingency tables? Do I assume that half the people are female and half are males. And assume some random chance of your eyecolor being blue? 3) I have to use a permutation test, to calculate whether there is a difference in the median of two samples. - How do I do that? I thought permutation test only was for categorical data? Please help! -- View this message in context: http://r.789695.n4.nabble.com/95-CI-of-a-IQR-and-mo...