Re: [R] test2r.mengz1(X)

2024-05-13 Thread Bert Gunter
... but maybe cocor() in the cocor package will do do what you want.

-- Bert


On Mon, May 13, 2024 at 1:57 PM Duncan Murdoch  wrote:
>
> Google says that function is in the bcdstats package, which isn't on
> CRAN.  It appears to be a private package for a course, kept on Github.
>
> Duncan Murdoch
>
> On 2024-05-13 12:24 p.m., Alligand, Justine wrote:
> > Dear participants and subscribers of the R-help mailing list,
> >
> > I would like to compare two dependent correlations with one overlapping 
> > variable. The Meng Z1 method seemed suitable for this purpose. I found out 
> > that the "cocor" package is required for this instrument. I checked several 
> > times whether the package was installed and activated and both were the 
> > case. I have also tried the "psych" package, but I get the same error in 
> > both cases:
> >> library(cocor)
> >> library(psych)
> >> test2r.mengz1(corAVOBMI, corAVVBMI, corAVOAVV, 39)
> > Error in test2r.mengz1(corAVOBMI, corAVVBMI, corAVOAVV, 39) :
> >could not find function "test2r.mengz1" (Translated from German)
> > Do I not have the right package? Or can you recognize another error?
> > Many thanks in advance.
> >
> > Yours faithfully
> > Justine Alligand
> >
> >
> >   [[alternative HTML version deleted]]
> >
> > __
> > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> > 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.
>
> __
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.


Re: [R] test2r.mengz1(X)

2024-05-13 Thread Duncan Murdoch
Google says that function is in the bcdstats package, which isn't on 
CRAN.  It appears to be a private package for a course, kept on Github.


Duncan Murdoch

On 2024-05-13 12:24 p.m., Alligand, Justine wrote:

Dear participants and subscribers of the R-help mailing list,

I would like to compare two dependent correlations with one overlapping variable. The Meng Z1 
method seemed suitable for this purpose. I found out that the "cocor" package is required 
for this instrument. I checked several times whether the package was installed and activated and 
both were the case. I have also tried the "psych" package, but I get the same error in 
both cases:

library(cocor)
library(psych)
test2r.mengz1(corAVOBMI, corAVVBMI, corAVOAVV, 39)

Error in test2r.mengz1(corAVOBMI, corAVVBMI, corAVOAVV, 39) :
   could not find function "test2r.mengz1" (Translated from German)
Do I not have the right package? Or can you recognize another error?
Many thanks in advance.

Yours faithfully
Justine Alligand


[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.


__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.


[R] test2r.mengz1(X)

2024-05-13 Thread Alligand, Justine
Dear participants and subscribers of the R-help mailing list,

I would like to compare two dependent correlations with one overlapping 
variable. The Meng Z1 method seemed suitable for this purpose. I found out that 
the "cocor" package is required for this instrument. I checked several times 
whether the package was installed and activated and both were the case. I have 
also tried the "psych" package, but I get the same error in both cases:
> library(cocor)
> library(psych)
> test2r.mengz1(corAVOBMI, corAVVBMI, corAVOAVV, 39)
Error in test2r.mengz1(corAVOBMI, corAVVBMI, corAVOAVV, 39) :
  could not find function "test2r.mengz1" (Translated from German)
Do I not have the right package? Or can you recognize another error?
Many thanks in advance.

Yours faithfully
Justine Alligand


[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.