[R] R correlations.

Russell Zaretzki rzaret at yahoo.com
Thu Jun 6 20:39:03 CEST 2002


Hi, anybody have any ideas on this ?


I have two sequences of proportions.  Due to
conventions in my field, I need to produce a linear
correlation between the two.  Each sequence of 
proportions are based upon differing numbers of
observations (although within a sequence the number of
observations may not fluctuate too much) so it may be
necessary/advisable to variance stabilize. Is their a
best way to go about doing this in R?

I am tempted to do something like the following:

Use the logistic transformation on each proportion. 
Next do weighted least squares.  Finally, adjust the
beta coef by multiplying by sqrt(Sxx/Syy). However,
this doesn't take into account the variance in the
independant variable.  

Maybe its better too work with counts of successes
instead of proportions?

Is their a better way and how do I do it best with R?

Thanks in advance for any help.


__________________________________________________

Yahoo! - Official partner of 2002 FIFA World Cup

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list