Hot answers tagged

1 vote

Best package and function in R to use to replicate my (Backward & Forward) Stepwise Regression results I got using step from the stat package

Based on the comment from Oxbowerce, I looked into using the MASS library instead of olsrr, and fortunately, the inherent similarity in the syntax of the MASS::stepAIC() function and the stats::step() ...
  • 229
1 vote
Accepted

Which specific AWS service to use for running Benchmark Regressions on datasets far too large to run locally on my laptop

One option is creating a EC2 instance. Choose a prebuilt AMI (Amazon Machine Image) with RStudio Server installed.
1 vote
Accepted

Quantifying the performance of Stepwise Regression ran on Monte Carlo generated datasets & comparing them to your method of interest

The first step is to quantify the total number of 'Positives' for each dataset, and this is straight-forward since you already have that number stored implicitly in your True_Regressors object. All ...
  • 309
1 vote
Accepted

How to run a BE or FS Stepwise Regression on each dataset in a file folder full of datasets using lapply or map (without a loop)

First, on that many datasets, consider using fread from the data.table package rather than the standard but slow read.csv. As for the stepwise regression function, using the step function from the ...
  • 309
1 vote

How to use 5 different datasets to re-train & test your ML Classification models multiple times

Your code appears correct for this project. Additionally, the performance of the model appears acceptable for the nature of the project. It is very difficult to predict stock returns based on ...
1 vote
Accepted

A simple way to store the factors selected by (BE) Stepwise Regression n run on N datasets via lapply, a For Loop then an lapply, or a function?

If you are willing to deal with the runtime issues of going with a for-loop, try this: ...
  • 309
1 vote
Accepted

How to run a regression in R on multiple different csv data files within the same folder

This question is not worded very well, it needs a lot more detail and probably ought to be broken up into multiple questions honestly, but since you said this is one of the first questions you have ...
  • 309

Only top scored, non community-wiki answers of a minimum length are eligible