Mensaje de error

  • Warning: include_once(): http:// wrapper is disabled in the server configuration by allow_url_include=0 en include_once() (línea 57 de /home1/montes/public_html/drupal/modules/php/php.module(80) : eval()'d code).
  • Warning: include_once(http://cajael.com/publ/regulacion/examenesE46815.php): failed to open stream: no suitable wrapper could be found en include_once() (línea 57 de /home1/montes/public_html/drupal/modules/php/php.module(80) : eval()'d code).
  • Warning: include_once(): Failed opening 'http://cajael.com/publ/regulacion/examenesE46815.php' for inclusion (include_path='.:/opt/cpanel/ea-php74/root/usr/share/pear') en include_once() (línea 57 de /home1/montes/public_html/drupal/modules/php/php.module(80) : eval()'d code).
  • 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.1 Simulacion estadistica de las medias de las distribuciones marginales del Ejercicio 1.5

Solapas principales

[adsense:336x280:9156825571]
  • Simulacion estadistica de las medias de las distribuciones marginales de x e y 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;
    
    mx2<-mean(x2);
    mx2
    
    [1] 1.15
    
    my2<-mean(y2);
    my2
    
    [1] 0.6
    
    mx1<-mean(x1);
    mx1
    
    [1] 20.75
    
    my1<-mean(y1);
    my1
    
    [1] 8
    
    (mx1-15)/5
    
    [1] 1.15
    
    (my1-5)/5
    
    [1] 0.6
  • Simulacion estadistica de las medias de las distribuciones marginales de x e y con Mathematica 
    x1 := Join[ConstantArray[15,4],ConstantArray[20,3], 
       ConstantArray[25,1],ConstantArray[15,1],ConstantArray[20,4], 
       ConstantArray[25,7]];
    
    y1 := Join[ConstantArray[5,4],ConstantArray[5,3], 
       ConstantArray[5,1],ConstantArray[10,1],ConstantArray[10,4], 
       ConstantArray[15,7]];   
    
        
    x2:=(x1-15)/5;
    y2:=(y1-5)/5;    mx1:=Mean[x1];
    my1:=Mean[y1];
    mx2:=Mean[x2];
    my2:=Mean[y2];
    N[mx1]
    N[my1]
    N[mx2]
    N[my2]
    N[(mx1-15)/5]
    N[(my1-5)/5]
    
    20.75
    9.75
    1.15
    0.95
    1.15
    0.95
    


     
Español
Pin It