r - Bootstrapping error Within-subject difference between correlations not implemented -


i trying use package called bootes in r calculate effect size via bootstrapping, however, error when try , run independent t-test through function, i.e., categorical variable (con) , numerical variable (con).

the error

error in determinestat(data, data.col, grps, effect.type, lmbds) :
within - subject difference between correlations not implemented

> check$con <- as.character(check$con) > check$h1<- as.numeric(check$h1)  > head(check)  > # analysis  > t.test(check$h1 ~ check$con) > test <- t.test(check$h1 ~ check$con) > bt <- bootes(check, data.col = "h1", group.col = "con",                        r = 10000, effect.type = "cohens.d")  glimpse(check) observations: 830 variables: 2 $ h1 <dbl> 2.666667, 2.666667, 8.333333, 3.000000, 2.000000, 1.000000,            3.666667, 1.000000, 6.333333, 1.000000, 4.000000, 1.000000,            4.33... $ con <chr> "1", "1", "0", "1", "1", "0", "0", "0", "1", "0", "1", "0",             "1", "1", "0", "1", "1", "0", "0", "1", "1", "0", "1", "1",             "0",... 


Comments

Popular posts from this blog

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -