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)
Log transformation for lm() in R not working
I am trying to transform some data so that the assumptions of linear models (independence, linearity, homogeneity of variance, normality) are met. I want to do this so that I can perform an ANOVA or s...
Katie Jones
Votes: 0
Answers: 1
Spark Java: How can we access the p Values in UnivariateFeatureSelector
I am using Spark 3.1.3 and I am trying to take the pValues from the result dataframe of UnivariateFeatureSelector.
UnivariateFeatureSelector selector = new UnivariateFeatureSelector()
.set...
Des0lat0r
Votes: 0
Answers: 0
Is there a way to loop through column names (not numbers) in r for linear models?
I have a data sheet with 40 data columns (40 different nutrients), with additional columns for plot numbers and factors. I would like to automatically loop through each column name and produce a linea...
Beth
Votes: 0
Answers: 5
Extract the pvalue and statistic from anova after looping
After trying th following code for a large dataframe
result <- list()
for(i in index:ncol(data)){
print(i)
tryCatch({
ind <- !(is.na(data[,i]))
fit <- aov(data[ind,i] ~ Gender[ind]+Age[ind]...
Najeha Mohamed
Votes: 0
Answers: 1