Earlier quoted context omitted.
It seems like this list is incomplete without mentioning that both RStudio[1] and Jupyter[2] notebooks now have really first class support for R. There are also two upstatrs, Rodeo[3] and Beaker[4] are doing cool stuff as well. The company I work for, Domino Data Lab[5], let's you fire up a lot of these notebooks in a nice hosted environment on big cloud servers with minimal cost and effort. It's a fun way to learn h…
> Jupyter[2] notebooks now have really first class support for R. Jupyter and R is a bit iffy since the R kernel is not native. Although the kernel works fine, setting it up has a ton of manually-installed dependencies, and in-line plots flat-out give unexpected output. (I've had to cheat by embeding charts via Markdown. Although that has the benefit of having the charts be responsive) The important perk is that Jupy…
Most commonly used statistical tests and implementation in R
21–30 of 34 posts
Re: Most commonly used statistical tests and implementation in R
#22Earlier quoted context omitted.
Interesting. Did you post about this on /r/rprogramming There are lots of people who have rolled their own solutions for production deployment. Including nodejs !
I've also used Shiny to construct fairly complicated web apps, with dashboards (using shinydashboard). It's very good, up to a point. I keep banging my head against issues around persistent data storage and app customisation at a user level. Unless one pays for Shiny Server Pro, the free Shiny Server doesn't support user authentication. Hosting on shinyapps.io doesn't really support persistent user data, unless it's…
I am willing to bet that he would rather use R api and excel to build a dashboard, rather than anything else.
Re: Most commonly used statistical tests and implementation in R
#23> If the p-Value is less than significance level (ideally 0.05), Erm, no. P=0.05 is borderline meaningless, there could as much as 30% chance you are wrong about the actual difference being there depending on the true probability of the initial hypothesis. P-values should be used with strong caution.
I'm having trouble parsing this, are you talking about the power of the test?
Re: Most commonly used statistical tests and implementation in R
#24Earlier quoted context omitted.
I've also used Shiny to construct fairly complicated web apps, with dashboards (using shinydashboard). It's very good, up to a point. I keep banging my head against issues around persistent data storage and app customisation at a user level. Unless one pays for Shiny Server Pro, the free Shiny Server doesn't support user authentication. Hosting on shinyapps.io doesn't really support persistent user data, unless it's…
That's interesting to know. The reason shinydashboard or something else a nice is because the data scientist can work on his own. Expecting him to learn js would be a dead end. I am willing to bet that he would rather use R api and excel to build a dashboard, rather than anything else.
I just wanted to point out that there are limitations with this route, when the apps start to become more complex, with multiple users, various access permissions and personalisation requirements.
Re: Most commonly used statistical tests and implementation in R
#25Earlier quoted context omitted.
> Jupyter[2] notebooks now have really first class support for R. Jupyter and R is a bit iffy since the R kernel is not native. Although the kernel works fine, setting it up has a ton of manually-installed dependencies, and in-line plots flat-out give unexpected output. (I've had to cheat by embeding charts via Markdown. Although that has the benefit of having the charts be responsive) The important perk is that Jupy…
Package installation can be a bit of an issue as well, especially if you accidentally install a package twice. But overall, I still prefer notebooks to Rstudio. They are transparent and you can really trace your progress and share the info with others.
Re: Most commonly used statistical tests and implementation in R
#26> If the p-Value is less than significance level (ideally 0.05), Erm, no. P=0.05 is borderline meaningless, there could as much as 30% chance you are wrong about the actual difference being there depending on the true probability of the initial hypothesis. P-values should be used with strong caution.
> could as much as 30% chance you are wrong about the actual difference being there depending on the true probability of the initial hypothesis. I'm having trouble parsing this, are you talking about the power of the test?
Re: Most commonly used statistical tests and implementation in R
#27Earlier quoted context omitted.
Package installation can be a bit of an issue as well, especially if you accidentally install a package twice. But overall, I still prefer notebooks to Rstudio. They are transparent and you can really trace your progress and share the info with others.
And you can't with Rstudio? There's a freaking notebook feature built right in.
Re: Most commonly used statistical tests and implementation in R
#28Re: Most commonly used statistical tests and implementation in R
#29> If the p-Value is less than significance level (ideally 0.05), Erm, no. P=0.05 is borderline meaningless, there could as much as 30% chance you are wrong about the actual difference being there depending on the true probability of the initial hypothesis. P-values should be used with strong caution.
Everything is just so much more sensible if you allow yourself to assign probabilities to hypotheses, rather than assuming a hypothesis from the outset and computing opaque statistics relating to your data.
Re: Most commonly used statistical tests and implementation in R
#30Earlier quoted context omitted.
Well, I really don't want to turn this into a sales pitch, but that's the exact use case for Domino's API endpoints. Check out http://support.dominodatalab.com/hc/en-us/articles/204173149... for an explanation. If you're interested, drop me an email and I can work up an example project for you. Exposing R algorithms as REST endpoints is exactly what it does quite well. As for OpenCPU, I know that the guy who wrote it…
Interesting. Did you post about this on /r/rprogramming There are lots of people who have rolled their own solutions for production deployment. Including nodejs !
So I made a small demo for you. If you go to https://app.dominodatalab.com/earino/d3_dashboard_demo/raw/6... you will see a very simplistic, d3 powered, R backed dashboard. It just draws a pie chart, a line chart, and a bar chart. Every 10 seconds, it polls an R API endpoint to get new data.
The code for the R endpoint is https://app.dominodatalab.com/earino/d3_dashboard_demo/view/.... It's a simple R function which generates synthetic data. It could be used to pull much more complex data, generate predictions from an ML model, etc...
Please don't hesitate to reach out if you have any questions!