python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
ttest_ind returning nan from arrays of different lengths
I have this dataframe in pandas
passes:
euc_dist abs_time time_bin
100329 16.0 79.0 0-15
100466 20.0 575.0 0-15
100512 56.0 729.0 0-15
100637 48.0...
Steven DeVerteuil
Votes: 0
Answers: 1
How to create dataframe with p-values from a t-test loop across columns in r?
I have two matrices of values for two cohorts across 166 columns representing days (e.g. Day1).
condition_1
Day1 Day2 Day3 ... Day166
person1 27 38 94 40
person2 69 16 85 ...
aurelius_37770
Votes: 0
Answers: 1
Writing for loop or function to calculate p values for different dataframes
I am trying to iteratively carry out a T test on Value 1, row1, column1 in dataframe1 in comparison to Value 1 in dataframe 2.
Simulation dataframe 1 and 2
DF1<-
data.frame(Sample.Name =
...
Akki
Votes: 0
Answers: 1
R: How to perform student's t-test?
I want to perform student's t-test on the res.gs dataframe, where the samples are either is.mut or is.wt.
# Students' T-test without KMT2C gene
is.mut <- grepl('^[^0]', nokmt2c.res.gs$n_mutated_gro...
melolili
Votes: 0
Answers: 0