Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contrast method #4

Closed
fauman opened this issue May 19, 2011 · 5 comments
Closed

Contrast method #4

fauman opened this issue May 19, 2011 · 5 comments

Comments

@fauman
Copy link

fauman commented May 19, 2011

Hi - I've been using the T Test and ANOVA methods in statsample quite a bit.
I wanted to try the "contrast" method today, but first I discovered that my copy doesn't have this method - Is it not included in the 1.0.1 distribution?

By including the contrast.rb code directly into my Ruby script, I got it to work, after I added alias :msw :ms_den to Statsample::Anova::OneWayWithVectors.

This works to calculate the psi and the se. But when I go to calculate a the T statistic (c.t) I get this error:

in t_object': undefined methodnew' for Statsample::Test::T:Module (NoMethodError)

Is there a version past 1.0.1 that has contrast implemented?
Thank you

@clbustos
Copy link
Owner

I didn't release a new release. Let me work on it and I try to fix your
problem.
Can you download the last git version of statsample and test it? Will be
very helpful

Greetings

On Thu, May 19, 2011 at 3:35 PM, fauman <
[email protected]>wrote:

Hi - I've been using the T Test and ANOVA methods in statsample quite a
bit.
I wanted to try the "contrast" method today, but first I discovered that my
copy doesn't have this method - Is it not included in the 1.0.1
distribution?

By including the contrast.rb code directly into my Ruby script, I got it to
work, after I added alias :msw :ms_den to
Statsample::Anova::OneWayWithVectors.

This works to calculate the psi and the se. But when I go to calculate a
the T statistic (c.t) I get this error:

in t_object': undefined methodnew' for Statsample::Test::T:Module
(NoMethodError)

Is there a version past 1.0.1 that has contrast implemented?
Thank you

Reply to this email directly or view it on GitHub:
#4

Claudio Bustos
Psiclogo
[email protected]

@fauman
Copy link
Author

fauman commented May 20, 2011

Be glad to, but I can't find anything past the January 28th 1.0.1 release. Where do I find the latest release?

@fauman fauman closed this as completed May 20, 2011
@fauman fauman reopened this May 20, 2011
@clbustos
Copy link
Owner

Install git (sudo apt-get install git on debian/ubuntu) and pull the latest git version using
$git clone git://github.com/clbustos/statsample.git

You should point to correct directory using $LOAD_PATH with the directory of latest statsample version.

@fauman
Copy link
Author

fauman commented May 25, 2011

I'm happy to report that I've successfully installed the latest git version and the contrast method is working perfectly. I've compared the p-values for analyses of sets of 4 vectors of size 4 against values computed in R and the numbers I've checked so far have all agreed.

@clbustos
Copy link
Owner

Good! I tested the contrast routines on the suite, but is better to have multiple users approving the methods.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants