[R] equivalent from gladder and ladder from stata

131 views
Skip to first unread message

agent dunham

unread,
Feb 29, 2012, 6:21:30 AM2/29/12
to r-h...@r-project.org
Dear community,

Apologies, I'm still pretty newbie. Anyway, I am performing linar regression
analysis. As a common cause of non-normally distributed residuals is
non-normally predictor variables, i'm interested in achieving the best
transformation of the predictors.

I've seen some commands at R, but I would like to know if it exists a
command equivalent to gladder (graphic display) , and another one equivalent
to ladder (numeric results, look for the transformation with the smallest
chi-square)

Thanks in advance, show us...@host.com as us...@host.com

--
View this message in context: http://r.789695.n4.nabble.com/equivalent-from-gladder-and-ladder-from-stata-tp4431216p4431216.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-h...@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Richard M. Heiberger

unread,
Feb 29, 2012, 12:58:12 PM2/29/12
to agent dunham, r-h...@r-project.org
>From your description, I believe the ladder function in the HH package is
what you are looking for.

## install.packages("HH") ## if necessary
library(HH)
data(tv)
ladder(life.exp ~ ppl.per.phys, data=tv, scales=list(relation="free"))

Rich

> http://www.R-project.org/posting-guide.html<http://www.r-project.org/posting-guide.html>


> and provide commented, minimal, self-contained, reproducible code.
>

[[alternative HTML version deleted]]

Reply all
Reply to author
Forward
0 new messages