<!DOCTYPE html>
<!-- saved from url=(0014)about:internet -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

<title>6. capitulo el que sea</title>

<style type="text/css">
body, td {
   font-family: sans-serif;
   background-color: white;
   font-size: 12px;
   margin: 8px;
}

tt, code, pre {
   font-family: 'DejaVu Sans Mono', 'Droid Sans Mono', 'Lucida Console', Consolas, Monaco, monospace;
}

h1 { 
   font-size:2.2em; 
}

h2 { 
   font-size:1.8em; 
}

h3 { 
   font-size:1.4em; 
}

h4 { 
   font-size:1.0em; 
}

h5 { 
   font-size:0.9em; 
}

h6 { 
   font-size:0.8em; 
}

a:visited {
   color: rgb(50%, 0%, 50%);
}

pre {   
   margin-top: 0;
   max-width: 95%;
   border: 1px solid #ccc;
   white-space: pre-wrap;
}

pre code {
   display: block; padding: 0.5em;
}

code.r, code.cpp {
   background-color: #F8F8F8;
}

table, td, th {
  border: none;
}

blockquote {
   color:#666666;
   margin:0;
   padding-left: 1em;
   border-left: 0.5em #EEE solid;
}

hr {
   height: 0px;
   border-bottom: none;
   border-top-width: thin;
   border-top-style: dotted;
   border-top-color: #999999;
}

@media print {
   * { 
      background: transparent !important; 
      color: black !important; 
      filter:none !important; 
      -ms-filter: none !important; 
   }

   body { 
      font-size:12pt; 
      max-width:100%; 
   }
       
   a, a:visited { 
      text-decoration: underline; 
   }

   hr { 
      visibility: hidden;
      page-break-before: always;
   }

   pre, blockquote { 
      padding-right: 1em; 
      page-break-inside: avoid; 
   }

   tr, img { 
      page-break-inside: avoid; 
   }

   img { 
      max-width: 100% !important; 
   }

   @page :left { 
      margin: 15mm 20mm 15mm 10mm; 
   }
     
   @page :right { 
      margin: 15mm 10mm 15mm 20mm; 
   }

   p, h2, h3 { 
      orphans: 3; widows: 3; 
   }

   h2, h3 { 
      page-break-after: avoid; 
   }
}
</style>





</head>

<body>
<div id="toc">
<div id="toc_header">Table of Contents</div>
<ul>
<li>
<a href="#toc_0">6. capitulo el que sea</a>
</li>
</ul>
</div>


<h2 id="toc_0">6. capitulo el que sea</h2>

<p>algo de código: </p>

<pre><code class="r">x <- c(1, 2, 3, 4, 5)
mean(x)
</code></pre>

<pre><code>## [1] 3
</code></pre>

<pre><code class="r">media <- (1 + 2 + 3 + 4 + 5)/5
media
</code></pre>

<pre><code>## [1] 3
</code></pre>

<p>Formulacas en LaTex: Si pongo DOS  dollar SI lo centra:  </p>

<p>$$x<em>{1},x</em>{2},\ldots ,x<em>{n}:\overline {x}=\dfrac {\sum _{i}x</em>{i}} {n}$$  </p>

<p>Má Formulacas en LaTex: Si pongo solo un  dollar no lo centra:    </p>

<p>$\overline {x}=\dfrac {\sum <em>{i}x</em>{i}n_{i}} {n}$</p>

<ul>
<li>rollete bal bla...<br></li>
</ul>

<p>$$\overline {x}=\dfrac {\sum <em>{i}x</em>{i}n_{i}} {n}$$   </p>

<p><strong>Varianza</strong> $S<sup>{2}$</sup> (‘ esto se podría escribir simplemente con S²’):     </p>

<p>Mas formulas... que con Ctr+Shit+Y s even genial.</p>

<p>$$S<sup>{2}=\dfrac</sup> {1} {n}\left( x<em>{i}-\overline {x}\right) <sup>{2}$$</sup>
$$latex S<sup>{2}=\dfrac</sup> {\sum _{i=1}<sup>{n}\left(</sup> X</em>{i}-\overline {X}\right) <sup>{2}}</sup> {n}$$<br>
$$\widehat {S}<sup>{2}=\dfrac</sup> {\sum <em>{i=1}<sup>{n}\left(</sup> X</em>{i}-\overline {X}\right) <sup>{2}}</sup> {n-1}$$   </p>

<p><strong>Desviación típica</strong><br>
Es la raíz cuadrada de la varianza.    - Tiene las misma dimensionalidad (unidades) que la variable. Versión ‘estética’ de la varianza.<br>
$S=\sqrt {S<sup>{2}}$</sup>    </p>

<p>con un solo dollar no sale nada.  </p>

</body>

</html>