JohnnyB
About
 Username
 JohnnyB
 Joined
 Visits
 84
 Last Active
 Roles
 Member
Comments

Hi Michael, This is something we are working on very hard at the moment! For now, you can use the function here (you also need the ggplot2 package for this): https://github.com/jaspstats/jaspdesktop/blob/stable/JASPEngine/JASPgraphs/R/plotQQnorm.…

Hi Max, Can you include your data example perhaps? That way I can zoom in on the problem, but I can also take some guesses: Are you running a normal ANOVA or a RM ANOVA? In the case of RM ANOVA, are you pooling the error term? Doing so or not will l…

Hi Pmilin, Oh sorry, I just realized I renamed it to "computeBayesFactorOneZero", to make it a bit more accurate. Apologies for the confusion! Cheers Johnny

Hi Alla, This is a known issue, unfortunately. The Wilcoxon signed rank test was recently implemented while we were still working out the statistical details. We had chosen to add some steps to the algorithm to make it more stable, but it turned out…

Hi Martin, I just looked into this, and indeed it seems that the withinparticipant CI calculation was not used anymore! I just fixed it, so it will be in the next version of JASP. Thank you very much for your keen eye! Kind regards, Johnny

Hi Pmilin, Did you also download and source the rankBasedCommonFunctions.R file? https://osf.io/5t4nf/ I restructured it a bit to maintain a clearer overview of all the functions. Cheers Johnny

Hi Anna, Great to hear! It's certainly possible to obtain evidence in favor of an effect, even though it's small, most commonly if you have a large data set  is that the case for you? I like playing around in the summary statistics module to get so…

Hi Martin, Do you have a JASP file I could take a look at? I don't think anything has changed there, but it might be that a default option has changed, for instance using the standard error instead of the confidence intervals, or maybe whether to av…

Hi Gaspar, 1) Yes, the Rcode is limited that way, in that it only does the twosided tests. 2) The giveBAyesFactorZeroOne is the same for both the rank sum and signed rank test, since it applies the SavageDickey density ratio (i.e., the ratio of …

Hi Statisticum, Which test are you running in SPSS and Simstat? Do these programs give the Z value by default for the wilcoxon signed rank test? In any case, I checked the data in R, and the wilcox.test gives the same result as JASP for paired obs…

Hi Baba, How much memory (RAM) does your computer have, and is your task manager showing you are running at 100% RAM? Such an error message is thrown by R whenever it cannot obtain enough RAM for its objects. I have seen this error before with very…

Hi Eniseg, For help on interpretation, the following figure from one of our guidelines papers can be helpful (scroll down to the third figure and caption: https://www.researchgate.net/publication/330569075_The_JASP_Guidelines_for_Conducting_and_Rep…

Hi Mila, In the Bayesian ANOVA, these terms have a bit of a different meaning  this is from the JASP help file: Fixed Factors: The variables that are manipulated/define the different groups. These are also called the independent variables. Random …

Thanks KB, that's great to hear!

Hi, It seems that in the descriptives table, Claarek specified the descriptives of Age, split by another variable that has the levels 0 and 1 (the table does not show which variable that is, maybe that is good to add to JASP so the table becomes mo…

Hi Eniseg2, As DrMark pointed out, the history of the test is a little complicated, leading to different naming conventions of both the test itself (Wikipedia already lists 4 names) and the test statistic (U or W). For the test statistics, this is …

Hi Kev_bague, There is no covariate box in the ANOVA, only in the ANCOVA  which is the difference between the two analyses: in the underlying code, the ANOVA just calls the code of ANCOVA but supplies a model without covariates (this is not JASP s…

Hi Eniseg, In order to get the posterior estimates per model, you can specify your desired model under the section "single model inference". There, you can specify the model (e.g., the best model according to the model comparison table), …

Hi Rohanp, Ah yes that makes life a lot easier! In that case you can do the subsetting and ANOVA in R. JASP indeed uses the BayesFactor package for the Bayesian ANOVA's. Here you can read more about using BayesFactor: https://cran.rproject.org/web…

Hi rohanp16, The simple main effects analysis is essentially running ANOVA's for different subset of the data (conditioning on each level of the "moderator variable"). In the frequentist ANOVA this is automated for you, but unfortunately t…

Hi Hfac, I looked at our dataset, and because you included the interaction term education x income, there need to be at least 2 observations per cell. If you look at "Descriptives", then select one variable, select the other variable as t…

Hi Nathalie, That's how the emmeans works: it operates based on the model you specify. In the ANOVA model, there is the assumption of equal variances, so that influences how emmeans handles the pairwise comparisons. We offer a workaround, where (fo…

Hi HMSTAT, The Chi squared is the original test statistic as proposed by Durbin, whereas the F statistics is a slight variation on it, introduced later. (see https://en.wikipedia.org/wiki/Durbin_test#Test_definition for the history). For completenes…

Hi Ataylor4, The marginal means are calculated in a different way from the descriptives. The descriptive means are simply based on just the observations, whereas the marginal means are an estimation of what the means would be, in case the design wou…

Hi Nathalie, That's a good point  we use the emmeans package for most of the posthoc/marginal means/contrast computations, but in order to use the unpooled error term, we do these computations manually. The R code that JASP uses takes the observat…

Hi JLeborgne, For these tests, the df is equal to n  1 (as with the paired samples ttest), I will look into adding these to the JASP output  great suggestion! Cheers, Johnny

Hi JLeborgne, In essence, the analysis is indeed running paired samples ttests. We use the emmeans package for this in R. Are you assuming equal variances or not? Maybe that is causing the different results. JASP offers both options (equal varianc…

Hi Elnino, What error message are you getting? The only R package you need installed is the logspline package  you can install it with install.packages("logspline"). After that all code should run. If you have any additional questions abo…

Hi AMa, JASP uses the emmeans/lsmeans package to compute the posthoc results: We first create a reference grid and estimate the marginal means with the lsmeans function by providing the ANOVA model and which factors to use for post hoc tests. Then w…

Hi mcp, I think that error is not just concerning the Kruskal Wallis test, but the overall ANOVA. It seems that you only have a single observation per cell of the interaction effect, so when you include that effect, there is no way of calculating th…