SCM

Forum: help

Monitor Forum | Start New Thread Start New Thread
RE: anovaBF examples [ Reply ]
By: Richard Morey on 2015-08-13 22:45
[forum:42437]
Hi Robert,

Please follow the instructions under "Introduction" in the BayesFactor manual for reporting a problem. You haven't given me enough information to help you.

RE: anovaBF examples [ Reply ]
By: Robert Udale on 2015-07-15 10:07
[forum:42436]
Thanks for your help. When I originally had this problem, it went away after I installed a different version of R.

Since then, I have re-installed Windows, and the problem has come back.

I have the latest versions of the Matrix and BayesFactor packages. I am using the latest version of R, but get the same problem with older versions of R.

RE: anovaBF examples [ Reply ]
By: Richard Morey on 2015-04-27 14:00
[forum:42203]
You should update to the latest version of the Matrix package.

anovaBF examples [ Reply ]
By: Robert Udale on 2015-04-14 13:41
[forum:42196]
Hello,

I am trying to run the example code for the anovaBF function that can be found in the user manual.

Specifically, I copied this bit of code into R:

## Classical example, taken from t.test() example
## Student's sleep data
data(sleep)
plot(extra ~ group, data = sleep)

## Gives a Bayes factor of about 11.6
## in favor of the alternative hypothesis
anovaBF(extra ~ group + ID, data = sleep, whichRandom = "ID", progress=FALSE)

However, when I paste the final line I get this output with an error message:

Error in validObject(.Object) :
invalid class “dsparseModelMatrix” object: superclass "dCsparseMatrix" not defined in the environment of the object's class
Bayes factor analysis
--------------
[1] group + ID : NA ±NA%

Against denominator:
extra ~ ID
---
Bayes factor type: BFlinearModel, JZS

Is there a step I have skipped somewhere along the way? Thanks for your help.

Thanks to:
Vienna University of Economics and Business Powered By FusionForge