We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the solution you'd like Simulate a dataset of variables / groups with specified standardized difference.
simulate_data_TTest
simulate_data_d
How could we do it?
e.g.:
import Distributions, Random, DataFrames, Psycho function simulate_data_TTest(d::Number=1, n::Int=100) x1 = Random.rand(Distributions.Normal(0, 1), n) x2 = Random.rand(Distributions.Normal(d, 1), n) y = standardize(vcat(x1, x2)) group = repeat(Psycho.simulate_groupnames(2), inner=n) data = DataFrames.DataFrame(hcat(y, groups), [:y, :Group]) return data end
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the solution you'd like
Simulate a dataset of variables / groups with specified standardized difference.
simulate_data_TTest
,simulate_data_d
, ...)?How could we do it?
e.g.:
The text was updated successfully, but these errors were encountered: