1151 search results for "Latex"

Compound Poisson and vectorized computations

October 12, 2012
By
Compound Poisson and vectorized computations

Yesterday, I was asked how to write a code to generate a compound Poisson variables, i.e. a series of random variables  where  is a counting random variable (here Poisson disributed) and where the 's are i.i.d (and ind...

Read more »

Working with Bipartite/Affiliation Network Data in R

September 30, 2012
By
Working with Bipartite/Affiliation Network Data in R

Data can often be usefully conceptualized in terms affiliations between people (or other key data entities). It might be useful analyze common group membership, common purchasing decisions, or common patterns of behavior. This post introduces bipartite/affiliation network data and provides … Continue reading →

Read more »

Using R in Political Controversies: Unemployment Reduction Prowess Under Bush versus Obama Years

September 27, 2012
By
Using R in Political Controversies: Unemployment Reduction Prowess Under Bush versus Obama Years

Editor’s note: R-bloggers does not take a political side. Since this is an important topic, this post has the comments turned on. Also, If you wish to write a reply post (which includes an R context), you are welcome to contact me to have it published. This post was written by Prof. H. D. Vinod. Fordham University, New York.

Read more »

Bounding sums of random variables, part 1

September 27, 2012
By
Bounding sums of random variables, part 1

For the last course MAT8886 of this (long) winter session, on copulas (and extremes), we will discuss risk aggregation. The course will be mainly on the problem of bounding  the distribution (or some risk measure, say the Value-at-Risk) for two random variables with given marginal distribution. For instance, we have two Gaussian risks. What could be be worst-case scenario...

Read more »

Learning Kernels SVM

September 25, 2012
By
Learning Kernels SVM

Machine Learning and Kernels A common application of machine learning (ML) is the learning and classification of a set of raw data features by a ML algorithm or technique. In this context a ML kernel acts to the ML algorithm … Continue reading →

Read more »

Maximum likelihood estimates for multivariate distributions

September 22, 2012
By
Maximum likelihood estimates for multivariate distributions

Consider our loss-ALAE dataset, and - as in Frees & Valdez (1998) - let us fit a parametric model, in order to price a reinsurance treaty. The dataset is the following, > library(evd) > data(lossalae) > Z=lossalae > X=Z;Y=Z ...

Read more »

Maximum likelihood estimates for multivariate distributions

September 22, 2012
By
Maximum likelihood estimates for multivariate distributions

Consider our loss-ALAE dataset, and – as in Frees & Valdez (1998) - let us fit a parametric model, in order to price a reinsurance treaty. The dataset is the following, > library(evd) > data(lossalae) > Z=lossalae > X=Z;Y=Z The first step can be to estimate marginal distributions, independently. Here, we consider lognormal distributions for both components, > Fempx=function(x) mean(X<=x) >...

Read more »

Power Analysis and the Probability of Errors

September 22, 2012
By
Power Analysis and the Probability of Errors

Power analysis is a very useful tool to estimate the statistical power from a study. It effectively allows a researcher to determine the needed sample size in order to obtained the required statistical power. Clients often ask (and rightfully so) what the sample size should be for a proposed project. Sample sizes end up being

Read more »

(nonparametric) Copula density estimation

September 20, 2012
By
(nonparametric) Copula density estimation

Today, we will go further on the inference of copula functions. Some codes (and references) can be found on a previous post, on nonparametric estimators of copula densities (among other related things).  Consider (as before) the loss-ALAE data...

Read more »

(nonparametric) copula density estimation

September 19, 2012
By
(nonparametric) copula density estimation

Today, we will go further on the inference of copula functions. Some codes (and references) can be found on a previous post, on nonparametric estimators of copula densities (among other related things).  Consider (as before) the loss-ALAE dataset (since we’ve been working a lot on that dataset) > library(MASS) > library(evd) > X=lossalae > U=cbind(rank(X)/(nrow(X)+1),rank(X)/(nrow(X)+1)) The standard tool to plot...

Read more »