Mensaje de error

  • Deprecated function: The each() function is deprecated. This message will be suppressed on further calls en book_prev() (línea 775 de /home1/montes/public_html/drupal/modules/book/book.module).
  • Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters en drupal_get_feeds() (línea 394 de /home1/montes/public_html/drupal/includes/common.inc).

5.3 Simulacion estadistica de la matriz de covarianzas del Ejercicio 1.5

Solapas principales

[adsense:336x280:9156825571]
  • Simulacion estadistica de la matriz de covarianzas con R-Project

    > x1<- c(rep(15,4),rep(20,3),rep(25,1),rep(15,1),rep(20,4),rep(25,7));
    > y1<- c(rep(5,4),rep(5,3),rep(5,1),rep(10,1),rep(10,4),rep(10,7));
    > x2<- (x1-15)/5;
    > y2<- (y1-5)/5;
    > ni<- table(x1);
    > n<-sum(ni);
    > xt1<-cbind(x1,y1);
    
    > xt2<-cbind(x2,y2);
    > cov(xt1)*(n-1)/n
            x1   y1
    x1 15.6875 5.25
    y1  5.2500 6.00
    
    > cov(xt2)*(n-1)/n
           x2   y2
    x2 0.6275 0.21
    y2 0.2100 0.24
    



Español
Pin It