Lezione 2. Densità di probabilità %Elenco di comandi pertinenti: Beta(stats) The Beta Distribution Binomial(stats) The Binomial Distribution Cauchy(stats) The Cauchy Distribution Chisquare(stats) The (non-central) Chi-Squared Distribution Exponential(stats) The Exponential Distribution FDist(stats) The F Distribution GammaDist(stats) The Gamma Distribution Geometric(stats) The Geometric Distribution Hypergeometric(stats) The Hypergeometric Distribution Logistic(stats) The Logistic Distribution Lognormal(stats) The Log Normal Distribution Multinomial(stats) The Multinomial Distribution NegBinomial(stats) The Negative Binomial Distribution Normal(stats) The Normal Distribution Poisson(stats) The Poisson Distribution SignRank(stats) Distribution of the Wilcoxon Signed Rank Statistic TDist(stats) The Student t Distribution Tukey(stats) The Studentized Range Distribution Uniform(stats) The Uniform Distribution Weibull(stats) The Weibull Distribution Wilcoxon(stats) Distribution of the Wilcoxon Rank Sum Statistic ecdf(stats) %prove eseguite in aula: x<-matrix(nrow = 100) for(k in 1:100) { x[k] <- k/100*8-4 } f<-dnorm(x,mean=0, sd=1) plot(x,f) F<-pnorm(x,mean=0, sd=1) plot(x,F) X <- rnorm(1000, mean=0, sd=1) plot(X) hist(X,20) f.c<-dcauchy(x, location = 0, scale = 1) plot(x,f.c) X.c<- rcauchy(100, location = 0, scale = 1) plot(X.c) hist(X.c,20) f.w<-dweibull(x,1,1) plot(x,f.w) f.w<-dweibull(x,3,1) plot(x,f.w)