cdf for Dirichlet distribution [closed] - r

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I want to run an estimation assuming that my variables are distributed according to the Dirichlet distribution. To do so, I need to use the cdf function. For all the distributions in R, there are the respective r,p and d functions that produce random variables, pdf and cdf.
Nevertheless, for the Dirichlet, I can only find the random number generator and the pdf.
Is there a similar package for R that gives the cdf?
Many thanks,

Related

What happened to the nnDiag package? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I am looking to run diagnostics for categorical variable classifications in R. I am particularly interested in getting User's and Producer's accuracy and kappa statistics. There used to be a package (nnDiag) in R that calculated all of these metrics. It appears as if the package was removed from CRAN. Does anyone know why it was discontinued and if there is a comparable package in R? I am running R 3.1.1.
Caret does Cohen's Kappa and summary stats quite well.

Estimation of threshold vector autoregressive model [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Does any function in R (or Matlab) for the estimation of threshold vector autoregressive model (TVAR) by OLS for a number of threshold superior than 3?
In vgxvarx function, can I treat the 1st column of presample time series process matrix the threshold for my autoregressive model?
There are such functions in Econometrics Toolbox. Check out help vgxvarx.

How to plot 3D time series in R [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Is there a package in R that allows me to plot multiply time series next to each other 3D?
Like in the following examples:
http://farm6.staticflickr.com/5142/5619005462_5eab3c8cdd_b.jpg
http://synoptic.weaintplastic.com/
Thanks
Have you checked out chartSeries3d0 from the quantmod package?
Here's an example I found on quantmod.com:
library(quantmod)
source("http://www.quantmod.com/examples/chartSeries3d/chartSeries3d.alpha.R")
getSymbols("DGS1MO;DGS3MO;DGS6MO;DGS1;DGS2;DGS3;DGS5;DGS7;DGS10;DGS20;DGS30",src="FRED")
TR <- merge(DGS1MO,DGS3MO,DGS6MO,DGS1,DGS2,DGS3,DGS5,DGS7,DGS10,DGS20,DGS30, all=FALSE)
colnames(TR) <- c("1mo","3mo","6mo","1yr","2yr","3yr","5yr","7yr","10yr","20yr","30yr")
TR <- na.locf(TR)
chartSeries3d0(TR["2011"])

Is there any laplacesdemon package equivalent for matlab [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
R provides a very powerful package called laplacesdemon for bayesian inference using the laplace distribution. I was wondering if there is any equivalent package for Matlab?
Thanks!
The question was a bit short so I'm not sure if this is exactly what you are asking for but here goes:
No - there is no Laplacedemon equivalent in Matlab
Yes - there are lots of Matlab packages that partly overlap with LaplaceDemon. As I don't know exactly what you want to do my recommendation is likely to have a high variance. Having established that I suggest that you take a look at http://becs.aalto.fi/en/research/bayes/gpstuff/ :). If you feel comfortable with using MCMC directly, you can take a look at http://helios.fmi.fi/~lainema/mcmc/. (I believe that matlab has some functions for this directly in their statistics or/and econometrics toolboxes)
You could also run R directly from Matlab http://neurochannels.blogspot.se/2010/05/how-to-run-r-code-in-matlab.html or http://rwiki.sciviews.org/doku.php?id=tips:callingr:matlab

Use scripting language to generate Zipf-like samples [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Is there any scripting language function (like in python or bash) that samples from a zipf-like distribution, for exponent 0<a<=1. Zipf-like distribution p(a) can be found, here.
PS: I am aware of existence of numpy function that can generate zipf samples, but it's only for a >1.

Resources