Displaying 2 results from an estimated 2 matches for "sqrtx".
Did you mean:
sqrt
2003 Apr 08
1
Solving A System of Equations
I'm trying to solve a system of 3 equations as part of a sub-routine in R, ie first eqn a/x-b*sqrtx+c=log(1/dx+1/e(sqrtx); snd eqn (f*y)/z-g/y-h=-log(2/x+(z/y)/(i*x) and third eqn is of the form zz=x/(j-k(z/y)
where a..k inclusive are constants, x,y,z and zz are inputs.
How can this be done in R?
[[alternate HTML version deleted]]
2010 Jun 03
1
Continous variables with implausible transformation?
Dear r users
I have a question in coding continuous variables in logistic regression.
When "rcs" is used in transforming variables, sometime it gives implausible
associations with the outcome although the model x2 is high.
So what's your tips and tricks in coding continuous variables.
P.S. How to code variables as linear+square in the formula such as lrm.
lrm(y~x+sqrt(x))