Is there a beta distribution equation in the R tool? All my attempts give the error "Error: could not find function".
PDF function is dbeta and CDF is pbeta I believe:
x <- seq(0, 1, length = 21)a <- dbeta(x, 0.5, 0.5)b <- pbeta(x, 0.5, 0.5)write.Alteryx(list(x = x, pdf = a, cdf = b),1)
worked on mine. Guess could be sensitive to R installation.
Totally worked! Thanks @jdunkerley79!
As a follow up, how do I bound the cdf function (In excel this is done with A = lower bound & B = upper bound)?
Assuming you mean the probability between A and B then cdf(B) - cdf(A) will give you the value.
I'm looking for a way to incorporate the lower and upper bounds of 'x' into the function.
ah sorry the second parameter is a and the third is b
https://stat.ethz.ch/R-manual/R-devel/library/stats/html/Beta.html