Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
R is a free, open-source programming language and software environment for statistical computing, bioinformatics, and graphics.
1
vote
Resampling train and test data in R
Try using a different seed for each loop. You can do it like this.
my_seeds <- c(1:10) # These are 10 seeds, 1, 2, 3...10. Change to whatever.
for (i in 1:10){
set.seed(my_seeds[i])
…
1
vote
How to make tool that's robust to user-generated typos?
r
# Bat, cat, or rat
[bcr]at
# words ending with "phobia"
\\w*phobia
# Steve, Steve, or Stephen
Ste(?:ven? …
1
vote
Interpreting Results of Multivariable Regression / how to transform variables to improve res...
Your VIF values are extreme, and your residuals plot is a right-opening megaphone (vice a null plot, which is what you want). It looks like the residual plot is being strongly affected by BTC.
If I w …
2
votes
Estimating panel model in R
For linear regression you want to use R's lm() function, like this:
my.model <- lm(response.variable ~ predictor1 + predictor2, data = my.data)
Look at the model using:
summary(my.model)
You can …