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.4 Simulacion estadistica del coeficiente de correlacion del Ejercicio 1.5

Solapas principales

[adsense:336x280:9156825571]
  • Simulacion estadistica del coeficiente de correlacion 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;
    > cor(x1,y1)
    [1] 0.5411365
    
    > cor(x2,y2)
    [1] 0.5411365
    

     

Español
Pin It