First off, it is rude to simultaneously post the same question on stackexchange
and R-help. Don't do it.
Second, posting using HTML is a good way to cause confusion in conveying your
question clearly, since this mailing list strips it out. Please read the Posting
Guide mentioned at the bottom of this or any list message.
Third, perhaps you could indicate why the documentation for that function does
not answer your question. As in what is missing from the information you get
when you type
library(vcd)
?assocstats
at the R command prompt? Knowing that could help the package maintainer provide
more effective documentation in the future, so your question could contribute to
everyone else's experience at the same time it is answered.
Fourth, Google seems to turn up a quite a number of hits on this function,
including howtos. If you did this and failed to find an answer, why didn't
you mention that? And if you did not do it, did you really think posting would
get you an answer faster than a web search?
(Oh, and for future reference, even though the library function is used to load
it, vcd is properly referred to as a package, not a library.)
---------------------------------------------------------------------------
Jeff Newmiller The ..... ..... Go Live...
DCN:<jdnewmil at dcn.davis.ca.us> Basics: ##.#. ##.#. Live
Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries O.O#. #.O#. with
/Software/Embedded Controllers) .OO#. .OO#. rocks...1k
---------------------------------------------------------------------------
Sent from my phone. Please excuse my brevity.
bdano22 <bdano22 at gmail.com> wrote:>I am using assocstats() in the vcd library to calculate phi between
>pairs
>of dichotomous variables. vcd manual says it calculates the absolute
>value.
>How do I scale the resulting coefficient between 0 and 1, i.e. how does
>one
>calculate phi max? Or is it already scaled between 0 and 1 for
>dichotomous
>variables? Thanks
>
> [[alternative HTML version deleted]]
>
>______________________________________________
>R-help at 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.