Analysis of the Peso.altura data, using Peso as the response variable and Altura as the single predictor.

Prepared by BrailleR

Variable summaries

The response variable is Peso and the predictor variable is Altura.

The following objects are masked _by_ .GlobalEnv:

    altura, peso
Minimum Lower Quartile Median Mean Upper Quartile Maximum Standard Deviation Missing Values
peso 58 69.75 73.5 74.5000 81.25 92 10.202495 0
altura 162 169.75 175.5 176.4167 180.75 196 9.931203 0

Scatter Plot

Error in FUN(X[[i]], ...): objeto 'Altura' no encontrado
The following objects are masked _by_ .GlobalEnv:

    altura, peso
    1 2 3 4 Sum
4   0 0 0 2   2
3   0 0 0 1   1
2   0 3 1 0   4
1   3 1 1 0   5
Sum 3 4 2 3  12

Linear regression

Warning in markdown::markdownToHTML(out, output, encoding = "UTF-8", ...): stylesheet must either be valid CSS or
a file containing CSS!
The term which is significant to 1% is
altura with an estimate of 0.8770259 and P-Value of 0.0004106357 

Call:
lm(formula = peso ~ altura, data = peso.altura)

Residuals:
   Min     1Q Median     3Q    Max 
-6.872 -4.084 -1.196  3.038 10.005 

Coefficients:
            Estimate Std. Error t value Pr(>|t|)    
(Intercept) -80.2220    29.8888  -2.684 0.022934 *  
altura        0.8770     0.1692   5.184 0.000411 ***
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Residual standard error: 5.572 on 10 degrees of freedom
Multiple R-squared:  0.7288,    Adjusted R-squared:  0.7017 
F-statistic: 26.87 on 1 and 10 DF,  p-value: 0.0004106
Error in FUN(X[[i]], ...): objeto 'Altura' no encontrado
Error in int_abline(a = a, b = b, h = h, v = v, untf = untf, ...): plot.new has not been called yet

Residual analysis

A separate html page showing the residual analysis and model validity checking for peso.altura.lm is at peso.altura.lm.Validity.html

One-way Analysis of Variance

Analysis of Variance Table

Response: peso
          Df Sum Sq Mean Sq F value    Pr(>F)    
altura     1 834.49  834.49  26.875 0.0004106 ***
Residuals 10 310.51   31.05                      
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1