expected_value_and_variance_properties
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
expected_value_and_variance_properties [2025/09/30 19:33] – [e.gs in R] hkimscil | expected_value_and_variance_properties [2025/10/01 09:00] (current) – [e.gs in R] hkimscil | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
^ EXPECT VALUE ^^ | ^ EXPECT VALUE ^^ | ||
| $E(X)$ | $\sum{X}\cdot P(X=x)$ | | $E(X)$ | $\sum{X}\cdot P(X=x)$ | ||
Line 331: | Line 331: | ||
> | > | ||
> cov.x1x2 <- cov(x1,x2) | > cov.x1x2 <- cov(x1,x2) | ||
+ | > cov.x1x2 | ||
+ | [,1] | ||
+ | [1,] -0.01256899 | ||
> | > | ||
> var(x1 + x2) | > var(x1 + x2) | ||
Line 361: | Line 364: | ||
[1,] 16 | [1,] 16 | ||
> | > | ||
+ | > v.111 <- var(x1 + x1 + x1) | ||
+ | > v.111 | ||
+ | [,1] | ||
+ | [1,] 36 | ||
+ | > var(3*x1) | ||
+ | [,1] | ||
+ | [1,] 36 | ||
+ | > 3^2*var(x1) | ||
+ | [,1] | ||
+ | [1,] 36 | ||
+ | > | ||
+ | |||
</ | </ | ||
expected_value_and_variance_properties.1759228394.txt.gz · Last modified: by hkimscil