Publications by CloudStat
Testing for…
Input Output Testing for regression Input: advertising=c(1,2,3,4,5) sales=c(1,1,2,2,4) sales.Reg=lm(sales~advertising) summary(sales.Reg) Output: > advertising=c(1,2,3,4,5) > sales=c(1,1,2,2,4) > > sales.Reg=lm(sales~advertising) > summary(sales.Reg) Call: lm(formula = sales ~ advertising) Residuals: 1 2 ...
447 sym R (796 sym/2 pcs) 4 img
Batman Equation Happy Halloween! Plot the Batman logo in…
Batman Equation Happy Halloween! Plot the Batman logo in CloudStat with the legendary Batman Equation. Related To leave a comment for the author, please follow the link and comment on their blog: CloudStat. R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're look...
496 sym 2 img
Simulation: Efficiency of mean with median Goal: Show the…
Simulation: Efficiency of mean with median Goal: Show the efficiency of the mean when compared with the median using a large simulation where both estimators are applied on a sample of U(0,1) uniformly distributed random numbers. Input: # Goal: Show the efficiency of the mean when compared with the median # using a large simulation where both e...
631 sym Python (780 sym/1 pcs) 2 img
Line Plots (Econometric in R) Input: ##…
Line Plots (Econometric in R) Input: ## ---------------------------- ## ## Plotting Points *and* Lines ## ## ---------------------------- ## pow = c(0.95, 0.6, 0.3, 0.15, 0.1, 0.05, 0.1, 0.15, 0.3, 0.6, 0.95) pow2 = c(0.99, 0.75, 0.4, 0.2, 0.15, 0.05, 0.15, 0.2, 0.4, 0.75, 0.99) thet = c(7:17) plot(thet,pow) ## Plots points plot(thet,pow2) ## ...
430 sym R (1387 sym/1 pcs) 2 img
Bootstrapping a Single Statistic (k=1) The following example…
Bootstrapping a Single Statistic (k=1) The following example generates the bootstrapped 95% confidence interval for R-squared in the linear regression of miles per gallon (mpg) on car weight (wt) and displacement (disp). The data source is mtcars. The bootstrapped confidence interval is based on 1000 replications. # Bootstrap 95% CI for R-Squar...
710 sym R (459 sym/1 pcs) 2 img
#2 Data Classes (CloudStat)
As stated in CloudStat Intro, we know that CloudStat is based on R Language, an object orientated language, everything in R is an object. Each object has a class. The simplest data objects are one-dimensional arrays called vectors, consisting of any number of elements. For example, the calculation: Input: 1+1 Output > 1+1 [1] 2 results in a vect...
2072 sym R (397 sym/3 pcs)
Vectors (CloudStat)
The simplest type of data object in R is a vector, which is simply an ordered set of values. Some further examples of creating vectors are shown below: Input: 1:20 Output: [1] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 This creates a numeric vector containing the elements 1 to 20. The “:” is a shorthand for the explicit comm...
1757 sym R (671 sym/13 pcs)
CloudStat: Learn & Do R on the Cloud CloudStat is a platform…
CloudStat: Learn & Do R on the Cloud CloudStat is a platform to learn and do R on the Cloud. With CloudStat, there is no more download, installation, update and maintenance. CloudStat decrease the R language learning curve besides collaboration. And it’s Free! Here is a tutorial about making your 1st analysis in CloudStat. Demo @ http://cloudst...
889 sym
CloudStat: Learn & Do R Language on the Cloud
Hi! My fellow useRs! I’m making a web-based R Language platform ( http://cloudst.at/ ) for my students. My aim is to decrease the learning curve of learning R and collaboration. With CloudStat, there is no more download, installation, update and maintenance. It’s still under development and currently also a testing phrase. So, I need your he...
1898 sym
Prime Number in R Language (CloudStat)
A prime number (or a prime) is a natural number greater than 1 that has no positive divisors other than 1 and itself. R Language Code The Prime Function prime = function(n){ n = as.integer(n) if(n > 1e8) stop(“n too large”) primes = rep(TRUE, n) primes[1] = FALSE last.prime = 2L fsqr = floor(sqrt(n)) while (last.p...
1481 sym 2 img